mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-19 21:58:08 -04:00
wipfeat(i18n): improve error logging for missing translation
This commit is contained in:
+1
-1
@@ -760,7 +760,7 @@ window.PrivateBin = (function () {
|
||||
// for all other languages than English for which this behaviour
|
||||
// is expected as it is built-in, log error
|
||||
if (language !== null && language !== 'en') {
|
||||
console.error('Missing translation for: \'' + messageId + '\' in language ' + language);
|
||||
console.error('Missing translation for: ', messageId, 'in language', language);
|
||||
// fallback to English
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user