Reihenfolge

This commit is contained in:
Andreas Bielawski 2016-08-22 22:19:43 +02:00
parent 382e0aa579
commit e26c860dba

View File

@ -12,6 +12,14 @@ function shell:init(config)
end end
function shell:transeng(ger) function shell:transeng(ger)
local ger = string.gsub(ger, "Monday", "Montag")
local ger = string.gsub(ger, "Tuesday", "Dienstag")
local ger = string.gsub(ger, "Wednesday", "Mittwoch")
local ger = string.gsub(ger, "Thursday", "Donnerstag")
local ger = string.gsub(ger, "Friday", "Freitag")
local ger = string.gsub(ger, "Saturday", "Samstag")
local ger = string.gsub(ger, "Sunday", "Sonntag")
local ger = string.gsub(ger, 'week,', 'Woche,') local ger = string.gsub(ger, 'week,', 'Woche,')
local ger = string.gsub(ger, 'weeks,', 'Wochen,') local ger = string.gsub(ger, 'weeks,', 'Wochen,')
local ger = string.gsub(ger, 'day,', 'Tag,') local ger = string.gsub(ger, 'day,', 'Tag,')
@ -20,13 +28,6 @@ function shell:transeng(ger)
local ger = string.gsub(ger, 'hours,', 'Stunden und') local ger = string.gsub(ger, 'hours,', 'Stunden und')
local ger = string.gsub(ger, 'minute$', 'Minute.') local ger = string.gsub(ger, 'minute$', 'Minute.')
local ger = string.gsub(ger, 'minutes', 'Minuten.') local ger = string.gsub(ger, 'minutes', 'Minuten.')
local ger = string.gsub(ger, "Monday", "Montag")
local ger = string.gsub(ger, "Tuesday", "Dienstag")
local ger = string.gsub(ger, "Wednesday", "Mittwoch")
local ger = string.gsub(ger, "Thursday", "Donnerstag")
local ger = string.gsub(ger, "Friday", "Freitag")
local ger = string.gsub(ger, "Saturday", "Samstag")
local ger = string.gsub(ger, "Sunday", "Sonntag")
return ger return ger
end end