1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-15 17:46:55 +00:00

4.0.0-rc19.1

* Changed: Remember which sections of the settings menu a user has expanded and restore that state when re-opening the menu.
* Changed: Begin tracking which settings a user has seen, so that a future update can begin highlighting newly added settings.
* Changed: Clean up the new localization code a bit more.
This commit is contained in:
SirStendec 2019-05-03 22:36:26 -04:00
parent 35316b8827
commit 3e9e1b2ede
21 changed files with 242 additions and 38 deletions

View file

@ -205,7 +205,7 @@ export class TranslationManager extends Module {
if ( locale === 'en' )
return {};
if ( locale === 'de' )
/*if ( locale === 'de' )
return {
site: {
menu_button: 'FrankerFaceZ Leitstelle'
@ -272,8 +272,8 @@ export class TranslationManager extends Module {
_: 'Erweiterung'
},
'inherited-from': 'Vererbt von: %{title}',
'overridden-by': 'Überschrieben von: %{title}'
'inherited-from': 'Vererbt von: {title}',
'overridden-by': 'Überschrieben von: {title}'
},
'main-menu': {
@ -306,7 +306,7 @@ export class TranslationManager extends Module {
'main-menu': {
search: '検索設定',
version: 'バージョン%{version}',
version: 'バージョン{version}',
about: {
_: '約',
@ -314,7 +314,7 @@ export class TranslationManager extends Module {
support: '対応'
}
}
}
}*/
const resp = await fetch(`${SERVER}/script/i18n/${locale}.json`);
if ( ! resp.ok ) {