Skip to content

Commit

Permalink
Added OpenSource mention (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Peyronnet committed Jul 8, 2022
1 parent 864eb4c commit f873654
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ColorPicker/Pages/SettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,19 +169,19 @@
<StackPanel Orientation="Horizontal">
<Border x:Name="PickerPageBorder" CornerRadius="10" Margin="5" Background="{Binding Source={StaticResource Background1}}" BorderThickness="3" BorderBrush="{x:Null}" MouseEnter="Border_MouseEnter" MouseLeave="Border_MouseLeave" Cursor="Hand" MouseLeftButtonUp="PickerPageBorder_MouseLeftButtonUp">
<StackPanel Orientation="Vertical">
<TextBlock Text="&#xF2FC;" Margin="20" FontSize="64" FontFamily="..\Fonts\#FluentSystemIcons-Regular" HorizontalAlignment="Center"/>
<TextBlock Text="&#xF2FC;" Margin="20" FontSize="64" FontFamily="..\Fonts\#FluentSystemIcons-Regular" HorizontalAlignment="Center"/>
<RadioButton Style="{DynamicResource RadioButtonStyle1}" x:Name="PickerPageRadioBtn" GroupName="StartupPageRadioGroup" Content="{x:Static lang:Resources.Picker}" Foreground="{Binding Source={StaticResource Foreground1}}" Background="{Binding Source={StaticResource Background1}}" BorderBrush="#2153E0" FontWeight="Bold" FontSize="13" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="2"/>
</StackPanel>
</Border>
<Border x:Name="ConverterPageBorder" CornerRadius="10" Margin="5" Background="{Binding Source={StaticResource Background1}}" BorderThickness="3" BorderBrush="{x:Null}" MouseEnter="Border_MouseEnter" MouseLeave="Border_MouseLeave" Cursor="Hand" MouseLeftButtonUp="ConverterPageBorder_MouseLeftButtonUp">
<StackPanel Orientation="Vertical">
<TextBlock Text="&#xF18E;" Margin="20" FontSize="64" FontFamily="..\Fonts\#FluentSystemIcons-Regular" HorizontalAlignment="Center"/>
<TextBlock Text="&#xF18E;" Margin="20" FontSize="64" FontFamily="..\Fonts\#FluentSystemIcons-Regular" HorizontalAlignment="Center"/>
<RadioButton Style="{DynamicResource RadioButtonStyle1}" x:Name="ConverterPageRadioBtn" GroupName="StartupPageRadioGroup" Content="{x:Static lang:Resources.Converter}" Foreground="{Binding Source={StaticResource Foreground1}}" Background="{Binding Source={StaticResource Background1}}" BorderBrush="#2153E0" FontWeight="Bold" FontSize="13" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="2"/>
</StackPanel>
</Border>
<Border x:Name="PalettePageBorder" CornerRadius="10" Margin="5" Background="{Binding Source={StaticResource Background1}}" BorderThickness="3" BorderBrush="{x:Null}" MouseEnter="Border_MouseEnter" MouseLeave="Border_MouseLeave" Cursor="Hand" MouseLeftButtonUp="PalettePageBorder_MouseLeftButtonUp">
<StackPanel Orientation="Vertical">
<TextBlock Text="&#xF2F6;" Margin="20" FontSize="64" FontFamily="..\Fonts\#FluentSystemIcons-Regular" HorizontalAlignment="Center"/>
<TextBlock Text="&#xF2F6;" Margin="20" FontSize="64" FontFamily="..\Fonts\#FluentSystemIcons-Regular" HorizontalAlignment="Center"/>
<RadioButton Style="{DynamicResource RadioButtonStyle1}" x:Name="PalettePageRadioBtn" GroupName="StartupPageRadioGroup" Content="{x:Static lang:Resources.Palette}" Foreground="{Binding Source={StaticResource Foreground1}}" Background="{Binding Source={StaticResource Background1}}" BorderBrush="#2153E0" FontWeight="Bold" FontSize="13" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="2"/>
</StackPanel>
</Border>
Expand Down Expand Up @@ -305,6 +305,8 @@
</Button>
</StackPanel>
</Expander>

<TextBlock Text="{x:Static lang:Resources.OpenSourceMention}" Margin="0,10,0,0" FontStyle="Italic" HorizontalAlignment="Center"/>
</StackPanel>
</Grid>
</ScrollViewer>
Expand Down
9 changes: 9 additions & 0 deletions ColorPicker/Properties/Resources.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 ColorPicker/Properties/Resources.en-US.resx
Original file line number Diff line number Diff line change
Expand Up @@ -495,4 +495,7 @@
<data name="StartupPage" xml:space="preserve">
<value>Select the default startup page.</value>
</data>
<data name="OpenSourceMention" xml:space="preserve">
<value>Open Source - Made with ❤️ in France</value>
</data>
</root>
3 changes: 3 additions & 0 deletions ColorPicker/Properties/Resources.fr-FR.resx
Original file line number Diff line number Diff line change
Expand Up @@ -495,4 +495,7 @@
<data name="StartupPage" xml:space="preserve">
<value>Sélectionnez la page de démarrage par défaut.</value>
</data>
<data name="OpenSourceMention" xml:space="preserve">
<value>Open Source - Made with ❤️ in France</value>
</data>
</root>
3 changes: 3 additions & 0 deletions ColorPicker/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -475,4 +475,7 @@
<data name="StartupPage" xml:space="preserve">
<value>Select the default startup page.</value>
</data>
<data name="OpenSourceMention" xml:space="preserve">
<value>Open Source - Made with ❤️ in France</value>
</data>
</root>
3 changes: 3 additions & 0 deletions ColorPicker/Properties/Resources.zh-CN.resx
Original file line number Diff line number Diff line change
Expand Up @@ -495,4 +495,7 @@
<data name="StartupPage" xml:space="preserve">
<value>选择默认启动页面。</value>
</data>
<data name="OpenSourceMention" xml:space="preserve">
<value>开源 - 用 ❤ 在法国制造</value>
</data>
</root>

0 comments on commit f873654

Please sign in to comment.