Skip to content

Commit

Permalink
Update sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKeepCoding committed Nov 1, 2023
1 parent d87aa54 commit 560eb49
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
7 changes: 7 additions & 0 deletions WinUI3Localizer.SampleApp/ControlsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@
<x:String xml:space="preserve">&lt;Slider l:Uids.Uid="ControlsPage_Slider" /&gt;</x:String>
</local:ExamplePresenter.XamlSampleCode>
</local:ExamplePresenter>
<!-- ToolTip -->
<local:ExamplePresenter HeaderText="ToolTip">
<Button l:Uids.Uid="ControlsPage_ToolTipButton" />
<local:ExamplePresenter.XamlSampleCode>
<x:String xml:space="preserve">&lt;Button l:Uids.Uid="ControlsPage_ToolTipButton" /&gt;</x:String>
</local:ExamplePresenter.XamlSampleCode>
</local:ExamplePresenter>
<!-- ColorPicker -->
<local:ExamplePresenter
HeaderText="ColorPicker"
Expand Down
9 changes: 9 additions & 0 deletions WinUI3Localizer.SampleApp/Strings/en-US/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,15 @@
<data name="ControlsPage_ToggleSwitch.OnContent" xml:space="preserve">
<value>Activated</value>
</data>
<data name="ControlsPage_ToolTipButton.Content" xml:space="preserve">
<value>Place the mouse pointer</value>
</data>
<data name="ControlsPage_ToolTipButton.ToolTipService.Placement" xml:space="preserve">
<value>Bottom</value>
</data>
<data name="ControlsPage_ToolTipButton.ToolTipService.ToolTip" xml:space="preserve">
<value>This is a localized ToolTip.</value>
</data>
<data name="en-US" xml:space="preserve">
<value>English</value>
</data>
Expand Down
9 changes: 9 additions & 0 deletions WinUI3Localizer.SampleApp/Strings/es-ES/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,15 @@
<data name="ControlsPage_ToggleSwitch.OnContent" xml:space="preserve">
<value>Activado</value>
</data>
<data name="ControlsPage_ToolTipButton.Content" xml:space="preserve">
<value>Coloca el mouse pointer</value>
</data>
<data name="ControlsPage_ToolTipButton.ToolTipService.Placement" xml:space="preserve">
<value>Right</value>
</data>
<data name="ControlsPage_ToolTipButton.ToolTipService.ToolTip" xml:space="preserve">
<value>Esto es un ToolTip localizado.</value>
</data>
<data name="en-US" xml:space="preserve">
<value>English</value>
</data>
Expand Down
9 changes: 9 additions & 0 deletions WinUI3Localizer.SampleApp/Strings/ja/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,15 @@
<data name="ControlsPage_ToggleSwitch.OnContent" xml:space="preserve">
<value>有効</value>
</data>
<data name="ControlsPage_ToolTipButton.Content" xml:space="preserve">
<value>マウスポインタを置いてください</value>
</data>
<data name="ControlsPage_ToolTipButton.ToolTipService.Placement" xml:space="preserve">
<value>Top</value>
</data>
<data name="ControlsPage_ToolTipButton.ToolTipService.ToolTip" xml:space="preserve">
<value>これはローカライズされたToolTipです。</value>
</data>
<data name="en-US" xml:space="preserve">
<value>English</value>
</data>
Expand Down

0 comments on commit 560eb49

Please sign in to comment.