Changes

m
<code>rt</code> in any name are Japanese Katakana, no exception
Line 87: Line 87:  
local JaName = ""
 
local JaName = ""
 
if shipNum == 147 or shipNum == 311 or shipNum == 312 or shipNum == 316  then --Russian ship (Verniy and Gangut) markup
 
if shipNum == 147 or shipNum == 311 or shipNum == 312 or shipNum == 316  then --Russian ship (Verniy and Gangut) markup
JaName = '<ruby lang="ru" xml:lang="ru"><rb>' .. kanji .. '</rb><rp> (</rp><rt>' .. shipmodule.data[shipNum]["name"][2] .. '</rt><rp>) </rp></ruby>' .. frame:expandTemplate{ title = 'lang', args = { ru , form } }
+
JaName = '<ruby lang="ru" xml:lang="ru"><rb>' .. kanji .. '</rb><rp> (</rp><rt lang="ja">' .. shipmodule.data[shipNum]["name"][2] .. '</rt><rp>) </rp></ruby>' .. frame:expandTemplate{ title = 'lang', args = { ru , form } }
 
else
 
else
 
JaName = frame:expandTemplate{ title = 'ruby-ja', args = { kanji , shipmodule.data[shipNum]["name"][2] } } .. frame:expandTemplate{ title = 'lang', args = { ja , form } }
 
JaName = frame:expandTemplate{ title = 'ruby-ja', args = { kanji , shipmodule.data[shipNum]["name"][2] } } .. frame:expandTemplate{ title = 'lang', args = { ja , form } }
6,043

edits