Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Hertz-Lab
Research
Intelligent Museum
Language Identifier
Commits
5b79bf66
Commit
5b79bf66
authored
Sep 08, 2021
by
Dan Wilcox
Browse files
fix lua locale key syntax
parent
abc96065
Changes
1
Hide whitespace changes
Inline
Side-by-side
demos/demo1/main.lua
View file @
5b79bf66
...
...
@@ -5,18 +5,18 @@
local
lang
=
{
{
name
=
"noise"
,
locale
=
"xx"
},
{
name
=
"chinese"
,
locale
=
"zh
-
cn"
},
{
name
=
"chinese"
,
locale
=
"zh
_
cn"
},
{
name
=
"english"
,
locale
=
"en"
},
{
name
=
"french"
,
locale
=
"fr"
},
{
name
=
"german"
,
locale
=
"de"
},
{
name
=
"italian"
,
locale
=
"it"
},
{
name
=
"russian"
,
locale
=
"ru"
},
{
name
=
"italian"
,
locale
=
"it"
},
{
name
=
"russian"
,
locale
=
"ru"
},
{
name
=
"spanish"
,
locale
=
"es"
}
}
local
greeting
=
{
xx
=
"..."
,
zh
-
cn
=
"你好"
,
-- Ni Hao
zh
_
cn
=
"你好"
,
-- Ni Hao
en
=
"Hello"
,
fr
=
"Bonjour"
,
de
=
"Guten Tag"
,
...
...
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