Skip to content

Commit cdc8050

Browse files
committed
feat: Add languages: 正體中文、Galego
1 parent 6473a0a commit cdc8050

16 files changed

+1296
-699
lines changed

Ui/AppInit.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,10 @@ public void InitOnLaunch()
327327
return;
328328
}
329329

330+
#if DEBUG
331+
MessageBoxHelper.ErrorAlert(LanguageService?.Translate(@"write permissions alert", "123") ?? "write permissions error:" + "123123");
332+
#endif
333+
330334
if (IoC.Get<ConfigurationService>().General.AppStartMinimized == false || _isNewUser)
331335
{
332336
IoC.Get<MainWindowViewModel>().OnMainWindowViewLoaded += () =>

Ui/AppVersion.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ namespace _1RM
44
{
55
public static class AppVersion
66
{
7-
public const uint Major = 0;
8-
public const uint Minor = 4;
7+
public const uint Major = 1;
8+
public const uint Minor = 0;
99
public const uint Patch = 0;
1010
public const uint Build = 0;
1111
public const string PreRelease = "alpha.01"; // e.g. "alpha" "beta.2"

Ui/Resources/Languages/LanguagesList.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ public static class LanguagesResources
99
"de-de.xaml",
1010
"fr-fr.xaml",
1111
"pt-br.xaml",
12-
"ja-jp.xaml"
12+
"ja-jp.xaml",
13+
"zh-tw.xaml",
14+
"gl-es.xaml"
1315
};
1416
}

Ui/Resources/Languages/cs-cz.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<s:String x:Key="Custom">Uživatelsky určené</s:String>
6868
<s:String x:Key="All">Vše</s:String>
6969
<s:String x:Key="Protocol">Protokol</s:String>
70-
<s:String x:Key="Cameras">Cameras</s:String>
70+
<s:String x:Key="Cameras">Kamery</s:String>
7171
<s:String x:Key="Upload">nahrát</s:String>
7272
<s:String x:Key="filter_mainwindow">Klíčová slova nebo „#“ + název štítku</s:String>
7373
<s:String x:Key="Search (Ctrl+F)">Hledat (Ctrl + F)</s:String>
@@ -227,7 +227,7 @@
227227
<s:String x:Key="Caution: some exe can not be hosted in 1Remote.">Upozornění: hostování některých spustitelných souborů pomocí 1Remote nefunguje – je třeba si vyzkoušet.</s:String>
228228
<s:String x:Key="Show environment variables">Zobrazit proměnné prostředí</s:String>
229229
<s:String x:Key="Add environment variables">Přidat proměnné prostředí</s:String>
230-
<s:String x:Key="write permissions alert">&#10;Chybí oprávnění pro zápis do složky „{0}“!&#10;Vyzkoušejte:&#10;1. spustit coby správce&#10;2. upravit práva na souboru a/nebo složce&#10;3. přesunout 1Remote do jiné složky</s:String>
230+
<s:String x:Key="write permissions alert">\nChybí oprávnění pro zápis do složky „{0}“!\nVyzkoušejte:\n1. spustit coby správce\n2. upravit práva na souboru a/nebo složce\n3. přesunout 1Remote do jiné složky</s:String>
231231
<s:String x:Key="Follow system">Stejně jako v systému (podporovaný server: Windows Server 2012 R2 a novější)</s:String>
232232
<s:String x:Key="tag_tooltips">Kliknutí levým tlačítkem: nastavit tento štítek jako filter{0}Ctrl + kliknutí levým tlačítkem: přidat tento štítek do seznamu zahrnutých {0}Ctrl + kliknutí pravým tlačítkem: přidat tento štítek do seznamu vynechaných</s:String>
233233
<s:String x:Key="Are you sure you want to close the connection?">Opravdu chcete spojení zavřít?</s:String>

Ui/Resources/Languages/de-de.xaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<s:String x:Key="Connect">Verbinden</s:String>
3737
<s:String x:Key="Connect (New window)">Verbinden (Neues Fenster)</s:String>
3838
<s:String x:Key="Note">Note</s:String>
39-
<s:String x:Key="Share">Teilen</s:String>
39+
<s:String x:Key="Share">Aktie</s:String>
4040
<s:String x:Key="Copy">Kopieren</s:String>
4141
<s:String x:Key="Enabled">Aktiv</s:String>
4242
<s:String x:Key="Helper">Helfer</s:String>
@@ -67,7 +67,7 @@
6767
<s:String x:Key="Custom">Benutzerdefiniert</s:String>
6868
<s:String x:Key="All">Alle</s:String>
6969
<s:String x:Key="Protocol">Protokoll</s:String>
70-
<s:String x:Key="Cameras">Cameras</s:String>
70+
<s:String x:Key="Cameras">Kameras</s:String>
7171
<s:String x:Key="Upload">Hochladen</s:String>
7272
<s:String x:Key="filter_mainwindow">Schlüsselwörter oder '#' + Tag-Name</s:String>
7373
<s:String x:Key="Search (Ctrl+F)">Suche (STRG + F)</s:String>
@@ -164,7 +164,7 @@
164164
<s:String x:Key="server_editor_advantage_disk_drives">Laufwerke</s:String>
165165
<s:String x:Key="Drives plug in latter">Drives plug in latter</s:String>
166166
<s:String x:Key="server_editor_advantage_sounds">Ton</s:String>
167-
<s:String x:Key="server_editor_advantage_sounds_disabled">Deaktiviert</s:String>
167+
<s:String x:Key="server_editor_advantage_sounds_disabled">Behinderte</s:String>
168168
<s:String x:Key="server_editor_advantage_sounds_on_local">Lokal spielen</s:String>
169169
<s:String x:Key="server_editor_advantage_sounds_on_remote">Spielen Sie auf der Fernbedienung</s:String>
170170
<s:String x:Key="server_editor_advantage_audio_capture">Audio Aufnahme</s:String>
@@ -196,7 +196,7 @@
196196
<s:String x:Key="server_editor_remote_app_fullname">Pfad zum Programm</s:String>
197197
<s:String x:Key="server_editor_remote_app_fullname_tag">vollständiger Programm-Pfad auf dem Server (z. B. C:\\Apps\\hallo.exe)</s:String>
198198
<s:String x:Key="about_page_how_to_use">Handbuch im Github Wiki</s:String>
199-
<s:String x:Key="about_page_feedback">Feedback</s:String>
199+
<s:String x:Key="about_page_feedback">Rückmeldung</s:String>
200200
<s:String x:Key="guidance_introduce">Mit 1Remote können Sie jederzeit und überall eine Remote-Sitzung eröffnen.</s:String>
201201
<s:String x:Key="guidance_feature_launcher_key">Rufen Sie den Launcher auf mit</s:String>
202202
<s:String x:Key="guidance_feature_launcher_select">Server auswählen mit</s:String>
@@ -227,12 +227,12 @@
227227
<s:String x:Key="Caution: some exe can not be hosted in 1Remote.">Vorsicht: some exe can not be hosted by 1Remote, please test by your self.</s:String>
228228
<s:String x:Key="Show environment variables">Show umgebungsvariablen</s:String>
229229
<s:String x:Key="Add environment variables">Fügen Sie Umgebungsvariablen hinzu</s:String>
230-
<s:String x:Key="write permissions alert">Wir haben keine Schreibrechte für das Verzeichnis `{0}`!&#10;Bitte versuche:&#10;1. als Administrator ausführen&#10;2. Verzeichnis- oder Dateiberechtigungen ändern&#10;3. Verschieben Sie 1Remote in einen anderen Ordner</s:String>
230+
<s:String x:Key="write permissions alert">Wir haben keine Schreibrechte für das Verzeichnis `{0}`!\nBitte versuche:\n1. als Administrator ausführen\n2. Verzeichnis- oder Dateiberechtigungen ändern\n3. Verschieben Sie 1Remote in einen anderen Ordner</s:String>
231231
<s:String x:Key="Follow system">Folgen des Systems(Unterstützter Server: Windows Server 2012 R2 und höher)</s:String>
232232
<s:String x:Key="tag_tooltips">Linksklick : Dieses Tag als Filter festlegen{0}Strg + Linksklick : Dieses Tag zur Einschlussliste hinzufügen {0}Strg + Rechtsklick : Dieses Tag zur Ausschlussliste hinzufügen</s:String>
233233
<s:String x:Key="Are you sure you want to close the connection?">Möchten Sie die Verbindung wirklich beenden?</s:String>
234234
<s:String x:Key="Hi there,">Hi,</s:String>
235-
<s:String x:Key="I hope that you find this app useful. If you would like to support my work, you can buy me a coffee or give a nice review. Thanks!">Ich hoffe, dass Sie diese App nützlich finden. Wenn Sie meine Arbeit unterstützen möchten, können Sie mir einen Kaffee spendieren oder eine nette Bewertung abgeben. Vielen Dank!</s:String>
235+
<s:String x:Key="I hope that you find this app useful. If you would like to support my work, you can buy me a coffee or give a nice review. Thanks!">Ich hoffe, dass Sie diese App nützlich finden. Wenn Sie meine Arbeit unterstützen möchten, können Sie mir einen Kaffee spendieren oder eine nette Bewertung abgeben. Danke!</s:String>
236236
<s:String x:Key="Give suggestions">Geben Sie Anregungen</s:String>
237237
<s:String x:Key="Buy a coffee">Kaffee kaufen</s:String>
238238
<s:String x:Key="Give nice review">Geben Sie eine schöne Bewertung ab</s:String>

Ui/Resources/Languages/en-us.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
<s:String x:Key="Caution: some exe can not be hosted in 1Remote.">Caution: some exe can not be hosted by 1Remote, please test by your self.</s:String>
228228
<s:String x:Key="Show environment variables">Show environment variables</s:String>
229229
<s:String x:Key="Add environment variables">Add environment variables</s:String>
230-
<s:String x:Key="write permissions alert">We don't have write permissions for the `{0}` directory!&#10;Please try:&#10;1. run as administrator&#10;2. change directory or file permissions &#10;3. move 1Remote to another folder</s:String>
230+
<s:String x:Key="write permissions alert">We don't have write permissions for the `{0}` directory!\nPlease try:\n1. run as administrator\n2. change directory or file permissions \n3. move 1Remote to another folder</s:String>
231231
<s:String x:Key="Follow system">Follow system(Supported server: Windows Server 2012 R2 and above)</s:String>
232232
<s:String x:Key="tag_tooltips">Left click : set this tag as filter{0}Ctrl + Left click : add this tag to the include list {0}Ctrl + Right click : add this tag to the exclude list</s:String>
233233
<s:String x:Key="Are you sure you want to close the connection?">Are you sure you want to close the connection?</s:String>

Ui/Resources/Languages/fr-fr.xaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<s:String x:Key="Custom">Coutume</s:String>
6868
<s:String x:Key="All">Tous</s:String>
6969
<s:String x:Key="Protocol">Protocole</s:String>
70-
<s:String x:Key="Cameras">Cameras</s:String>
70+
<s:String x:Key="Cameras">Appareils photo</s:String>
7171
<s:String x:Key="Upload">Télécharger</s:String>
7272
<s:String x:Key="filter_mainwindow">Mots-clés ou '#' + nom de tag</s:String>
7373
<s:String x:Key="Search (Ctrl+F)">Rechercher (Ctrl + F)</s:String>
@@ -124,7 +124,7 @@
124124
<s:String x:Key="server_editor_bulk_editing_title">Vous modifiez en masse :</s:String>
125125
<s:String x:Key="server_editor_multi_selected_count">Nombre d'éléments sélectionnés:</s:String>
126126
<s:String x:Key="server_editor_group_title_common">Commun</s:String>
127-
<s:String x:Key="Connection">Lien</s:String>
127+
<s:String x:Key="Connection">Connexion</s:String>
128128
<s:String x:Key="server_editor_group_title_display">Affichage</s:String>
129129
<s:String x:Key="server_editor_group_title_advantage">Avantage</s:String>
130130
<s:String x:Key="server_editor_group_title_gateway">Serveur de passerelle RD</s:String>
@@ -151,7 +151,7 @@
151151
<s:String x:Key="Custom resolution (fixed)">Résolution personnalisée (fixe)</s:String>
152152
<s:String x:Key="Full-screen resolution (stretch)">Résolution en plein écran (étirement)</s:String>
153153
<s:String x:Key="Full-screen resolution (fixed)">Résolution en plein écran (fixe)</s:String>
154-
<s:String x:Key="Scale">Échelle</s:String>
154+
<s:String x:Key="Scale">Escalader</s:String>
155155
<s:String x:Key="server_editor_display_rdp_performance">Performance</s:String>
156156
<s:String x:Key="server_editor_display_rdp_performance_auto">Jugement automatique (par vitesse de connexion)</s:String>
157157
<s:String x:Key="server_editor_display_rdp_performance_high">Élevé (couleur 32 bits avec prise en charge complète des fonctionnalités)</s:String>
@@ -175,7 +175,7 @@
175175
<s:String x:Key="server_editor_advantage_ssh_startup_auto_command">Commande automatique</s:String>
176176
<s:String x:Key="server_editor_advantage_ssh_startup_auto_kitty_session_tip">prendre en charge la configuration externe en sélectionnant un chemin de fichier de session de KiTTY</s:String>
177177
<s:String x:Key="server_editor_advantage_sftp_startup_path">Chemin de démarrage</s:String>
178-
<s:String x:Key="server_editor_gateway_mode">Lien</s:String>
178+
<s:String x:Key="server_editor_gateway_mode">Connexion</s:String>
179179
<s:String x:Key="server_editor_gateway_mode_automatically_detect">Détecter automatiquement les paramètres du serveur RD Gateway</s:String>
180180
<s:String x:Key="server_editor_gateway_mode_use_these">Utilisez les paramètres de serveur de passerelle Bureau à distance suivants</s:String>
181181
<s:String x:Key="server_editor_gateway_mode_do_not_use">Ne pas utiliser de serveur de passerelle pour le Bureau à distance</s:String>
@@ -189,7 +189,7 @@
189189
<s:String x:Key="In this mode RDP will start the session in the way mstsc.exe xxxx.rdp in CMD, it can offer more custom parameters.">Dans ce mode, RDP démarrera la session de la manière 'mstsc.exe xxxx.rdp' dans CMD, il peut offrir plus de paramètres personnalisés.</s:String>
190190
<s:String x:Key="Note: This mode will be automatically enabled if there are 2+ monitors with different display scaling on your PC and you selected the full screen mode.">Remarque : Ce mode sera automatiquement activé s'il y a plus de 2 moniteurs avec une mise à l'échelle d'affichage différente sur votre PC et que vous avez sélectionné le mode plein écran.</s:String>
191191
<s:String x:Key="Additional settings">Paramètres additionnels</s:String>
192-
<s:String x:Key="Preview rdp file">Aperçu du fichier rdp</s:String>
192+
<s:String x:Key="Preview rdp file">Prévisualiser le fichier rdp</s:String>
193193
<s:String x:Key="Check monitor number">Vérifier le numéro du moniteur</s:String>
194194
<s:String x:Key="server_editor_remote_app_name">Nom de l'application</s:String>
195195
<s:String x:Key="server_editor_remote_app_name_tag">nom de l'application (par exemple bonjour)</s:String>
@@ -227,7 +227,7 @@
227227
<s:String x:Key="Caution: some exe can not be hosted in 1Remote.">Attention : certains exe ne peuvent pas être hébergés par 1Remote, veuillez tester par vous-même.</s:String>
228228
<s:String x:Key="Show environment variables">Afficher les variables d'environnement</s:String>
229229
<s:String x:Key="Add environment variables">Ajouter des variables d'environnement</s:String>
230-
<s:String x:Key="write permissions alert">Nous n'avons pas les droits d'écriture pour le répertoire `{0}` !&#10;S'il vous plaît essayez:&#10;1. exécuter en tant qu'administrateur&#10;2. modifier les autorisations de répertoire ou de fichier&#10;3. déplacer 1Remote vers un autre dossier</s:String>
230+
<s:String x:Key="write permissions alert">Nous n'avons pas les droits d'écriture pour le répertoire `{0}` !\nS'il vous plaît essayez:\n1. exécuter en tant qu'administrateur\n2. modifier les autorisations de répertoire ou de fichier\n3. déplacer 1Remote vers un autre dossier</s:String>
231231
<s:String x:Key="Follow system">Suivre le système(Serveur pris en charge: Windows Server 2012 R2 et supérieur)</s:String>
232232
<s:String x:Key="tag_tooltips">Clic gauche : définir ce tag comme filtre{0}Ctrl + clic gauche : ajouter ce tag à la liste d'inclusion {0}Ctrl + clic droit : ajouter ce tag à la liste d'exclusion</s:String>
233233
<s:String x:Key="Are you sure you want to close the connection?">Voulez-vous vraiment fermer la connexion?</s:String>

0 commit comments

Comments
 (0)