• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Add lang="ja" to japanese name span
Line 163: Line 163:     
function ShipInfoKai:japanese_name()
 
function ShipInfoKai:japanese_name()
self._vars.japanese_name = Formatting:tooltip(Formatting:format_stat(self._ship:japanese_name()), Formatting:format_stat(self._ship:reading()))
+
self._vars.japanese_name = tostring(Formatting:japanese_text{Formatting:format_stat(self._ship:japanese_name()), Formatting:format_stat(self._ship:reading())})
 
end
 
end
   Line 172: Line 172:  
local reading_nick = self._ship:reading_nick()
 
local reading_nick = self._ship:reading_nick()
 
if reading_nick then
 
if reading_nick then
japanese_nick = Formatting:tooltip(japanese_nick, reading_nick)
+
japanese_nick = tostring(Formatting:japanese_text{japanese_nick, reading_nick})
 
end
 
end
 
self._vars.nick = format{self._nick_template, nick = nick, japanese_nick = japanese_nick}
 
self._vars.nick = format{self._nick_template, nick = nick, japanese_nick = japanese_nick}
Anonymous user

Navigation menu