Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ElvUI_RayUI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fgprodigal
ElvUI_RayUI
Commits
ffa9dd0a
Commit
ffa9dd0a
authored
Feb 20, 2020
by
fgprodigal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Locale & Cache variable
parent
fe7a092e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
Locales/enUS.lua
Locales/enUS.lua
+1
-0
Locales/zhCN.lua
Locales/zhCN.lua
+1
-0
Tools/TableDump.lua
Tools/TableDump.lua
+4
-1
No files found.
Locales/enUS.lua
View file @
ffa9dd0a
...
...
@@ -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
Locales/zhCN.lua
View file @
ffa9dd0a
...
...
@@ -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
Tools/TableDump.lua
View file @
ffa9dd0a
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment