Commit ffa9dd0a authored by fgprodigal's avatar fgprodigal

Locale & Cache variable

parent fe7a092e
......@@ -71,6 +71,7 @@ L["Tools"] = true
L["Table Dumper"] = true
L["A tool for dumping table data (this table must be a global variable)"] = true
L["Table Name"] = true
L["Table %s does not exist"] = true
L["Choose Dump Format"] = true
L["Dump Now"] = true
L["Dumped"] = true
\ No newline at end of file
......@@ -71,6 +71,7 @@ L["Tools"] = "工具"
L["Table Dumper"] = "表导出工具"
L["A tool for dumping table data (this table must be a global variable)"] = "一个导出表数据的工具 (这个表必须为全局变量)"
L["Table Name"] = "表名"
L["Table %s does not exist"] = "表 %s 不存在"
L["Choose Dump Format"] = "导出格式"
L["Dump Now"] = "导出"
L["Dumped"] = "已导出"
\ No newline at end of file
local RayUI, E, L, V, P, G = unpack(select(2, ...))
local type, pairs, ipairs, tinsert, strrep, tostring, tremove, wipe, pcall, format, loadstring = type, pairs, ipairs, tinsert, strrep, tostring, tremove, wipe, pcall, format, loadstring
local GameFontHighlightSmall = GameFontHighlightSmall
local GameTooltip_Hide = GameTooltip_Hide
local TableToLuaString
local TableToPluginFormat
......@@ -186,7 +189,7 @@ function RayUI:OpenTableDumper()
end
if type(t) ~= 'table' then
Label1:SetText("表 "..tableName.." 不存在")
Label1:SetText(format(L["Table %s does not exist"], tableName))
return
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment