mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Return key instead of 'undefined' when no translation exists.
This commit is contained in:
parent
903885bb09
commit
7d23247218
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
}
|
||||
|
||||
// Variables remplacement
|
||||
return (translation) ? translation.printf(options) : undefined;
|
||||
return (translation) ? translation.printf(options) : key;
|
||||
}
|
||||
|
||||
y18n.lookup = function(key, options) {
|
||||
|
|
Loading…
Reference in a new issue