Skip to content

Commit

Permalink
Merge pull request #2 from Priyanka-Vijayasankar/master
Browse files Browse the repository at this point in the history
WF-921956 Validating Translated Languages in the PropertyGrid for Localization
  • Loading branch information
Manivannan-E authored Nov 21, 2024
2 parents ae2d702 + 43ca039 commit 9c0c0b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Samples/Localization/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();

//Changing current culture as French culture
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fr-FR");
InitializeComponent();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -134,31 +134,31 @@
<comment>Tooltip text for button, to categorize properties in PropertyGrid.</comment>
</data>
<data name="Clear" xml:space="preserve">
<value>Claire</value>
<value>clair</value>
<comment>Tooltip text for clear button of search box in PropertyGrid.</comment>
</data>
<data name="CollectionEditorDialogTitle" xml:space="preserve">
<value>L'CollectionEditor</value>
<value>Éditeur de collection</value>
<comment>Title text of CollectionEditor dialog.</comment>
</data>
<data name="CollectionEditorWatermark" xml:space="preserve">
<value>(L'Collection)</value>
<value>(Collection)</value>
<comment>Watermark text of collection editor in PropertyGrid.</comment>
</data>
<data name="OK" xml:space="preserve">
<value>D'accord</value>
<comment>OK button text in CollectionEditor dialog.</comment>
</data>
<data name="Remove" xml:space="preserve">
<value>Retirer</value>
<value>Enlever</value>
<comment>Remove button text in CollectionEditor dialog.</comment>
</data>
<data name="Reset" xml:space="preserve">
<value>Réinitialiser</value>
<comment>Text for menu item, to reset value of property in PropertyGrid.</comment>
</data>
<data name="Search" xml:space="preserve">
<value>Chercher</value>
<value>Recherche</value>
<comment>Watermark text of search textbox in PropertyGrid.</comment>
</data>
</root>

0 comments on commit 9c0c0b9

Please sign in to comment.