From 478346763adf0f1e858f9cb091ae75836b117698 Mon Sep 17 00:00:00 2001 From: Dinesh Solanki <15937452+DineshSolanki@users.noreply.github.com> Date: Mon, 9 Aug 2021 23:16:07 +0530 Subject: [PATCH] PosterIconConfig groupbox title removed --- FoliCon/Models/Languages.cs | 12 +++++++++++- FoliCon/Modules/LangProvider.cs | 3 +++ FoliCon/Properties/Langs/Lang.Designer.cs | 9 +++++++++ FoliCon/Properties/Langs/Lang.ar.resx | 3 +++ FoliCon/Properties/Langs/Lang.es.resx | 3 +++ FoliCon/Properties/Langs/Lang.hi.resx | 3 +++ FoliCon/Properties/Langs/Lang.resx | 3 +++ FoliCon/Properties/Langs/Lang.ru.resx | 3 +++ FoliCon/Views/posterIconConfig.xaml | 8 ++++---- 9 files changed, 42 insertions(+), 5 deletions(-) diff --git a/FoliCon/Models/Languages.cs b/FoliCon/Models/Languages.cs index dea69706..e5cac70c 100644 --- a/FoliCon/Models/Languages.cs +++ b/FoliCon/Models/Languages.cs @@ -1,11 +1,21 @@ namespace FoliCon.Models { + //[TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum Languages { + //[LocalizedDescription("English", typeof(Lang))] English, + + //[LocalizedDescription("Spanish", typeof(Lang))] Spanish, + + //[LocalizedDescription("Arabic", typeof(Lang))] Arabic, + + //[LocalizedDescription("Russian", typeof(Lang))] Russian, + + //[LocalizedDescription("Hindi", typeof(Lang))] Hindi } -} +} \ No newline at end of file diff --git a/FoliCon/Modules/LangProvider.cs b/FoliCon/Modules/LangProvider.cs index 149d4a6d..4c7313f5 100644 --- a/FoliCon/Modules/LangProvider.cs +++ b/FoliCon/Modules/LangProvider.cs @@ -168,6 +168,7 @@ private void UpdateLangs() OnPropertyChanged(nameof(PosterIconOverlay)); OnPropertyChanged(nameof(SelectPosterIconOverlay)); OnPropertyChanged(nameof(BestSuitedForHorizontal)); + OnPropertyChanged(nameof(Hindi)); } public string About => Lang.About; @@ -425,6 +426,7 @@ private void UpdateLangs() public string PosterIconOverlay => Lang.PosterIconOverlay; public string SelectPosterIconOverlay => Lang.SelectPosterIconOverlay; public string BestSuitedForHorizontal => Lang.BestSuitedForHorizontal; + public string Hindi => Lang.Hindi; public event PropertyChangedEventHandler PropertyChanged; @@ -691,5 +693,6 @@ public class LangKeys public static string PosterIconOverlay = nameof(PosterIconOverlay); public static string SelectPosterIconOverlay = nameof(SelectPosterIconOverlay); public static string BestSuitedForHorizontal = nameof(BestSuitedForHorizontal); + public static string Hindi = nameof(Hindi); } } \ No newline at end of file diff --git a/FoliCon/Properties/Langs/Lang.Designer.cs b/FoliCon/Properties/Langs/Lang.Designer.cs index 7f58aedd..8b48a985 100644 --- a/FoliCon/Properties/Langs/Lang.Designer.cs +++ b/FoliCon/Properties/Langs/Lang.Designer.cs @@ -567,6 +567,15 @@ public static string HelpDocument { } } + /// + /// Looks up a localized string similar to Hindi. + /// + public static string Hindi { + get { + return ResourceManager.GetString("Hindi", resourceCulture); + } + } + /// /// Looks up a localized string similar to Icon(s) Created. /// diff --git a/FoliCon/Properties/Langs/Lang.ar.resx b/FoliCon/Properties/Langs/Lang.ar.resx index 407986fe..2a8deb10 100644 --- a/FoliCon/Properties/Langs/Lang.ar.resx +++ b/FoliCon/Properties/Langs/Lang.ar.resx @@ -521,4 +521,7 @@ حدد تراكب أيقونة الملصق + + هندي + \ No newline at end of file diff --git a/FoliCon/Properties/Langs/Lang.es.resx b/FoliCon/Properties/Langs/Lang.es.resx index d4544a39..de16d276 100644 --- a/FoliCon/Properties/Langs/Lang.es.resx +++ b/FoliCon/Properties/Langs/Lang.es.resx @@ -521,4 +521,7 @@ Esto ayuda a folicon a identificar los medios sin tener que elegir entre título Seleccionar superposición de icono de póster + + Hindi + \ No newline at end of file diff --git a/FoliCon/Properties/Langs/Lang.hi.resx b/FoliCon/Properties/Langs/Lang.hi.resx index 2134d847..7aa3b06b 100644 --- a/FoliCon/Properties/Langs/Lang.hi.resx +++ b/FoliCon/Properties/Langs/Lang.hi.resx @@ -521,4 +521,7 @@ पोस्टर आइकन ओवरले का चयन करें + + हिंदी + \ No newline at end of file diff --git a/FoliCon/Properties/Langs/Lang.resx b/FoliCon/Properties/Langs/Lang.resx index 8b31fb69..17f9f092 100644 --- a/FoliCon/Properties/Langs/Lang.resx +++ b/FoliCon/Properties/Langs/Lang.resx @@ -288,6 +288,9 @@ and it can fetch 'Games,Movies, and shows' and almost any media folder icons. Help Document + + Hindi + Icon(s) Created diff --git a/FoliCon/Properties/Langs/Lang.ru.resx b/FoliCon/Properties/Langs/Lang.ru.resx index 296f4659..fa5ab206 100644 --- a/FoliCon/Properties/Langs/Lang.ru.resx +++ b/FoliCon/Properties/Langs/Lang.ru.resx @@ -521,4 +521,7 @@ Выберите наложение значка плаката + + хинди + \ No newline at end of file diff --git a/FoliCon/Views/posterIconConfig.xaml b/FoliCon/Views/posterIconConfig.xaml index db03f17e..7e64c0c8 100644 --- a/FoliCon/Views/posterIconConfig.xaml +++ b/FoliCon/Views/posterIconConfig.xaml @@ -23,14 +23,14 @@ - + - + Foreground="Transparent" BorderThickness="0" + Background="Transparent" HorizontalContentAlignment="Center" HorizontalAlignment="Center">