From b77c09a3546481452d1abe134233c100732d793d Mon Sep 17 00:00:00 2001 From: shrekshao Date: Mon, 22 May 2023 23:05:43 -0700 Subject: [PATCH] position translate --- _i18n/en.yml | 4 ++++ _i18n/zh.yml | 4 ++++ _includes/player_table_line.html | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/_i18n/en.yml b/_i18n/en.yml index 082fe4a..1cab616 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -23,6 +23,10 @@ player: position: Position goals: Goals assists: Assists +门将: GK +后卫: DF +中场: MF +前锋: FW champion: Champion knockout_stage: Knockout Stage group_stage: Group Stage diff --git a/_i18n/zh.yml b/_i18n/zh.yml index 5fb918e..9c4f312 100644 --- a/_i18n/zh.yml +++ b/_i18n/zh.yml @@ -23,6 +23,10 @@ player: position: 位置 goals: 进球 assists: 助攻 +门将: 门将 +后卫: 后卫 +中场: 中场 +前锋: 前锋 champion: 冠军 knockout_stage: 淘汰赛阶段 group_stage: 小组赛阶段 diff --git a/_includes/player_table_line.html b/_includes/player_table_line.html index fd12ace..d6a418c 100644 --- a/_includes/player_table_line.html +++ b/_includes/player_table_line.html @@ -6,7 +6,7 @@ {{ include.player.name }} - {{ include.player.position }} + {% t include.player.position %} {{ include.player.goals }} {{ include.player.assists }} \ No newline at end of file