add resource file

This commit is contained in:
kanaxx 2021-06-28 22:31:33 +09:00
parent 3e27c8c8d1
commit a2a8e81017
3 changed files with 5 additions and 2 deletions

View file

@ -440,4 +440,7 @@
<data name="ShapeManager_BorderStyle" xml:space="preserve">
<value>線の形式:</value>
</data>
<data name="ShapeManager_CreateToolbar_StepType" xml:space="preserve">
<value>文字の種類:</value>
</data>
</root>

View file

@ -241,7 +241,7 @@ public enum PopUpNotificationType // Localized
ToastNotification
}
public enum ToastClickAction
public enum ToastClickAction // Localized
{
[Description("Close notification")]
CloseNotification,

View file

@ -196,7 +196,7 @@ public TaskSettingsForm(TaskSettings hotkeySetting, bool isDefault = false)
gbToastWindow.Enabled = TaskSettings.GeneralSettings.ShowToastNotificationAfterTaskCompleted;
nudToastWindowDuration.SetValue((decimal)TaskSettings.GeneralSettings.ToastWindowDuration);
nudToastWindowFadeDuration.SetValue((decimal)TaskSettings.GeneralSettings.ToastWindowFadeDuration);
cbToastWindowPlacement.Items.AddRange(Helpers.GetEnumNamesProper<ContentAlignment>());
cbToastWindowPlacement.Items.AddRange(Helpers.GetLocalizedEnumDescriptions<ContentAlignment>());
cbToastWindowPlacement.SelectedIndex = TaskSettings.GeneralSettings.ToastWindowPlacement.GetIndex();
nudToastWindowSizeWidth.SetValue(TaskSettings.GeneralSettings.ToastWindowSize.Width);
nudToastWindowSizeHeight.SetValue(TaskSettings.GeneralSettings.ToastWindowSize.Height);