mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix i18n in tests
// FREEBIE
This commit is contained in:
@@ -165,7 +165,9 @@
|
||||
|
||||
// Translate
|
||||
window.i18n = function(message, substitutions) {
|
||||
return chrome.i18n.getMessage(message, substitutions);
|
||||
if (window.chrome && chrome.i18n) {
|
||||
return chrome.i18n.getMessage(message, substitutions);
|
||||
}
|
||||
};
|
||||
|
||||
window.textsecure = window.textsecure || {};
|
||||
|
||||
Reference in New Issue
Block a user