I18n for the BadgeDemoCtl.

This commit is contained in:
Dingping Zhang committed 2019-04-04 21:38:30 +08:00
1 parent 2fd5d90432
commit 0fb520bf8d
4 files changed
+16 -1

No files matched your search

+9
View File
@@ -348,6 +348,15 @@ namespace HandyControlDemo.Properties.Langs {
}
}
/// <summary>
/// Looks up a localized string similar to 点击计数.
/// </summary>
public static string Count {
get {
return ResourceManager.GetString("Count", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 封面流.
/// </summary>
@@ -561,4 +561,7 @@
<data name="PleaseInput" xml:space="preserve">
<value>Please input...</value>
</data>
<data name="Count" xml:space="preserve">
<value>Count</value>
</data>
</root>
@@ -561,4 +561,7 @@
<data name="PleaseInput" xml:space="preserve">
<value>请输入...</value>
</data>
<data name="Count" xml:space="preserve">
<value>点击计数</value>
</data>
</root>
@@ -14,7 +14,7 @@
<Button Content="{x:Static langs:Lang.Comment}"/>
</controls:Badge>
<controls:Badge Value="{Binding Count}" Height="30" Margin="32,0,0,0" Style="{StaticResource BadgePrimary}">
<Button Content="计数" Command="{Binding CountCommand}"/>
<Button Content="{x:Static langs:Lang.Count}" Command="{Binding CountCommand}"/>
</controls:Badge>
<controls:Badge Value="100" BadgeMargin="0,-14,-20,0" Height="30" Margin="32,0,0,0" Style="{StaticResource BadgeDanger}">
<Button Content="{x:Static langs:Lang.Comment}"/>