Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
bc8d4c08
Commit
bc8d4c08
authored
Jul 16, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix missing i18n strings
parent
bc5b5788
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
app/lobby.component.html
app/lobby.component.html
+1
-1
app/ygopro.component.html
app/ygopro.component.html
+17
-17
No files found.
app/lobby.component.html
View file @
bc8d4c08
...
...
@@ -3,7 +3,7 @@
<nav
id=
"apps"
*ngIf=
"apps"
class=
"bg-faded sidebar scroll"
>
<div
id=
"search"
class=
"input-group"
>
<i
class=
"fa fa-search input-group-addon search"
id=
"basic-addon1"
></i>
<input
#search
id=
"search-input"
type=
"text"
class=
"form-control search"
placeholder=
"搜索游戏"
aria-describedby=
"basic-addon1"
>
<input
i18n-placeholder
#search
id=
"search-input"
type=
"text"
class=
"form-control search"
placeholder=
"搜索游戏"
aria-describedby=
"basic-addon1"
>
</div>
<span
i18n
*ngIf=
"grouped_apps.installed"
>
已安装
</span>
...
...
app/ygopro.component.html
View file @
bc8d4c08
...
...
@@ -80,19 +80,19 @@
<td
class=
"extra"
>
<span
*ngIf=
"room.options.rule != default_options.rule"
>
{{{'0': 'OCG', '1': 'TCG', '2': 'O/T', '3': '专有卡禁止'}[room.options.rule]}}
</span>
<span
i18n
*ngIf=
"room.options.start_lp != default_options.start_lp"
>
{{room.options.start_lp}}LP
</span>
<span
i18n
*ngIf=
"room.options.start_hand != default_options.start_hand"
title=
"初始起手数量"
>
{{room.options.start_hand}}初始
</span>
<span
i18n
*ngIf=
"room.options.draw_count != default_options.draw_count"
title=
"每回合抽卡数量"
>
{{room.options.draw_count}}抽卡
</span>
<span
i18n
*ngIf=
"room.options.enable_priority != default_options.enable_priority"
title=
"上个版本的大师规则"
>
旧规则
</span>
<span
i18n
*ngIf=
"room.options.no_check_deck != default_options.no_check_deck"
title=
"不检查卡组是否合规"
>
不检查
</span>
<span
i18n
*ngIf=
"room.options.no_shuffle_deck != default_options.no_shuffle_deck"
title=
"任何时候都不洗切卡组"
>
不洗卡
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.start_hand != default_options.start_hand"
title=
"初始起手数量"
>
{{room.options.start_hand}}初始
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.draw_count != default_options.draw_count"
title=
"每回合抽卡数量"
>
{{room.options.draw_count}}抽卡
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.enable_priority != default_options.enable_priority"
title=
"上个版本的大师规则"
>
旧规则
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.no_check_deck != default_options.no_check_deck"
title=
"不检查卡组是否合规"
>
不检查
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.no_shuffle_deck != default_options.no_shuffle_deck"
title=
"任何时候都不洗切卡组"
>
不洗卡
</span>
</td>
</tr>
</tbody>
</table>
<div
id=
"join-private"
class=
"input-group input-group-sm"
>
<i
class=
"fa fa-key input-group-addon"
aria-hidden=
"true"
></i>
<input
[(ngModel)]=
"join_password"
type=
"text"
class=
"form-control"
placeholder=
"在这输入你朋友的私密房间密码就可以进去了哦!"
>
<span
class=
"input-group-btn"
><button
class=
"btn btn-secondary"
type=
"button"
(click)=
"join_private(join_password)"
>
加入私密房间
</button></span>
<input
[(ngModel)]=
"join_password"
type=
"text"
class=
"form-control"
i18n-placeholder
placeholder=
"在这输入你朋友的私密房间密码就可以进去了哦!"
>
<span
i18n
class=
"input-group-btn"
><button
class=
"btn btn-secondary"
type=
"button"
(click)=
"join_private(join_password)"
>
加入私密房间
</button></span>
</div>
</div>
...
...
@@ -103,18 +103,18 @@
<ng-container
*ngIf=
"!room.private; else private"
>
<label
i18n
for=
"game-create-title"
>
游戏标题
</label>
<input
type=
"text"
maxlength=
"12"
class=
"form-control form-control-sm"
id=
"game-create-title"
name=
"title"
[(ngModel)]=
"room.title"
required
[
readonly
]
>
<small
class=
"form-text text-muted"
>
最多 12 个字
</small>
<small
i18n
class=
"form-text text-muted"
>
最多 12 个字
</small>
</ng-container>
<ng-template
#private
>
<label
*ngIf=
"room.private"
for=
"game-create-title"
><i
class=
"fa fa-key"
aria-hidden=
"true"
></i>
<span
i18n
>
房间密码
</span></label>
<div
class=
"input-group input-group-sm"
>
<input
type=
"text"
maxlength=
"12"
class=
"form-control"
id=
"game-create-title"
name=
"title"
[(ngModel)]=
"host_password"
readonly
>
<span
id=
"copy-wrapper"
class=
"input-group-btn"
data-toggle=
"tooltip"
title=
"房间密码已复制到剪贴板"
>
<button
class=
"btn btn-secondary fa fa-clipboard"
type=
"button"
title=
"复制"
(click)=
"copy(host_password, $event)"
></button>
<span
i
18n-title
i
d=
"copy-wrapper"
class=
"input-group-btn"
data-toggle=
"tooltip"
title=
"房间密码已复制到剪贴板"
>
<button
i18n-title
class=
"btn btn-secondary fa fa-clipboard"
type=
"button"
title=
"复制"
(click)=
"copy(host_password, $event)"
></button>
</span>
</div>
<small
class=
"form-text text-muted"
>
把这个分享给你的朋友
</small>
<small
i18n
class=
"form-text text-muted"
>
把这个分享给你的朋友
</small>
</ng-template>
</div>
...
...
@@ -277,7 +277,7 @@
<span
i18n
*ngIf=
"!(room.arena || room.id.startsWith('AI#')) && room.options.mode === 2"
>
TAG
</span>
</td>
<td
class=
"title"
>
<span
*ngIf=
"room.private"
>
{{room.users[0]
&&
room.users[0].username}} 的私密房间
</span>
<span
i18n
*ngIf=
"room.private"
>
{{room.users[0]
&&
room.users[0].username}} 的私密房间
</span>
<span
i18n
*ngIf=
"room.arena || room.id.startsWith('AI#')"
>
{{room.users[0]
&&
room.users[0].username}} 跟 {{room.users[1]
&&
room.users[1].username}} 的决斗
</span>
<span
*ngIf=
"!(room.arena || room.id.startsWith('AI#') || room.private)"
>
{{room.title}}
</span>
</td>
...
...
@@ -289,11 +289,11 @@
<span
*ngIf=
"room.options.rule != default_options.rule"
>
{{{'0': 'OCG', '1': 'TCG', '2': 'O/T', '3': '专有卡禁止'}[room.options.rule]}}
</span>
<span
i18n
*ngIf=
"room.options.start_lp != default_options.start_lp && room.options.mode != 2"
>
{{room.options.start_lp}}LP
</span>
<span
i18n
*ngIf=
"room.options.start_lp != default_options.start_lp_tag && room.options.mode == 2"
>
{{room.options.start_lp}}LP
</span>
<span
i18n
*ngIf=
"room.options.start_hand != default_options.start_hand"
title=
"初始起手数量"
>
{{room.options.start_hand}}初始
</span>
<span
i18n
*ngIf=
"room.options.draw_count != default_options.draw_count"
title=
"每回合抽卡数量"
>
{{room.options.draw_count}}抽卡
</span>
<span
i18n
*ngIf=
"room.options.enable_priority != default_options.enable_priority"
title=
"上个版本的大师规则"
>
旧规则
</span>
<span
i18n
*ngIf=
"room.options.no_check_deck != default_options.no_check_deck"
title=
"不检查卡组是否合规"
>
不检查
</span>
<span
i18n
*ngIf=
"room.options.no_shuffle_deck != default_options.no_shuffle_deck"
title=
"任何时候都不洗切卡组"
>
不洗卡
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.start_hand != default_options.start_hand"
title=
"初始起手数量"
>
{{room.options.start_hand}}初始
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.draw_count != default_options.draw_count"
title=
"每回合抽卡数量"
>
{{room.options.draw_count}}抽卡
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.enable_priority != default_options.enable_priority"
title=
"上个版本的大师规则"
>
旧规则
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.no_check_deck != default_options.no_check_deck"
title=
"不检查卡组是否合规"
>
不检查
</span>
<span
i18n
i18n-title
*ngIf=
"room.options.no_shuffle_deck != default_options.no_shuffle_deck"
title=
"任何时候都不洗切卡组"
>
不洗卡
</span>
</div>
</td>
</tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment