mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
style: use template literal
This commit is contained in:
@@ -926,7 +926,7 @@ window.PrivateBin = (function () {
|
||||
document.dispatchEvent(new CustomEvent(languageLoadedEvent));
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Language \'%s\' could not be loaded (%s). Translation failed, fallback to English.', newLanguage, error.message);
|
||||
console.error(`Language \'${newLanguage}\' could not be loaded (${error.message}). Translation failed, fallback to English.`);
|
||||
language = 'en';
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user