• 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
Tag japanese text with lang="ja"
Line 101: Line 101:  
local list_reading = equipment:list_reading()
 
local list_reading = equipment:list_reading()
 
if list_reading ~= false then
 
if list_reading ~= false then
list_japanese_name = Formatting:tooltip(Formatting:format_stat(list_japanese_name), Formatting:format_stat(list_reading))
+
list_japanese_name = tostring(Formatting:japanese_text{Formatting:format_stat(list_japanese_name), Formatting:format_stat(list_reading)})
 
end
 
end
 
local list_localized_name = equipment:list_localized_name()
 
local list_localized_name = equipment:list_localized_name()
Line 115: Line 115:  
local library_reading = equipment:library_reading()
 
local library_reading = equipment:library_reading()
 
if library_reading ~= false then
 
if library_reading ~= false then
library_japanese_name = Formatting:tooltip(Formatting:format_stat(library_japanese_name), Formatting:format_stat(library_reading))
+
library_japanese_name = tostring(Formatting:japanese_text{Formatting:format_stat(library_japanese_name), Formatting:format_stat(library_reading)})
 
end
 
end
 
local library_localized_name = equipment:library_localized_name()
 
local library_localized_name = equipment:library_localized_name()
Line 129: Line 129:  
local comparison_reading = equipment:comparison_reading()
 
local comparison_reading = equipment:comparison_reading()
 
if comparison_reading ~= false then
 
if comparison_reading ~= false then
comparison_japanese_name = Formatting:tooltip(Formatting:format_stat(comparison_japanese_name), Formatting:format_stat(comparison_reading))
+
comparison_japanese_name = tostring(Formatting:japanese_text{Formatting:format_stat(comparison_japanese_name), Formatting:format_stat(comparison_reading)})
 
end
 
end
 
local comparison_localized_name = equipment:comparison_localized_name()
 
local comparison_localized_name = equipment:comparison_localized_name()
Line 150: Line 150:     
function EquipmentInfoKai:japanese_name(equipment)
 
function EquipmentInfoKai:japanese_name(equipment)
return Formatting:tooltip(Formatting:format_stat(equipment:japanese_name()), Formatting:format_stat(equipment:reading()))
+
return tostring(Formatting:japanese_text{Formatting:format_stat(equipment:japanese_name()), Formatting:format_stat(equipment:reading())})
 
end
 
end
  
Anonymous user

Navigation menu