Skip to content

Commit

Permalink
Update i18n localization strings (#1078)
Browse files Browse the repository at this point in the history
* add Japanese translation for new i18n strings

* add missing i18n string in SettingsPage

* fix link for string in SettingsPage

* add translation string to InputMacroAddonPage

* Add missing string and prune unused strings

* prune unused labes/strings
  • Loading branch information
mizma committed Jun 24, 2024
1 parent 8e58a5b commit b465f0c
Show file tree
Hide file tree
Showing 24 changed files with 110 additions and 145 deletions.
17 changes: 0 additions & 17 deletions www/src/Locales/de-DE/AddonsConfig.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ export default {
'i2c-analog-ads1219-speed-label': 'I2C Analog ADS1219 Geschwindigkeit',
'i2c-analog-ads1219-address-label': 'I2C Analog ADS1219 Addresse',
'dual-directional-input-header-text': 'Zweifache Richtungseingabe',
'dual-directional-input-up-pin-label': 'Dualer Hoch Pin',
'dual-directional-input-down-pin-label': 'Dualer Runter Pin',
'dual-directional-input-left-pin-label': 'Dualer Links Pin',
'dual-directional-input-right-pin-label': 'Dualer Rechts Pin',
'dual-directional-input-dpad-mode-label': 'Dualer D-Pad Modus',
'dual-directional-input-combine-mode-label': 'Kombinationsmodus',
'dual-directional-input-four-way-joystick-mode-label':
Expand Down Expand Up @@ -97,9 +93,6 @@ export default {
'buzzer-speaker-header-text': 'Summer-Lautsprecher',
'buzzer-speaker-pin-label': 'Summer-Pin',
'buzzer-speaker-volume-label': 'Summer-Lautstärke',
'extra-button-header-text': 'Extra-Taste Konfiguration',
'extra-button-pin-label': 'Extra-Taste Pin',
'extra-button-map-label': 'Extra-Taste',
'player-number-header-text': 'Spieler-Nummer (NUR X-INPUT)',
'player-number-sub-header': 'Warnung',
'player-number-sub-header-text':
Expand All @@ -111,13 +104,6 @@ export default {
"Hinweis: PS4, PS3 und Nintendo Switch modi unterstützen nicht die SOCD-Säuberung auf 'Aus' und verwenden standardmäßig den neutralen SOCD-Säuberungsmodus",
'socd-cleaning-mode-selection-slider-mode-default-label':
'SOCD Schieberegler Modus Standard',
'socd-cleaning-mode-selection-slider-mode-one-label':
'SOCD Schieberegler Modus Eins',
'socd-cleaning-mode-selection-slider-pin-one-label': 'Pin Eins',
'socd-cleaning-mode-selection-slider-mode-two-label':
'SOCD Schieberegler Modus Zwei',
'socd-cleaning-mode-selection-slider-pin-two-label': 'Pin Zwei',
'ps4-mode-header-text': 'PS4 Modus',
'ps4-mode-sub-header': 'HAFTUNGSAUSSCHLUSS!',
'ps4-mode-sub-header-text':
'GP2040-CE WIRD NIEMALS DIESE DATEIEN ZUR VERFÜGUNG STELLEN!!!',
Expand All @@ -137,9 +123,6 @@ export default {
'keyboard-host-header-text': 'Tastatur-Host-Konfiguration',
'keyboard-host-sub-header-text':
'Nachfolgend sind die Daten, +, - und 5V (optional) Pins einzustellen. Nur der + und der 5V-Pin können konfiguriert werden.',
'keyboard-host-d-plus-label': 'D+',
'keyboard-host-d-minus-label': 'D-',
'keyboard-host-five-v-label': '5V-Stromversorgung (optional)',
'pin-config-moved-to-core-text':
'Hinweis: Die Pins für dieses Add-On werden jetzt auf der Seite für die Pin-Zuordnung konfiguriert',
'input-history-header-text': 'Eingabeverlauf',
Expand Down
3 changes: 0 additions & 3 deletions www/src/Locales/de-DE/InputMacroAddon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ export default {
'input-macro-wait-duration-label': 'Warte Dauer',
'input-macro-time-label-ms': 'ms',
'input-macro-time-label-frames': 'frame(s)',
'input-macro-warning':
'Der Makro-Tasten-Pin ist nicht zugewiesen. "Benutzt Tasten" Option wird deaktiviert.',
'input-macro-pin-label': 'Makro Tasten Pin',
'input-macro-macro-label-label': 'Bezeichnung',
'input-macro-type': {
press: 'Drücken',
Expand Down
1 change: 0 additions & 1 deletion www/src/Locales/de-DE/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export default {
'backup-label': 'Daten-Backup und Wiederherstellung',
'config-label': 'Konfiguration',
'custom-theme-label': 'Benutzerdefinierte LED Thema',
'dangerZone-label': 'Gefahrenzone',
'display-config-label': 'Display Konfiguration',
'docs-label': 'Dokumentation',
'github-label': 'GitHub',
Expand Down
1 change: 0 additions & 1 deletion www/src/Locales/de-DE/PinMapping.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export default {
invalid: '{{pin}} ist ungültig für dieses Board',
used: '{{pin}} ist bereits einer anderen Funktion zugewiesen',
},
'all-capture-button-label': 'Gamepad Pins Zuweisen\u00A0\u00A0🎮',
actions: {
NONE: 'Keine',
RESERVED: 'Reserviert',
Expand Down
4 changes: 1 addition & 3 deletions www/src/Locales/de-DE/SettingsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ export default {
},
'profile-number-label': 'Profil Nummer',
'debounce-delay-label': 'Entprellverzögerung in Millisekunden',
'ps4-compatibility-label':
'Für <strong>PS5-Kompatibilität</strong>, verwenden Sie "Arcade Stick" und aktivieren Sie das PS Durchleitung Add-on<br/>Für <strong>PS4-Unterstützung</strong>, verwenden Sie "Controller" und aktivieren Sie das PS4-Modus-Add-On, wenn Sie die erforderlichen Dateien haben.',
'hotkey-settings-label': 'Hotkey Einstellungen',
'hotkey-settings-sub-header':
"Der Schieberegler <1>Fn</1> bietet eine zuweisbare Funktionstaste auf der <3 exact='true' to='/pin-mapping'>Pin-Zuweisungen</3>-Seite. Durch Auswahl der <1>Fn</1>-Schieberegleroption muss die Funktionstaste zusammen mit den ausgewählten Hotkey-Einstellungen gehalten werden.<5 />Wählen Sie außerdem <1>None</1> aus dem Dropdown-Menü, um einer Taste keine Zuordnung zuzuweisen.",
"Der Schieberegler <strong>Fn</strong> bietet eine zuweisbare Funktionstaste auf der <link_pinmap>Pin-Zuweisungen</link_pinmap>-Seite. Durch Auswahl der <strong>Fn</strong>-Schieberegleroption muss die Funktionstaste zusammen mit den ausgewählten Hotkey-Einstellungen gehalten werden.<br />Wählen Sie außerdem <strong>None</strong> aus dem Dropdown-Menü, um einer Taste keine Zuordnung zuzuweisen.",
'hotkey-settings-warning':
'Funktionstaste ist nicht zugewiesen. Der Fn Schieberegler wird deaktiviert.',
'hotkey-actions': {
Expand Down
15 changes: 0 additions & 15 deletions www/src/Locales/en/AddonsConfig.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ export default {
'i2c-analog-ads1219-speed-label': 'I2C Analog ADS1219 Speed',
'i2c-analog-ads1219-address-label': 'I2C Analog ADS1219 Address',
'dual-directional-input-header-text': 'Dual Directional Input',
'dual-directional-input-up-pin-label': 'Dual Up Pin',
'dual-directional-input-down-pin-label': 'Dual Down Pin',
'dual-directional-input-left-pin-label': 'Dual Left Pin',
'dual-directional-input-right-pin-label': 'Dual Right Pin',
'dual-directional-input-dpad-mode-label': 'Dual D-Pad Mode',
'dual-directional-input-combine-mode-label': 'Combination Mode',
'dual-directional-input-four-way-joystick-mode-label':
Expand Down Expand Up @@ -99,9 +95,6 @@ export default {
'buzzer-speaker-pin-label': 'Buzzer Pin',
'buzzer-speaker-enable-pin-label': 'Buzzer Enable Pin',
'buzzer-speaker-volume-label': 'Buzzer Volume',
'extra-button-header-text': 'Extra Button Configuration',
'extra-button-pin-label': 'Extra Button Pin',
'extra-button-map-label': 'Extra Button',
'player-number-header-text': 'Player Number (X-INPUT ONLY)',
'player-number-sub-header': 'Warning',
'player-number-sub-header-text':
Expand All @@ -113,11 +106,6 @@ export default {
'Note: PS4, PS3 and Nintendo Switch modes do not support setting SOCD Cleaning to Off and will default to Neutral SOCD Cleaning mode.',
'socd-cleaning-mode-selection-slider-mode-default-label':
'SOCD Slider Mode Default',
'socd-cleaning-mode-selection-slider-mode-one-label': 'SOCD Slider Mode One',
'socd-cleaning-mode-selection-slider-pin-one-label': 'Pin One',
'socd-cleaning-mode-selection-slider-mode-two-label': 'SOCD Slider Mode Two',
'socd-cleaning-mode-selection-slider-pin-two-label': 'Pin Two',
'ps4-mode-header-text': 'PS4 Mode',
'ps4-mode-sub-header': 'DISCLAIMER!',
'ps4-mode-sub-header-text': 'GP2040-CE WILL NEVER SUPPLY THESE FILES!!!',
'ps4-mode-text':
Expand All @@ -136,9 +124,6 @@ export default {
'keyboard-host-header-text': 'Keyboard Host Configuration',
'keyboard-host-sub-header-text':
'Following set the data +, - and 5V (optional) pins. Only the + and 5V pin can be configured.',
'keyboard-host-d-plus-label': 'D+',
'keyboard-host-d-minus-label': 'D-',
'keyboard-host-five-v-label': '5V Power (optional)',
'pin-config-moved-to-core-text':
'Note: the pins for this add-on are now configured on the Pin Mapping page.',
'input-history-header-text': 'Input History',
Expand Down
7 changes: 4 additions & 3 deletions www/src/Locales/en/InputMacroAddon.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export default {
'input-macro-board-led-enabled': 'Use Board LED to Display Macro Status',
'input-macro-macro-enabled': 'Enabled',
'input-macro-macro-enabled-badge': 'Enabled',
'input-macro-macro-disabled-badge': 'Disabled',
'input-macro-macro-exclusive':
'Exclusive (Cannot Be Switched to Another Macro)',
'input-macro-macro-interruptible':
Expand All @@ -20,12 +22,11 @@ export default {
'input-macro-wait-duration-label': 'Wait Duration',
'input-macro-time-label-ms': 'ms',
'input-macro-time-label-frames': 'frame(s)',
'input-macro-release-and-wait-label': 'release and wait ',
'input-macro-sub-header':
'Note: For pin mapped macros, please see the Pin Mapping page under Configuration. Macros can also be assigned to a gamepad button with the corresponding held single Macro button.',
'input-macro-warning':
'Macro Button Pin is not mapped. "Uses Buttons" option will be disabled.',
'input-macro-pin-label': 'Macro Button Pin',
'input-macro-macro-label-label': 'Label',
'input-macro-add-input-label': 'Add Input +',
'input-macro-type': {
press: 'Press',
'hold-repeat': 'Hold Repeat',
Expand Down
1 change: 0 additions & 1 deletion www/src/Locales/en/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export default {
'backup-label': 'Data Backup and Restoration',
'config-label': 'Configuration',
'custom-theme-label': 'Custom LED Theme',
'dangerZone-label': 'Danger Zone',
'display-config-label': 'Display Configuration',
'docs-label': 'Documentation',
'github-label': 'GitHub',
Expand Down
1 change: 0 additions & 1 deletion www/src/Locales/en/PinMapping.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export default {
invalid: '{{pin}} is invalid for this board',
used: '{{pin}} is already assigned to another feature',
},
'all-capture-button-label': 'Assign Gamepad Pins\u00A0\u00A0🎮',
actions: {
NONE: 'None',
RESERVED: 'Reserved',
Expand Down
13 changes: 9 additions & 4 deletions www/src/Locales/en/SettingsPage.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export default {
'auth-settings-label': 'Authentication Settings',
'no-mode-settings-text': 'There are no input mode settings for {{mode}}.',
'settings-header-text': 'Input Mode Settings',
'gamepad-settings-header-text': 'Gamepad Settings',
'input-mode-label': 'Input Mode',
'current-input-mode-label': 'Current Input Mode',
'input-mode-extra-label': 'Switch Touchpad and Share',
'ps4-report-hack': 'PS4 Report Speed Hack',
'input-mode-options': {
none: 'No Mode Selected',
xinput: 'XInput',
Expand Down Expand Up @@ -57,11 +57,16 @@ export default {
},
'profile-number-label': 'Profile Number',
'debounce-delay-label': 'Debounce Delay in milliseconds',
'ps4-compatibility-label':
'For <strong>PS5 compatibility</strong>, use "Arcade Stick" and enable PS Passthrough add-on<br/>For <strong>PS4 support</strong>, use "Controller" and enable PS4 Mode add-on if you have the necessary files',
'ps4-mode-explanation-text': 'PS4 mode allows GP2040-CE to run as an authenticated PS4 controller.',
'ps4-mode-warning-text': '<span>⏳ WARNING ⏳:</span> PS4 will timeout after 8 minutes without authentication.',
'ps4-usb-host-mode-text': '<span>INFO:</span> Please ensure USB Peripheral is enabled and a PS4 compatible USB device is plugged in.',
'ps5-mode-explanation-text': 'PS5 mode allows GP2040-CE to run as an authenticated PS5 compatible arcade stick.',
'ps5-mode-warning-text': '<span>⏳ WARNING ⏳:</span> PS5 will timeout after 8 minutes without authentication.',
'ps5-usb-host-mode-text': '<span>INFO:</span> Please ensure USB Peripheral is enabled and a PS5 compatible USB device is plugged in.',
'xbone-mode-text': '<span>INFO:</span> Xbox One requires a USB host connection and USB dongle to properly authenticate in Xbox One mode.',
'hotkey-settings-label': 'Hotkey Settings',
'hotkey-settings-sub-header':
"The <1>Fn</1> slider provides a mappable Function button in the <3 exact='true' to='/pin-mapping'>Pin Mapping</3> page. By selecting the <1>Fn</1> slider option, the Function button must be held along with the selected hotkey settings.<5 />Additionally, select <1>None</1> from the dropdown to unassign any button.",
'The <strong>Fn</strong> slider provides a mappable Function button in the <link_pinmap>Pin Mapping</link_pinmap> page. By selecting the <strong>Fn</strong> slider option, the Function button must be held along with the selected hotkey settings. <br /> Additionally, select <strong>None</strong> from the dropdown to unassign any button.',
'hotkey-settings-warning':
'Function button is not mapped. The Fn slider will be disabled.',
'hotkey-actions': {
Expand Down
22 changes: 22 additions & 0 deletions www/src/Locales/ja-JP/AddonsConfig.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ export default {
'bootsel-button-pin-label': 'BOOTSEL ボタン',
'on-board-led-configuration-label': 'オンボードLED設定',
'on-board-led-mode-label': 'LED モード',
'on-board-led-mode-option-0': 'オフ',
'on-board-led-mode-option-1': 'モードインジケータ',
'on-board-led-mode-option-2': '入力テスト',
'on-board-led-mode-option-3': 'PS4/5 認証',
'analog-header-text': 'アナログ',
'analog-warning':
'注:アナログスティック設定はゲームパッドの左スティックと右スティックの入力をオーバーライドします。',
Expand Down Expand Up @@ -132,4 +136,22 @@ export default {
'analog1256-drdy-pin': 'Data Ready (DRDY) 端子',
'analog1256-analog-max': '最大入力電圧',
'analog1256-enable-triggers': 'トリガー有効化',
'joystick-selection-slider-mode-0': '十字キー',
'joystick-selection-slider-mode-1': '左アナログ',
'joystick-selection-slider-mode-2': '右アナログ',
'dual-directional-input-dual-dpad-mode-0': '十字キー',
'dual-directional-input-dual-dpad-mode-1': '左アナログ',
'dual-directional-input-dual-dpad-mode-2': '右アナログ',
'dual-directional-input-combine-mode-0': 'ミックス',
'dual-directional-input-combine-mode-1': 'ゲームパッド上書き',
'dual-directional-input-combine-mode-2': 'DDI 上書き',
'dual-directional-input-combine-mode-3': '無し',
'socd-slider-mode-0': '上優先',
'socd-slider-mode-1': 'ニュートラル',
'socd-slider-mode-2': '後入力優先',
'socd-slider-mode-3': '先入力優先',
'socd-slider-mode-4': 'SOCDクリーナ無効',
'tilt-socd-mode-0': '上優先',
'tilt-socd-mode-1': 'ニュートラル',
'tilt-socd-mode-2': '後入力優先',
};
4 changes: 4 additions & 0 deletions www/src/Locales/ja-JP/DisplayConfig.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@ export default {
'inverted-label': '白黒反転',
'power-management-header': '電源管理',
'turn-off-when-suspended': 'サスペンド中OFFにする',
'flip-display-none': '無し',
'flip-display-flip': '180度回転',
'flip-display-mirror': '左右反転',
'flip-display-flip-mirror': '回転して左右反転',
},
};
9 changes: 6 additions & 3 deletions www/src/Locales/ja-JP/InputMacroAddon.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export default {
'input-macro-board-led-enabled': 'コントローラのLEDを利用してマクロの状態を表示',
'input-macro-macro-enabled': '有効化',
'input-macro-macro-enabled-badge': '有効',
'input-macro-macro-disabled-badge': '無効',
'input-macro-macro-exclusive':
'排他(他のマクロへの切り替え不可)',
'input-macro-macro-interruptible':
Expand All @@ -20,15 +22,16 @@ export default {
'input-macro-wait-duration-label': '待機時間',
'input-macro-time-label-ms': 'ミリ秒',
'input-macro-time-label-frames': 'フレーム',
'input-macro-release-and-wait-label': '離して待ち ',
'input-macro-sub-header':
'注:端子に割り当てられたマクロについては、端子割り当て設定ページで設定を確認ください。マクロはコントローラーのボタンと特定のマクロボタンの組み合わせに割り当てることも可能です。',
'input-macro-warning':
'マクロボタン端子が未割り当てのため「ボタンを利用」オプションは無効化されます。',
'input-macro-pin-label': 'マクロボタン端子',
'input-macro-macro-label-label': 'ラベル',
'input-macro-add-input-label': '入力追加 +',
'input-macro-type': {
press: '短押し',
'hold-repeat': '長押しリピート',
toggle: '切り替え',
},
'macro-name': 'マクロ名',
'macro-activation-type': 'マクロ実行方式',
};
14 changes: 10 additions & 4 deletions www/src/Locales/ja-JP/SettingsPage.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export default {
'auth-settings-label': '機器認証設定',
'no-mode-settings-text': '{{mode}}に関する設定項目はありません。',
'settings-header-text': '入力モード設定',
'gamepad-settings-header-text': 'コントローラ設定',
'input-mode-label': '入力モード',
'current-input-mode-label': '現在の入力モード',
'input-mode-extra-label': 'Switch タッチパッドと Share',
'ps4-report-hack': 'PS4応答速度ハック',
'input-mode-options': {
none: 'モード未選択',
'nintendo-switch': '任天堂Switch',
Expand Down Expand Up @@ -49,11 +49,16 @@ export default {
},
'profile-number-label': 'プロファイル番号',
'debounce-delay-label': 'チャタリング除去ディレイ(ミリ秒)',
'ps4-compatibility-label':
'<strong>PS5互換性</<strong>のためには入力モードで「アケコン」を選択し、PSパススルーadd-onを有効化してください。<br/><strong>PS4互換性</strong>のためには入力モードで「コントローラ」を選択し、PS4モードadd-onを有効化してください(関連ファイルを持っている場合)',
'ps4-mode-explanation-text': 'PS4モードはGP2040-CEコントローラを認証済みPS4コントローラとして動作させることができます。',
'ps4-mode-warning-text': '<span>⏳ 警告 ⏳:</span> 認証無しの場合8分でPS4はタイムアウトして切断します.',
'ps4-usb-host-mode-text': '<span>補足: </span> USB 周辺機器が有効化されており、PS4に互換性のあるデバイスが接続されていることを確認してください。',
'ps5-mode-explanation-text': 'PS5モードはGP2040-CEコントローラを認証済みPS5互換アケコンとして動作させることができます。',
'ps5-mode-warning-text': '<span>⏳ 警告 ⏳:</span> 認証無しの場合8分でPS5はタイムアウトして切断します.',
'ps5-usb-host-mode-text': '<span>補足: </span> USB 周辺機器が有効化されており、PS5に互換性のあるデバイスが接続されていることを確認してください。',
'xbone-mode-text': '<span>補足: </span> XBox One モードで正しく認証するにははUSBホスト接続とUSBドングルが必要です。',
'hotkey-settings-label': 'ホットキー設定',
'hotkey-settings-sub-header':
"<1>Fn</1>スライダーは<3 exact='true' to='/pin-mapping'>端子割り当て設定</3>ページで割り当て可能なファンクションボタン機能を有効化します。<1>Fn</1>スライダーを有効化することで、選択されたホットキーと同時にファンクションボタンを押す様に設定できます。<5 />また、<1>None</1>を選択することでボタンの割り当てを解除できます。",
"<strong>Fn</strong>スライダーは<link_pinmap>端子割り当て設定</link_pinmap>ページで割り当て可能なファンクションボタン機能を有効化します。<strong>Fn</strong>スライダーを有効化することで、選択されたホットキーと同時にファンクションボタンを押す様に設定できます。<br />また、<strong>None</strong>を選択することでボタンの割り当てを解除できます。",
'hotkey-settings-warning':
'ファンクションボタンが未割り当てです。Fnスライダーは無効化されます。',
'hotkey-actions': {
Expand Down Expand Up @@ -93,6 +98,7 @@ export default {
'load-profile-4': 'プロファイル #4をロード',
'next-profile': '次のプロファイルをロード',
'reboot-default': 'GP2040-CEを再起動',
'next-profile': '次のプロファイル',
},
'forced-setup-mode-label': '強制セットアップモード',
'forced-setup-mode-options': {
Expand Down
Loading

0 comments on commit b465f0c

Please sign in to comment.