From beca63d6d60d98d308fe7b4a358fb4a2bce07b5f Mon Sep 17 00:00:00 2001 From: Lynn Date: Tue, 3 Nov 2020 21:43:38 +0100 Subject: [PATCH] Re-built based on latest develop branch --- .../options-addon-section.component.html | 25 ++++++++++++++++ .../options-addon-section.component.scss | 13 ++++++++ .../options-addon-section.component.spec.ts | 24 +++++++++++++++ .../options-addon-section.component.ts | 30 +++++++++++++++++++ .../pages/get-addons/get-addons.component.ts | 2 ++ .../src/app/pages/home/home.module.ts | 2 ++ .../app/pages/options/options.component.html | 6 ++++ wowup-electron/src/assets/i18n/de.json | 17 ++++++----- wowup-electron/src/assets/i18n/en.json | 17 ++++++----- wowup-electron/src/assets/i18n/es.json | 17 ++++++----- wowup-electron/src/assets/i18n/fr.json | 17 ++++++----- wowup-electron/src/assets/i18n/it.json | 17 ++++++----- wowup-electron/src/assets/i18n/ko.json | 9 ++++++ wowup-electron/src/assets/i18n/nb.json | 9 ++++++ wowup-electron/src/assets/i18n/pt.json | 17 ++++++----- wowup-electron/src/assets/i18n/ru.json | 17 ++++++----- wowup-electron/src/assets/i18n/zh.json | 17 ++++++----- 17 files changed, 192 insertions(+), 64 deletions(-) create mode 100644 wowup-electron/src/app/components/options-addon-section/options-addon-section.component.html create mode 100644 wowup-electron/src/app/components/options-addon-section/options-addon-section.component.scss create mode 100644 wowup-electron/src/app/components/options-addon-section/options-addon-section.component.spec.ts create mode 100644 wowup-electron/src/app/components/options-addon-section/options-addon-section.component.ts diff --git a/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.html b/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.html new file mode 100644 index 00000000..9ce5cb3f --- /dev/null +++ b/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.html @@ -0,0 +1,25 @@ +
+

+ {{ "PAGES.OPTIONS.ADDON.TITLE" | translate }} +

+ + +
+
+
+
+ {{ "PAGES.OPTIONS.ADDON.ENABLED_PROVIDERS.FIELD_LABEL" | translate }} +
+ {{ "PAGES.OPTIONS.ADDON.ENABLED_PROVIDERS.DESCRIPTION" | translate }} +
+ + {{ "PAGES.OPTIONS.ADDON.ENABLED_PROVIDERS.INPUT_LABEL" | translate }} + + + {{ addonProvider.name }} + + + +
+
+
diff --git a/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.scss b/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.scss new file mode 100644 index 00000000..a63246c9 --- /dev/null +++ b/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.scss @@ -0,0 +1,13 @@ +@import "../../../variables.scss"; + +.container { + padding: 1em; + + .hint { + color: $white-3; + } + + .section { + margin-top: 1em; + } +} diff --git a/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.spec.ts b/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.spec.ts new file mode 100644 index 00000000..2e28f9b7 --- /dev/null +++ b/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.spec.ts @@ -0,0 +1,24 @@ +import { ComponentFixture, TestBed } from "@angular/core/testing"; + +import { OptionsAddonSectionComponent } from "./options-addon-section.component"; + +describe("OptionsAddonSectionComponent", () => { + let component: OptionsAddonSectionComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [OptionsAddonSectionComponent], + }).compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(OptionsAddonSectionComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it("should create", () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.ts b/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.ts new file mode 100644 index 00000000..ee59048d --- /dev/null +++ b/wowup-electron/src/app/components/options-addon-section/options-addon-section.component.ts @@ -0,0 +1,30 @@ +import { Component, OnInit } from "@angular/core"; +import { WowUpService } from "app/services/wowup/wowup.service"; +import { AddonProviderFactory } from "../../services/addons/addon.provider.factory"; +import { MatSelectChange } from "@angular/material/select"; +import { AddonProvider } from "../../addon-providers/addon-provider"; + +@Component({ + selector: "app-options-addon-section", + templateUrl: "./options-addon-section.component.html", + styleUrls: ["./options-addon-section.component.scss"], +}) +export class OptionsAddonSectionComponent implements OnInit { + constructor( + private _addonProviderFactory: AddonProviderFactory, + private _wowupService: WowUpService + ) {} + + ngOnInit(): void {} + + public onEnabledProvidersChange(event: MatSelectChange): void { + this._wowupService.enabledAddonProviders = event.value; + } + + public get addonProviders(): AddonProvider[] { + return this._addonProviderFactory.getAll(); + } + public get enabledAddonProviders(): string[] { + return this._wowupService.enabledAddonProviders; + } +} diff --git a/wowup-electron/src/app/pages/get-addons/get-addons.component.ts b/wowup-electron/src/app/pages/get-addons/get-addons.component.ts index 5ef3d4f6..7acbdfce 100644 --- a/wowup-electron/src/app/pages/get-addons/get-addons.component.ts +++ b/wowup-electron/src/app/pages/get-addons/get-addons.component.ts @@ -306,6 +306,8 @@ export class GetAddonsComponent implements OnInit, OnDestroy { if (this._addonService.getEnabledAddonProviders().length === 0) { this.setDataSource([]); + this.isBusy = false; + this._cdRef.detectChanges(); return; } diff --git a/wowup-electron/src/app/pages/home/home.module.ts b/wowup-electron/src/app/pages/home/home.module.ts index 1789c56b..536acd8d 100644 --- a/wowup-electron/src/app/pages/home/home.module.ts +++ b/wowup-electron/src/app/pages/home/home.module.ts @@ -18,6 +18,7 @@ import { WowClientOptionsComponent } from "../../components/wow-client-options/w import { OptionsWowSectionComponent } from "../../components/options-wow-section/options-wow-section.component"; import { OptionsAppSectionComponent } from "../../components/options-app-section/options-app-section.component"; import { OptionsDebugSectionComponent } from "../../components/options-debug-section/options-debug-section.component"; +import { OptionsAddonSectionComponent } from "../../components/options-addon-section/options-addon-section.component"; import { DirectiveModule } from "../../directive.module"; import { DownloadCountPipe } from "../../pipes/download-count.pipe"; import { GetAddonListItemFilePropPipe } from "../../pipes/get-addon-list-item-file-prop.pipe"; @@ -61,6 +62,7 @@ import { HomeComponent } from "./home.component"; OptionsWowSectionComponent, OptionsAppSectionComponent, OptionsDebugSectionComponent, + OptionsAddonSectionComponent, ], imports: [ CommonModule, diff --git a/wowup-electron/src/app/pages/options/options.component.html b/wowup-electron/src/app/pages/options/options.component.html index c2d414b6..1e94ff6a 100644 --- a/wowup-electron/src/app/pages/options/options.component.html +++ b/wowup-electron/src/app/pages/options/options.component.html @@ -20,6 +20,9 @@ + @@ -41,6 +44,9 @@ + + + diff --git a/wowup-electron/src/assets/i18n/de.json b/wowup-electron/src/assets/i18n/de.json index a77df3ec..26a7d52a 100644 --- a/wowup-electron/src/assets/i18n/de.json +++ b/wowup-electron/src/assets/i18n/de.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Aktuelle Sprache", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "Aktivieren / Deaktivieren verschiedener Systembenachrichtigungen", @@ -226,14 +234,6 @@ "USE_HARDWARE_ACCELERATION_ENABLE_CONFIRMATION_DESCRIPTION": "Bei Aktivierung der Hardwarebeschleunigung benötigt die App einen Neustart.", "USE_HARDWARE_ACCELERATION_LABEL": "Hardwarebeschleunigung aktivieren" }, - "ADDON_SOURCES": { - "TITLE": "TEXT_ELEMENT", - "ENABLED_SOURCES": { - "FIELD_LABEL": "TEXT_ELEMENT", - "DESCRIPTION": "TEXT_ELEMENT", - "INPUT_LABEL": "TEXT_ELEMENT" - } - }, "DEBUG": { "DEBUG_DATA_BUTTON": "Debug-Daten dumpen", "DEBUG_DATA_DESCRIPTION": "Protokollieren Sie Debug-Daten, um mögliche Probleme zu diagnostizieren. Dies finden Sie in Ihrer aktuellen Protokolldatei (für Neugierige).", @@ -244,6 +244,7 @@ "TITLE": "Debuggen" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Anwendung", "CLIENTS": "Clients", "DEBUG": "Debug" diff --git a/wowup-electron/src/assets/i18n/en.json b/wowup-electron/src/assets/i18n/en.json index 037c94a2..c064a002 100644 --- a/wowup-electron/src/assets/i18n/en.json +++ b/wowup-electron/src/assets/i18n/en.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Current Language", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "Enable various system notification popups, such as auto updated addons.", @@ -226,14 +234,6 @@ "USE_HARDWARE_ACCELERATION_ENABLE_CONFIRMATION_DESCRIPTION": "Enabling hardware acceleration requires the application to restart.", "USE_HARDWARE_ACCELERATION_LABEL": "Enable Hardware Acceleration" }, - "ADDON_SOURCES": { - "TITLE": "Addon Sources", - "ENABLED_SOURCES": { - "FIELD_LABEL": "Enabled Addon Sources", - "DESCRIPTION": "Select which sources may be used to update and install your addons", - "INPUT_LABEL": "Sources" - } - }, "DEBUG": { "DEBUG_DATA_BUTTON": "Dump Debug Data", "DEBUG_DATA_DESCRIPTION": "Log debug data to help with diagnosing potential issues. This can be found in your latest log file for the curious.", @@ -244,6 +244,7 @@ "TITLE": "Debug" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Application", "CLIENTS": "Clients", "DEBUG": "Debug" diff --git a/wowup-electron/src/assets/i18n/es.json b/wowup-electron/src/assets/i18n/es.json index 1d104d82..cdad4259 100644 --- a/wowup-electron/src/assets/i18n/es.json +++ b/wowup-electron/src/assets/i18n/es.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Idioma Actual", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "Activa varios mensajes de notificación del sistema, como el de cuando los addons son actualizados automáticamente.", @@ -226,14 +234,6 @@ "USE_HARDWARE_ACCELERATION_ENABLE_CONFIRMATION_DESCRIPTION": "Activar la aceleración por hardware requiere reinicar la aplicación.", "USE_HARDWARE_ACCELERATION_LABEL": "Activar Aceleración por Hardware" }, - "ADDON_SOURCES": { - "TITLE": "TEXT_ELEMENT", - "ENABLED_SOURCES": { - "FIELD_LABEL": "TEXT_ELEMENT", - "DESCRIPTION": "TEXT_ELEMENT", - "INPUT_LABEL": "TEXT_ELEMENT" - } - }, "DEBUG": { "DEBUG_DATA_BUTTON": "Eliminar Datos de Depuración", "DEBUG_DATA_DESCRIPTION": "Registra datos de depuración y ayuda a diagnosticar problemas potenciales. Puede curiosearlo abriendo el último archivo de registro.", @@ -244,6 +244,7 @@ "TITLE": "Depuración" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Aplicación", "CLIENTS": "Clientes", "DEBUG": "Depuración" diff --git a/wowup-electron/src/assets/i18n/fr.json b/wowup-electron/src/assets/i18n/fr.json index ce42bb6d..2d0dacd7 100644 --- a/wowup-electron/src/assets/i18n/fr.json +++ b/wowup-electron/src/assets/i18n/fr.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Current Language", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION", @@ -226,14 +234,6 @@ "USE_HARDWARE_ACCELERATION_ENABLE_CONFIRMATION_DESCRIPTION": "TEXT_ELEMENT", "USE_HARDWARE_ACCELERATION_LABEL": "TEXT_ELEMENT" }, - "ADDON_SOURCES": { - "TITLE": "TEXT_ELEMENT", - "ENABLED_SOURCES": { - "FIELD_LABEL": "TEXT_ELEMENT", - "DESCRIPTION": "TEXT_ELEMENT", - "INPUT_LABEL": "TEXT_ELEMENT" - } - }, "DEBUG": { "DEBUG_DATA_BUTTON": "Dump des données de débogage", "DEBUG_DATA_DESCRIPTION": "Log les données de débogage pour aider à diagnostiquer les problèmes potentiels. Cela peut être trouvé dans votre dernier fichier journal pour les curieux.", @@ -244,6 +244,7 @@ "TITLE": "Déboguage" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Application", "CLIENTS": "Clients", "DEBUG": "Debug" diff --git a/wowup-electron/src/assets/i18n/it.json b/wowup-electron/src/assets/i18n/it.json index c8c9b7a4..043ae329 100644 --- a/wowup-electron/src/assets/i18n/it.json +++ b/wowup-electron/src/assets/i18n/it.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Lingua Attuale", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "Abilita/Disabilita i vari popup di notifica del sistema, come gli addons aggiornati automaticamente", @@ -226,14 +234,6 @@ "USE_HARDWARE_ACCELERATION_ENABLE_CONFIRMATION_DESCRIPTION": "L'abilitazione dell'accelerazione hardware richiede il riavvio dell'applicazione.", "USE_HARDWARE_ACCELERATION_LABEL": "Abilita l'accelerazione hardware" }, - "ADDON_SOURCES": { - "TITLE": "TEXT_ELEMENT", - "ENABLED_SOURCES": { - "FIELD_LABEL": "TEXT_ELEMENT", - "DESCRIPTION": "TEXT_ELEMENT", - "INPUT_LABEL": "TEXT_ELEMENT" - } - }, "DEBUG": { "DEBUG_DATA_BUTTON": "Dump Dati Di Debug", "DEBUG_DATA_DESCRIPTION": "Registra i dati di debug per aiutare a diagnosticare potenziali problemi. Questo può essere trovato nel tuo ultimo file di log (per i curiosi).", @@ -244,6 +244,7 @@ "TITLE": "Debug" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Applicazione", "CLIENTS": "Clients", "DEBUG": "Debug" diff --git a/wowup-electron/src/assets/i18n/ko.json b/wowup-electron/src/assets/i18n/ko.json index b931ac58..210f7d50 100644 --- a/wowup-electron/src/assets/i18n/ko.json +++ b/wowup-electron/src/assets/i18n/ko.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Current Language", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "Enable/Disable various system notification popups, such as auto updated addons.", @@ -236,6 +244,7 @@ "TITLE": "Debug" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Application", "CLIENTS": "Clients", "DEBUG": "Debug" diff --git a/wowup-electron/src/assets/i18n/nb.json b/wowup-electron/src/assets/i18n/nb.json index 744b58af..4d489f83 100644 --- a/wowup-electron/src/assets/i18n/nb.json +++ b/wowup-electron/src/assets/i18n/nb.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Current Language", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "Aktiver/Deaktiver forskjellige systemvarsler, foreksempel: automatisk oppdatering av addons.", @@ -236,6 +244,7 @@ "TITLE": "Debug" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Application", "CLIENTS": "Clients", "DEBUG": "Debug" diff --git a/wowup-electron/src/assets/i18n/pt.json b/wowup-electron/src/assets/i18n/pt.json index b757d122..3b5482ca 100644 --- a/wowup-electron/src/assets/i18n/pt.json +++ b/wowup-electron/src/assets/i18n/pt.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Língua Atual", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "Habilitar várias notificações e popups do sistema, como os de aviso de addons atualizados automaticamente.", @@ -226,14 +234,6 @@ "USE_HARDWARE_ACCELERATION_ENABLE_CONFIRMATION_DESCRIPTION": "Habilitar a aceleração de hardware exige reiniciar o aplicativo.", "USE_HARDWARE_ACCELERATION_LABEL": "Habilitar Aceleração de Hardware" }, - "ADDON_SOURCES": { - "TITLE": "TEXT_ELEMENT", - "ENABLED_SOURCES": { - "FIELD_LABEL": "TEXT_ELEMENT", - "DESCRIPTION": "TEXT_ELEMENT", - "INPUT_LABEL": "TEXT_ELEMENT" - } - }, "DEBUG": { "DEBUG_DATA_BUTTON": "Esvaziar log de depuração de dados", "DEBUG_DATA_DESCRIPTION": "Registra os dados de depuração e ajuda a diagnosticar problemas potenciais. Apenas por o curiosidade, isso pode ser encontrado em seu último arquivo de registro.", @@ -244,6 +244,7 @@ "TITLE": "Depurar" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Aplicação", "CLIENTS": "Clientes", "DEBUG": "Debug" diff --git a/wowup-electron/src/assets/i18n/ru.json b/wowup-electron/src/assets/i18n/ru.json index f7d5a369..d41530d9 100644 --- a/wowup-electron/src/assets/i18n/ru.json +++ b/wowup-electron/src/assets/i18n/ru.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Текущий язык", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "Включить различные окна системных уведомлений, такие как автоматически обновлённые модификации.", @@ -226,14 +234,6 @@ "USE_HARDWARE_ACCELERATION_ENABLE_CONFIRMATION_DESCRIPTION": "Для включения аппаратного ускорения нужен перезапуск приложения.", "USE_HARDWARE_ACCELERATION_LABEL": "Включить аппаратное ускорение" }, - "ADDON_SOURCES": { - "TITLE": "Источники модификаций", - "ENABLED_SOURCES": { - "FIELD_LABEL": "Включенные источники модификаций", - "DESCRIPTION": "Выберите желаемые источники для установки и обновления ваших модификаций.", - "INPUT_LABEL": "Источники" - } - }, "DEBUG": { "DEBUG_DATA_BUTTON": "Дамп отладочных данных", "DEBUG_DATA_DESCRIPTION": "Записывать отладочные данные, чтобы помочь в диагностике потенциальных проблем. Его можно найти в последнем лог-файле, если необходимо.", @@ -244,6 +244,7 @@ "TITLE": "Отладка" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Приложение", "CLIENTS": "Клиенты", "DEBUG": "Отладка" diff --git a/wowup-electron/src/assets/i18n/zh.json b/wowup-electron/src/assets/i18n/zh.json index b3c1a993..a87048ec 100644 --- a/wowup-electron/src/assets/i18n/zh.json +++ b/wowup-electron/src/assets/i18n/zh.json @@ -202,6 +202,14 @@ } }, "OPTIONS": { + "ADDON": { + "ENABLED_PROVIDERS": { + "DESCRIPTION": "Select which providers may be used to update and install your addons", + "FIELD_LABEL": "Enabled Addon Providers", + "INPUT_LABEL": "Providers" + }, + "TITLE": "Addons" + }, "APPLICATION": { "CURRENT_LANGUAGE_LABEL": "Current Language", "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION": "ENABLE_SYSTEM_NOTIFICATIONS_DESCRIPTION", @@ -226,14 +234,6 @@ "USE_HARDWARE_ACCELERATION_ENABLE_CONFIRMATION_DESCRIPTION": "TEXT_ELEMENT", "USE_HARDWARE_ACCELERATION_LABEL": "TEXT_ELEMENT" }, - "ADDON_SOURCES": { - "TITLE": "TEXT_ELEMENT", - "ENABLED_SOURCES": { - "FIELD_LABEL": "TEXT_ELEMENT", - "DESCRIPTION": "TEXT_ELEMENT", - "INPUT_LABEL": "TEXT_ELEMENT" - } - }, "DEBUG": { "DEBUG_DATA_BUTTON": "转储调试数据", "DEBUG_DATA_DESCRIPTION": "记录调试数据以帮助诊断潜在的问题。这可以在您最新的日志文件中找到。", @@ -244,6 +244,7 @@ "TITLE": "除错" }, "TABS": { + "ADDONS": "Addons", "APPLICATION": "Application", "CLIENTS": "Clients", "DEBUG": "Debug"