Skip to content

Commit

Permalink
Translation Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Oct 2, 2023
1 parent 12d7cac commit 0e2c2ea
Show file tree
Hide file tree
Showing 8 changed files with 93 additions and 91 deletions.
2 changes: 2 additions & 0 deletions src/Bundle/Sucrose.Bundle/Main.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ private static async Task ControlDirectoryStable(string Location)
}
}

await Task.Delay(MinDelay);

await Task.CompletedTask;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,55 +129,6 @@ private void InitializeViewModel()

Contents.Add(LogTemporary);

TextBlock ResetArea = new()
{
Foreground = SSRER.GetResource<Brush>("TextFillColorPrimaryBrush"),
Text = SSRER.GetValue("Portal", "Area", "Reset"),
Margin = new Thickness(0, 10, 0, 0),
FontWeight = FontWeights.Bold
};

Contents.Add(ResetArea);

SPVCEC SettingReset = new()
{
Margin = new Thickness(0, 10, 0, 0),
Expandable = true
};

SettingReset.LeftIcon.Symbol = SymbolRegular.LauncherSettings24;
SettingReset.Title.Text = SSRER.GetValue("Portal", "SystemSettingPage", "SettingReset");
SettingReset.Description.Text = SSRER.GetValue("Portal", "SystemSettingPage", "SettingReset", "Description");

Button SettingResetStart = new()
{
Content = SSRER.GetValue("Portal", "SystemSettingPage", "SettingReset", "Start"),
Foreground = SSRER.GetResource<Brush>("TextFillColorPrimaryBrush"),
Appearance = ControlAppearance.Secondary,
Margin = new Thickness(0, 0, 0, 0),
Padding = new Thickness(8),
Cursor = Cursors.Hand
};

SettingResetStart.Click += (s, e) => SettingResetStartClick(SettingResetStart);

SettingReset.HeaderFrame = SettingResetStart;

TextBlock SettingResetHint = new()
{
Text = SSRER.GetValue("Portal", "SystemSettingPage", "SettingReset", "Hint"),
Foreground = SSRER.GetResource<Brush>("TextFillColorSecondaryBrush"),
HorizontalAlignment = HorizontalAlignment.Left,
TextWrapping = TextWrapping.WrapWithOverflow,
TextAlignment = TextAlignment.Left,
Margin = new Thickness(0, 0, 0, 0),
FontWeight = FontWeights.SemiBold
};

SettingReset.FooterCard = SettingResetHint;

Contents.Add(SettingReset);

TextBlock CacheArea = new()
{
Foreground = SSRER.GetResource<Brush>("TextFillColorPrimaryBrush"),
Expand Down Expand Up @@ -384,6 +335,55 @@ private void InitializeViewModel()

Contents.Add(SettingBackup);

TextBlock ResetArea = new()
{
Foreground = SSRER.GetResource<Brush>("TextFillColorPrimaryBrush"),
Text = SSRER.GetValue("Portal", "Area", "Reset"),
Margin = new Thickness(0, 10, 0, 0),
FontWeight = FontWeights.Bold
};

Contents.Add(ResetArea);

SPVCEC SettingReset = new()
{
Margin = new Thickness(0, 10, 0, 0),
Expandable = true
};

SettingReset.LeftIcon.Symbol = SymbolRegular.LauncherSettings24;
SettingReset.Title.Text = SSRER.GetValue("Portal", "SystemSettingPage", "SettingReset");
SettingReset.Description.Text = SSRER.GetValue("Portal", "SystemSettingPage", "SettingReset", "Description");

Button SettingResetStart = new()
{
Content = SSRER.GetValue("Portal", "SystemSettingPage", "SettingReset", "Start"),
Foreground = SSRER.GetResource<Brush>("TextFillColorPrimaryBrush"),
Appearance = ControlAppearance.Secondary,
Margin = new Thickness(0, 0, 0, 0),
Padding = new Thickness(8),
Cursor = Cursors.Hand
};

SettingResetStart.Click += (s, e) => SettingResetStartClick(SettingResetStart);

SettingReset.HeaderFrame = SettingResetStart;

TextBlock SettingResetHint = new()
{
Text = SSRER.GetValue("Portal", "SystemSettingPage", "SettingReset", "Hint"),
Foreground = SSRER.GetResource<Brush>("TextFillColorSecondaryBrush"),
HorizontalAlignment = HorizontalAlignment.Left,
TextWrapping = TextWrapping.WrapWithOverflow,
TextAlignment = TextAlignment.Left,
Margin = new Thickness(0, 0, 0, 0),
FontWeight = FontWeights.SemiBold
};

SettingReset.FooterCard = SettingResetHint;

Contents.Add(SettingReset);

InitializeTimer.Tick += new EventHandler(InitializeTimer_Tick);
InitializeTimer.Interval = new TimeSpan(0, 0, 3);
InitializeTimer.Start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@

<system:String x:Key="Portal.SystemSettingPage.LogTemporary.Hint">Hinweis: Der gesamte Speicherplatz, der von Protokolldateien belegt wird, beträgt {0}. Alle Anwendungen werden erst geschlossen, wenn die Bereinigung beginnt.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Einstellungen Zurücksetzen</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Setzen Sie alle von der Anwendung generierten Einstellungsdateien zurück.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Zurücksetzen Starten</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Hinweis: Alle Anwendungen werden geschlossen, wenn der Zurücksetzungsvorgang beginnt.</system:String>

<system:String x:Key="Portal.SystemSettingPage.CacheTemporary">Cache Löschen</system:String>
<system:String x:Key="Portal.SystemSettingPage.CacheTemporary.Description">Löschen Sie alle von der Anwendung erstellten Cache-Dateien.</system:String>

Expand Down Expand Up @@ -51,6 +44,13 @@

<system:String x:Key="Portal.SystemSettingPage.SettingBackup.Hint">Hinweis: Alle Anwendungen werden geschlossen, wenn der ausgewählte Vorgang beginnt.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Einstellungen Zurücksetzen</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Setzen Sie alle von der Anwendung generierten Einstellungsdateien zurück.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Zurücksetzen Starten</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Hinweis: Alle Anwendungen werden geschlossen, wenn der Zurücksetzungsvorgang beginnt.</system:String>

<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogTitle">Protokolldatei Speichern</system:String>
<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogFilter">ZIP-Dateien (*.zip)|*.zip|Alle Dateien (*.*)|*.*</system:String>
</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@

<system:String x:Key="Portal.SystemSettingPage.LogTemporary.Hint">Note: Total space occupied by log files is {0}. All applications will be closed only when cleaning starts.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Reset Settings</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Reset all setting files generated by the application.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Start Reset</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Note: All applications will be closed when the reset process starts.</system:String>

<system:String x:Key="Portal.SystemSettingPage.CacheTemporary">Clear Cache</system:String>
<system:String x:Key="Portal.SystemSettingPage.CacheTemporary.Description">Clear all cache files created by the application.</system:String>

Expand Down Expand Up @@ -51,6 +44,13 @@

<system:String x:Key="Portal.SystemSettingPage.SettingBackup.Hint">Note: All applications will be closed when the selected operation starts.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Reset Settings</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Reset all setting files generated by the application.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Start Reset</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Note: All applications will be closed when the reset process starts.</system:String>

<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogTitle">Save Log File</system:String>
<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogFilter">ZIP Files (*.zip)|*.zip|All Files (*.*)|*.*</system:String>
</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@

<system:String x:Key="Portal.SystemSettingPage.LogTemporary.Hint">Nota: El espacio total ocupado por los archivos de registro es {0}. Todas las aplicaciones se cerrarán solo cuando comience la limpieza.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Restablecer Configuración</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Restablecer todos los archivos de configuración generados por la aplicación.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Iniciar Restablecimiento</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Nota: Todas las aplicaciones se cerrarán cuando comience el proceso de restablecimiento.</system:String>

<system:String x:Key="Portal.SystemSettingPage.CacheTemporary">Borrar Caché</system:String>
<system:String x:Key="Portal.SystemSettingPage.CacheTemporary.Description">Borrar todos los archivos de caché creados por la aplicación.</system:String>

Expand Down Expand Up @@ -51,6 +44,13 @@

<system:String x:Key="Portal.SystemSettingPage.SettingBackup.Hint">Nota: Todas las aplicaciones se cerrarán cuando comience la operación seleccionada.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Restablecer Configuración</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Restablecer todos los archivos de configuración generados por la aplicación.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Iniciar Restablecimiento</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Nota: Todas las aplicaciones se cerrarán cuando comience el proceso de restablecimiento.</system:String>

<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogTitle">Guardar Archivo de Registro</system:String>
<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogFilter">Archivos ZIP (*.zip)|*.zip|Todos los Archivos (*.*)|*.*</system:String>
</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@

<system:String x:Key="Portal.SystemSettingPage.LogTemporary.Hint">Remarque: L'espace total occupé par les fichiers journaux est de {0}. Toutes les applications seront fermées uniquement lorsque le nettoyage commencera.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Réinitialiser les Paramètres</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Réinitialiser tous les fichiers de paramètres générés par l'application.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Démarrer la Réinitialisation</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Remarque: Toutes les applications seront fermées lorsque le processus de réinitialisation commencera.</system:String>

<system:String x:Key="Portal.SystemSettingPage.CacheTemporary">Effacer le Cache</system:String>
<system:String x:Key="Portal.SystemSettingPage.CacheTemporary.Description">Effacer tous les fichiers de cache créés par l'application.</system:String>

Expand Down Expand Up @@ -51,6 +44,13 @@

<system:String x:Key="Portal.SystemSettingPage.SettingBackup.Hint">Remarque: Toutes les applications seront fermées lorsque l'opération sélectionnée commencera.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Réinitialiser les Paramètres</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Réinitialiser tous les fichiers de paramètres générés par l'application.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Démarrer la Réinitialisation</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Remarque: Toutes les applications seront fermées lorsque le processus de réinitialisation commencera.</system:String>

<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogTitle">Enregistrer le Fichier Journal</system:String>
<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogFilter">Fichiers ZIP (*.zip)|*.zip|Tous les Fichiers (*.*)|*.*</system:String>
</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@

<system:String x:Key="Portal.SystemSettingPage.LogTemporary.Hint">Uwaga: Całkowita przestrzeń zajmowana przez pliki dziennika wynosi {0}. Wszystkie aplikacje zostaną zamknięte tylko wtedy, gdy rozpocznie się czyszczenie.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Resetowanie Ustawień</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Zresetuj wszystkie pliki ustawień generowane przez aplikację.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Rozpocznij Resetowanie</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Uwaga: Wszystkie aplikacje zostaną zamknięte, gdy rozpocznie się proces resetowania.</system:String>

<system:String x:Key="Portal.SystemSettingPage.CacheTemporary">Wyczyść Pamięć Podręczną</system:String>
<system:String x:Key="Portal.SystemSettingPage.CacheTemporary.Description">Wyczyść wszystkie pliki pamięci podręcznej utworzone przez aplikację.</system:String>

Expand Down Expand Up @@ -51,6 +44,13 @@

<system:String x:Key="Portal.SystemSettingPage.SettingBackup.Hint">Uwaga: Wszystkie aplikacje zostaną zamknięte, gdy rozpocznie się wybrane działanie.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Resetowanie Ustawień</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Zresetuj wszystkie pliki ustawień generowane przez aplikację.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Rozpocznij Resetowanie</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Uwaga: Wszystkie aplikacje zostaną zamknięte, gdy rozpocznie się proces resetowania.</system:String>

<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogTitle">Zapisz Plik Dziennika</system:String>
<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogFilter">Pliki ZIP (*.zip)|*.zip|Wszystkie Pliki (*.*)|*.*</system:String>
</ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@

<system:String x:Key="Portal.SystemSettingPage.LogTemporary.Hint">Not: Günlük dosyalarının kapladığı toplam alan {0}. Sadece temizliğe başlandığında tüm uygulamalar kapanacaktır.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Ayar Sıfırlama</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Uygulamanın oluşturmuş olduğu tüm ayar dosyalarını sıfırlama.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Sıfırlamaya Başla</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Not: Sıfırlama işlemi başladığında tüm uygulamalar kapanacaktır.</system:String>

<system:String x:Key="Portal.SystemSettingPage.CacheTemporary">Önbellek Temizleme</system:String>
<system:String x:Key="Portal.SystemSettingPage.CacheTemporary.Description">Uygulamanın oluşturmuş olduğu tüm önbellek dosyalarını temizleme.</system:String>

Expand Down Expand Up @@ -51,6 +44,13 @@

<system:String x:Key="Portal.SystemSettingPage.SettingBackup.Hint">Not: Seçtiğiniz işlem başladığında tüm uygulamalar kapanacaktır.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset">Ayar Sıfırlama</system:String>
<system:String x:Key="Portal.SystemSettingPage.SettingReset.Description">Uygulamanın oluşturmuş olduğu tüm ayar dosyalarını sıfırlama.</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Start">Sıfırlamaya Başla</system:String>

<system:String x:Key="Portal.SystemSettingPage.SettingReset.Hint">Not: Sıfırlama işlemi başladığında tüm uygulamalar kapanacaktır.</system:String>

<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogTitle">Günlük Dosyasını Kaydet</system:String>
<system:String x:Key="Portal.SystemSettingPage.Log.SaveDialogFilter">ZIP Dosyaları (*.zip)|*.zip|Tüm Dosyalar (*.*)|*.*</system:String>
</ResourceDictionary>

0 comments on commit 0e2c2ea

Please sign in to comment.