Skip to content

Commit

Permalink
- improved language support for "signature reader" (ru, fr, ja, zh), c…
Browse files Browse the repository at this point in the history
…losed #653
  • Loading branch information
exodus4d committed Apr 20, 2019
1 parent 346209d commit 5e92944
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 26 deletions.
14 changes: 7 additions & 7 deletions js/app/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
},
Expand Down
16 changes: 10 additions & 6 deletions js/app/ui/module/system_signature.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
14 changes: 7 additions & 7 deletions public/js/v1.5.1/app/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
},
Expand Down
16 changes: 10 additions & 6 deletions public/js/v1.5.1/app/ui/module/system_signature.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 5e92944

Please sign in to comment.