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
722d53c5
Commit
722d53c5
authored
Feb 16, 2017
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
私聊bug,翻译
parent
c9b84c87
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
12 deletions
+16
-12
app/candy.component.ts
app/candy.component.ts
+1
-1
app/ygopro.component.html
app/ygopro.component.html
+2
-4
locale/messages.en-US.xlf
locale/messages.en-US.xlf
+12
-7
package.json
package.json
+1
-0
No files found.
app/candy.component.ts
View file @
722d53c5
...
...
@@ -112,7 +112,7 @@ Candy.View.Pane.Message.
// Before we add the new message, check to see if we should be automatically scrolling or not.
let
messagePane
=
Candy
.
View
.
Pane
.
Room
.
getPane
(
roomJid
,
'
.message-pane
'
);
let
enableScroll
;
if
(
stanza
.
children
(
'
delay
'
).
length
>
0
)
{
if
(
stanza
&&
stanza
.
children
(
'
delay
'
).
length
>
0
)
{
enableScroll
=
true
;
}
else
{
enableScroll
=
...
...
app/ygopro.component.html
View file @
722d53c5
...
...
@@ -4,7 +4,7 @@
<button
i18n
[disabled]=
"!appsService.allReady(app)"
(click)=
"request_match('entertain')"
type=
"button"
class=
"btn btn-secondary btn-sm"
>
娱乐匹配
</button>
<button
i18n
[disabled]=
"!appsService.allReady(app)"
type=
"button"
class=
"btn btn-secondary btn-sm"
data-toggle=
"modal"
data-target=
"#game-list-modal"
>
自定义游戏
</button>
<button
i18n
[disabled]=
"!appsService.allReady(app)"
type=
"button"
class=
"btn btn-secondary btn-sm"
data-toggle=
"modal"
data-target=
"#game-create-windbot"
>
单人模式
</button>
<button
i18n
[disabled]=
"!appsService.allReady(app)"
type=
"button"
class=
"btn btn-secondary btn-sm"
data-toggle=
"modal"
data-target=
"#game-replay-modal"
>
观战
和
录像
</button>
<button
i18n
[disabled]=
"!appsService.allReady(app)"
type=
"button"
class=
"btn btn-secondary btn-sm"
data-toggle=
"modal"
data-target=
"#game-replay-modal"
>
观战录像
</button>
</div>
<!-- 匹配中 -->
...
...
@@ -203,9 +203,7 @@
<th
class=
"title"
>
<span
i18n
>
游戏模式
</span>
<div
id=
"watch-filter"
class=
"dropdown"
>
<button
class=
"btn btn-secondary dropdown-toggle btn-sm"
type=
"button"
id=
"dropdownMenuButton"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
筛选
</button>
<button
i18n
class=
"btn btn-secondary dropdown-toggle btn-sm"
type=
"button"
id=
"dropdownMenuButton"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
筛选
</button>
<div
class=
"dropdown-menu"
>
<h6
i18n
class=
"dropdown-header"
>
匹配
</h6>
<div
class=
"form-check dropdown-item"
>
...
...
locale/messages.en-US.xlf
View file @
722d53c5
...
...
@@ -3,27 +3,27 @@
<body>
<trans-unit
datatype=
"html"
id=
"86738bd5d32223ffbb690a7c71360ddf8e7b1b2e"
>
<source>
竞技匹配
</source>
<target>
Ranked
Match
</target>
<target>
Ranked
</target>
</trans-unit>
<trans-unit
datatype=
"html"
id=
"0bf938a69dc640aba46428d1cbbd2fef34c88daa"
>
<source>
娱乐匹配
</source>
<target>
Unranked
Match
</target>
<target>
Unranked
</target>
</trans-unit>
<trans-unit
datatype=
"html"
id=
"5026868223e028297430142f8cafdf6dd6fcf004"
>
<source>
自定义游戏
</source>
<target>
Custom
Game
</target>
<target>
Custom
</target>
</trans-unit>
<trans-unit
datatype=
"html"
id=
"3768b60a7e2625bb1fc2db37eb8c6b8e4bd99101"
>
<source>
单人模式
</source>
<target>
Single Mode
</target>
<target>
Vs. Com
</target>
</trans-unit>
<trans-unit
datatype=
"html"
id=
"4
115bf4e35def25bcfa6d4e649f5e006225c691
a"
>
<source>
观战
和
录像
</source>
<target>
Watch
Replay
</target>
<trans-unit
datatype=
"html"
id=
"4
4e77a67a8818ad255773958c6b32c6280fb9fa
a"
>
<source>
观战录像
</source>
<target>
Replay
</target>
</trans-unit>
<trans-unit
datatype=
"html"
id=
"157bc28ebe7ecf3f455852f64687ea580dfe23dc"
>
...
...
@@ -195,6 +195,11 @@
<source>
游戏模式
</source>
<target>
Game Mode
</target>
</trans-unit>
<trans-unit
datatype=
"html"
id=
"b4e8477152d07e8eba5ff8e205c4531816b47292"
>
<source>
筛选
</source>
<target>
Filter
</target>
</trans-unit>
<trans-unit
datatype=
"html"
id=
"968e4d8a0f7b5eaaa1d588a738abdaa0ec389d16"
>
<source>
匹配
</source>
...
...
package.json
View file @
722d53c5
...
...
@@ -16,6 +16,7 @@
"tsc"
:
"tsc"
,
"i18n"
:
"ng-xi18n && sed -i.bak 's/source-language=
\"
en
\"
/source-language=
\"
zh-CN
\"
/' messages.xlf"
,
"i18n:upload"
:
"npm run i18n && curl --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} --request PUT --header 'Content-type: multipart/form-data' --form content=@messages.xlf https://www.transifex.com/api/2/project/mycard/resource/messages/content/"
,
"i18n:translate"
:
"open https://www.transifex.com/mycard/mycard/translate/#en_US/messages/108367258?translated=no"
,
"i18n:download"
:
"curl --output locale/messages.en-US.xlf --retry 5 --location --user ${TRANSIFEX_USERNAME}:zh112998 https://www.transifex.com/api/2/project/mycard/resource/messages/translation/en_US/?file && sed -i.bak 's/
\\
&/
\\
&/g; s/
\\
</</g; s/
\\
>/>/g; s/
\\
"/
\"
/g;' locale/messages.en-US.xlf"
},
"dependencies"
:
{
...
...
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