Draft: Resolve "Add code generator for win form projects" #92
@ -441,7 +441,7 @@ public sealed partial class Setting : UserControl
|
||||
var currentSetting = await AppSettings.GetGeneratorDotnetEnabled();
|
||||
|
||||
var settingData = new SettingUIData(
|
||||
Icon: Icons.icons8_code_512,
|
||||
Icon: Icons.icons8_c_sharp_logo_svg,
|
||||
SettingName: () => "Generator: .NET",
|
||||
ChangeNeedsRestart: false,
|
||||
SettingExplanation: () => "When enabled, .NET translation files are generated. Requires a .NET 7 or newer project.",
|
||||
@ -469,7 +469,7 @@ public sealed partial class Setting : UserControl
|
||||
var currentSetting = await AppSettings.GetGeneratorDotnetDestinationPath();
|
||||
|
||||
var settingData = new SettingUIData(
|
||||
Icon: Icons.icons8_code_512,
|
||||
Icon: Icons.icons8_c_sharp_logo_svg,
|
||||
SettingName: () => "Generator: .NET Destination Path",
|
||||
ChangeNeedsRestart: false,
|
||||
SettingExplanation: () => "The destination path for the .NET translation files. You might use environment variables like %USERPROFILE%.",
|
||||
@ -528,7 +528,7 @@ public sealed partial class Setting : UserControl
|
||||
var currentSetting = await AppSettings.GetGeneratorDotnetNamespace();
|
||||
|
||||
var settingData = new SettingUIData(
|
||||
Icon: Icons.icons8_code_512,
|
||||
Icon: Icons.icons8_c_sharp_logo_svg,
|
||||
SettingName: () => "Generator: .NET Namespace",
|
||||
ChangeNeedsRestart: false,
|
||||
SettingExplanation: () => "The namespace for the .NET I18N files.",
|
||||
@ -560,7 +560,7 @@ public sealed partial class Setting : UserControl
|
||||
// Attention: We have to store the culture's index, because the index is not
|
||||
// continuous and can change when the user adds or removes a culture!
|
||||
var settingData = new SettingUIData(
|
||||
Icon: Icons.icons8_code_512,
|
||||
Icon: Icons.icons8_c_sharp_logo_svg,
|
||||
SettingName: () => "Generator: .NET Default Culture",
|
||||
ChangeNeedsRestart: false,
|
||||
SettingExplanation: () => "The default culture for the .NET, which is used when no culture is specified or available.",
|
||||
@ -604,7 +604,7 @@ public sealed partial class Setting : UserControl
|
||||
var currentSetting = await AppSettings.GetGeneratorGodotEnabled();
|
||||
|
||||
var settingData = new SettingUIData(
|
||||
Icon: Icons.icons8_code_512,
|
||||
Icon: Icons.godot_icon,
|
||||
SettingName: () => "Generator: Godot",
|
||||
ChangeNeedsRestart: false,
|
||||
SettingExplanation: () => "When enabled, Godot translation files are generated. Requires a Godot 3.5 or newer project.",
|
||||
@ -632,7 +632,7 @@ public sealed partial class Setting : UserControl
|
||||
var currentSetting = await AppSettings.GetGeneratorGodotDestinationPath();
|
||||
|
||||
var settingData = new SettingUIData(
|
||||
Icon: Icons.icons8_code_512,
|
||||
Icon: Icons.godot_icon,
|
||||
SettingName: () => "Generator: Godot Destination Path",
|
||||
ChangeNeedsRestart: false,
|
||||
SettingExplanation: () => "The destination path for the Godot translation files. You might use environment variables like %USERPROFILE%.",
|
||||
|
@ -70,6 +70,16 @@ namespace UI_WinForms.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap godot_icon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("godot_icon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
@ -120,6 +130,16 @@ namespace UI_WinForms.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap icons8_c_sharp_logo_svg {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("icons8_c_sharp_logo_svg", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -121,6 +121,9 @@
|
||||
<data name="deepl_logo_icon_170284" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>deepl_logo_icon_170284.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="godot_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>godot-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="icons8_add_folder_512" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>icons8-add-folder-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -151,6 +154,9 @@
|
||||
<data name="icons8_collectibles_512" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>icons8-collectibles-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="icons8_c_sharp_logo_svg" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>icons8-c-sharp-logo.svg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="icons8_delete_folder_512" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>icons8-delete-folder-512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
BIN
I18N Commander/UI WinForms/Resources/godot-icon.png
Normal file
BIN
I18N Commander/UI WinForms/Resources/godot-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
I18N Commander/UI WinForms/Resources/icons8-c-sharp-logo.svg.png
Normal file
BIN
I18N Commander/UI WinForms/Resources/icons8-c-sharp-logo.svg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
Loading…
Reference in New Issue
Block a user