Skip to content

Commit

Permalink
PosterIconConfig groupbox title removed
Browse files Browse the repository at this point in the history
  • Loading branch information
DineshSolanki committed Aug 9, 2021
1 parent e693d24 commit 4783467
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 5 deletions.
12 changes: 11 additions & 1 deletion FoliCon/Models/Languages.cs
Original file line number Diff line number Diff line change
@@ -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
}
}
}
3 changes: 3 additions & 0 deletions FoliCon/Modules/LangProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ private void UpdateLangs()
OnPropertyChanged(nameof(PosterIconOverlay));
OnPropertyChanged(nameof(SelectPosterIconOverlay));
OnPropertyChanged(nameof(BestSuitedForHorizontal));
OnPropertyChanged(nameof(Hindi));
}

public string About => Lang.About;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
}
9 changes: 9 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.

3 changes: 3 additions & 0 deletions FoliCon/Properties/Langs/Lang.ar.resx
Original file line number Diff line number Diff line change
Expand Up @@ -521,4 +521,7 @@
<data name="SelectPosterIconOverlay" xml:space="preserve">
<value>حدد تراكب أيقونة الملصق</value>
</data>
<data name="Hindi" xml:space="preserve">
<value>هندي</value>
</data>
</root>
3 changes: 3 additions & 0 deletions FoliCon/Properties/Langs/Lang.es.resx
Original file line number Diff line number Diff line change
Expand Up @@ -521,4 +521,7 @@ Esto ayuda a folicon a identificar los medios sin tener que elegir entre título
<data name="SelectPosterIconOverlay" xml:space="preserve">
<value>Seleccionar superposición de icono de póster</value>
</data>
<data name="Hindi" xml:space="preserve">
<value>Hindi</value>
</data>
</root>
3 changes: 3 additions & 0 deletions FoliCon/Properties/Langs/Lang.hi.resx
Original file line number Diff line number Diff line change
Expand Up @@ -521,4 +521,7 @@
<data name="SelectPosterIconOverlay" xml:space="preserve">
<value>पोस्टर आइकन ओवरले का चयन करें</value>
</data>
<data name="Hindi" xml:space="preserve">
<value>हिंदी</value>
</data>
</root>
3 changes: 3 additions & 0 deletions FoliCon/Properties/Langs/Lang.resx
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ and it can fetch 'Games,Movies, and shows' and almost any media folder icons.</v
<data name="HelpDocument" xml:space="preserve">
<value>Help Document</value>
</data>
<data name="Hindi" xml:space="preserve">
<value>Hindi</value>
</data>
<data name="IconCreated" xml:space="preserve">
<value>Icon(s) Created</value>
</data>
Expand Down
3 changes: 3 additions & 0 deletions FoliCon/Properties/Langs/Lang.ru.resx
Original file line number Diff line number Diff line change
Expand Up @@ -521,4 +521,7 @@
<data name="SelectPosterIconOverlay" xml:space="preserve">
<value>Выберите наложение значка плаката</value>
</data>
<data name="Hindi" xml:space="preserve">
<value>хинди</value>
</data>
</root>
8 changes: 4 additions & 4 deletions FoliCon/Views/posterIconConfig.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
<Setter Property="MaxHeight" Value="300"></Setter>
<Setter Property="Width" Value="1066" />
<!--<Setter Property="ResizeMode" Value="NoResize" />-->
<Setter Property="WindowStyle" Value="ToolWindow" />
<Setter Property="WindowStyle" Value="ThreeDBorderWindow" />
<Setter Property="prism:Dialog.WindowStartupLocation" Value="CenterOwner" />
</Style>
</prism:Dialog.WindowStyle>
<GroupBox hc:TitleElement.TitlePlacement="Top" Header="{langExtension:Lang Key={x:Static langs:LangKeys.PosterIconOverlay}}"
<GroupBox
Style="{StaticResource GroupBoxTab}" FontSize="22" FontFamily="Cambria"
hc:TitleElement.Background="CornflowerBlue" Foreground="Black" BorderThickness="0"
Background="Transparent" HorizontalContentAlignment="Center" HorizontalAlignment="Stretch">
Foreground="Transparent" BorderThickness="0"
Background="Transparent" HorizontalContentAlignment="Center" HorizontalAlignment="Center">
<Grid Margin="15,0,15,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200" />
Expand Down

0 comments on commit 4783467

Please sign in to comment.