feat: 框架代码同步 (#344)

Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
2025-08-28 11:47:16 +08:00
committed by GitHub
parent 041f3eeda1
commit 17edb17de9
437 changed files with 10376 additions and 9601 deletions

View File

@@ -6,7 +6,6 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
@@ -64,14 +63,12 @@ public sealed class Ln
<#
var xml = new XmlDocument();
xml.Load("../assets/res/Ln.resx");
foreach (XmlNode data in xml.SelectNodes("//root/data")!)
{
foreach (XmlNode data in xml.SelectNodes("//root/data")!) {
#>
/// <summary>
/// <#= data.SelectSingleNode("value")?.InnerText #>
/// </summary>
public static string <#=
data.Attributes!["name"].Value.Replace(" ", "_") #> => ResourceManager.GetString("<#= data.Attributes!["name"].Value #>", Culture);
public static string <#= data.Attributes!["name"].Value.Replace(" ", "_") #> => ResourceManager.GetString("<#= data.Attributes!["name"].Value #>", Culture);
<#
}
#>