• 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
no edit summary
Line 521: Line 521:  
            end
 
            end
 
            table.insert(values, row_values)
 
            table.insert(values, row_values)
 +
            local world = self._params.world
 +
            local map = self._params.map
 +
            local node = values[1]
 +
            local nodeString = string.format("%s %s %s", world, map, node)
 
            local kind = values[2] == "select" and 2 or self._args.kind
 
            local kind = values[2] == "select" and 2 or self._args.kind
            local nodeText = mapNodeTranslations[kind]
+
            local nodeText = mapNodeTranslations[nodeString] or mapNodeTranslations[kind]
 
            if values[2] == "empty" then
 
            if values[2] == "empty" then
 
                table.insert(self._rows, format{
 
                table.insert(self._rows, format{
 
                    self._simple_node_template,
 
                    self._simple_node_template,
                    node = Formatting:japanese_text(values[1]),
+
                    node = node,
 
                    en = nodeText and nodeText.en or self._empty_node_en,
 
                    en = nodeText and nodeText.en or self._empty_node_en,
 
                    ja = nodeText and nodeText.ja or self._empty_node_ja,
 
                    ja = nodeText and nodeText.ja or self._empty_node_ja,
Line 533: Line 537:  
                table.insert(self._rows, format{
 
                table.insert(self._rows, format{
 
                    self._simple_node_template,
 
                    self._simple_node_template,
                    node = Formatting:japanese_text(values[1]),
+
                    node = node,
 
                    en = nodeText and nodeText.en or self._select_node_en,
 
                    en = nodeText and nodeText.en or self._select_node_en,
 
                    ja = nodeText and nodeText.ja or self._select_node_ja,
 
                    ja = nodeText and nodeText.ja or self._select_node_ja,
Line 545: Line 549:  
                end
 
                end
 
                 table.insert(self._rows, format{self._resource_node_template, values = {
 
                 table.insert(self._rows, format{self._resource_node_template, values = {
                     node = Formatting:japanese_text(values[1]),
+
                     node = node,
 
                     text = text,
 
                     text = text,
 
                     color = color,
 
                     color = color,
cssedit, gkautomate
6,928

edits

Navigation menu