• 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
break between name and japanese name first
Line 221: Line 221:  
function ShipModernizationListKai:name(ship)
 
function ShipModernizationListKai:name(ship)
 
local link, text, section = ship:link()
 
local link, text, section = ship:link()
local value = {Formatting:format_link(link, text, section)}
+
local value = {Formatting:inline_block(Formatting:format_link(link, text, section))}
 
local japanese_name = ship:japanese_name()
 
local japanese_name = ship:japanese_name()
 
if japanese_name and (text or link) ~= japanese_name then
 
if japanese_name and (text or link) ~= japanese_name then
table.insert(value, Formatting:format_stat(ship:japanese_name()))
+
table.insert(value, Formatting:inline_block(Formatting:format_stat(ship:japanese_name())))
 
end
 
end
 
return {values = {value = table.concat(value, " ")}, bg_color = self._transparent, text_align = self._start_align}
 
return {values = {value = table.concat(value, " ")}, bg_color = self._transparent, text_align = self._start_align}
Anonymous user

Navigation menu