diff --git a/miku/plugins/rss.lua b/miku/plugins/rss.lua
index 0cdea73..ce29f2b 100644
--- a/miku/plugins/rss.lua
+++ b/miku/plugins/rss.lua
@@ -363,7 +363,7 @@ function rss:cron()
else
content = ''
end
- text = text..'\n[#RSS] '..title..'\n~ '..feed_title..' ~\n'..utilities.trim(content)..'\nAuf '..link_name..' ansehen.\n'
+ text = text..'\n[#RSS] '..title..'\n'..feed_title..'\n'..utilities.trim(content)..'\nAuf '..link_name..' ansehen.\n'
end
if text ~= '' then
local newlast = newentr[1].id
diff --git a/miku/plugins/shell.lua b/miku/plugins/shell.lua
index d3939f6..09ebe2e 100644
--- a/miku/plugins/shell.lua
+++ b/miku/plugins/shell.lua
@@ -12,6 +12,7 @@ function shell:init(config)
end
function shell:transeng(ger)
+ --Days
local ger = string.gsub(ger, "Monday", "Montag")
local ger = string.gsub(ger, "Tuesday", "Dienstag")
local ger = string.gsub(ger, "Wednesday", "Mittwoch")
@@ -20,6 +21,7 @@ function shell:transeng(ger)
local ger = string.gsub(ger, "Saturday", "Samstag")
local ger = string.gsub(ger, "Sunday", "Sonntag")
+ --Weeks
local ger = string.gsub(ger, 'week,', 'Woche,')
local ger = string.gsub(ger, 'weeks,', 'Wochen,')
local ger = string.gsub(ger, 'day,', 'Tag,')
@@ -28,6 +30,20 @@ function shell:transeng(ger)
local ger = string.gsub(ger, 'hours,', 'Stunden und')
local ger = string.gsub(ger, 'minute$', 'Minute.')
local ger = string.gsub(ger, 'minutes', 'Minuten.')
+
+ --Months
+ local ger = string.gsub(ger, "January", "Januar")
+ local ger = string.gsub(ger, "February", "Februar")
+ local ger = string.gsub(ger, "March", "März")
+ local ger = string.gsub(ger, "April", "April")
+ local ger = string.gsub(ger, "May", "Mai")
+ local ger = string.gsub(ger, "June", "Juni")
+ local ger = string.gsub(ger, "July", "Juli")
+ local ger = string.gsub(ger, "August", "August")
+ local ger = string.gsub(ger, "September", "September")
+ local ger = string.gsub(ger, "October", "Oktober")
+ local ger = string.gsub(ger, "November", "November")
+ local ger = string.gsub(ger, "December", "Dezember")
return ger
end