Module:ForMultilingualTrans
Jump to navigation
Jump to search
Lua error in Module:TNT at line 157: attempt to index field 'data' (a nil value).
This module is being discussed in accordance with Starfleet Logistics's deletion policy. Help reach a consensus at its entry.
Maintenance use only: 1. Edit the Tfd log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:tfdnotice|ForMultilingualTrans|module=yes}} ~~~~ on their talk page(s). |
External links[edit source]
- Module:ForMultilingualTrans at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
local p = {}
local SA = require 'Module:SimpleArgs'
local function I18nStr (S, ...)
return require('Module:TNT').format('I18n/ForMultilingualTrans', S, {...})
end
local RS_ForTranslation = 'ForTranslation'
function p.Mess (frame)
local args = SA.GetArgs (frame)
local S = args[1] or ''
if S == '' then
return ''
else
local Pos = string.find(S, '/')
if Pos ~= nil then
S = string.sub (S, 1, Pos-1)
end
S = 'Data:I18n/'..S..'.tab'
return I18nStr(RS_ForTranslation, '[[:Commons:'..S..'|'..S..']]')
end
end
return p