Line 309: |
Line 309: |
| table.insert(values, row_values) | | table.insert(values, row_values) |
| if values[2] == "empty" then | | if values[2] == "empty" then |
− | table.insert(self._rows, format{self._empty_node_template, values = { node = values[1] } }) | + | table.insert(self._rows, format{self._empty_node_template, values = { node = Formatting:japanese_text(values[1]) } }) |
| elseif values[2] == "select" then | | elseif values[2] == "select" then |
− | table.insert(self._rows, format{self._selection_node_template, values = { node = values[1] } }) | + | table.insert(self._rows, format{self._selection_node_template, values = { node = Formatting:japanese_text(values[1]) } }) |
| else | | else |
| local resource = Formatting:format_image{values[2] .. ".png", caption = self:upcase(values[2]), size = "22x22px"} | | local resource = Formatting:format_image{values[2] .. ".png", caption = self:upcase(values[2]), size = "22x22px"} |
Line 320: |
Line 320: |
| end | | end |
| table.insert(self._rows, format{self._resource_node_template, values = { | | table.insert(self._rows, format{self._resource_node_template, values = { |
− | node = values[1], | + | node = Formatting:japanese_text(values[1]), |
| text = text, | | text = text, |
| node_type = node_type, | | node_type = node_type, |