-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlua_case.lua
38 lines (34 loc) · 1.01 KB
/
lua_case.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
local input = {
greeting = {
eng = "Hello World!",
swe = "Hallå Världen!",
ger = "Hallo Welt!",
lorem = "Lorem ipsum!",
text_id = 1
},
headline = {
eng = "This is a headline.",
swe = "Det här en rubrik.",
ger = "Dies ist eine Überschrift.",
lorem = "Dolor sit amet.",
text_id = 2
},
content = {
eng = "This is the main content. It consists of two sentences.",
swe = "Det här är huvudinnehållet. Det består av två meningar.",
ger = "Dies ist der Hauptinhalt. Er besteht aus zwei Sätzen.",
lorem = "Quisque at luctus libero. Lorem ipsum dolor sit amet.",
text_id = 3
},
footer = {
eng = "Last updated: February 15 2024.",
swe = "Senast uppdaterad: 15 februari 2024.",
ger = "Zuletzt aktualisiert: 15. Februar 2024.",
lorem = "Donec iaculis facilisis: Jan 1 1970.",
text_id = 4
}
}
local lang_id = "swe"
--[[
Your code here.
]]