Modul:ja-headword: Redaktələr arasındakı fərq

Silinən məzmun Əlavə edilmiş məzmun
Redaktənin izahı yoxdur
Redaktənin izahı yoxdur
 
Sətir 126:
-- add link manually for WT:ACCEL unless headword is for suru verb
if poscat == "suru verbs" then
table.insert(inflections, {label = "romajiromaci", "[[" .. rom .. "]] [[suru]]"})
elseif detect_result then
-- only accelerate romaji creation for kana entries
table.insert(inflections, {label = "romajiromaci", accel = "romanized-form-of", rom})
else
table.insert(inflections, {label = "romajiromaci", rom})
end
end
Sətir 175:
end
if i>1 and alternative then labelval = "alternative reading"
elseif detect_kana_script(allkana[i]) == 'both' then labelval = "hiraganahiraqana and katakana"
elseif detect_kana_script(allkana[i]) == 'hira' then labelval = "hiraganahiraqana"
else labelval = "katakana" end
 
Sətir 214:
if hhira ~= "" then
if poscat == "suru verbs" then
table.insert(inflections, {label = "historicaltarixi hiraganahiraqana", "[[" .. hhira .. "]][[する]]"})
else
table.insert(inflections, {label = "historicaltarixi hiraganahiraqana", hhira})
end
end
Sətir 239:
local function extra_categorization(categories, PAGENAME, katakana_category)
-- if PAGENAME is hiragana, put in that category, same for katakana (but do it at the end)
if detect_kana_script(PAGENAME) == 'hira' then table.insert(categories, "Yapon hiraganahiraqana") end
if detect_kana_script(PAGENAME) == 'kata' then table.insert(katakana_category, "Yapon katakana") end
if mw.ustring.find(PAGENAME, "[^" .. Japanese_scripts_range .. "]") and mw.ustring.find(PAGENAME, '[' .. Japanese_scripts_range .. ']') then
Sətir 319:
 
if infl ~= "" then
if infl == "i" or infl == "い" then table.insert(inflections, {label = "-i inflectionfleksiyası"}); table.insert(categories, "Japanese い-i adjectives") end
if infl == "na" or infl == "な" then table.insert(inflections, {label = "-na inflectionfleksiyası"}); table.insert(categories, "Japanese な-na adjectives") end
if infl == "nari" or infl == "なり" then table.insert(inflections, {label = "-nari inflectionfleksiyası"}); table.insert(categories, "Japanese なり-nari adjectives") end
if infl == "tari" or infl == "たり" then table.insert(inflections, {label = "-tari inflectionfleksiyası"}); table.insert(categories, "Japanese たり-tari adjectives") end
end
end