Skip to content

Commit

Permalink
Item4992: make sure untranslated strings stay
Browse files Browse the repository at this point in the history
... in source language
  • Loading branch information
MichaelDaum committed Feb 25, 2016
1 parent 8bf62a8 commit ebfe80c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@
if (namespace !== '*') {
result = resource[string];
}
return (typeof(result) === 'undefined');
return (typeof(result) === 'undefined' || result === '');
});
}
}

// fallback to the string itself
if (typeof(result) === 'undefined') {
if (typeof(result) === 'undefined' || result === '') {
result = string;
}

Expand Down

0 comments on commit ebfe80c

Please sign in to comment.