Changes
Tag japanese text with lang="ja"
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()
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()
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()
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