From 84cb421f13cf1a1f1b47cff6866c378972270c37 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Mon, 22 May 2023 08:11:59 +0200 Subject: refactor: Change error messages and function names to EA App (#362) * refactor: Change error message to mention EA App instead of Origin * refactor: Rename function to refer to EA App * refactor: Rename function to mention EA and Origin * style: Fix formatting * refactor: Update translation text to EA App * refactor: Change emit name to EA App instead of Origin * docs: Update comment to mention EA App --- src-vue/src/i18n/lang/de.json | 2 +- src-vue/src/i18n/lang/en.json | 2 +- src-vue/src/i18n/lang/fr.json | 2 +- src-vue/src/i18n/lang/pl.json | 2 +- src-vue/src/i18n/lang/ru.json | 2 +- src-vue/src/plugins/store.ts | 2 +- src-vue/src/views/PlayView.vue | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src-vue/src') diff --git a/src-vue/src/i18n/lang/de.json b/src-vue/src/i18n/lang/de.json index 42811edf..f6bb51e6 100644 --- a/src-vue/src/i18n/lang/de.json +++ b/src-vue/src/i18n/lang/de.json @@ -33,7 +33,7 @@ "servers": "Server", "unable_to_load_playercount": "Spielerzahl konnte nicht geladen werden", "northstar_running": "Northstar läuft:", - "origin_running": "Origin läuft:" + "ea_app_running": "EA App läuft:" }, "mods": { "local": { diff --git a/src-vue/src/i18n/lang/en.json b/src-vue/src/i18n/lang/en.json index f5a92a94..db2308e2 100644 --- a/src-vue/src/i18n/lang/en.json +++ b/src-vue/src/i18n/lang/en.json @@ -36,7 +36,7 @@ "servers": "servers", "unable_to_load_playercount": "Unable to load playercount", "northstar_running": "Northstar is running:", - "origin_running": "Origin is running:" + "ea_app_running": "EA App is running:" }, "mods": { diff --git a/src-vue/src/i18n/lang/fr.json b/src-vue/src/i18n/lang/fr.json index 0e54bfa7..05c5ef3d 100644 --- a/src-vue/src/i18n/lang/fr.json +++ b/src-vue/src/i18n/lang/fr.json @@ -33,7 +33,7 @@ "servers": "serveurs", "unable_to_load_playercount": "Impossible de charger les statistiques", "northstar_running": "Northstar est en cours d'exécution :", - "origin_running": "Origin est en cours d'exécution :" + "ea_app_running": "EA App est en cours d'exécution :" }, "mods": { "local": { diff --git a/src-vue/src/i18n/lang/pl.json b/src-vue/src/i18n/lang/pl.json index 0a71719a..c9c632b7 100644 --- a/src-vue/src/i18n/lang/pl.json +++ b/src-vue/src/i18n/lang/pl.json @@ -32,7 +32,7 @@ "players": "gracze", "servers": "serwery", "northstar_running": "Northstar jest uruchomiony:", - "origin_running": "Origin jest uruchomiony:", + "ea_app_running": "EA App jest uruchomiony:", "unable_to_load_playercount": "Nie można załadować liczby graczy" }, "mods": { diff --git a/src-vue/src/i18n/lang/ru.json b/src-vue/src/i18n/lang/ru.json index eeccded3..78264cc8 100644 --- a/src-vue/src/i18n/lang/ru.json +++ b/src-vue/src/i18n/lang/ru.json @@ -32,7 +32,7 @@ "servers": "серверов", "unable_to_load_playercount": "Не можем загрузить количество игроков", "northstar_running": "Нордстар запущен:", - "origin_running": "Origin запущен:", + "ea_app_running": "EA App запущен:", "see_patch_notes": "просмотреть список изменений" }, "mods": { diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index 7d1b6c20..e7dc0763 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -463,7 +463,7 @@ async function _checkForFlightCoreUpdates(state: FlightCoreStore) { * Those events include Origin and Northstar running state. */ function _initializeListeners(state: any) { - listen("origin-running-ping", function (evt: TauriEvent) { + listen("ea-app-running-ping", function (evt: TauriEvent) { state.origin_is_running = evt.payload as boolean; }); diff --git a/src-vue/src/views/PlayView.vue b/src-vue/src/views/PlayView.vue index ff97c320..30171e48 100644 --- a/src-vue/src/views/PlayView.vue +++ b/src-vue/src/views/PlayView.vue @@ -57,7 +57,7 @@ export default defineComponent({
{{ northstarIsRunning }}
-
{{ $t('play.origin_running') }}
+
{{ $t('play.ea_app_running') }}
{{ $store.state.origin_is_running }}
-- cgit v1.2.3