Skip to content

Commit

Permalink
chore(l10n): update translations (#3473)
Browse files Browse the repository at this point in the history
  • Loading branch information
LizardByte-bot authored Jan 2, 2025
1 parent bb79557 commit d50611c
Show file tree
Hide file tree
Showing 12 changed files with 1,686 additions and 34 deletions.
18 changes: 17 additions & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ editing the `conf` file in a text editor. Use the examples as reference.
@endcode</td>
</tr>
<tr>
<td rowspan="13">Choices</td>
<td rowspan="17">Choices</td>
<td>bg</td>
<td>Bulgarian</td>
</tr>
<tr>
<td>de</td>
<td>German</td>
</tr>
Expand Down Expand Up @@ -89,10 +93,18 @@ editing the `conf` file in a text editor. Use the examples as reference.
<td>ja</td>
<td>Japanese</td>
</tr>
<tr>
<td>pl</td>
<td>Polish</td>
</tr>
<tr>
<td>pt</td>
<td>Portuguese</td>
</tr>
<tr>
<td>pt_BR</td>
<td>Portuguese (Brazilian)</td>
</tr>
<tr>
<td>ru</td>
<td>Russian</td>
Expand All @@ -105,6 +117,10 @@ editing the `conf` file in a text editor. Use the examples as reference.
<td>tr</td>
<td>Turkish</td>
</tr>
<tr>
<td>uk</td>
<td>Ukranian</td>
</tr>
<tr>
<td>zh</td>
<td>Chinese (Simplified)</td>
Expand Down
4 changes: 4 additions & 0 deletions src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,7 @@ namespace config {
}

string_restricted_f(vars, "locale", config::sunshine.locale, {
"bg"sv, // Bulgarian
"de"sv, // German
"en"sv, // English
"en_GB"sv, // English (UK)
Expand All @@ -1126,10 +1127,13 @@ namespace config {
"fr"sv, // French
"it"sv, // Italian
"ja"sv, // Japanese
"pl"sv, // Polish
"pt"sv, // Portuguese
"pt_BR"sv, // Portuguese (Brazilian)
"ru"sv, // Russian
"sv"sv, // Swedish
"tr"sv, // Turkish
"uk"sv, // Ukrainian
"zh"sv, // Chinese
});

Expand Down
4 changes: 4 additions & 0 deletions src_assets/common/assets/web/configs/tabs/General.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function removeCmd(index) {
<div class="mb-3">
<label for="locale" class="form-label">{{ $t('config.locale') }}</label>
<select id="locale" class="form-select" v-model="config.locale">
<option value="bg">Български (Bulgarian)</option>
<option value="de">Deutsch (German)</option>
<option value="en">English</option>
<option value="en_GB">English, UK</option>
Expand All @@ -41,10 +42,13 @@ function removeCmd(index) {
<option value="fr">Français (French)</option>
<option value="it">Italiano (Italian)</option>
<option value="ja">日本語 (Japanese)</option>
<option value="pl">Polski (Polish)</option>
<option value="pt">Português (Portuguese)</option>
<option value="pt_BR">Português, Brasileiro (Portuguese, Brazilian)</option>
<option value="ru">Русский (Russian)</option>
<option value="sv">svenska (Swedish)</option>
<option value="tr">Türkçe (Turkish)</option>
<option value="uk">Українська (Ukranian)</option>
<option value="zh">简体中文 (Chinese Simplified)</option>
</select>
<div class="form-text">{{ $t('config.locale_desc') }}</div>
Expand Down
407 changes: 407 additions & 0 deletions src_assets/common/assets/web/public/assets/locale/bg.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src_assets/common/assets/web/public/assets/locale/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"add_cmds": "Befehle hinzufügen",
"add_new": "Neu hinzufügen",
"app_name": "Anwendungsname",
"app_name_desc": "Anwendungsname, wie auf Mondlicht gezeigt",
"app_name_desc": "Name der App, wie in Moonlight angezeigt",
"applications_desc": "Anwendungen werden nur beim Neustart des Clients aktualisiert",
"applications_title": "Anwendungen",
"auto_detach": "Streaming fortsetzen, wenn die Anwendung schnell beendet wird",
Expand Down Expand Up @@ -256,7 +256,7 @@
"output_name_unix": "Anzeigenummer",
"output_name_windows": "Ausgabename",
"ping_timeout": "Ping-Timeout",
"ping_timeout_desc": "Wie lange warten Sie in Millisekunden auf Daten von Mondlicht bevor Sie den Strom herunterfahren",
"ping_timeout_desc": "Verzögerung in Millisekunden beim Warten auf Daten von Moonlight bevor der Stream beendet wird",
"pkey": "Privater Schlüssel",
"pkey_desc": "Der private Schlüssel, der für das Web-UI- und Moonlight-Client-Paar verwendet wird. Für bestmögliche Kompatibilität sollte dies ein privater RSA-2048 Schlüssel sein.",
"port": "Port",
Expand Down Expand Up @@ -360,7 +360,7 @@
"pin": {
"device_name": "Gerätename",
"pair_failure": "Paarung fehlgeschlagen: Prüfen Sie, ob die PIN korrekt eingegeben wurde",
"pair_success": "Erfolgreich! Bitte überprüfe Mondlicht um fortzufahren",
"pair_success": "Erfolg! Weiter geht es in Moonlight",
"pin_pairing": "PIN Pairing",
"send": "Senden",
"warning_msg": "Stellen Sie sicher, dass Sie Zugriff auf den Client haben, mit dem Sie sich verbinden. Diese Software kann Ihrem Computer die totale Kontrolle geben, also seien Sie vorsichtig!"
Expand Down
4 changes: 2 additions & 2 deletions src_assets/common/assets/web/public/assets/locale/en_GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@
"origin_web_ui_allowed_pc": "Only localhost may access Web UI",
"origin_web_ui_allowed_wan": "Anyone may access Web UI",
"output_name_desc_unix": "During Sunshine startup, you should see the list of detected displays. Note: You need to use the id value inside the parenthesis.",
"output_name_desc_windows": "Manually specify a display to use for capture. If unset, the primary display is captured. Note: If you specified a GPU above, this display must be connected to that GPU. The appropriate values can be found using the following command:",
"output_name_desc_windows": "Manually specify a display device id to use for capture. If unset, the primary display is captured. Note: If you specified a GPU above, this display must be connected to that GPU. During Sunshine startup, you should see the list of detected displays. Below is an example; the actual output can be found in the Troubleshooting tab.",
"output_name_unix": "Display number",
"output_name_windows": "Output Name",
"output_name_windows": "Display Device Id",
"ping_timeout": "Ping Timeout",
"ping_timeout_desc": "How long to wait in milliseconds for data from moonlight before shutting down the stream",
"pkey": "Private Key",
Expand Down
4 changes: 2 additions & 2 deletions src_assets/common/assets/web/public/assets/locale/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@
"origin_web_ui_allowed_pc": "Only localhost may access Web UI",
"origin_web_ui_allowed_wan": "Anyone may access Web UI",
"output_name_desc_unix": "During Sunshine startup, you should see the list of detected displays. Note: You need to use the id value inside the parenthesis. Below is an example; the actual output can be found in the Troubleshooting tab.",
"output_name_desc_windows": "Manually specify a display to use for capture. If unset, the primary display is captured. Note: If you specified a GPU above, this display must be connected to that GPU. The appropriate values can be found using the following command:",
"output_name_desc_windows": "Manually specify a display device id to use for capture. If unset, the primary display is captured. Note: If you specified a GPU above, this display must be connected to that GPU. During Sunshine startup, you should see the list of detected displays. Below is an example; the actual output can be found in the Troubleshooting tab.",
"output_name_unix": "Display number",
"output_name_windows": "Output Name",
"output_name_windows": "Display Device Id",
"ping_timeout": "Ping Timeout",
"ping_timeout_desc": "How long to wait in milliseconds for data from moonlight before shutting down the stream",
"pkey": "Private Key",
Expand Down
Loading

0 comments on commit d50611c

Please sign in to comment.