rebuilt with the bug fix in tinode-js

This commit is contained in:
or-else
2020-12-13 19:03:16 -08:00
parent 1d1c9400f8
commit b014592381
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -72,7 +72,7 @@
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-intl": "^4.7.6",
"tinode-sdk": "^0.16.9-rc1"
"tinode-sdk": "^0.16.9-rc2"
},
"devDependencies": {
"@babel/core": "^7.12.10",
+2 -1
View File
@@ -39,7 +39,8 @@ const i18n = {
self.i18nMessage = function(id) {
// Choose translations: given something like 'de-CH', try 'de-CH' then 'de' then 'en'.
const lang = i18n[self.locale] || i18n[self.baseLocale] || i18n['en'];
// Try id in the specified language, if missing try English, otherwise use id as the last resort.
// Try finding string by id in the specified language, if missing try English, otherwise use the id itself
// as the last resort.
return lang[id] || i18n['en'][id] || id;
}
+4 -4
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long