Skip to content

Commit

Permalink
update strings and add french resource file
Browse files Browse the repository at this point in the history
add missing Character Filter text string
  • Loading branch information
United600 committed Jun 13, 2024
1 parent 0858d56 commit 16b4334
Show file tree
Hide file tree
Showing 24 changed files with 970 additions and 48 deletions.
1 change: 1 addition & 0 deletions CharacterMap/CharacterMap/CharacterMap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@
<PRIResource Include="Strings\en-US\Resources.resw" />
<PRIResource Include="Strings\en-GB\Resources.resw" />
<PRIResource Include="Strings\de-DE\Resources.resw" />
<PRIResource Include="Strings\fr-FR\Resources.resw" />
<PRIResource Include="Strings\pl-PL\Resources.resw" />
<PRIResource Include="Strings\pt-PT\Resources.resw" />
<PRIResource Include="Strings\it-IT\Resources.resw" />
Expand Down
31 changes: 24 additions & 7 deletions CharacterMap/CharacterMap/Controls/CreateCollectionDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
SecondaryButtonClick="{x:Bind Hide}"
SecondaryButtonStyle="{StaticResource DefaultThemeButtonStyle}"
Style="{StaticResource DefaultThemeContentDialogStyle}"
mc:Ignorable="d">
mc:Ignorable="d"
d:PrimaryButtonText="Create"
d:SecondaryButtonText="Cancel"
d:Title="Create Collection">

<Grid
MinWidth="{Binding MinWidth}"
Expand Down Expand Up @@ -53,6 +56,7 @@
<TextBlock
FontFamily="{StaticResource SymbolThemeFontFamily}"
Foreground="{ThemeResource AccentFillColorDefaultBrush}"
IsTextScaleFactorEnabled="False"
Text="&#xE897;" />
</controls:UXButton>

Expand All @@ -69,7 +73,10 @@
Margin="0 -2"
Orientation="Horizontal"
Spacing="4">
<TextBlock x:Uid="SmartCollectionFilePathFilter" VerticalAlignment="Center" />
<TextBlock
x:Uid="SmartCollectionFilePathFilter"
VerticalAlignment="Center"
d:Text="File Path Filter" />
<Border
Padding="4 2"
VerticalAlignment="Center"
Expand All @@ -90,7 +97,10 @@
Margin="0 -2"
Orientation="Horizontal"
Spacing="4">
<TextBlock x:Uid="SmartCollectionFoundryFilter" VerticalAlignment="Center" />
<TextBlock
x:Uid="SmartCollectionFoundryFilter"
VerticalAlignment="Center"
d:Text="Foundry Filter" />
<Border
Padding="4 2"
VerticalAlignment="Center"
Expand All @@ -111,7 +121,10 @@
Margin="0 -2"
Orientation="Horizontal"
Spacing="4">
<TextBlock x:Uid="SmartCollectionDesignerFilter" VerticalAlignment="Center" />
<TextBlock
x:Uid="SmartCollectionDesignerFilter"
VerticalAlignment="Center"
d:Text="Designer Filter" />
<Border
Padding="4 2"
VerticalAlignment="Center"
Expand All @@ -132,7 +145,10 @@
Margin="0 -2"
Orientation="Horizontal"
Spacing="4">
<TextBlock VerticalAlignment="Center" Text="Character filter" />
<TextBlock
x:Uid="SmartCollectionCharacterFilter"
VerticalAlignment="Center"
d:Text="Character Filter" />
<Border
Padding="4 2"
VerticalAlignment="Center"
Expand All @@ -142,7 +158,8 @@
FontFamily="Consolas"
FontSize="12"
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
Text="char:" />
Text="{core:Localizer Key=CharacterFilter}"
d:Text="char:" />
</Border>
</StackPanel>
</TextBox.Header>
Expand All @@ -154,7 +171,7 @@
x:Name="FilterPreview"
x:Load="{x:Bind TemplateSettings.IsSmartCollection, Mode=OneWay}"
Grid.Column="1"
Width="208"
Width="256"
Margin="16 0 -8 0"
Padding="8"
Background="{ThemeResource CardBackgroundFillColorSecondaryBrush}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</target>
<source>Foundry Filter</source>
<target state="new">Foundry Filter</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="new">Edit</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</target>
<source>Foundry Filter</source>
<target state="new">Foundry Filter</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="new">Edit</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</target>
<source>Foundry Filter</source>
<target state="translated">Filtre de fonderie</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="translated">Modifier</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</target>
<source>Foundry Filter</source>
<target state="new">Foundry Filter</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="new">Edit</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</target>
<source>Foundry Filter</source>
<target state="new">Foundry Filter</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="new">Edit</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,10 @@ Caso contrário, "Todos os tipos de letra" é selecionado por predefinição em
<source>Foundry Filter</source>
<target state="translated">Fitro de empresa</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="translated">Filtro de carácter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="translated">Editar</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</target>
<source>Foundry Filter</source>
<target state="new">Foundry Filter</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="new">Edit</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2213,6 +2213,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</target>
<source>Foundry Filter</source>
<target state="new">Foundry Filter</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="new">Edit</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2207,6 +2207,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</target>
<source>Foundry Filter</source>
<target state="new">Foundry Filter</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="new">Edit</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</source>
<source>Foundry Filter</source>
<target state="translated">厂商筛选器</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="translated">编辑</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2203,6 +2203,10 @@ Otherwise, "All Fonts" is selected by default on every launch.</target>
<source>Foundry Filter</source>
<target state="new">Foundry Filter</target>
</trans-unit>
<trans-unit id="SmartCollectionCharacterFilter.Text" translate="yes" xml:space="preserve">
<source>Character Filter</source>
<target state="new">Character Filter</target>
</trans-unit>
<trans-unit id="DigEditCollection.PrimaryButtonText" translate="yes" xml:space="preserve">
<source>Edit</source>
<target state="new">Edit</target>
Expand Down
13 changes: 11 additions & 2 deletions CharacterMap/CharacterMap/Strings/de-DE/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<value>Schwarze Füllung</value>
</data>
<data name="BtnCopy.Text" xml:space="preserve">
<value>Kopie (nur Zeichen)</value>
<value>Als Text kopieren</value>
</data>
<data name="BtnSelect.Content" xml:space="preserve">
<value>Auswählen</value>
Expand Down Expand Up @@ -724,7 +724,7 @@ Erwäge, die Details über diesen Fehler bei GitHub mitzuteilen, damit wir dir b
<value>Latein</value>
</data>
<data name="OptionScriptCJKUnifiedIdeographs.Text" xml:space="preserve">
<value>CJK</value>
<value>CJK (Chinesisch/Japanisch/Koreanisch)</value>
</data>
<data name="OptionScriptCyrillic.Text" xml:space="preserve">
<value>Kyrillisch</value>
Expand Down Expand Up @@ -1231,7 +1231,16 @@ Tippen und halten zum umsortieren.</value>
<data name="NotificationCopiedSVG" xml:space="preserve">
<value>Als SVG kopiert</value>
</data>
<data name="FileNameWriterStringFormat" xml:space="preserve">
<value>{0}, z. B. {1}</value>
</data>
<data name="ExampleFormat" xml:space="preserve">
<value>z. B. {0}</value>
</data>
<data name="DigOpenFolderContent.SelectFolderButtonContent" xml:space="preserve">
<value>Ordner auswählen</value>
</data>
<data name="RefreshResultsLabel.Text" xml:space="preserve">
<value>Ergebnisse aktualisieren</value>
</data>
</root>
2 changes: 1 addition & 1 deletion CharacterMap/CharacterMap/Strings/en-GB/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ColoredGlyphLabel.Text" xml:space="preserve">
<value>Colourization</value>
<value>Coloured Glyph</value>
</data>
<data name="ColorGlyphToggle.OnContent" xml:space="preserve">
<value>Colour Glyphs</value>
Expand Down
3 changes: 3 additions & 0 deletions CharacterMap/CharacterMap/Strings/en-US/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -1749,6 +1749,9 @@ Otherwise, "All Fonts" is selected by default on every launch.</value>
<data name="SmartCollectionFoundryFilter.Text" xml:space="preserve">
<value>Foundry Filter</value>
</data>
<data name="SmartCollectionCharacterFilter.Text" xml:space="preserve">
<value>Character Filter</value>
</data>
<data name="DigEditCollection.PrimaryButtonText" xml:space="preserve">
<value>Edit</value>
</data>
Expand Down
Loading

0 comments on commit 16b4334

Please sign in to comment.