Skip to content

Commit

Permalink
Fix and Update Chinese Translation (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alumopper authored Nov 10, 2023
1 parent a1317cb commit 1244b13
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 18 deletions.
3 changes: 3 additions & 0 deletions i18n/locales/zh-si/CUSTOM_DESCR.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
TID_YS_SECTORS: '注意:星区的编号在它们所处的“簇”中是随机的,但是簇的划分和短距扫描仪无关。起始的六个星区除外——它们不是随机的。'
}
95 changes: 89 additions & 6 deletions i18n/locales/zh-si/game.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,93 @@
UNLOCK_PRICE: '解锁价格',
UNLOCK_BLUEPRINTS: '解锁蓝图',
UNLOCK_TIME: '解锁时间',
WS_SCORE: 'WS 得分了',
BLS_SCORE: 'BS 得分了',
HYD: 'hyd',
AU: 'AU',
WS: 'WS',
BS: 'BS'
HYD: '氢气',
AU: '天文单位',
WS: '白星',
BS: '蓝星',
BLS: 'BS',
RS: '红星',
PvP: 'PVP',
PVE: 'PVE',
UPGRADE_COST: '升级费用',
UPGRADE_TIME: '升级时间',
NEW_MODULE_SLOTS: '附加模组槽位的类型',
INITIAL_MODULE_LEVELS: '模组等级',
MAX_PER_STAR_SYSTEM: '每个恒星系统能建造的最大数量',
MAX_PER_SECTOR: '每个星区能建造的最大数量',
CERBERUS: '冥犬',
SECTIONS: '星区',
FLAGSHIP_MODULES: '旗舰模组',
COST: '花费',
PLANET_TYPES: '星球类型',
HYDROGEN_PER_DAY: '每日生产氢气量',
SECTORS: 'Sectors',
COLONIZATION_PLANETS: '星球殖民',
LVLS_PLANETS: '星球升级',
XP_AWARD: '获得经验值',
TIME_TO_UPGRADE: '升级时间',
MAX_SHIPMENTS: '最大储存空间',
CREDIT_SHIPMENT_MODIFIER: '货物加成',
MAX_UPGRADE_LEVEL: '最大等级',
MODEL: '模组',
SLOTS_USED: '重量',
SALVAGE_CR_REWARD: '拆解获得星币',
PRICE_IN_CRYSTALS: '购买水晶',
COMBAT_ART: '星珠',
UTILITY_ART: '蓝水晶',
SUPPORT_ART: '四面体',
BLUEPRINTS: '各等级能获取的蓝图',
MAX_INFLUENCE_GAIN: '影响力奖励上限',
MAX_INFLUENCE_LOSS: '影响力减少上限',
INFLUENCE_AWARD_THRESHOLD: '获取影响力需要的行动点数',
NUM_MAX_PLANETS: '最多星球数',
NUM_PLAYERS_WITH_ACCESS: '能容纳玩家数',
RESEARCH_SLOTS: '神器研究槽位',
ART_LEVEL: '神器等级',
MIN_RS_LEVEL: '最小红巨星等级',
MODULE: '模组',
MOVE_UPDATE_SEC: '移动等待时间',
BLS_CR_REWARD_WIN_LIMIT_PERIOD: '奖励冷却',
BLS_MAX_HYDRO_PER_DAY_PCT: '氢气奖励上限',
BLS_HYDRO_REWARD: '冠军氢气奖励',
BLS_CREDIT_REWARD: '星币奖励',
BLS_RANKED_MATCHES_PER_DAY: '每天能参与的排名次数',
BLS_SP_FACTOR: '新手包影响系数',
STAR_SECTOR_DPS: '蓝星伤害',
STAR_SECTOR_NAVPOINTS: 'Navigation points in the star sector',
MODE: '模式',
MAX_WAYPOINTS: '最大路径点数',
WS_MAX_BS_PER_PLAYER: '每玩家可派遣的最大战斗舰数',
WS_MAX_OTHER_PER_PLAYER: '每玩家可派遣的最大其他船舰数',
ON_DESTROY_SPAWN_COUNT: '在被摧毁后生成船舰数量',
BARRAGE_MAX_ADDITIONAL_ENEMIES: '可提供额外伤害的最大敌舰数',
TELEPORT_BREAKS_BOND: '瞬间传送会破坏捆绑',
LEAP_BREAKS_BOND: '信仰之跃会破坏捆绑',
BOND_BREAKS_BOND: '捆绑自身会破坏捆绑',
BOND_OVERRIDES_BARRIER: '捆绑无视屏障影响',
UNITY_MAX_DAMAGE_INCREASE_PCT: '最大伤害',
MAX_SHIPS: '最大冥犬舰队数',
SHIP_TO_SPAWN: '生成冥犬舰队',
PLANETS: '星球',
STARS: '恒星',
DRONE: '无人机',
PROJECTILE: '弹药',
PREVENT_USE_ON_WS_JUMPGATE: '在白星传送门上禁用',
SECTOR_ENRICH_COOLDOWN_SECONDS: '星区冷却时间',
SECTOR_GENESIS_COOLDOWN_SECONDS: '星区冷却时间',
STOP_COUNTDOWN_ON_DISABLE: '禁用时停止倒计时',
AREA_SHIELD: '区域护盾',
BS_ONLY: '仅用于战斗舰',
DISABLE_ACTIVATION_DURING_PREP: '在准备期间可取消',
IGNORE_BARRIER: '无视屏障',
DEACTIVATE_ON_JUMP: 'Deactivate on jump',
FUEL_SHIPMENT_MODIFIER: 'Deactivate on jump',
MOVE_RADIUS: '移动半径',
BUY_IN_PAIRS: '需要建造一对',
RS_PUBLIC_LATE_JOIN_MIN_STAR_LEVEL: '能中途加入的最小红巨星等级',
PORTRAIT: '游戏内图片',
AI_UPDATE_INTERVAL: '无人机刷新速率',
DRONES_IGNORE_BARRIER: '无人机无视屏障',
RUSH_COST_MODIFIER: '加速消耗的水晶倍率',
CLUSTER: 'Cluster'
}
46 changes: 38 additions & 8 deletions i18n/locales/zh-si/site.json5
Original file line number Diff line number Diff line change
@@ -1,10 +1,40 @@
{
TYPE_MOD_TRADE: '交易模块',
TYPE_MOD_MINING: '采矿模块',
TYPE_MOD_WEAPON: '武器模块',
TYPE_MOD_SHIELD: ' Shield模块',
TYPE_MOD_SUPPORT: '支持模块',
LVL: '水平',
HOME: 'Home',
CONTENT: '内容'
TYPE_MOD_TRADE: '交易模组',
TYPE_MOD_MINING: '采矿模组',
TYPE_MOD_WEAPON: '武器模组',
TYPE_MOD_SHIELD: '护盾模组',
TYPE_MOD_COMBAT: '战斗模组',
TYPE_MOD_DRONE: '无人机模组',
LVL: '等级',
HOME: '主页',
PLAN_LVL: '计划等级',
CURRENT_LVL: '当前等级',
REQ_BANK: '需要的星币',
RESET_ALL: '重置全部',
RESET_PLAN: '重置计划',
PLANETS_CALC: '星球计算器',
MODULES_CALC: '模组计算器',
CALCULATOR_SETTINGS: '计算器设置',
OTHER: '其他',
SWITCH_ACCS: '账号切换器 {0} [{1}]',
OPEN: '打开',
YES: '是',
NO: '否',
VALUE: '值 {0}',
ABOUT: '关于',
INPUT_VALUES: '输入值',
CONFIG: '配置',
COPY: '复制',
COPIED: '已复制',
CREATE: '创建',
LIST: '列表',
FROM_TEXT_FORMAT: 'From text format (optional)',
REMOVE_CONFIG: '删除 "{0}" 配置 ?',
UPDATED: '已更新',
CURRENT_VERSION: '当前版本',
OPEN_CHANGELOG: '打开更改日志',
DEPLOYED: '最后部署于',
MODULES_BY_ARTIFACT_TYPE: '各神器中能找到的模组蓝图',
COMPACT_MODE: '紧凑模式',
COMPACT_MODE_NOTE: '警告!除非你知道你在做什么,否则不要关掉它'
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
"type": "git",
"url": "git+https://github.com/userXinos/HadesSpace.git"
}
}
}
7 changes: 5 additions & 2 deletions src/components/TheNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,14 @@ $selected-color: $border-color;
list-style-type: none;
cursor: pointer;
user-select: none;
// user-drag: none; - "Unknown CSS property 'user-drag'"
.section {
display: inline-block;
margin: 10px;
&:lang('zh-si') {
width: 90px;
}
@media screen and (max-width: $mv) {
display: block;
margin: 0;
Expand All @@ -105,8 +107,9 @@ $selected-color: $border-color;
> div {
> div {
display: flex;
justify-content: space-between;
justify-content: start;
align-items: center;
gap: 5px;
@media screen and (max-width: $mv) {
justify-content: left;
Expand Down

0 comments on commit 1244b13

Please sign in to comment.