Änderungen

Aus Die TTSCpedia
Zur Navigation springenZur Suche springen
EN: There is still some English text in here that is in need of translation.
Zeile 3: Zeile 3:     
-- Load necessary modules.
 
-- Load necessary modules.
require('Module:No globals')
+
require('Modul:No globals')
 
local getArgs
 
local getArgs
local yesno = require('Module:Yesno')
+
local yesno = require('Modul:Yesno')
    
-- Get a language object for formatDate and ucfirst.
 
-- Get a language object for formatDate and ucfirst.
Zeile 133: Zeile 133:  
end
 
end
 
if sort then
 
if sort then
cat = string.format('[[Category:%s|%s]]', cat, sort)
+
cat = string.format('[[Kategorie:%s|%s]]', cat, sort)
 
else
 
else
cat = string.format('[[Category:%s]]', cat)
+
cat = string.format('[[Kategorie:%s]]', cat)
 
end
 
end
 
self.hasCategories = true
 
self.hasCategories = true
Zeile 372: Zeile 372:  
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
 
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
 
self:addCat(0, catTitle)
 
self:addCat(0, catTitle)
catTitle = getTitleObject('Category:' .. catTitle)
+
catTitle = getTitleObject('Kategorie:' .. catTitle)
 
if not catTitle or not catTitle.exists then
 
if not catTitle or not catTitle.exists then
 
self:addCat(0, 'Articles with invalid date parameter in template')
 
self:addCat(0, 'Articles with invalid date parameter in template')
Zeile 431: Zeile 431:  
if self.invalidTypeError then
 
if self.invalidTypeError then
 
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
 
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
+
self:addCat('all', 'Message box parameter needs fixing', allSort)
 
end
 
end
 
if self.isSubstituted then
 
if self.isSubstituted then
Zeile 456: Zeile 456:  
-- Convert category tables to strings and pass them through
 
-- Convert category tables to strings and pass them through
 
-- [[Module:Category handler]].
 
-- [[Module:Category handler]].
return require('Module:Category handler')._main{
+
return require('Modul:Category handler')._main{
 
main = table.concat(self.categories[0] or {}),
 
main = table.concat(self.categories[0] or {}),
 
template = table.concat(self.categories[10] or {}),
 
template = table.concat(self.categories[10] or {}),
Zeile 473: Zeile 473:  
:addClass('error')
 
:addClass('error')
 
:wikitext(string.format(
 
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
+
'Template <code>%s[[Vorlage:%s|%s]]%s</code> has been incorrectly substituted.',
 
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
 
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
 
))
 
))
Zeile 611: Zeile 611:  
return function (frame)
 
return function (frame)
 
if not getArgs then
 
if not getArgs then
getArgs = require('Module:Arguments').getArgs
+
getArgs = require('Modul:Arguments').getArgs
 
end
 
end
 
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
 
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))

Navigationsmenü