Line 6: |
Line 6: |
| local Formatting = require('Module:Formatting') | | local Formatting = require('Module:Formatting') |
| local format = require('Module:Utils').format | | local format = require('Module:Utils').format |
| + | |
| + | local t = require('Module:I18N').t |
| + | local hh = require('Module:View/Flat') |
| | | |
| local ShipInfoKai = BaseData{ | | local ShipInfoKai = BaseData{ |
− | _unbuildable = "''Unbuildable''", | + | _unbuildable = hh.i(t('Unbuildable')), |
− | _remodel_level = "'''Remodel Level'''", | + | _remodel_level = hh.b(t('Remodel Level')), |
− | _build_time = "'''Build Time'''", | + | _build_time = hh.b(t('Build Time')), |
| _default_slot_num = 4, | | _default_slot_num = 4, |
− | _normal_construction = "Normal", | + | _normal_construction = t('Normal'), |
| _normal_construction_category = ":Category:Ships buildable in Normal Construction", | | _normal_construction_category = ":Category:Ships buildable in Normal Construction", |
| _large_ship_construction = "LSC", | | _large_ship_construction = "LSC", |
| _large_ship_construction_category = ":Category:Ships buildable in Large Ship Construction", | | _large_ship_construction_category = ":Category:Ships buildable in Large Ship Construction", |
| _ship_data_documentation = "Template:ShipDataDocumentation/EditIntro", | | _ship_data_documentation = "Template:ShipDataDocumentation/EditIntro", |
− | _edit_link_text = "Edit", | + | _edit_link_text = t('Edit'), |
| _localized_name_template = "<br />''${localized_name}''", | | _localized_name_template = "<br />''${localized_name}''", |
| _kekkon_max_template = "Maximum after marriage: ${value}", | | _kekkon_max_template = "Maximum after marriage: ${value}", |