diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-22 08:11:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 08:11:59 +0200 |
commit | 84cb421f13cf1a1f1b47cff6866c378972270c37 (patch) | |
tree | a21f203888272be15f9356d6c4919ab5baee0d05 /src-vue | |
parent | 576dd0a9d2152ffcc15d746a6c537e2d68d0d5eb (diff) | |
download | FlightCore-84cb421f13cf1a1f1b47cff6866c378972270c37.tar.gz FlightCore-84cb421f13cf1a1f1b47cff6866c378972270c37.zip |
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
Diffstat (limited to 'src-vue')
-rw-r--r-- | src-vue/src/i18n/lang/de.json | 2 | ||||
-rw-r--r-- | src-vue/src/i18n/lang/en.json | 2 | ||||
-rw-r--r-- | src-vue/src/i18n/lang/fr.json | 2 | ||||
-rw-r--r-- | src-vue/src/i18n/lang/pl.json | 2 | ||||
-rw-r--r-- | src-vue/src/i18n/lang/ru.json | 2 | ||||
-rw-r--r-- | src-vue/src/plugins/store.ts | 2 | ||||
-rw-r--r-- | src-vue/src/views/PlayView.vue | 2 |
7 files changed, 7 insertions, 7 deletions
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<any>) { + listen("ea-app-running-ping", function (evt: TauriEvent<any>) { 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({ <div class="fc_version__line fc_version__line__boolean"> {{ northstarIsRunning }}</div> </div> <div> - <div class="fc_version__line">{{ $t('play.origin_running') }}</div> + <div class="fc_version__line">{{ $t('play.ea_app_running') }}</div> <div class="fc_version__line fc_version__line__boolean">{{ $store.state.origin_is_running }}</div> </div> </div> |