Module:Documentation/i18n/sandbox
< Module:Documentation | i18n
Documentation for this module may be created at Module:Documentation/i18n/sandbox/doc
local tnt = require('Module:TNT')
local format
if mw.title.getCurrentTitle().namespace == 828 then
local lang = mw.getCurrentFrame():callParserFunction('int', 'lang')
format = function (id)
return tnt.formatInLanguage(lang, 'I18n/Documentation', id)
end
else
format = function (id)
return tnt.format('I18n/Documentation', id)
end
end
local i18n = {}
i18n['cfg-error-msg-type'] = format('cfg-error-msg-type')
i18n['cfg-error-msg-empty'] = format('cfg-error-msg-empty')
-- cfg['template-namespace-heading']
-- The heading shown in the template namespace.
i18n['template-namespace-heading'] = format('template-namespace-heading')
-- cfg['module-namespace-heading']
-- The heading shown in the module namespace.
i18n['module-namespace-heading'] = format('module-namespace-heading')
-- cfg['file-namespace-heading']
-- The heading shown in the file namespace.
i18n['file-namespace-heading'] = format('file-namespace-heading')
-- cfg['other-namespaces-heading']
-- The heading shown in other namespaces.
i18n['other-namespaces-heading'] = format('other-namespaces-heading')
-- cfg['view-link-display']
-- The text to display for "view" links.
i18n['view-link-display'] = format('view-link-display')
-- cfg['edit-link-display']
-- The text to display for "edit" links.
i18n['edit-link-display'] = format('edit-link-display')
-- cfg['history-link-display']
-- The text to display for "history" links.
i18n['history-link-display'] = format('history-link-display')
-- cfg['purge-link-display']
-- The text to display for "purge" links.
i18n['purge-link-display'] = format('purge-link-display')
-- cfg['create-link-display']
-- The text to display for "create" links.
i18n['create-link-display'] = format('create-link-display')
return i18n