Module:Triple tab Prayer/label text and translate
Appearance
Documentation for this module may be created at Module:Triple tab Prayer/label text and translate/doc
local p = {}
function p.TextAndTranslate(frame)
local lang = frame.args[1] or mw.language.getContentLanguage():getCode()
local translations = {
ar = "نص وترجمة",
za = "文本和翻译",
bn = "টেক্সট এবং অনুবাদ",
de = "Text und Übersetzung",
en = "Text and Translation",
es = "Texto y Traducción",
fa = "متن و ترجمه",
fr = "Texte et Traduction",
ha = "Rubutu da Fassara",
hi = "पाठ और अनुवाद",
id = "Teks dan Terjemahan",
it = "Testo e Traduzione",
my = "စာသားနှင့်ဘာသာပြန်ချက်",
ps = "متن او ژباړه",
pt = "Texto e Tradução",
ru = "Текст и Перевод",
sw = "Maandishi na Tafsiri",
tg = "Матн ва Тарҷума",
th = "ข้อความและการแปล",
tr = "Metin ve Çeviri",
ur = "متن اور ترجمہ",
zh = "文本和翻译"
}
-- Default to English if the language is not in the list
local text = translations[lang] or translations["{{CONTENTLANGUAGE}}"]
return text
end
return p
--[[Category:Template:Triple tab Prayer]]