mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 05:35:00 +00:00
update: localizations
* fix Locales.Designer.cs NOT updated when compile after Locale.*.resx changed in Visual Studio 2022. * use PublicResXFileCodeGenerator instead of ResXFileCodeGenerator to make sure access modifier is 'public' in Visual Studio 2022. * use ResourceManager.GetResourceSet instead of collecting properties by reflection. * remove translation warnings in Visual Studio's ResXManager extension.
This commit is contained in:
parent
5567a8bc08
commit
44c141be7c
6 changed files with 3885 additions and 1557 deletions
16
src/Resources/Locales.Designer.cs
generated
16
src/Resources/Locales.Designer.cs
generated
|
@ -1,6 +1,7 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
@ -18,7 +19,7 @@ namespace SourceGit.Resources {
|
|||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Locales {
|
||||
|
@ -28,7 +29,7 @@ namespace SourceGit.Resources {
|
|||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
public Locales() {
|
||||
internal Locales() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -924,7 +925,7 @@ namespace SourceGit.Resources {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Conflict detected! Press 'Abort' to restore original HEAD.
|
||||
/// Looks up a localized string similar to Conflict detected! Press 'Abort' to restore original HEAD..
|
||||
/// </summary>
|
||||
public static string Text_Conflict_Tip {
|
||||
get {
|
||||
|
@ -3200,15 +3201,6 @@ namespace SourceGit.Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Save File to ....
|
||||
/// </summary>
|
||||
public static string Text_SaveFileTo {
|
||||
get {
|
||||
return ResourceManager.GetString("Text.SaveFileTo", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Squash HEAD Into Parent.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue