From 5e929443fd0a0faf0b1d66086aaf1620418d7e11 Mon Sep 17 00:00:00 2001 From: Mark Friedrich Date: Sat, 20 Apr 2019 18:35:36 +0200 Subject: [PATCH] - improved language support for "signature reader" (ru, fr, ja, zh), closed #653 --- js/app/init.js | 14 +++++++------- js/app/ui/module/system_signature.js | 16 ++++++++++------ public/js/v1.5.1/app/init.js | 14 +++++++------- .../js/v1.5.1/app/ui/module/system_signature.js | 16 ++++++++++------ 4 files changed, 34 insertions(+), 26 deletions(-) diff --git a/js/app/init.js b/js/app/init.js index 286ac1ed1..3b9cbfc74 100644 --- a/js/app/init.js +++ b/js/app/init.js @@ -392,31 +392,31 @@ define(['jquery'], ($) => { // signature groups signatureGroups: { 1: { - name: '(combat site|kampfgebiet|site de combat)', //* + name: '(combat site|kampfgebiet|site de combat|Боевой район)', //* label: 'Combat' }, 2: { - name: '(relic site|reliktgebiet|site de reliques)', //* + name: '(relic site|reliktgebiet|site de reliques|Археологический район)', //* label: 'Relic' }, 3: { - name: '(data site|datengebiet|site de données)', + name: '(data site|datengebiet|site de données|Информационный район)', label: 'Data' }, 4: { - name: '(gas site|gasgebiet|site de collecte de gaz)', + name: '(gas site|gasgebiet|site de collecte de gaz|Газовый район)', label: 'Gas' }, 5: { - name: '(wormhole|wurmloch|trou de ver)', + name: '(wormhole|wurmloch|trou de ver|Червоточина)', label: 'Wormhole' }, 6: { - name: '(ore site|mineraliengebiet|site de minerai)', + name: '(ore site|mineraliengebiet|site de minerai|Астероидный район)', label: 'Ore' }, 7: { - name: '(ghost)', + name: '(ghost|Призрачный)', label: 'Ghost' } }, diff --git a/js/app/ui/module/system_signature.js b/js/app/ui/module/system_signature.js index f0a89d8f4..9103e508c 100644 --- a/js/app/ui/module/system_signature.js +++ b/js/app/ui/module/system_signature.js @@ -65,12 +65,16 @@ define([ let validSignatureNames = [ // allowed signature type/names 'Cosmic Anomaly', 'Cosmic Signature', - 'Kosmische Anomalie', - 'Kosmische Signatur', - 'Anomalie cosmique', - 'Signature cosmique', - 'Космическая аномалия', // == "Cosmic Anomaly" - 'Источники сигналов' // == "Cosmic Signature" + 'Kosmische Anomalie', // de: "Cosmic Anomaly" + 'Kosmische Signatur', // de: "Cosmic Signature" + 'Космическая аномалия', // ru: "Cosmic Anomaly" + 'Скрытый сигнал', // rm: "Cosmic Signature" + 'Anomalie cosmique', // fr: "Cosmic Anomaly" + 'Signature cosmique', // fr: "Cosmic Signature" + '宇宙の特異点', // ja: "Cosmic Anomaly" + '宇宙のシグネチャ', // ja: "Cosmic Signature" + '异常空间', // zh: "Cosmic Anomaly" + '空间信号' // zh: "Cosmic Signature" ]; let emptySignatureData = { diff --git a/public/js/v1.5.1/app/init.js b/public/js/v1.5.1/app/init.js index 286ac1ed1..3b9cbfc74 100644 --- a/public/js/v1.5.1/app/init.js +++ b/public/js/v1.5.1/app/init.js @@ -392,31 +392,31 @@ define(['jquery'], ($) => { // signature groups signatureGroups: { 1: { - name: '(combat site|kampfgebiet|site de combat)', //* + name: '(combat site|kampfgebiet|site de combat|Боевой район)', //* label: 'Combat' }, 2: { - name: '(relic site|reliktgebiet|site de reliques)', //* + name: '(relic site|reliktgebiet|site de reliques|Археологический район)', //* label: 'Relic' }, 3: { - name: '(data site|datengebiet|site de données)', + name: '(data site|datengebiet|site de données|Информационный район)', label: 'Data' }, 4: { - name: '(gas site|gasgebiet|site de collecte de gaz)', + name: '(gas site|gasgebiet|site de collecte de gaz|Газовый район)', label: 'Gas' }, 5: { - name: '(wormhole|wurmloch|trou de ver)', + name: '(wormhole|wurmloch|trou de ver|Червоточина)', label: 'Wormhole' }, 6: { - name: '(ore site|mineraliengebiet|site de minerai)', + name: '(ore site|mineraliengebiet|site de minerai|Астероидный район)', label: 'Ore' }, 7: { - name: '(ghost)', + name: '(ghost|Призрачный)', label: 'Ghost' } }, diff --git a/public/js/v1.5.1/app/ui/module/system_signature.js b/public/js/v1.5.1/app/ui/module/system_signature.js index f0a89d8f4..9103e508c 100644 --- a/public/js/v1.5.1/app/ui/module/system_signature.js +++ b/public/js/v1.5.1/app/ui/module/system_signature.js @@ -65,12 +65,16 @@ define([ let validSignatureNames = [ // allowed signature type/names 'Cosmic Anomaly', 'Cosmic Signature', - 'Kosmische Anomalie', - 'Kosmische Signatur', - 'Anomalie cosmique', - 'Signature cosmique', - 'Космическая аномалия', // == "Cosmic Anomaly" - 'Источники сигналов' // == "Cosmic Signature" + 'Kosmische Anomalie', // de: "Cosmic Anomaly" + 'Kosmische Signatur', // de: "Cosmic Signature" + 'Космическая аномалия', // ru: "Cosmic Anomaly" + 'Скрытый сигнал', // rm: "Cosmic Signature" + 'Anomalie cosmique', // fr: "Cosmic Anomaly" + 'Signature cosmique', // fr: "Cosmic Signature" + '宇宙の特異点', // ja: "Cosmic Anomaly" + '宇宙のシグネチャ', // ja: "Cosmic Signature" + '异常空间', // zh: "Cosmic Anomaly" + '空间信号' // zh: "Cosmic Signature" ]; let emptySignatureData = {