add:i18n
This commit is contained in:
+36
-13
@@ -71,7 +71,7 @@
|
||||
<Setter Property="TextWrapping" Value="NoWrap" />
|
||||
<Setter Property="TextAlignment" Value="Center" />
|
||||
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
||||
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="4" />
|
||||
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="6" />
|
||||
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="8" />
|
||||
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
|
||||
</Style>
|
||||
@@ -93,6 +93,17 @@
|
||||
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="AutoFitGestureOptionLabel10" TargetType="Label">
|
||||
<Setter Property="Foreground" Value="{DynamicResource FloatBarForeground}" />
|
||||
<Setter Property="Padding" Value="0" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Left" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
|
||||
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="4" />
|
||||
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="8" />
|
||||
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
|
||||
</Style>
|
||||
|
||||
<!-- Navigation Button Style -->
|
||||
<Style x:Key="NavButton" TargetType="Button">
|
||||
<Setter Property="Background" Value="Transparent"/>
|
||||
@@ -5171,8 +5182,9 @@
|
||||
RenderOptions.BitmapScalingMode="HighQuality"
|
||||
Height="16"
|
||||
Width="16" />
|
||||
<Label Content="{i18n:I18n Key=Board_MultiTouchWriting}" FontSize="10"
|
||||
VerticalAlignment="Center" />
|
||||
<Label Content="{i18n:I18n Key=Board_MultiTouchWriting}" FontSize="8"
|
||||
VerticalAlignment="Center" Width="64"
|
||||
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
||||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||||
x:Name="BoardToggleSwitchEnableMultiTouchMode"
|
||||
@@ -5202,8 +5214,9 @@
|
||||
RenderOptions.BitmapScalingMode="HighQuality"
|
||||
Height="16"
|
||||
Width="16" />
|
||||
<Label Content="{i18n:I18n Key=Board_TwoFingerMove}" FontSize="10"
|
||||
VerticalAlignment="Center" />
|
||||
<Label Content="{i18n:I18n Key=Board_TwoFingerMove}" FontSize="8"
|
||||
VerticalAlignment="Center" Width="64"
|
||||
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
||||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||||
x:Name="BoardToggleSwitchEnableTwoFingerTranslate"
|
||||
@@ -5233,8 +5246,9 @@
|
||||
RenderOptions.BitmapScalingMode="HighQuality"
|
||||
Height="16"
|
||||
Width="16" />
|
||||
<Label Content="{i18n:I18n Key=Board_TwoFingerZoom}" FontSize="10"
|
||||
VerticalAlignment="Center" />
|
||||
<Label Content="{i18n:I18n Key=Board_TwoFingerZoom}" FontSize="8"
|
||||
VerticalAlignment="Center" Width="64"
|
||||
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
||||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||||
FontFamily="Microsoft YaHei UI"
|
||||
@@ -5262,8 +5276,9 @@
|
||||
RenderOptions.BitmapScalingMode="HighQuality"
|
||||
Height="16"
|
||||
Width="16" />
|
||||
<Label Content="{i18n:I18n Key=Board_TwoFingerRotate}" FontSize="10"
|
||||
VerticalAlignment="Center" />
|
||||
<Label Content="{i18n:I18n Key=Board_TwoFingerRotate}" FontSize="8"
|
||||
VerticalAlignment="Center" Width="64"
|
||||
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
||||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||||
FontFamily="Microsoft YaHei UI"
|
||||
@@ -10133,7 +10148,9 @@
|
||||
HorizontalAlignment="Center" Margin="0,3,0,0">
|
||||
<Image Source="{DynamicResource MultiTouchIcon}"
|
||||
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
||||
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_MultiTouchWriting}" FontSize="10" VerticalAlignment="Center" />
|
||||
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_MultiTouchWriting}" FontSize="8"
|
||||
VerticalAlignment="Center" Width="64"
|
||||
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
||||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||||
Name="ToggleSwitchEnableMultiTouchMode"
|
||||
@@ -10157,7 +10174,9 @@
|
||||
HorizontalAlignment="Center">
|
||||
<Image Source="{DynamicResource HandMoveIcon}"
|
||||
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
||||
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerMove}" FontSize="10" VerticalAlignment="Center" />
|
||||
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerMove}" FontSize="8"
|
||||
VerticalAlignment="Center" Width="64"
|
||||
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
||||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||||
Name="ToggleSwitchEnableTwoFingerTranslate"
|
||||
@@ -10182,7 +10201,9 @@
|
||||
HorizontalAlignment="Center">
|
||||
<Image Source="{DynamicResource ZoomIcon}"
|
||||
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
||||
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerZoom}" FontSize="10" VerticalAlignment="Center" />
|
||||
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerZoom}" FontSize="8"
|
||||
VerticalAlignment="Center" Width="64"
|
||||
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
||||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||||
FontFamily="Microsoft YaHei UI"
|
||||
@@ -10207,7 +10228,9 @@
|
||||
HorizontalAlignment="Center">
|
||||
<Image Source="{DynamicResource RotateIcon}"
|
||||
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
|
||||
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerRotate}" FontSize="10" VerticalAlignment="Center" />
|
||||
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerRotate}" FontSize="8"
|
||||
VerticalAlignment="Center" Width="64"
|
||||
Style="{StaticResource AutoFitGestureOptionLabel10}" />
|
||||
<Viewbox Width="36" Height="18" Margin="4,0,0,0">
|
||||
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
|
||||
FontFamily="Microsoft YaHei UI"
|
||||
|
||||
Reference in New Issue
Block a user