Skip to content

Commit

Permalink
position translate
Browse files Browse the repository at this point in the history
  • Loading branch information
shrekshao committed May 23, 2023
1 parent 65c397c commit b77c09a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions _i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions _i18n/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ player:
position: 位置
goals: 进球
assists: 助攻
门将: 门将
后卫: 后卫
中场: 中场
前锋: 前锋
champion: 冠军
knockout_stage: 淘汰赛阶段
group_stage: 小组赛阶段
Expand Down
2 changes: 1 addition & 1 deletion _includes/player_table_line.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
</td>
<td>{{ include.player.name }}</td>
<td>{{ include.player.position }}</td>
<td>{% t include.player.position %}</td>
<td>{{ include.player.goals }}</td>
<td>{{ include.player.assists }}</td>
</tr>

0 comments on commit b77c09a

Please sign in to comment.