Skip to content

Commit

Permalink
Add localized strings and background color picker for previewer
Browse files Browse the repository at this point in the history
  • Loading branch information
DineshSolanki committed Dec 12, 2023
1 parent ee94263 commit 5346615
Show file tree
Hide file tree
Showing 12 changed files with 420 additions and 2 deletions.
21 changes: 21 additions & 0 deletions FoliCon/Modules/LangProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,13 @@ private void UpdateLangs()
OnPropertyChanged(nameof(ChangeLanguage));
OnPropertyChanged(nameof(ChangePosterOverlay));
OnPropertyChanged(nameof(CheckForUpdate));
OnPropertyChanged(nameof(ChooseAnImage));
OnPropertyChanged(nameof(ChoosePoster));
OnPropertyChanged(nameof(ClientID));
OnPropertyChanged(nameof(ClientSecret));
OnPropertyChanged(nameof(Close));
OnPropertyChanged(nameof(ClosingApplication));
OnPropertyChanged(nameof(Configuration));
OnPropertyChanged(nameof(Confirm));
OnPropertyChanged(nameof(ConfirmExplorerRestart));
OnPropertyChanged(nameof(ConfirmIconDeletion));
Expand Down Expand Up @@ -112,6 +115,8 @@ private void UpdateLangs()
OnPropertyChanged(nameof(Load));
OnPropertyChanged(nameof(LoadingPosters));
OnPropertyChanged(nameof(MakeIcons));
OnPropertyChanged(nameof(MediaRating));
OnPropertyChanged(nameof(MediaTitle));
OnPropertyChanged(nameof(Movie));
OnPropertyChanged(nameof(NetworkError));
OnPropertyChanged(nameof(NetworkNotAvailable));
Expand All @@ -130,11 +135,13 @@ private void UpdateLangs()
OnPropertyChanged(nameof(OnlyKeepExactMatches));
OnPropertyChanged(nameof(Or));
OnPropertyChanged(nameof(OutOf));
OnPropertyChanged(nameof(Overlay));
OnPropertyChanged(nameof(PickIconWithName));
OnPropertyChanged(nameof(PickSelected));
OnPropertyChanged(nameof(Poster));
OnPropertyChanged(nameof(PosterIconOverlay));
OnPropertyChanged(nameof(PosterOverlayTooltip));
OnPropertyChanged(nameof(Previewer));
OnPropertyChanged(nameof(Professional));
OnPropertyChanged(nameof(Rating));
OnPropertyChanged(nameof(RemoveFromContextMenu));
Expand Down Expand Up @@ -203,10 +210,13 @@ private void UpdateLangs()
public string ChangeLanguage => Lang.ChangeLanguage;
public string ChangePosterOverlay => Lang.ChangePosterOverlay;
public string CheckForUpdate => Lang.CheckForUpdate;
public string ChooseAnImage => Lang.ChooseAnImage;
public string ChoosePoster => Lang.ChoosePoster;
public string ClientID => Lang.ClientID;
public string ClientSecret => Lang.ClientSecret;
public string Close => Lang.Close;
public string ClosingApplication => Lang.ClosingApplication;
public string Configuration => Lang.Configuration;
public string Confirm => Lang.Confirm;
public string ConfirmExplorerRestart => Lang.ConfirmExplorerRestart;
public string ConfirmIconDeletion => Lang.ConfirmIconDeletion;
Expand Down Expand Up @@ -265,6 +275,8 @@ private void UpdateLangs()
public string Load => Lang.Load;
public string LoadingPosters => Lang.LoadingPosters;
public string MakeIcons => Lang.MakeIcons;
public string MediaRating => Lang.MediaRating;
public string MediaTitle => Lang.MediaTitle;
public string Movie => Lang.Movie;
public string NetworkError => Lang.NetworkError;
public string NetworkNotAvailable => Lang.NetworkNotAvailable;
Expand All @@ -283,11 +295,13 @@ private void UpdateLangs()
public string OnlyKeepExactMatches => Lang.OnlyKeepExactMatches;
public string Or => Lang.Or;
public string OutOf => Lang.OutOf;
public string Overlay => Lang.Overlay;
public string PickIconWithName => Lang.PickIconWithName;
public string PickSelected => Lang.PickSelected;
public string Poster => Lang.Poster;
public string PosterIconOverlay => Lang.PosterIconOverlay;
public string PosterOverlayTooltip => Lang.PosterOverlayTooltip;
public string Previewer => Lang.Previewer;
public string Professional => Lang.Professional;
public string Rating => Lang.Rating;
public string RemoveFromContextMenu => Lang.RemoveFromContextMenu;
Expand Down Expand Up @@ -364,10 +378,13 @@ public class LangKeys
public static string ChangeLanguage = nameof(ChangeLanguage);
public static string ChangePosterOverlay = nameof(ChangePosterOverlay);
public static string CheckForUpdate = nameof(CheckForUpdate);
public static string ChooseAnImage = nameof(ChooseAnImage);
public static string ChoosePoster = nameof(ChoosePoster);
public static string ClientID = nameof(ClientID);
public static string ClientSecret = nameof(ClientSecret);
public static string Close = nameof(Close);
public static string ClosingApplication = nameof(ClosingApplication);
public static string Configuration = nameof(Configuration);
public static string Confirm = nameof(Confirm);
public static string ConfirmExplorerRestart = nameof(ConfirmExplorerRestart);
public static string ConfirmIconDeletion = nameof(ConfirmIconDeletion);
Expand Down Expand Up @@ -426,6 +443,8 @@ public class LangKeys
public static string Load = nameof(Load);
public static string LoadingPosters = nameof(LoadingPosters);
public static string MakeIcons = nameof(MakeIcons);
public static string MediaRating = nameof(MediaRating);
public static string MediaTitle = nameof(MediaTitle);
public static string Movie = nameof(Movie);
public static string NetworkError = nameof(NetworkError);
public static string NetworkNotAvailable = nameof(NetworkNotAvailable);
Expand All @@ -444,11 +463,13 @@ public class LangKeys
public static string OnlyKeepExactMatches = nameof(OnlyKeepExactMatches);
public static string Or = nameof(Or);
public static string OutOf = nameof(OutOf);
public static string Overlay = nameof(Overlay);
public static string PickIconWithName = nameof(PickIconWithName);
public static string PickSelected = nameof(PickSelected);
public static string Poster = nameof(Poster);
public static string PosterIconOverlay = nameof(PosterIconOverlay);
public static string PosterOverlayTooltip = nameof(PosterOverlayTooltip);
public static string Previewer = nameof(Previewer);
public static string Professional = nameof(Professional);
public static string Rating = nameof(Rating);
public static string RemoveFromContextMenu = nameof(RemoveFromContextMenu);
Expand Down
63 changes: 63 additions & 0 deletions FoliCon/Properties/Langs/Lang.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions FoliCon/Properties/Langs/Lang.ar.resx
Original file line number Diff line number Diff line change
Expand Up @@ -585,4 +585,25 @@
<data name="ResetDefaultPoster" xml:space="preserve">
<value>إعادة تعيين البوستر الافتراضي</value>
</data>
<data name="ChoosePoster" xml:space="preserve">
<value>اختر الملصق</value>
</data>
<data name="MediaRating" xml:space="preserve">
<value>تقييم الوسائط</value>
</data>
<data name="MediaTitle" xml:space="preserve">
<value>عنوان الوسائط</value>
</data>
<data name="Overlay" xml:space="preserve">
<value>تراكب</value>
</data>
<data name="Previewer" xml:space="preserve">
<value>معاين</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>إعدادات</value>
</data>
<data name="ChooseAnImage" xml:space="preserve">
<value>اختر صورة...</value>
</data>
</root>
21 changes: 21 additions & 0 deletions FoliCon/Properties/Langs/Lang.es.resx
Original file line number Diff line number Diff line change
Expand Up @@ -585,4 +585,25 @@ Esto ayuda a folicon a identificar los medios sin tener que elegir entre título
<data name="ResetDefaultPoster" xml:space="preserve">
<value>Restablecer cartel por defecto</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>Configuración</value>
</data>
<data name="ChoosePoster" xml:space="preserve">
<value>Elegir póster</value>
</data>
<data name="MediaTitle" xml:space="preserve">
<value>Título de los medios</value>
</data>
<data name="Overlay" xml:space="preserve">
<value>Superposición</value>
</data>
<data name="MediaRating" xml:space="preserve">
<value>Clasificación de los medios</value>
</data>
<data name="Previewer" xml:space="preserve">
<value>Vista previa</value>
</data>
<data name="ChooseAnImage" xml:space="preserve">
<value>Elige una imagen...</value>
</data>
</root>
21 changes: 21 additions & 0 deletions FoliCon/Properties/Langs/Lang.hi.resx
Original file line number Diff line number Diff line change
Expand Up @@ -585,4 +585,25 @@
<data name="ResetDefaultPoster" xml:space="preserve">
<value>डिफ़ॉल्ट पोस्टर रीसेट करें</value>
</data>
<data name="ChoosePoster" xml:space="preserve">
<value>पोस्टर चुनें</value>
</data>
<data name="MediaRating" xml:space="preserve">
<value>मीडिया शीर्षक</value>
</data>
<data name="Overlay" xml:space="preserve">
<value>ओवरले</value>
</data>
<data name="MediaTitle" xml:space="preserve">
<value>मीडिया शीर्षक</value>
</data>
<data name="Previewer" xml:space="preserve">
<value>प्रीव्यूर</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>कॉन्फ़िगरेशन</value>
</data>
<data name="ChooseAnImage" xml:space="preserve">
<value>एक छवि चुनें...</value>
</data>
</root>
23 changes: 22 additions & 1 deletion FoliCon/Properties/Langs/Lang.pt.resx
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ Tentar Procurar por outro Título
<value>Escolher o selecionado</value>
</data>
<data name="Poster" xml:space="preserve">
<value>Poster</value>
<value>Pôster</value>
</data>
<data name="Portuguese(PT)" xml:space="preserve">
<value>Português (PT)</value>
Expand Down Expand Up @@ -584,4 +584,25 @@ e renovar o cache dos Ícones?</value>
<data name="ResetDefaultPoster" xml:space="preserve">
<value>Repor o cartaz predefinido</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>Configuração</value>
</data>
<data name="ChoosePoster" xml:space="preserve">
<value>Escolher pôster</value>
</data>
<data name="MediaRating" xml:space="preserve">
<value>Classificação da mídia</value>
</data>
<data name="MediaTitle" xml:space="preserve">
<value>Título da mídia</value>
</data>
<data name="Previewer" xml:space="preserve">
<value>Visualizador</value>
</data>
<data name="Overlay" xml:space="preserve">
<value>Sobreposição</value>
</data>
<data name="ChooseAnImage" xml:space="preserve">
<value>Escolher uma imagem...</value>
</data>
</root>
21 changes: 21 additions & 0 deletions FoliCon/Properties/Langs/Lang.resx
Original file line number Diff line number Diff line change
Expand Up @@ -589,4 +589,25 @@ and refresh Icon Cache?</value>
<data name="ResetDefaultPoster" xml:space="preserve">
<value>Reset default poster</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>Configuration</value>
</data>
<data name="ChoosePoster" xml:space="preserve">
<value>Choose poster</value>
</data>
<data name="MediaRating" xml:space="preserve">
<value>Media Rating</value>
</data>
<data name="MediaTitle" xml:space="preserve">
<value>Media Title</value>
</data>
<data name="Overlay" xml:space="preserve">
<value>Overlay</value>
</data>
<data name="Previewer" xml:space="preserve">
<value>Previewer</value>
</data>
<data name="ChooseAnImage" xml:space="preserve">
<value>Choose an image...</value>
</data>
</root>
21 changes: 21 additions & 0 deletions FoliCon/Properties/Langs/Lang.ru.resx
Original file line number Diff line number Diff line change
Expand Up @@ -588,4 +588,25 @@
<data name="ResetDefaultPoster" xml:space="preserve">
<value>Сброс плаката по умолчанию</value>
</data>
<data name="Configuration" xml:space="preserve">
<value>Конфигурация</value>
</data>
<data name="ChoosePoster" xml:space="preserve">
<value>Выбрать постер</value>
</data>
<data name="MediaRating" xml:space="preserve">
<value>Рейтинг медиа</value>
</data>
<data name="MediaTitle" xml:space="preserve">
<value>Заголовок медиафайла</value>
</data>
<data name="Overlay" xml:space="preserve">
<value>Оверлей</value>
</data>
<data name="Previewer" xml:space="preserve">
<value>Предпросмотр</value>
</data>
<data name="ChooseAnImage" xml:space="preserve">
<value>Выберите изображение...</value>
</data>
</root>
Loading

0 comments on commit 5346615

Please sign in to comment.