Merge branch 'i18n_db' of https://github.com/pyfa-org/Pyfa into i18n_db
This commit is contained in:
@@ -10,7 +10,6 @@ matrix:
|
|||||||
osx_image: xcode11.3
|
osx_image: xcode11.3
|
||||||
language: generic
|
language: generic
|
||||||
before_install:
|
before_install:
|
||||||
- git lfs pull
|
|
||||||
- bash scripts/setup-osx.sh
|
- bash scripts/setup-osx.sh
|
||||||
install:
|
install:
|
||||||
- python3 scripts/compile_lang.py
|
- python3 scripts/compile_lang.py
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ class ShipBrowser(wx.Panel):
|
|||||||
if len(self.categoryList) == 0:
|
if len(self.categoryList) == 0:
|
||||||
# set cache of category list
|
# set cache of category list
|
||||||
self.categoryList = list(sMkt.getShipRoot())
|
self.categoryList = list(sMkt.getShipRoot())
|
||||||
self.categoryList.sort(key=lambda _ship: _ship.name)
|
self.categoryList.sort(key=lambda _ship: _ship.displayName)
|
||||||
|
|
||||||
counts = sFit.countAllFitsGroupedByShip()
|
counts = sFit.countAllFitsGroupedByShip()
|
||||||
|
|
||||||
@@ -176,7 +176,7 @@ class ShipBrowser(wx.Panel):
|
|||||||
if self.filterShipsWithNoFits and not self.categoryFitCache[ship.ID]:
|
if self.filterShipsWithNoFits and not self.categoryFitCache[ship.ID]:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
self.lpane.AddWidget(CategoryItem(self.lpane, ship.ID, (ship.name, 0)))
|
self.lpane.AddWidget(CategoryItem(self.lpane, ship.ID, (ship.displayName, 0)))
|
||||||
|
|
||||||
self.navpanel.ShowSwitchEmptyGroupsButton(True)
|
self.navpanel.ShowSwitchEmptyGroupsButton(True)
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ msgstr ""
|
|||||||
"Project-Id-Version: pyfa 2.22.0\n"
|
"Project-Id-Version: pyfa 2.22.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-06-23 16:36+0800\n"
|
"POT-Creation-Date: 2020-06-23 16:36+0800\n"
|
||||||
"PO-Revision-Date: 2020-06-23 16:43+0800\n"
|
"PO-Revision-Date: 2020-06-29 10:48+0800\n"
|
||||||
"Last-Translator: zhaoweny <zhaoweny@users.noreply.github.com>\n"
|
"Last-Translator: zhaoweny <zhaoweny@users.noreply.github.com>\n"
|
||||||
"Language-Team: Chinese (simplified)\n"
|
"Language-Team: Chinese (simplified)\n"
|
||||||
"Language: zh_CN\n"
|
"Language: zh_CN\n"
|
||||||
@@ -384,6 +384,12 @@ msgstr "战列"
|
|||||||
msgid "Be aware that already processed fits were not saved"
|
msgid "Be aware that already processed fits were not saved"
|
||||||
msgstr "请注意已处理的装配未作保存"
|
msgstr "请注意已处理的装配未作保存"
|
||||||
|
|
||||||
|
msgid "Bioluminescence"
|
||||||
|
msgstr "生物荧光"
|
||||||
|
|
||||||
|
msgid "Black Hole"
|
||||||
|
msgstr "黑洞"
|
||||||
|
|
||||||
#: gui/builtinAdditionPanes/boosterView.py:215
|
#: gui/builtinAdditionPanes/boosterView.py:215
|
||||||
msgid "Booster"
|
msgid "Booster"
|
||||||
msgstr "增效剂"
|
msgstr "增效剂"
|
||||||
@@ -445,6 +451,12 @@ msgstr "货舱:"
|
|||||||
msgid "Carrier"
|
msgid "Carrier"
|
||||||
msgstr "航母"
|
msgstr "航母"
|
||||||
|
|
||||||
|
msgid "Cataclysmic Variable"
|
||||||
|
msgstr "激变变星"
|
||||||
|
|
||||||
|
msgid "Caustic"
|
||||||
|
msgstr "腐蚀"
|
||||||
|
|
||||||
#: gui/builtinPreferenceViews/pyfaLoggingPreferences.py:47
|
#: gui/builtinPreferenceViews/pyfaLoggingPreferences.py:47
|
||||||
msgid "Cert Path:"
|
msgid "Cert Path:"
|
||||||
msgstr "证书路径:"
|
msgstr "证书路径:"
|
||||||
@@ -1069,6 +1081,9 @@ msgstr "激活的铁骑舰载机中队"
|
|||||||
msgid "Fighters"
|
msgid "Fighters"
|
||||||
msgstr "铁骑舰载机"
|
msgstr "铁骑舰载机"
|
||||||
|
|
||||||
|
msgid "Filament"
|
||||||
|
msgstr "纤维"
|
||||||
|
|
||||||
#: gui/builtinContextMenus/itemFill.py:32
|
#: gui/builtinContextMenus/itemFill.py:32
|
||||||
msgid "Fill With Module"
|
msgid "Fill With Module"
|
||||||
msgstr "用该模块填满空白槽位"
|
msgstr "用该模块填满空白槽位"
|
||||||
@@ -1420,6 +1435,9 @@ msgstr "日志"
|
|||||||
msgid "Login Authentication Method"
|
msgid "Login Authentication Method"
|
||||||
msgstr "登录鉴权模式"
|
msgstr "登录鉴权模式"
|
||||||
|
|
||||||
|
msgid "Magnetar"
|
||||||
|
msgstr "磁星"
|
||||||
|
|
||||||
#: gui/builtinStatsViews/targetingMiscViewMinimal.py:114
|
#: gui/builtinStatsViews/targetingMiscViewMinimal.py:114
|
||||||
msgid "Maintenance bay"
|
msgid "Maintenance bay"
|
||||||
msgstr "维护舱"
|
msgstr "维护舱"
|
||||||
@@ -1751,6 +1769,9 @@ msgstr "属性"
|
|||||||
msgid "Proxy settings"
|
msgid "Proxy settings"
|
||||||
msgstr "代理设置"
|
msgstr "代理设置"
|
||||||
|
|
||||||
|
msgid "Pulsar"
|
||||||
|
msgstr "脉冲星"
|
||||||
|
|
||||||
#: gui/aboutData.py:49
|
#: gui/aboutData.py:49
|
||||||
msgid ""
|
msgid ""
|
||||||
"Pyfa (the Python Fitting Assistant) is an open-source standalone application "
|
"Pyfa (the Python Fitting Assistant) is an open-source standalone application "
|
||||||
@@ -1823,6 +1844,9 @@ msgstr "最近使用的装配"
|
|||||||
msgid "Recharge rates"
|
msgid "Recharge rates"
|
||||||
msgstr "回充速度"
|
msgstr "回充速度"
|
||||||
|
|
||||||
|
msgid "Red Giant"
|
||||||
|
msgstr "红巨星"
|
||||||
|
|
||||||
#: gui/mainMenuBar.py:84
|
#: gui/mainMenuBar.py:84
|
||||||
msgid "Redo the most recent undone action"
|
msgid "Redo the most recent undone action"
|
||||||
msgstr "恢复最近一次撤销的操作"
|
msgstr "恢复最近一次撤销的操作"
|
||||||
@@ -1925,6 +1949,9 @@ msgstr "单点登录(SSO)模式"
|
|||||||
msgid "Salvage hold"
|
msgid "Salvage hold"
|
||||||
msgstr "打捞件仓"
|
msgstr "打捞件仓"
|
||||||
|
|
||||||
|
msgid "Sansha Incursion"
|
||||||
|
msgstr "萨沙入侵"
|
||||||
|
|
||||||
#: gui/mainFrame.py:860
|
#: gui/mainFrame.py:860
|
||||||
msgid "Save Backup As..."
|
msgid "Save Backup As..."
|
||||||
msgstr "保存备份为..."
|
msgstr "保存备份为..."
|
||||||
@@ -2138,6 +2165,11 @@ msgstr "有{0}个未提示的版本更新"
|
|||||||
msgid "Sustained"
|
msgid "Sustained"
|
||||||
msgstr "持续回充"
|
msgstr "持续回充"
|
||||||
|
|
||||||
|
# These aren't typical translations. They need to map exactly to sub strings of the item names in the database
|
||||||
|
# to produce the proper context menu tree for environmental effects
|
||||||
|
msgid "System Effects"
|
||||||
|
msgstr "星系效果"
|
||||||
|
|
||||||
#: gui/builtinContextMenus/shipModeChange.py:32
|
#: gui/builtinContextMenus/shipModeChange.py:32
|
||||||
#: gui/builtinViews/fittingView.py:657
|
#: gui/builtinViews/fittingView.py:657
|
||||||
msgid "Tactical Mode"
|
msgid "Tactical Mode"
|
||||||
@@ -2321,6 +2353,9 @@ msgstr "总计:"
|
|||||||
msgid "Traits"
|
msgid "Traits"
|
||||||
msgstr "特征"
|
msgstr "特征"
|
||||||
|
|
||||||
|
msgid "Triglavian Invasion"
|
||||||
|
msgstr "三神裔入侵"
|
||||||
|
|
||||||
#: gui/builtinStatsViews/resourcesViewFull.py:111
|
#: gui/builtinStatsViews/resourcesViewFull.py:111
|
||||||
msgid "Turret hardpoints"
|
msgid "Turret hardpoints"
|
||||||
msgstr "炮台"
|
msgstr "炮台"
|
||||||
@@ -2427,6 +2462,9 @@ msgstr ""
|
|||||||
"启用时,技能级别变化时将检查并移除未达等级要求的相关技能。\n"
|
"启用时,技能级别变化时将检查并移除未达等级要求的相关技能。\n"
|
||||||
"例如:将无人机从5级设置为4级将移除重型无人机操作技能,因为该技能要求无人机5级"
|
"例如:将无人机从5级设置为4级将移除重型无人机操作技能,因为该技能要求无人机5级"
|
||||||
|
|
||||||
|
msgid "Wolf Rayet"
|
||||||
|
msgstr "沃尔夫-拉叶星"
|
||||||
|
|
||||||
#: gui/builtinItemStatsViews/itemEffects.py:56
|
#: gui/builtinItemStatsViews/itemEffects.py:56
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "是"
|
msgstr "是"
|
||||||
@@ -2508,44 +2546,3 @@ msgstr "复制{}"
|
|||||||
#: gui/builtinContextMenus/itemStats.py:38
|
#: gui/builtinContextMenus/itemStats.py:38
|
||||||
msgid "{} Stats"
|
msgid "{} Stats"
|
||||||
msgstr "{}属性"
|
msgstr "{}属性"
|
||||||
|
|
||||||
# These aren't typical translations. They need to map exactly to sub strings of the item names in the database
|
|
||||||
# to produce the proper context menu tree for environmental effects
|
|
||||||
msgid "System Effects"
|
|
||||||
msgstr "星系效果"
|
|
||||||
|
|
||||||
msgid "Effects"
|
|
||||||
msgstr "效果光束"
|
|
||||||
|
|
||||||
msgid "Black Hole"
|
|
||||||
msgstr "黑洞"
|
|
||||||
|
|
||||||
msgid "Cataclysmic Variable"
|
|
||||||
msgstr "激变变星"
|
|
||||||
|
|
||||||
msgid "Magnetar"
|
|
||||||
msgstr "磁星"
|
|
||||||
|
|
||||||
msgid "Pulsar"
|
|
||||||
msgstr "脉冲星"
|
|
||||||
|
|
||||||
msgid "Red Giant"
|
|
||||||
msgstr "红巨星"
|
|
||||||
|
|
||||||
msgid "Wolf Rayet"
|
|
||||||
msgstr "沃尔夫-拉叶星"
|
|
||||||
|
|
||||||
msgid "Sansha Incursion"
|
|
||||||
msgstr "萨沙入侵"
|
|
||||||
|
|
||||||
msgid "Triglavian Invasion"
|
|
||||||
msgstr "三神裔入侵"
|
|
||||||
|
|
||||||
msgid "Bioluminescence"
|
|
||||||
msgstr "型生物荧光"
|
|
||||||
|
|
||||||
msgid "Caustic"
|
|
||||||
msgstr "腐蚀"
|
|
||||||
|
|
||||||
msgid "Filament"
|
|
||||||
msgstr "纤维"
|
|
||||||
@@ -37,6 +37,7 @@ from service.jargon import JargonLoader
|
|||||||
from service.settings import SettingsProvider
|
from service.settings import SettingsProvider
|
||||||
|
|
||||||
pyfalog = Logger(__name__)
|
pyfalog = Logger(__name__)
|
||||||
|
_t = wx.GetTranslation
|
||||||
|
|
||||||
# Event which tells threads dependent on Market that it's initialized
|
# Event which tells threads dependent on Market that it's initialized
|
||||||
mktRdy = threading.Event()
|
mktRdy = threading.Event()
|
||||||
@@ -262,6 +263,7 @@ class Market:
|
|||||||
self.les_grp = types_Group()
|
self.les_grp = types_Group()
|
||||||
self.les_grp.ID = -1
|
self.les_grp.ID = -1
|
||||||
self.les_grp.name = "Limited Issue Ships"
|
self.les_grp.name = "Limited Issue Ships"
|
||||||
|
self.les_grp.displayName = _t("Limited Issue Ships")
|
||||||
self.les_grp.published = True
|
self.les_grp.published = True
|
||||||
ships = self.getCategory("Ship")
|
ships = self.getCategory("Ship")
|
||||||
self.les_grp.category = ships
|
self.les_grp.category = ships
|
||||||
|
|||||||
Reference in New Issue
Block a user