Add AddRoomCard_PlaceholderText_FontSize

This commit is contained in:
Genteure 2021-01-11 22:33:23 +08:00
parent 35d6748a65
commit b035b58b41
6 changed files with 22 additions and 1 deletions

View File

@ -30,7 +30,7 @@
<TextBlock FontSize="20" VerticalAlignment="Center" Text="{l:Loc AddRoomCard_Title}"/>
</StackPanel>
<TextBox Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" x:Name="InputTextBox"
ui:TextBoxHelper.IsDeleteButtonVisible="False"
ui:TextBoxHelper.IsDeleteButtonVisible="False" FontSize="{l:Loc AddRoomCard_PlaceholderText_FontSize}"
ui:ControlHelper.PlaceholderText="{l:Loc AddRoomCard_PlaceholderText}"
KeyDown="InputTextBox_KeyDown"/>
<Button Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Content="{l:Loc AddRoomCard_ConfirmButton}" Click="Button_Click" />

View File

@ -105,6 +105,15 @@ namespace BililiveRecorder.WPF.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to 14.
/// </summary>
public static string AddRoomCard_PlaceholderText_FontSize {
get {
return ResourceManager.GetString("AddRoomCard_PlaceholderText_FontSize", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to 添加房间.
/// </summary>

View File

@ -120,6 +120,9 @@
<data name="AddRoomCard_ConfirmButton" xml:space="preserve">
<value>Add</value>
</data>
<data name="AddRoomCard_PlaceholderText_FontSize" xml:space="preserve">
<value>14</value>
</data>
<data name="AddRoomFailedDialog_CloseButtonText" xml:space="preserve">
<value>OK</value>
</data>

View File

@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AddRoomCard_PlaceholderText_FontSize" xml:space="preserve">
<value>12</value>
</data>
<data name="Global_Confirm" xml:space="preserve">
<value>決定する</value>
</data>

View File

@ -117,6 +117,9 @@
<value>房间号或房间链接</value>
<comment>id or link</comment>
</data>
<data name="AddRoomCard_PlaceholderText_FontSize" xml:space="preserve">
<value>14</value>
</data>
<data name="AddRoomCard_Title" xml:space="preserve">
<value>添加房间</value>
</data>

View File

@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AddRoomCard_PlaceholderText_FontSize" xml:space="preserve">
<value>14</value>
</data>
<data name="Global_Confirm" xml:space="preserve">
<value>確定</value>
</data>