mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fixup
This commit is contained in:
parent
7d23247218
commit
c8af8347d7
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
var translation = this.lookup(key, options);
|
||||
|
||||
// Translation fallback
|
||||
if ((typeof translation === 'undefined' || translation === undefined) && options.locale !== y18n.defaultLocale) {
|
||||
if ((typeof translation === 'undefined' || translation === key) && options.locale !== y18n.defaultLocale) {
|
||||
options.locale = y18n.defaultLocale;
|
||||
return this.translate(key, options);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue