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
1be81b4b
Commit
1be81b4b
authored
Jul 16, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update translation
parent
398808ab
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
946 additions
and
42 deletions
+946
-42
locale/messages.en-US.xlf
locale/messages.en-US.xlf
+945
-41
package.json
package.json
+1
-1
No files found.
locale/messages.en-US.xlf
View file @
1be81b4b
This diff is collapsed.
Click to expand it.
package.json
View file @
1be81b4b
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
"release"
:
"tsc && electron-builder"
,
"release"
:
"tsc && electron-builder"
,
"build:aot"
:
"ngc -p tsconfig-aot.json && rollup -c rollup-config.js"
,
"build:aot"
:
"ngc -p tsconfig-aot.json && rollup -c rollup-config.js"
,
"tsc"
:
"tsc"
,
"tsc"
:
"tsc"
,
"i18n"
:
"ng-xi18n --i18nFormat xlf
2
&& sed -i.bak 's/source-language=
\"
en
\"
/source-language=
\"
zh-CN
\"
/' messages.xlf"
,
"i18n"
:
"ng-xi18n --i18nFormat xlf && 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/moecube/resource/messages/content/"
,
"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/moecube/resource/messages/content/"
,
"i18n:translate"
:
"open https://www.transifex.com/moecube/moecube/translate/#en_US/messages/108367258?translated=no"
,
"i18n:translate"
:
"open https://www.transifex.com/moecube/moecube/translate/#en_US/messages/108367258?translated=no"
,
"i18n:download"
:
"curl --output locale/messages.en-US.xlf --retry 5 --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} https://www.transifex.com/api/2/project/moecube/resource/messages/translation/en_US/?file && sed -i.bak 's/
\\
&/
\\
&/g; s/
\\
</</g; s/
\\
>/>/g; s/
\\
"/
\"
/g;' locale/messages.en-US.xlf"
,
"i18n:download"
:
"curl --output locale/messages.en-US.xlf --retry 5 --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} https://www.transifex.com/api/2/project/moecube/resource/messages/translation/en_US/?file && sed -i.bak 's/
\\
&/
\\
&/g; s/
\\
</</g; s/
\\
>/>/g; s/
\\
"/
\"
/g;' locale/messages.en-US.xlf"
,
...
...
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