question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'' (empty string) value should not be treated as missing translation

See original GitHub issue

Steps to reproduce problem: In any existing project, change a translation string to '' (empty string). Observe:

=2.17.1 “Missing translation: path.to.key” displayed where (t ‘path.to.key’) is used <=2.17.0 “” (nothing displayed…)

Was the change intentional? (Unfortunately, I cannot narrow it down to any change in the two commits in between.)

  • Ember Version: 2.12.0
  • Ember CLI Version: 2.12.0
  • Ember Intl Version: 2.17.1 and later ones
  • Browser(s): multiple
  • Node Version: 6

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jasonmitcommented, Mar 26, 2017

Fixes in 2.24.2, thanks for pointing out the issue

0reactions
arnebitcommented, Mar 21, 2017

Oops, sorry, I just realized I my major version was 2 all the time, so the change occurred from 2.17.0 to 2.17.1. (Updated the top post.)

Unfortunately, the t helper requires value attribute Error is still there with 2.24.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Empty String Considered Harmful - Sam Jarman
The use of empty strings when used to indicate a null value or lack of value, when the language you're using has a...
Read more >
Replace empty strings with None/null values in DataFrame
I want to convert all empty strings in all columns to null ( None , in Python). The DataFrame may have hundreds of...
Read more >
PySpark fillna() & fill() - Replace NULL/None Values
fill() is used to replace NULL/None values on all or selected multiple DataFrame columns with either zero(0), empty string, space, or any ...
Read more >
Expressions - Apache FreeMarker Manual
To specify a string value directly you give the text in quotation ... You have to use the dot as your decimal separator...
Read more >
Handling missing values - Oracle Help Center
As a result, a method call that returns null is treated as a missing ... The default value can be any kind of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found