Added Locale Files

This commit is contained in:
Cooldude2606
2018-10-12 23:08:47 +01:00
parent d2f4ed53ab
commit 7cb517e4aa
117 changed files with 1707 additions and 36 deletions

View File

@@ -44,8 +44,8 @@ local function _poll_end(self)
poll.voted = nil
table.insert(global.old,poll)
global.active[uuid] = nil
game.print({'polls.end',poll.question},defines.textcolor.info)
game.print({'polls.winner',highest[1]},defines.textcolor.info)
game.print({'ExpGamingPlayer-polls.end',poll.question},defines.textcolor.info)
game.print({'ExpGamingPlayer-polls.winner',highest[1]},defines.textcolor.info)
end
local function _poll_data(question,answers)
@@ -72,7 +72,7 @@ local function draw_poll(frame)
if not poll then
frame.add{
type='label',
caption={'polls.no-poll'}
caption={'ExpGamingPlayer-polls.no-poll'}
}
return
end
@@ -207,7 +207,7 @@ end)
ThisModule.Gui = Gui.popup{
name='polls',
caption={'polls.name'},
caption={'ExpGamingPlayer-polls.name'},
draw=function(frame,data)
frame.style.right_padding = 5
frame.style.bottom_padding = 5
@@ -219,16 +219,16 @@ ThisModule.Gui = Gui.popup{
name=uuid,
direction='vertical'
}
flow.add{type='label',caption={'polls.time-left',poll_time_out}}
flow.add{type='label',caption={'ExpGamingPlayer-polls.time-left',poll_time_out}}
flow.add{type='label',caption='Question: '..poll.question}
flow.add{type='label',name='answer',caption='Your Answer: None'}
opption_drop_down:draw(flow)
end
}:add_left{
caption='utility/item_editor_icon',
tooltip={'polls.tooltip'},
tooltip={'ExpGamingPlayer-polls.tooltip'},
draw=function(frame)
frame.caption={'polls.name'}
frame.caption={'ExpGamingPlayer-polls.name'}
frame.add{
type='label',
name='current_index',
@@ -265,7 +265,7 @@ ThisModule.Gui = Gui.popup{
can_open=function(player)
if #global.old > 0 then return true
elseif Role and Role.allowed(player,'create-poll') or player.admin then return true
else return {'polls.no-poll'} end
else return {'ExpGamingPlayer-polls.no-poll'} end
end
}
-- Event Handlers Define

View File

@@ -0,0 +1,7 @@
[ExpGamingPlayer-polls]
name=Umfragen
tooltip=Alte Umfragen ansehen
no-poll=Keine alten Umfragen
end=Die Umfrage hat gerade geendet: __1__
winner=__1__ hatte die meisten Stimmen.
time-left=Du hast noch __1__s um deine Wahl zu erfassen.

View File

@@ -0,0 +1,7 @@
[ExpGamingPlayer-polls]
name=Polls
tooltip=View Old Polls
no-poll=No Old Polls
end=Poll Just Ended: __1__
winner=__1__ had the most votes.
time-left=You will have __1__s to pick.

View File

@@ -0,0 +1,7 @@
[ExpGamingPlayer-polls]
name=Polls
tooltip=View Old Polls
no-poll=No Old Polls
end=Poll Just Ended: __1__
winner=__1__ had the most votes.
time-left=You will have __1__s to pick.

View File

@@ -0,0 +1,7 @@
[ExpGamingPlayer-polls]
name=Polls
tooltip=Laat oude polls zien
no-poll=Geen oude polls
end=Poll is zojuist beëindigd: __1__
winner=__1__ had de meeste stemmen.
time-left=Je hebt __1__s om te kiezen.

View File

@@ -0,0 +1,7 @@
[ExpGamingPlayer-polls]
name=Undersökningar
tooltip=Se gamla undersökningar
no-poll=Inga gamla undersökningar
end=Röstning slutade nyss: __1__
winner=__1__ hade flest röster.
time-left=Du kommer att få __1__s på dig att välja.