mirror of
https://github.com/CxJuice/ScWeb_Chinese_Translate.git
synced 2025-04-10 01:51:30 +00:00
Compare commits
470 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
760a163a8b | ||
|
35504108a6 | ||
|
4164cd9438 | ||
|
ec3f75677b | ||
|
333c807974 | ||
|
f66ecdaf16 | ||
|
0237f02813 | ||
|
14fb845e39 | ||
|
029bfb6202 | ||
|
43f3f1ba77 | ||
|
35b396006f | ||
|
7e78b6e2ce | ||
|
f64c9e0202 | ||
|
ae7169882c | ||
|
04b0bfd18e | ||
|
1826e3cff7 | ||
|
b5e0a0ca37 | ||
|
db8781f694 | ||
|
2a456732c0 | ||
|
aacef832fd | ||
|
5e5ecf1a3b | ||
|
f20f8ff6eb | ||
|
d7145320ce | ||
|
7ff768a6ab | ||
|
eb44acd0eb | ||
|
cb3165869e | ||
|
5a46eea981 | ||
|
a2678a6b00 | ||
|
2b8a7b78da | ||
|
82754af328 | ||
|
2cde433041 | ||
|
ea22f54d5a | ||
|
a34a88353b | ||
|
5a44a4dfc9 | ||
|
d859f5b9f5 | ||
|
07c21aa4d5 | ||
|
24cfab9e5e | ||
|
b274109cf8 | ||
|
708528997a | ||
|
e587f8a3d8 | ||
|
ce02e19ef0 | ||
|
fa8b4fb426 | ||
|
05c423e692 | ||
|
d6280ac59e | ||
|
d0fd98ed3d | ||
|
92a429568a | ||
|
2f6fb83d2b | ||
|
a26571e141 | ||
|
310f3db430 | ||
|
94e0d1a571 | ||
|
7c68837d38 | ||
|
606283f791 | ||
|
957b4f0398 | ||
|
ee8ccc97a5 | ||
|
1fcf2975a6 | ||
|
4cc713fe9b | ||
|
4abc71d458 | ||
|
443fca7788 | ||
|
8b2bf7e4ff | ||
|
01d5096904 | ||
|
d4421fa228 | ||
|
eca47af543 | ||
|
b20109fae0 | ||
|
2c38d197a4 | ||
|
4c0aa47821 | ||
|
837e0f65ad | ||
|
7d3c7f1d55 | ||
|
bcf6e63766 | ||
|
2c9b8688e3 | ||
|
a572d8bafb | ||
|
41373f789f | ||
|
cb3fc8b876 | ||
|
de5dd7bcce | ||
|
0aa8267cf6 | ||
|
d3cd78ee6c | ||
|
aa65baee9f | ||
|
07f103cdc0 | ||
|
c61d2aee91 | ||
|
b4eb0a606d | ||
|
e31d82b0e5 | ||
|
6c361fab2f | ||
|
f9f0752324 | ||
|
e5ae5dbbba | ||
|
ae241575fe | ||
|
8f17cbe5c8 | ||
|
4400a66e07 | ||
|
c61d8d186a | ||
|
5b3acede18 | ||
|
7c77fc38a1 | ||
|
89bddd7266 | ||
|
7c8f182196 | ||
|
024045763f | ||
|
915e252789 | ||
|
05425f85ae | ||
|
0c0b849d11 | ||
|
1e046f97b1 | ||
|
2a082fc6f7 | ||
|
e96eb2fccd | ||
|
374dcafeec | ||
|
968d6a0c2d | ||
|
1f48ab62dd | ||
|
ac9b6fcaa8 | ||
|
458cef83ec | ||
|
6a2509f14c | ||
|
13cedd3118 | ||
|
59dbb46a1d | ||
|
6c49bd9a8d | ||
|
b41803e0bd | ||
|
2d0d6ff9b8 | ||
|
6e799d0320 | ||
|
f87cae00e0 | ||
|
d320898ea4 | ||
|
a9b1e4b45e | ||
|
929dc72f4f | ||
|
dc33c39943 | ||
|
dbf2f35563 | ||
|
4e9c224ac5 | ||
|
e69cd6cec7 | ||
|
b24866c228 | ||
|
70d4c69835 | ||
|
ed61d434eb | ||
|
d547cf1818 | ||
|
1b3edb85d2 | ||
|
afac4d07a5 | ||
|
0f8260cddd | ||
|
cf8b309422 | ||
|
c2b9a97e11 | ||
|
a992de63e1 | ||
|
eef15787b5 | ||
|
869f94f07e | ||
|
02b08d30fb | ||
|
b82d292f9a | ||
|
a385e72c34 | ||
|
aced93b223 | ||
|
74cbeeaac5 | ||
|
40b7141fcf | ||
|
2bb90ddc16 | ||
|
2c02793f2d | ||
|
467d9e8497 | ||
|
15ad2c308b | ||
|
8a8187b789 | ||
|
88924b9355 | ||
|
e06a11fe9d | ||
|
1a49a29148 | ||
|
872d7827b0 | ||
|
d4e14217b3 | ||
|
6412f99890 | ||
|
165ec11a21 | ||
|
9642a016b7 | ||
|
160147298b | ||
|
954973d5d4 | ||
|
50be443113 | ||
|
21f20c109c | ||
|
2bcd16287b | ||
|
3567a5489e | ||
|
8c764a047f | ||
|
9acc902d49 | ||
|
1813649ec3 | ||
|
3a5d4048d0 | ||
|
75ca247099 | ||
|
6436c54711 | ||
|
f9154d29b5 | ||
|
510882699e | ||
|
b22481d501 | ||
|
9239a350eb | ||
|
2b33d83719 | ||
|
1cffaea2a0 | ||
|
fe27bc2c17 | ||
|
1b79e630b8 | ||
|
31681d4ec6 | ||
|
70bd7385f4 | ||
|
2f8f455de8 | ||
|
bad004c9fe | ||
|
b7ee39e3b1 | ||
|
9457e89683 | ||
|
30973fd7b0 | ||
|
89ecc8a0a5 | ||
|
23fcfc88f3 | ||
|
adf2238324 | ||
|
e473858475 | ||
|
233041da30 | ||
|
2329ecab25 | ||
|
e80cf39f38 | ||
|
be0a648704 | ||
|
35087b51f7 | ||
|
b0c4abea37 | ||
|
5984620170 | ||
|
d2b5e6c61a | ||
|
e46a468e44 | ||
|
b3e035d278 | ||
|
b42e0b256c | ||
|
ad6f1ae468 | ||
|
091e7d1474 | ||
|
cd994d0d38 | ||
|
8e84f01b7c | ||
|
b320668c54 | ||
|
cd2ed111a7 | ||
|
ec70d3f0ff | ||
|
9c7095c86a | ||
|
19b9e0057e | ||
|
7271478a93 | ||
|
47b9301e84 | ||
|
53789bcab3 | ||
|
bc2b4bfe2b | ||
|
19e70901d6 | ||
|
d4d6c71d34 | ||
|
85f0bbbe03 | ||
|
c3ee59ba21 | ||
|
1a3d960741 | ||
|
bf808518d7 | ||
|
ae0ab87dab | ||
|
ba90011a1f | ||
|
20c6980900 | ||
|
b5899c01b3 | ||
|
0a4f84a237 | ||
|
209fd618ac | ||
|
4ebed2abbb | ||
|
6a86adeed1 | ||
|
dccefedfeb | ||
|
059be3686d | ||
|
285d9b2e69 | ||
|
1c78dc9e0f | ||
|
708020a8a5 | ||
|
c6d34a1271 | ||
|
9dee696670 | ||
|
7e861e3308 | ||
|
372143e311 | ||
|
df8e023d36 | ||
|
fd12d0ad57 | ||
|
511a47ded4 | ||
|
bc6c76c7a4 | ||
|
0a482ac13a | ||
|
47ea4091df | ||
|
6f32f151f7 | ||
|
fd6f413f47 | ||
|
400940695c | ||
|
94c0eba717 | ||
|
2df787bc9f | ||
|
36fa2e90e7 | ||
|
c795557934 | ||
|
d296778bf5 | ||
|
362d2c5998 | ||
|
a1637a51ad | ||
|
424e387d83 | ||
|
7ca1f459e6 | ||
|
ee3fbddc93 | ||
|
b00845c996 | ||
|
9bef31d6b1 | ||
|
b39d9e806e | ||
|
2e49bf899e | ||
|
5769c45be2 | ||
|
c33b0a5e20 | ||
|
d28fec7103 | ||
|
d314f9afd6 | ||
|
38cf0be4f2 | ||
|
d8f14001d9 | ||
|
9c94bff395 | ||
|
3f7ffee223 | ||
|
0bc3a518a3 | ||
|
a698809207 | ||
|
2eee365670 | ||
|
8cbcedf9c0 | ||
|
7dfcd7584b | ||
|
818963a7b7 | ||
|
827db5ebde | ||
|
70c4ff19fd | ||
|
6530ed5bc5 | ||
|
c4f4236220 | ||
|
a1ea96785e | ||
|
9987db040e | ||
|
04c8145286 | ||
|
99c826281c | ||
|
ff1ae900bc | ||
|
d96ae46b60 | ||
|
579b505f7b | ||
|
ba8e2c2213 | ||
|
fe11084ace | ||
|
0780aebd6d | ||
|
4cbdc5dcf4 | ||
|
0cb98e55d7 | ||
|
7eb2065eaf | ||
|
b437be3dbb | ||
|
8d1cdc3e16 | ||
|
b704f02d02 | ||
|
ccb0209a21 | ||
|
636f15ef0e | ||
|
61c0bc9a8b | ||
|
59e6812e18 | ||
|
cc58379560 | ||
|
6dfb55fe6c | ||
|
f0531ae4f1 | ||
|
17ff2a5cc4 | ||
|
fca83779cc | ||
|
aac386eed9 | ||
|
baa440aafa | ||
|
776c5919b2 | ||
|
ec2870efec | ||
|
3549461aac | ||
|
16dca11ea9 | ||
|
336caed16e | ||
|
6cc58823bb | ||
|
e384e33a94 | ||
|
ca80c07fce | ||
|
a667fa6c57 | ||
|
6573730e5a | ||
|
3a8c65ab23 | ||
|
db0aac9514 | ||
|
3aae4fca39 | ||
|
2a05782ee5 | ||
|
9d6bdfe7a6 | ||
|
d8d6e8afd8 | ||
|
dd7baf6a74 | ||
|
e8152279b1 | ||
|
a4c4055530 | ||
|
3b9a594514 | ||
|
503eb9d804 | ||
|
5dd9a4b224 | ||
|
a30321df05 | ||
|
20b256bfa1 | ||
|
8a83a2b90a | ||
|
1636c7da17 | ||
|
65c75bc1d8 | ||
|
4b0281fa43 | ||
|
5a6377b0f7 | ||
|
b88beacc58 | ||
|
67f24d4b00 | ||
|
5fa6e9ac19 | ||
|
11bbe562be | ||
|
95bf734eab | ||
|
f9a86af0dc | ||
|
42be2707ae | ||
|
b4e0e4acaa | ||
|
fd7a30041a | ||
|
0803be046c | ||
|
ecd23595d1 | ||
|
50dc0bb06c | ||
|
d57d755cf9 | ||
|
8b17e1b7f6 | ||
|
e3428e52f2 | ||
|
f759f2dcfc | ||
|
ad2b2cb66b | ||
|
fff8644262 | ||
|
b7d94d96b6 | ||
|
71e33b2db9 | ||
|
162f470eb9 | ||
|
3f447397fb | ||
|
d1cac3f0eb | ||
|
9faf892813 | ||
|
06f7e50799 | ||
|
141c0a3a2d | ||
|
41edf3932a | ||
|
d0abcc0bb8 | ||
|
b951642df3 | ||
|
e83e61d835 | ||
|
d55f5d3225 | ||
|
1e9a7b6ed9 | ||
|
d41dc2fedd | ||
|
2ae08727d3 | ||
|
5b1bff7e61 | ||
|
775dd10ee5 | ||
|
7dab3bde8d | ||
|
ce294f5975 | ||
|
bebe3586e0 | ||
|
b1f3f27384 | ||
|
0385c98cc0 | ||
|
ac64deaf74 | ||
|
475c4cbf5d | ||
|
495818f9ad | ||
|
881a28ba63 | ||
|
335188e33b | ||
|
80dc7ac02d | ||
|
2be0cc1543 | ||
|
60766e31b2 | ||
|
fcc6b66120 | ||
|
3001b5b87f | ||
|
a4e6c0fa4c | ||
|
0777d40d0e | ||
|
d2324c7f27 | ||
|
40a4bfeab9 | ||
|
230ddaa24b | ||
|
d5b7d706e2 | ||
|
0dbe396354 | ||
|
184fa80303 | ||
|
fbe5e106b4 | ||
|
1ba7acb3b6 | ||
|
c0a6101372 | ||
|
a3e8813b8a | ||
|
02911de35a | ||
|
3f8bfc8c22 | ||
|
a551366663 | ||
|
f5bebf8585 | ||
|
9b1030cee3 | ||
|
3d717c70dd | ||
|
32398748a5 | ||
|
89888073e5 | ||
|
f199ded15f | ||
|
8549ca6d40 | ||
|
d638e4ddad | ||
|
5fd3e0e115 | ||
|
0fc59746a8 | ||
|
2441f23b26 | ||
|
5b2e134d2f | ||
|
3c49bb006d | ||
|
0ca5f08a36 | ||
|
6786f94882 | ||
|
f6b5e0af54 | ||
|
e638275279 | ||
|
e5f3630f03 | ||
|
f86c43d622 | ||
|
be07beb864 | ||
|
4c65256a44 | ||
|
661832f5af | ||
|
a10908c511 | ||
|
70d7be6c01 | ||
|
c3cf48814e | ||
|
ffbbdb701c | ||
|
d7cc27a1ac | ||
|
9086c2a106 | ||
|
217cd7edd5 | ||
|
7319fa215c | ||
|
ef36cdfac9 | ||
|
d95a9d8319 | ||
|
f67b946286 | ||
|
9710057daf | ||
|
68ea4256a8 | ||
|
b64490e380 | ||
|
b83b52b530 | ||
|
000a26ec7e | ||
|
820332cd2b | ||
|
be23ca1b32 | ||
|
023013aa52 | ||
|
dd7c728a6b | ||
|
50494a7124 | ||
|
bc6339b7c8 | ||
|
e1c0a18fa6 | ||
|
0b407dcdc4 | ||
|
248718cf69 | ||
|
a266b61be9 | ||
|
92bc750f27 | ||
|
d04ed34f0a | ||
|
a1339f5683 | ||
|
ca71b1cfa8 | ||
|
9d9e047dc5 | ||
|
896867e362 | ||
|
b0809caa28 | ||
|
fb1e7ed00b | ||
|
00106c39be | ||
|
e4d78d3054 | ||
|
89b54223c2 | ||
|
e53e8c3c46 | ||
|
905e11ab51 | ||
|
488d6dce01 | ||
|
708505ab33 | ||
|
d60b649b68 | ||
|
49ece17df3 | ||
|
03790088d8 | ||
|
b4309c1039 | ||
|
6dc49c6cc7 | ||
|
3cb7b89193 | ||
|
0b4055c2db | ||
|
7cd901dbc8 | ||
|
e34160c3fe | ||
|
ac46a4dc03 | ||
|
a1b155066a | ||
|
28e18ebb43 | ||
|
7d408139c3 | ||
|
ea9bcae8b7 | ||
|
c4eba059ea | ||
|
b2e04a4db8 | ||
|
9b471327ba |
68
.github/workflows/main.yml
vendored
Normal file
68
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,68 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ main ]
|
||||
jobs:
|
||||
bump_version:
|
||||
name: Bump Version
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Get changed files
|
||||
id: getfile
|
||||
run: |
|
||||
files=$(git diff --name-only HEAD^ HEAD | tr '\n' ' ')
|
||||
echo "::set-output name=files::$files"
|
||||
|
||||
- name: Bump version number based on changed files
|
||||
run: |
|
||||
increment_version() {
|
||||
echo "$1" | awk -F. '{$NF = $NF + 1;} 1' OFS=.
|
||||
}
|
||||
|
||||
changed_files="${{ steps.getfile.outputs.files }}"
|
||||
temp_file=$(mktemp)
|
||||
|
||||
cp json/locales/versions.json $temp_file
|
||||
|
||||
# Use jq and increment_version function to bump version numbers based on changed files
|
||||
if echo "$changed_files" | grep -q "addresses.json"; then
|
||||
new_version=$(increment_version $(jq -r '.addresses' json/locales/versions.json))
|
||||
jq --arg v "$new_version" '.addresses = $v' $temp_file > json/temp.json && mv json/temp.json $temp_file
|
||||
fi
|
||||
if echo "$changed_files" | grep -q "concierge.json"; then
|
||||
new_version=$(increment_version $(jq -r '.concierge' json/locales/versions.json))
|
||||
jq --arg v "$new_version" '.concierge = $v' $temp_file > json/temp.json && mv json/temp.json $temp_file
|
||||
fi
|
||||
if echo "$changed_files" | grep -q "hangar.json"; then
|
||||
new_version=$(increment_version $(jq -r '.hangar' json/locales/versions.json))
|
||||
jq --arg v "$new_version" '.hangar = $v' $temp_file > json/temp.json && mv json/temp.json $temp_file
|
||||
fi
|
||||
if echo "$changed_files" | grep -q "orgs.json"; then
|
||||
new_version=$(increment_version $(jq -r '.orgs' json/locales/versions.json))
|
||||
jq --arg v "$new_version" '.orgs = $v' $temp_file > json/temp.json && mv json/temp.json $temp_file
|
||||
fi
|
||||
if echo "$changed_files" | grep -q "zh-CN-rsi.json"; then
|
||||
new_version=$(increment_version $(jq -r '.rsi' $temp_file))
|
||||
jq --arg v "$new_version" '.rsi = $v' $temp_file > json/temp.json && mv json/temp.json $temp_file
|
||||
fi
|
||||
if echo "$changed_files" | grep -q "zh-CN-uex.json"; then
|
||||
new_version=$(increment_version $(jq -r '.uex' $temp_file))
|
||||
jq --arg v "$new_version" '.uex = $v' $temp_file > json/temp.json && mv json/temp.json $temp_file
|
||||
fi
|
||||
|
||||
mv $temp_file json/versions.json
|
||||
|
||||
- name: Commit and push changes if there's an update
|
||||
run: |
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add json/locales/versions.json
|
||||
git commit -m "Bump version number" && git push
|
||||
fi
|
4
README.md
Normal file
4
README.md
Normal file
@ -0,0 +1,4 @@
|
||||
# ScWeb_Chinese_Translate
|
||||
Scweb汉化脚本文本仓库<br>
|
||||
更新方法:<br>
|
||||
https://translate.42kit.com/engage/sc-website-translation/
|
167
json/locales/addresses.json
Normal file
167
json/locales/addresses.json
Normal file
@ -0,0 +1,167 @@
|
||||
{
|
||||
"games": "游戏",
|
||||
"apps": "应用",
|
||||
"pledge": "承诺",
|
||||
"store": "商店",
|
||||
"learn how to play": "学习如何游玩",
|
||||
"support": "支持",
|
||||
"account": "账户",
|
||||
"settings": "设置",
|
||||
"my hangar": "我的机库",
|
||||
"concierge": "礼宾",
|
||||
"redeem a code": "兑换代码",
|
||||
"sign out": "登出",
|
||||
"subscriber": "订阅",
|
||||
"comm-link": "通讯链接",
|
||||
"community": "社区",
|
||||
"development": "开发",
|
||||
"spectrum": "光谱",
|
||||
"organizations": "组织",
|
||||
"leaderboards": "排行榜",
|
||||
"event": "活动",
|
||||
"hub": "社区中心",
|
||||
"fankit": "粉丝工具",
|
||||
"roadmap": "线路图",
|
||||
"dev tracker": "开发跟踪器",
|
||||
"devtracker": "开发跟踪器",
|
||||
"telemetry": "性能检测",
|
||||
"issue council": "问题理事会",
|
||||
"patch notes": "更新说明",
|
||||
"ship matrix": "飞船矩阵",
|
||||
"funding": "众筹基金",
|
||||
"view more": "查看更多",
|
||||
"play now": "立即游玩",
|
||||
"sign into rsi": "登入 RSI",
|
||||
"email": "邮箱",
|
||||
"password": "密码",
|
||||
"remember me": "记住密码",
|
||||
"sign in": "登入",
|
||||
"account recovery": "找回账户",
|
||||
"enlist now": "现在注册",
|
||||
"sign in failed. you may have entered the wrong credentials, or the account does not exist, or has not been activated. (1032)": "登陆失败。你可能输入了错误的邮箱或密码,或账户未激活。",
|
||||
"email address": "邮箱地址",
|
||||
"enter the email address associated with your rsi account and you will receive the instructions to create a new password.": "输入你与RSI账户关联的邮箱地址,你的邮箱将收到一条邮件来帮助你创建新的密码。",
|
||||
"submit": "提交",
|
||||
"contact customer support": "联系客户支持",
|
||||
"create an account to begin your adventure into the star citizen universe.": "创建一个帐户,开始你在星际公民宇宙中的冒险。",
|
||||
"account name": "账户名称",
|
||||
"callsign": "呼号",
|
||||
"an account name is required.": "你需要输入一个账户名称。",
|
||||
"your unique public callsign.": "你的独特公共呼号。",
|
||||
"birth date": "出生日期",
|
||||
"month": "月",
|
||||
"january": "一月",
|
||||
"february": "二月",
|
||||
"march": "三月",
|
||||
"april": "四月",
|
||||
"may": "五月",
|
||||
"june": "六月",
|
||||
"july": "七月",
|
||||
"august": "八月",
|
||||
"september": "九月",
|
||||
"october": "十月",
|
||||
"november": "十一月",
|
||||
"december": "十二月",
|
||||
"day": "日",
|
||||
"year": "年",
|
||||
"you must provide a birth date.": "你必须提供你的生日。",
|
||||
"a password is required.": "你需要设置密码。",
|
||||
"an email address is required.": "你需要输入一个邮箱地址。",
|
||||
"different than account name": "与账户名称不同",
|
||||
"undefined or more characters": "不少于8个字符",
|
||||
"contains a number or symbol": "含有数字或其他符号",
|
||||
"referral code": "邀请码",
|
||||
"optional": "选填(建议填写)",
|
||||
"add code": "输入邀请码",
|
||||
"stay informed": "接收最新消息",
|
||||
"receive star citizen news and development updates via email.": "通过电子邮件接收有关星际公民的最新咨询和开发进度。",
|
||||
"i agree to the": "我接受",
|
||||
"terms of service": "服务条款",
|
||||
"and": "和",
|
||||
"privacy policy": "隐私条款",
|
||||
"enlist": "报名",
|
||||
"already have an account?": "已经拥有一个账户?",
|
||||
"please accept the terms of service and the privacy policy.": "请接受服务条款和隐私条款。",
|
||||
"back": "返回",
|
||||
"community hub": "社区中心",
|
||||
"launcher": "启动器",
|
||||
"starmap": "星图",
|
||||
"galactapedia": "银河百科",
|
||||
"new": "新",
|
||||
"share your content with the community": "在社区分享你的内容",
|
||||
"your communication platform": "你的沟通平台",
|
||||
"download star citizen": "下载星际公民",
|
||||
"keep track of the development": "跟踪开发进度",
|
||||
"keep track of the player’s performance": "跟踪玩家表现",
|
||||
"help us make the game better": "帮助我们开发游戏",
|
||||
"your map to the universe": "你的宇宙地图",
|
||||
"your guide to the universe": "你的宇宙指南",
|
||||
"join the universe": "加入宇宙",
|
||||
"start the adventure": "开始冒险",
|
||||
"follow the development": "跟踪开发进度",
|
||||
"about the game": "关于这个游戏",
|
||||
"how to play": "如何游玩",
|
||||
"the universe": "关于宇宙",
|
||||
"media": "媒体",
|
||||
"social links": "社交软件",
|
||||
"facebook": "脸书",
|
||||
"twitter": "推特",
|
||||
"instagram": "照片墙",
|
||||
"youtube": "油管",
|
||||
"twitch": "老鼠台",
|
||||
"home": "主页",
|
||||
"transmissions": "公告",
|
||||
"pledge store": "承诺商店",
|
||||
"citizencon": "公民控",
|
||||
"download": "下载",
|
||||
"utilities": "工具",
|
||||
"help": "帮助",
|
||||
"press": "新闻",
|
||||
"careers": "招聘",
|
||||
"acknowledgements": "鸣谢",
|
||||
"legal": "法律",
|
||||
"responsible disclosure": "责任披露",
|
||||
"california notice at collection": "收集加利福尼亚州居民信息",
|
||||
"do not sell or share my personal information": "不要出售或共享个人信息",
|
||||
"manage my consent": "管理我的许可",
|
||||
"game packages": "游戏资格包",
|
||||
"more info": "更多信息",
|
||||
"enlist today": "现在立即入伍",
|
||||
"join the": "加入",
|
||||
"universe": "宇宙",
|
||||
"start the": "开始",
|
||||
"adventure": "冒险",
|
||||
"the game": "游戏",
|
||||
"terms of services": "服务条款",
|
||||
"status": "状态",
|
||||
"roberts space industries": "罗伯茨太空工业",
|
||||
"overview": "概览",
|
||||
"billing &": "账单&",
|
||||
"subscription": "订阅",
|
||||
"comms": "消息",
|
||||
"profile": "账户资料",
|
||||
"security": "安全设置",
|
||||
"referral program": "推荐计划",
|
||||
"address book": "通讯录",
|
||||
"pledge shipment": "承诺发货",
|
||||
"public test universe": "公共测试宇宙 PTU",
|
||||
"character reset": "重置账户",
|
||||
"add address": "添加新地址",
|
||||
"this is my default address.": "这是我的默认地址。",
|
||||
"edit address": "编辑地址",
|
||||
"address (required)": "地址(必填)",
|
||||
"country (required)": "国家(必填)",
|
||||
"city (required)": "城市(必填)",
|
||||
"postal code (required)": "邮政编码(必填)",
|
||||
"address name": "地址名称",
|
||||
"phone (required)": "电话号码(必填)",
|
||||
"make this my default address": "设置为默认地址",
|
||||
"save": "保存",
|
||||
"subscribers": "订阅者",
|
||||
"view and manage the different shipping and billing addresses that will be presented to you during purchase checkout.": "查看和管理发货和账单地址,这些地址会在你结账的时候显示。",
|
||||
"region": "地区",
|
||||
"company": "公司",
|
||||
"first name (required)": "前名称(必填)",
|
||||
"last name (required)": "后名称(必填)",
|
||||
"my account": "我的账户"
|
||||
}
|
337
json/locales/concierge.json
Normal file
337
json/locales/concierge.json
Normal file
@ -0,0 +1,337 @@
|
||||
{
|
||||
"games": "游戏",
|
||||
"apps": "应用",
|
||||
"pledge": "承诺",
|
||||
"store": "商店",
|
||||
"learn how to play": "学习如何游玩",
|
||||
"support": "支持",
|
||||
"account": "账户",
|
||||
"settings": "设置",
|
||||
"my hangar": "我的机库",
|
||||
"redeem a code": "兑换代码",
|
||||
"sign out": "登出",
|
||||
"subscriber": "订阅",
|
||||
"comm-link": "通讯链接",
|
||||
"community": "社区",
|
||||
"development": "开发",
|
||||
"spectrum": "光谱",
|
||||
"organizations": "组织",
|
||||
"leaderboards": "排行榜",
|
||||
"event": "活动",
|
||||
"hub": "社区中心",
|
||||
"fankit": "粉丝工具",
|
||||
"roadmap": "线路图",
|
||||
"dev tracker": "开发跟踪器",
|
||||
"devtracker": "开发跟踪器",
|
||||
"telemetry": "性能检测",
|
||||
"issue council": "问题理事会",
|
||||
"patch notes": "更新说明",
|
||||
"ship matrix": "飞船矩阵",
|
||||
"funding": "众筹基金",
|
||||
"view more": "查看更多",
|
||||
"play now": "立即游玩",
|
||||
"sign into rsi": "登入 RSI",
|
||||
"email": "邮箱",
|
||||
"password": "密码",
|
||||
"remember me": "记住密码",
|
||||
"sign in": "登入",
|
||||
"account recovery": "找回账户",
|
||||
"enlist now": "现在注册",
|
||||
"sign in failed. you may have entered the wrong credentials, or the account does not exist, or has not been activated. (1032)": "登陆失败。你可能输入了错误的邮箱或密码,或账户未激活。",
|
||||
"email address": "邮箱地址",
|
||||
"enter the email address associated with your rsi account and you will receive the instructions to create a new password.": "输入你与RSI账户关联的邮箱地址,你的邮箱将收到一条邮件来帮助你创建新的密码。",
|
||||
"submit": "提交",
|
||||
"contact customer support": "联系客户支持",
|
||||
"create an account to begin your adventure into the star citizen universe.": "创建一个帐户,开始你在星际公民宇宙中的冒险。",
|
||||
"account name": "账户名称",
|
||||
"callsign": "呼号",
|
||||
"an account name is required.": "你需要输入一个账户名称。",
|
||||
"your unique public callsign.": "你的独特公共呼号。",
|
||||
"birth date": "出生日期",
|
||||
"month": "月",
|
||||
"january": "一月",
|
||||
"february": "二月",
|
||||
"march": "三月",
|
||||
"april": "四月",
|
||||
"may": "五月",
|
||||
"june": "六月",
|
||||
"july": "七月",
|
||||
"august": "八月",
|
||||
"september": "九月",
|
||||
"october": "十月",
|
||||
"november": "十一月",
|
||||
"december": "十二月",
|
||||
"day": "日",
|
||||
"year": "年",
|
||||
"you must provide a birth date.": "你必须提供你的生日。",
|
||||
"a password is required.": "你需要设置密码。",
|
||||
"an email address is required.": "你需要输入一个邮箱地址。",
|
||||
"different than account name": "与账户名称不同",
|
||||
"undefined or more characters": "不少于8个字符",
|
||||
"contains a number or symbol": "含有数字或其他符号",
|
||||
"referral code": "邀请码",
|
||||
"optional": "选填(建议填写)",
|
||||
"add code": "输入邀请码",
|
||||
"stay informed": "接收最新消息",
|
||||
"receive star citizen news and development updates via email.": "通过电子邮件接收有关星际公民的最新咨询和开发进度。",
|
||||
"i agree to the": "我接受",
|
||||
"terms of service": "服务条款",
|
||||
"and": "和",
|
||||
"privacy policy": "隐私条款",
|
||||
"enlist": "报名",
|
||||
"already have an account?": "已经拥有一个账户?",
|
||||
"please accept the terms of service and the privacy policy.": "请接受服务条款和隐私条款。",
|
||||
"back": "返回",
|
||||
"community hub": "社区中心",
|
||||
"launcher": "启动器",
|
||||
"starmap": "星图",
|
||||
"galactapedia": "银河百科",
|
||||
"new": "新",
|
||||
"share your content with the community": "在社区分享你的内容",
|
||||
"your communication platform": "你的沟通平台",
|
||||
"download star citizen": "下载星际公民",
|
||||
"keep track of the development": "跟踪开发进度",
|
||||
"keep track of the player’s performance": "跟踪玩家表现",
|
||||
"help us make the game better": "帮助我们开发游戏",
|
||||
"your map to the universe": "你的宇宙地图",
|
||||
"your guide to the universe": "你的宇宙指南",
|
||||
"join the universe": "加入宇宙",
|
||||
"start the adventure": "开始冒险",
|
||||
"follow the development": "跟踪开发进度",
|
||||
"about the game": "关于这个游戏",
|
||||
"how to play": "如何游玩",
|
||||
"the universe": "关于宇宙",
|
||||
"media": "媒体",
|
||||
"social links": "社交软件",
|
||||
"facebook": "脸书",
|
||||
"twitter": "推特",
|
||||
"instagram": "照片墙",
|
||||
"youtube": "油管",
|
||||
"twitch": "老鼠台",
|
||||
"home": "主页",
|
||||
"transmissions": "公告",
|
||||
"pledge store": "承诺商店",
|
||||
"citizencon": "公民控",
|
||||
"utilities": "工具",
|
||||
"help": "帮助",
|
||||
"press": "新闻",
|
||||
"careers": "招聘",
|
||||
"acknowledgements": "鸣谢",
|
||||
"legal": "法律",
|
||||
"responsible disclosure": "责任披露",
|
||||
"california notice at collection": "收集加利福尼亚州居民信息",
|
||||
"do not sell or share my personal information": "不要出售或共享个人信息",
|
||||
"manage my consent": "管理我的许可",
|
||||
"game packages": "游戏资格包",
|
||||
"enlist today": "现在立即入伍",
|
||||
"join the": "加入",
|
||||
"universe": "宇宙",
|
||||
"start the": "开始",
|
||||
"adventure": "冒险",
|
||||
"the game": "游戏",
|
||||
"terms of services": "服务条款",
|
||||
"roberts space industries": "罗伯茨太空工业",
|
||||
"welcome to the": "欢迎来到",
|
||||
"chairman's club": "礼宾俱乐部",
|
||||
"fideles quoad decedemus": "",
|
||||
"your": "你的",
|
||||
"concierge exclusive": "礼宾专属",
|
||||
"forums and chat groups:": "论坛和聊天室:",
|
||||
"forums": "论坛",
|
||||
"chat groups": "聊天室",
|
||||
"concierge advantages": "礼宾特权",
|
||||
"early access": "抢先访问",
|
||||
"early notice and exclusive access to select star citizen live events and sales.": "提前通知并访问星际公民独家现场活动和销售活动。",
|
||||
"expedited customer service": "专属快速客户服务",
|
||||
"an assigned specialist to personally handle your questions, requests, and game-related needs.": "指派专门人员亲自处理您的问题、请求和游戏相关需求。",
|
||||
"exclusive community": "专属社区",
|
||||
"entry to concierge-only forums and chat groups.": "进入礼宾部专用论坛和聊天室。",
|
||||
"exclusive products": "独家产品",
|
||||
"access to concierge-only digital packages and chairman's club branded physical merchandise. visit the store to see what's available now.": "购买礼宾专属数字游戏资格包和礼宾俱乐部的周边,请访问礼宾商店。",
|
||||
"view exclusive concierge packages in the store": "在商店中查看礼宾专属商品",
|
||||
"exclusive store": "独家商城",
|
||||
"featured specials for chairman's club members.": "礼宾俱乐部成员的独家物品。",
|
||||
"concierge services": "礼宾客户服务",
|
||||
"before sending in a ticket, please review our knowledge base to find possible solutions:": "在报告问题之前,请先查看我们的知识库,看看有没有解决的方法:",
|
||||
"concierge faq": "礼宾 FAQ",
|
||||
"last update:": "最近更新:",
|
||||
"general issues (in-game, pledges, etc.)": "一般问题(游戏内、承诺 等)",
|
||||
"billing and subscriptions": "账单和订阅",
|
||||
"merchandise": "商品",
|
||||
"official announcements, information and useful links": "官方公告,信息,可用链接",
|
||||
"my inquiries": "我的工单",
|
||||
"sort by": "排序由",
|
||||
"subject": "主题",
|
||||
"modified": "变动",
|
||||
"status": "状态",
|
||||
"openned": "开启",
|
||||
"open": "开启",
|
||||
"closed": "已关闭",
|
||||
"customer service form": "客户服务列表",
|
||||
"please choose your issue below": "请在下表选择你的问题",
|
||||
"attachments": "附件说明",
|
||||
"- optional": "- 选填",
|
||||
"uploaded files": "上传文件",
|
||||
"send": "发送",
|
||||
"add file here": "在这里添加文件",
|
||||
"tell us about your order issue": "告诉我们你的订单问题",
|
||||
"required": "必填",
|
||||
"please enter the details of your request. a member of our support staff will respond as soon as possible.": "请告诉我们你的请求的细节。一位客服会尽快回复你。",
|
||||
"order id": "订单 ID",
|
||||
"this can be found on the billing/subscription tab on your account": "你可以在 账单&订阅 选项中找到它",
|
||||
"concierge": "礼宾",
|
||||
"view all": "查看更多",
|
||||
"level & rewards:": "等级&奖励:",
|
||||
"until your": "距离你",
|
||||
"next chairman's club": "下一个礼宾俱乐部",
|
||||
"in-game rewards": "游戏内奖励",
|
||||
"current chairman's club": "当前礼宾俱乐部",
|
||||
"download": "下载",
|
||||
"claim your complimentary tracks": "获取免费原声带",
|
||||
"buy now": "立即购买",
|
||||
"more info": "更多信息",
|
||||
"add to cart": "加入购物车",
|
||||
"- paints": " - 涂装",
|
||||
"- package": " - 游戏资格包",
|
||||
"- clothing": " - 服装",
|
||||
"package": "游戏包",
|
||||
"save": "节省",
|
||||
"in stock": "有现货",
|
||||
"created": "创建时间",
|
||||
"created:": "创建时间:",
|
||||
"1 minute ago": "1 分钟前",
|
||||
"2 minutes ago": "2 分钟前",
|
||||
"3 minutes ago": "3 分钟前",
|
||||
"4 minutes ago": "4 分钟前",
|
||||
"5 minutes ago": "5 分钟前",
|
||||
"6 minutes ago": "6 分钟前",
|
||||
"7 minutes ago": "7 分钟前",
|
||||
"8 minutes ago": "8 分钟前",
|
||||
"9 minutes ago": "9 分钟前",
|
||||
"10 minutes ago": "10 分钟前",
|
||||
"11 minutes ago": "11 分钟前",
|
||||
"12 minutes ago": "12 分钟前",
|
||||
"13 minutes ago": "13 分钟前",
|
||||
"14 minutes ago": "14 分钟前",
|
||||
"15 minutes ago": "15 分钟前",
|
||||
"16 minutes ago": "16 分钟前",
|
||||
"17 minutes ago": "17 分钟前",
|
||||
"18 minutes ago": "18 分钟前",
|
||||
"19 minutes ago": "19 分钟前",
|
||||
"20 minutes ago": "20 分钟前",
|
||||
"21 minutes ago": "21 分钟前",
|
||||
"22 minutes ago": "22 分钟前",
|
||||
"23 minutes ago": "23 分钟前",
|
||||
"24 minutes ago": "24 分钟前",
|
||||
"25 minutes ago": "25 分钟前",
|
||||
"26 minutes ago": "26 分钟前",
|
||||
"27 minutes ago": "27 分钟前",
|
||||
"28 minutes ago": "28 分钟前",
|
||||
"29 minutes ago": "29 分钟前",
|
||||
"30 minutes ago": "30 分钟前",
|
||||
"31 minutes ago": "31 分钟前",
|
||||
"32 minutes ago": "32 分钟前",
|
||||
"33 minutes ago": "33 分钟前",
|
||||
"34 minutes ago": "34 分钟前",
|
||||
"35 minutes ago": "35 分钟前",
|
||||
"36 minutes ago": "36 分钟前",
|
||||
"37 minutes ago": "37 分钟前",
|
||||
"38 minutes ago": "38 分钟前",
|
||||
"39 minutes ago": "39 分钟前",
|
||||
"40 minutes ago": "40 分钟前",
|
||||
"41 minutes ago": "41 分钟前",
|
||||
"42 minutes ago": "42 分钟前",
|
||||
"43 minutes ago": "43 分钟前",
|
||||
"44 minutes ago": "44 分钟前",
|
||||
"45 minutes ago": "45 分钟前",
|
||||
"46 minutes ago": "46 分钟前",
|
||||
"47 minutes ago": "47 分钟前",
|
||||
"48 minutes ago": "48 分钟前",
|
||||
"49 minutes ago": "49 分钟前",
|
||||
"50 minutes ago": "50 分钟前",
|
||||
"51 minutes ago": "51 分钟前",
|
||||
"52 minutes ago": "52 分钟前",
|
||||
"53 minutes ago": "53 分钟前",
|
||||
"54 minutes ago": "54 分钟前",
|
||||
"55 minutes ago": "55 分钟前",
|
||||
"56 minutes ago": "56 分钟前",
|
||||
"57 minutes ago": "57 分钟前",
|
||||
"58 minutes ago": "58 分钟前",
|
||||
"59 minutes ago": "59 分钟前",
|
||||
"1 hour ago": "1 小时前",
|
||||
"2 hours ago": "2 小时前",
|
||||
"3 hours ago": "3 小时前",
|
||||
"4 hours ago": "4 小时前",
|
||||
"5 hours ago": "5 小时前",
|
||||
"6 hours ago": "6 小时前",
|
||||
"7 hours ago": "7 小时前",
|
||||
"8 hours ago": "8 小时前",
|
||||
"9 hours ago": "9 小时前",
|
||||
"10 hours ago": "10 小时前",
|
||||
"11 hours ago": "11 小时前",
|
||||
"12 hours ago": "12 小时前",
|
||||
"13 hours ago": "13 小时前",
|
||||
"14 hours ago": "14 小时前",
|
||||
"15 hours ago": "15 小时前",
|
||||
"16 hours ago": "16 小时前",
|
||||
"17 hours ago": "17 小时前",
|
||||
"18 hours ago": "18 小时前",
|
||||
"19 hours ago": "19 小时前",
|
||||
"20 hours ago": "20 小时前",
|
||||
"21 hours ago": "21 小时前",
|
||||
"22 hours ago": "22 小时前",
|
||||
"23 hours ago": "23 小时前",
|
||||
"1 day ago": "1 天前",
|
||||
"2 days ago": "2 天前",
|
||||
"3 days ago": "3 天前",
|
||||
"4 days ago": "4 天前",
|
||||
"5 days ago": "5 天前",
|
||||
"6 days ago": "6 天前",
|
||||
"1 week ago": "1 周前",
|
||||
"2 weeks ago": "2 周前",
|
||||
"3 weeks ago": "3 周前",
|
||||
"4 weeks ago": "4 周前",
|
||||
"1 month ago": "1 个月前",
|
||||
"2 months ago": "2 个月前",
|
||||
"3 months ago": "3 个月前",
|
||||
"4 months ago": "4 个月前",
|
||||
"5 months ago": "5 个月前",
|
||||
"6 months ago": "6 个月前",
|
||||
"7 months ago": "7 个月前",
|
||||
"8 months ago": "8 个月前",
|
||||
"9 months ago": "9 个月前",
|
||||
"10 months ago": "10 个月前",
|
||||
"11 months ago": "11 个月前",
|
||||
"12 months ago": "12 个月前",
|
||||
"1 year ago": "1 年前",
|
||||
"2 years ago": "2 年前",
|
||||
"3 years ago": "3 年前",
|
||||
"4 years ago": "4 年前",
|
||||
"5 years ago": "5 年前",
|
||||
"6 years ago": "6 年前",
|
||||
"7 years ago": "7 年前",
|
||||
"8 years ago": "8 年前",
|
||||
"9 years ago": "9 年前",
|
||||
"10 years ago": "10 年前",
|
||||
"11 years ago": "11 年前",
|
||||
"12 years ago": "12 年前",
|
||||
"13 years ago": "13 年前",
|
||||
"14 years ago": "14 年前",
|
||||
"15 years ago": "15 年前",
|
||||
"16 years ago": "16 年前",
|
||||
"17 years ago": "17 年前",
|
||||
"18 years ago": "18 年前",
|
||||
"19 years ago": "19 年前",
|
||||
"20 years ago": "20 年前",
|
||||
"21 years ago": "21 年前",
|
||||
"22 years ago": "22 年前",
|
||||
"23 years ago": "23 年前",
|
||||
"24 years ago": "24 年前",
|
||||
"25 years ago": "25 年前",
|
||||
"tell us more about your problem": "告诉我们你的问题",
|
||||
"description": "描述",
|
||||
"handle": "账号标识符",
|
||||
"welcome": "欢迎光临",
|
||||
"your level": "当前等级",
|
||||
"customer service": "客户服务"
|
||||
}
|
3
json/locales/hangar.json
Normal file
3
json/locales/hangar.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"upgrades": "升"
|
||||
}
|
158
json/locales/orgs.json
Normal file
158
json/locales/orgs.json
Normal file
@ -0,0 +1,158 @@
|
||||
{
|
||||
"games": "游戏",
|
||||
"apps": "应用",
|
||||
"pledge": "承诺",
|
||||
"store": "商店",
|
||||
"learn how to play": "学习如何游玩",
|
||||
"support": "支持",
|
||||
"account": "账户",
|
||||
"settings": "设置",
|
||||
"my hangar": "我的机库",
|
||||
"concierge": "礼宾",
|
||||
"redeem a code": "兑换代码",
|
||||
"sign out": "登出",
|
||||
"subscriber": "订阅",
|
||||
"comm-link": "通讯链接",
|
||||
"community": "社区",
|
||||
"development": "开发",
|
||||
"spectrum": "光谱",
|
||||
"organizations": "组织",
|
||||
"leaderboards": "排行榜",
|
||||
"event": "活动",
|
||||
"hub": "社区中心",
|
||||
"fankit": "粉丝工具",
|
||||
"roadmap": "线路图",
|
||||
"dev tracker": "开发跟踪器",
|
||||
"devtracker": "开发跟踪器",
|
||||
"telemetry": "性能检测",
|
||||
"issue council": "问题理事会",
|
||||
"patch notes": "更新说明",
|
||||
"ship matrix": "飞船矩阵",
|
||||
"funding": "众筹基金",
|
||||
"view more": "查看更多",
|
||||
"play now": "立即游玩",
|
||||
"sign into rsi": "登入 RSI",
|
||||
"email": "邮箱",
|
||||
"password": "密码",
|
||||
"remember me": "记住密码",
|
||||
"sign in": "登入",
|
||||
"account recovery": "找回账户",
|
||||
"enlist now": "现在注册",
|
||||
"sign in failed. you may have entered the wrong credentials, or the account does not exist, or has not been activated. (1032)": "登入失败。你可能输入了错误的邮箱或密码,或账户未激活。",
|
||||
"email address": "邮箱地址",
|
||||
"enter the email address associated with your rsi account and you will receive the instructions to create a new password.": "输入你与RSI账户关联的邮箱地址,你的邮箱将收到一条邮件来帮助你创建新的密码。",
|
||||
"submit": "提交",
|
||||
"contact customer support": "联系客户支持",
|
||||
"create an account to begin your adventure into the star citizen universe.": "创建一个帐户,开始你在星际公民宇宙中的冒险。",
|
||||
"account name": "账户名称",
|
||||
"callsign": "呼号",
|
||||
"an account name is required.": "你需要输入一个账户名称。",
|
||||
"your unique public callsign.": "你的独特公共呼号。",
|
||||
"birth date": "出生日期",
|
||||
"month": "月",
|
||||
"january": "一月",
|
||||
"february": "二月",
|
||||
"march": "三月",
|
||||
"april": "四月",
|
||||
"may": "五月",
|
||||
"june": "六月",
|
||||
"july": "七月",
|
||||
"august": "八月",
|
||||
"september": "九月",
|
||||
"october": "十月",
|
||||
"november": "十一月",
|
||||
"december": "十二月",
|
||||
"day": "日",
|
||||
"year": "年",
|
||||
"you must provide a birth date.": "你必须提供你的生日。",
|
||||
"a password is required.": "你需要设置密码。",
|
||||
"an email address is required.": "你需要输入一个邮箱地址。",
|
||||
"different than account name": "与账户名称不同",
|
||||
"undefined or more characters": "不少于8个字符",
|
||||
"contains a number or symbol": "含有数字或其他符号",
|
||||
"referral code": "邀请码",
|
||||
"optional": "选填(建议填写)",
|
||||
"add code": "输入邀请码",
|
||||
"stay informed": "接收最新消息",
|
||||
"receive star citizen news and development updates via email.": "通过电子邮件接收有关星际公民的最新咨询和开发进度。",
|
||||
"i agree to the": "我接受",
|
||||
"terms of service": "服务条款",
|
||||
"and": "和",
|
||||
"privacy policy": "隐私条款",
|
||||
"enlist": "报名",
|
||||
"already have an account?": "已经拥有一个账户?",
|
||||
"please accept the terms of service and the privacy policy.": "请接受服务条款和隐私条款。",
|
||||
"back": "返回",
|
||||
"community hub": "社区中心",
|
||||
"launcher": "启动器",
|
||||
"starmap": "星图",
|
||||
"galactapedia": "银河百科",
|
||||
"new": "新",
|
||||
"share your content with the community": "在社区分享你的内容",
|
||||
"your communication platform": "你的沟通平台",
|
||||
"download star citizen": "下载星际公民",
|
||||
"keep track of the development": "跟踪开发进度",
|
||||
"keep track of the player’s performance": "跟踪玩家表现",
|
||||
"help us make the game better": "帮助我们开发游戏",
|
||||
"your map to the universe": "你的宇宙地图",
|
||||
"your guide to the universe": "你的宇宙指南",
|
||||
"join the universe": "加入宇宙",
|
||||
"start the adventure": "开始冒险",
|
||||
"follow the development": "跟踪开发进度",
|
||||
"about the game": "关于这个游戏",
|
||||
"how to play": "如何游玩",
|
||||
"the universe": "关于宇宙",
|
||||
"media": "媒体",
|
||||
"social links": "社交软件",
|
||||
"facebook": "脸书",
|
||||
"twitter": "推特",
|
||||
"instagram": "照片墙",
|
||||
"youtube": "油管",
|
||||
"twitch": "老鼠台",
|
||||
"home": "主页",
|
||||
"transmissions": "公告",
|
||||
"pledge store": "承诺商店",
|
||||
"citizencon": "公民控",
|
||||
"download": "下载",
|
||||
"utilities": "工具",
|
||||
"help": "帮助",
|
||||
"press": "新闻",
|
||||
"careers": "招聘",
|
||||
"acknowledgements": "鸣谢",
|
||||
"legal": "法律",
|
||||
"responsible disclosure": "责任披露",
|
||||
"california notice at collection": "收集加利福尼亚州居民信息",
|
||||
"do not sell or share my personal information": "不要出售或共享个人信息",
|
||||
"manage my consent": "管理我的许可",
|
||||
"game packages": "游戏资格包",
|
||||
"more info": "更多信息",
|
||||
"enlist today": "现在立即入伍",
|
||||
"join the": "加入",
|
||||
"universe": "宇宙",
|
||||
"start the": "开始",
|
||||
"adventure": "冒险",
|
||||
"the game": "游戏",
|
||||
"terms of services": "服务条款",
|
||||
"status": "状态",
|
||||
"roberts space industries": "罗伯茨太空工业",
|
||||
"members": "成员",
|
||||
"reset": "重置",
|
||||
"names:": "名称:",
|
||||
"join us now!": "立即加入我们!",
|
||||
"history": "历史",
|
||||
"manifesto": "宣言",
|
||||
"charter": "章程",
|
||||
"flag this page": "标记此页面",
|
||||
"description": "描述",
|
||||
"search": "搜索",
|
||||
"search by:": "筛选:",
|
||||
"rank": "排位",
|
||||
"role": "角色",
|
||||
"membership": "会籍",
|
||||
"admin": "管理",
|
||||
"only display users with chosen rank": "只显示选择的等级中包含的用户",
|
||||
"only display users with chosen role": "只显示选择的角色中包含的用户",
|
||||
"only display users with chosen membership": "只显示选择的会籍中包含的用户",
|
||||
"member": "成员",
|
||||
"loading members": "加载成员中"
|
||||
}
|
9
json/locales/versions.json
Normal file
9
json/locales/versions.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"rsi": "0.2.14",
|
||||
"uex": "2.6.3",
|
||||
"addresses": "1.0",
|
||||
"concierge": "1.1",
|
||||
"hangar": "1.2",
|
||||
"orgs": "1.3",
|
||||
"dps":"0.1.1"
|
||||
}
|
3083
json/locales/zh-CN-dps.json
Normal file
3083
json/locales/zh-CN-dps.json
Normal file
File diff suppressed because it is too large
Load Diff
5605
json/locales/zh-CN-rsi.json
Normal file
5605
json/locales/zh-CN-rsi.json
Normal file
File diff suppressed because it is too large
Load Diff
1664
json/locales/zh-CN-uex.json
Normal file
1664
json/locales/zh-CN-uex.json
Normal file
File diff suppressed because it is too large
Load Diff
182
userscript.js
182
userscript.js
@ -1,182 +0,0 @@
|
||||
// ==UserScript==
|
||||
// @name UEX汉化脚本
|
||||
// @namespace Violentmonkey Scripts
|
||||
// @match https://uexcorp.space/*
|
||||
// @grant none
|
||||
// @version 0.2
|
||||
// @author CxJuice
|
||||
// @description 2022/7/28 12:48:01
|
||||
|
||||
// ==/UserScript==
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
const SUPPORT_LANG = ["zh-CN", "ja"];
|
||||
const lang = (navigator.language || navigator.userLanguage);
|
||||
const locales = getLocales(lang)
|
||||
|
||||
translateByCssSelector();
|
||||
translateDesc();
|
||||
traverseElement(document.body);
|
||||
watchUpdate();
|
||||
|
||||
function getLocales(lang) {
|
||||
if(lang.startsWith("zh")) { // zh zh-TW --> zh-CN
|
||||
lang = "zh-CN";
|
||||
}
|
||||
if(SUPPORT_LANG.includes(lang)) {
|
||||
return JSON.parse(GM_getResourceText(lang));
|
||||
}
|
||||
return {
|
||||
css: [],
|
||||
dict: {}
|
||||
};
|
||||
}
|
||||
|
||||
function translateRelativeTimeEl(el) {
|
||||
const datetime = $(el).attr('datetime');
|
||||
$(el).text(timeago.format(datetime, lang.replace('-', '_')));
|
||||
}
|
||||
|
||||
function translateElement(el) {
|
||||
// Get the text field name
|
||||
let k;
|
||||
if(el.tagName === "INPUT") {
|
||||
if (el.type === 'button' || el.type === 'submit') {
|
||||
k = 'value';
|
||||
} else {
|
||||
k = 'placeholder';
|
||||
}
|
||||
} else {
|
||||
k = 'data';
|
||||
}
|
||||
|
||||
const txtSrc = el[k].trim();
|
||||
const key = txtSrc.toLowerCase()
|
||||
.replace(/\xa0/g, ' ') // replace ' '
|
||||
.replace(/\s{2,}/g, ' ');
|
||||
|
||||
if(locales.dict[key]) {
|
||||
el[k] = el[k].replace(txtSrc, locales.dict[key])
|
||||
}
|
||||
}
|
||||
|
||||
function shoudTranslateEl(el) {
|
||||
const blockIds = ["readme", "wiki-content"];
|
||||
const blockClass = [
|
||||
"CodeMirror",
|
||||
"css-truncate" // 过滤文件目录
|
||||
];
|
||||
const blockTags = ["CODE", "SCRIPT", "LINK", "IMG", "svg", "TABLE", "ARTICLE", "PRE"];
|
||||
|
||||
if(blockTags.includes(el.tagName)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if(el.id && blockIds.includes(el.id)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if(el.classList) {
|
||||
for(let clazz of blockClass) {
|
||||
if(el.classList.contains(clazz)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function traverseElement(el) {
|
||||
if(!shoudTranslateEl(el)) {
|
||||
return
|
||||
}
|
||||
|
||||
for(const child of el.childNodes) {
|
||||
if(["RELATIVE-TIME", "TIME-AGO"].includes(el.tagName)) {
|
||||
translateRelativeTimeEl(el);
|
||||
return;
|
||||
}
|
||||
|
||||
if(child.nodeType === Node.TEXT_NODE) {
|
||||
translateElement(child);
|
||||
}
|
||||
else if(child.nodeType === Node.ELEMENT_NODE) {
|
||||
if(child.tagName === "INPUT") {
|
||||
translateElement(child);
|
||||
} else {
|
||||
traverseElement(child);
|
||||
}
|
||||
} else {
|
||||
// pass
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function watchUpdate() {
|
||||
const m = window.MutationObserver || window.WebKitMutationObserver;
|
||||
const observer = new m(function (mutations, observer) {
|
||||
for(let mutationRecord of mutations) {
|
||||
for(let node of mutationRecord.addedNodes) {
|
||||
traverseElement(node);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
observer.observe(document.body, {
|
||||
subtree: true,
|
||||
characterData: true,
|
||||
childList: true,
|
||||
});
|
||||
}
|
||||
|
||||
// translate "about"
|
||||
function translateDesc() {
|
||||
$(".repository-content .f4").append("<br/>");
|
||||
$(".repository-content .f4").append("<a id='translate-me' href='#' style='color:rgb(27, 149, 224);font-size: small'>翻译</a>");
|
||||
$("#translate-me").click(function() {
|
||||
// get description text
|
||||
const desc = $(".repository-content .f4")
|
||||
.clone()
|
||||
.children()
|
||||
.remove()
|
||||
.end()
|
||||
.text()
|
||||
.trim();
|
||||
|
||||
if(!desc) {
|
||||
return;
|
||||
}
|
||||
|
||||
GM_xmlhttpRequest({
|
||||
onload: function(res) {
|
||||
if (res.status === 200) {
|
||||
$("#translate-me").hide();
|
||||
// render result
|
||||
const text = res.responseText;
|
||||
$(".repository-content .f4").append("<span style='font-size: small'>TK翻译</span>");
|
||||
$(".repository-content .f4").append("<br/>");
|
||||
$(".repository-content .f4").append(text);
|
||||
} else {
|
||||
alert("翻译失败");
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function translateByCssSelector() {
|
||||
if(locales.css) {
|
||||
for(var css of locales.css) {
|
||||
if($(css.selector).length > 0) {
|
||||
if(css.key === '!html') {
|
||||
$(css.selector).html(css.replacement);
|
||||
} else {
|
||||
$(css.selector).attr(css.key, css.replacement);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})();
|
21
zh-CN.json
21
zh-CN.json
@ -1,21 +0,0 @@
|
||||
{
|
||||
"__comments-css": [
|
||||
"css selector",
|
||||
"css选择器"
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"_comments": [
|
||||
"if key === '!html' replace target by: $(selector).html(replacement)",
|
||||
"else: $(selector).attr(key, replacement)"
|
||||
],
|
||||
"key": "!html",
|
||||
"selector": "a[aria-label='Pull requests you created']",
|
||||
"replacement": "请求拉取"
|
||||
}
|
||||
],
|
||||
|
||||
"dict": {
|
||||
"Scorpius":"天蝎座",
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user