Custom rules dialog enhancement, small fixes (#9665)

* Rule categories and search in custom rules dialog

* Fix wrong info about format placeholders in all unfinished locales

* Rule search fix, rule info system, some stuff for easier rules dialog modding

* Why not to fix what i can?
This commit is contained in:
ApsZoldat
2024-04-11 17:56:34 -04:00
committed by GitHub
parent 24202dd20f
commit a8135aa042
36 changed files with 229 additions and 142 deletions
+2 -2
View File
@@ -610,7 +610,7 @@ filter.option.floor2 = 内层地形
filter.option.threshold2 = 内层比例
filter.option.radius = 半径
filter.option.percentile = 百分比
locales.info = 在这里,您可以为特定语言添加本地化语言包到您的地图中。在本地化语言包中,每个文本属性都有一个名称和一个值。这些文本属性可以由世界处理器和游戏目标使用它们的名称。它们支持文本格式化(用实际值替换占位符)。\n\n[cyan]示例文本属性:\n[]名称: [accent]timer[]值: [accent]示例计时器, 剩余时间: @[]\n\n[cyan]用法:\n[]将其设置为目标的文本: [accent]@timer\n\n[]在世界处理器中打印它:\n[accent]localeprint "timer"\n格式化时间\n[gray](时间是一个单独计算的变量)
locales.info = 在这里,您可以为特定语言添加本地化语言包到您的地图中。在本地化语言包中,每个文本属性都有一个名称和一个值。这些文本属性可以由世界处理器和游戏目标使用它们的名称。它们支持文本格式化(用实际值替换占位符)。\n\n[cyan]示例文本属性:\n[]名称: [accent]timer[]值: [accent]示例计时器, 剩余时间: {0}[]\n\n[cyan]用法:\n[]将其设置为目标的文本: [accent]@timer\n\n[]在世界处理器中打印它:\n[accent]localeprint "timer"\n格式化时间\n[gray](时间是一个单独计算的变量)
locales.deletelocale = 您确定要删除该本地化语言包吗?
locales.applytoall = 将更改应用于所有本地化语言包
locales.addtoother = 添加到其他本地化语言包
@@ -2319,7 +2319,7 @@ unit.emanate.description = 保护卫城核心,可建造建筑。 使用一对
lst.read = 从连接的内存读取数字
lst.write = 向连接的内存写入数字
lst.print = 添加文字到打印缓存\n使用[accent]Print Flush[]后才会真正显示
lst.format = Replace next placeholder ("[accent]@[]") in text buffer with a value.\nExample:\n[accent]print "test @"\nformat "example"
lst.format = Replace next placeholder in text buffer with a value.\nDoes not do anything if placeholder pattern is invalid.\nPlaceholder pattern: "{[accent]number 0-9[]}"\nExample:\n[accent]print "test {0}"\nformat "example"
lst.draw = 添加绘图操作到绘图缓存\n使用[accent]Draw Flush[]后才会真正显示
lst.drawflush = 将绘图缓存中的[accent]Draw[]队列刷新到显示屏
lst.printflush = 将打印缓存中的[accent]Print[]队列刷新到信息板