From 2960afd9bdd91c6cc092bb3aeb92562ecea04ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Marchal?= Date: Sun, 3 Oct 2021 15:39:39 +0200 Subject: [PATCH] Radio text in resources and translation --- Resources/Resources.Designer.cs | 72 +++++++++++++++++++++++++++++++++ Resources/Resources.fr-FR.resx | 24 +++++++++++ Resources/Resources.resx | 24 +++++++++++ Views/Radios.xaml | 19 ++++----- Views/Radios.xaml.cs | 4 +- Views/Settings.xaml | 3 +- 6 files changed, 134 insertions(+), 12 deletions(-) diff --git a/Resources/Resources.Designer.cs b/Resources/Resources.Designer.cs index 634d62c..33918c8 100644 --- a/Resources/Resources.Designer.cs +++ b/Resources/Resources.Designer.cs @@ -69,6 +69,78 @@ namespace unison.Resources { } } + /// + /// Looks up a localized string similar to Country. + /// + public static string Radio_Country { + get { + return ResourceManager.GetString("Radio_Country", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Loading stations.... + /// + public static string Radio_Loading { + get { + return ResourceManager.GetString("Radio_Loading", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Name. + /// + public static string Radio_Name { + get { + return ResourceManager.GetString("Radio_Name", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No stations found!. + /// + public static string Radio_NotFound { + get { + return ResourceManager.GetString("Radio_NotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Reset. + /// + public static string Radio_Reset { + get { + return ResourceManager.GetString("Radio_Reset", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search. + /// + public static string Radio_Search { + get { + return ResourceManager.GetString("Radio_Search", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Search station. + /// + public static string Radio_SearchStation { + get { + return ResourceManager.GetString("Radio_SearchStation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Tags. + /// + public static string Radio_Tags { + get { + return ResourceManager.GetString("Radio_Tags", resourceCulture); + } + } + /// /// Looks up a localized string similar to Settings. /// diff --git a/Resources/Resources.fr-FR.resx b/Resources/Resources.fr-FR.resx index f588b6f..23f9d5a 100644 --- a/Resources/Resources.fr-FR.resx +++ b/Resources/Resources.fr-FR.resx @@ -120,6 +120,30 @@ Quitter + + Pays + + + Recherche de stations... + + + Nom + + + Aucun station trouvée ! + + + Réinitialiser + + + Chercher + + + Recherche de station + + + Tags + Configuration diff --git a/Resources/Resources.resx b/Resources/Resources.resx index 54fd450..72c5362 100644 --- a/Resources/Resources.resx +++ b/Resources/Resources.resx @@ -120,6 +120,30 @@ Exit + + Country + + + Loading stations... + + + Name + + + No stations found! + + + Reset + + + Search + + + Search station + + + Tags + Settings diff --git a/Views/Radios.xaml b/Views/Radios.xaml index 487271d..dcc0662 100644 --- a/Views/Radios.xaml +++ b/Views/Radios.xaml @@ -4,7 +4,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:emoji="clr-namespace:Emoji.Wpf;assembly=Emoji.Wpf" - xmlns:local="clr-namespace:unison" + xmlns:properties="clr-namespace:unison.Resources" mc:Ignorable="d" Title="Radios" Closing="Window_Closing" SizeToContent="WidthAndHeight" ResizeMode="NoResize"> @@ -14,7 +14,7 @@ - + @@ -22,24 +22,24 @@ - + - + - + -