Skip to content

Commit 09a2950

Browse files
committed
chore(release): bump version to 0.8.0
1 parent e782853 commit 09a2950

File tree

7 files changed

+63
-24
lines changed

7 files changed

+63
-24
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sjmcl",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "SJMCL"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
description = "A Minecraft launcher from SJMC"
55
authors = ["SJMCL Team"]
66
license = "GNU General Public License v3.0 (with additional terms)"

src-tauri/src/account/helpers/authlib_injector/constants.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1+
pub static AUTHLIB_INJECTOR_JAR_NAME: &str = "authlib-injector.jar";
12
pub static PRESET_AUTH_SERVERS: [&str; 3] = [
23
"https://skin.mc.sjtu.cn/api/yggdrasil",
34
"https://skin.mualliance.ltd/api/yggdrasil",
45
"https://littleskin.cn/api/yggdrasil",
56
];
6-
pub static CLIENT_IDS: [(&str, &str); 3] = [
7+
pub static SCOPE: &str =
8+
"openid offline_access Yggdrasil.PlayerProfiles.Select Yggdrasil.Server.Join";
9+
10+
pub static CLIENT_IDS: [(&str, &str); 6] = [
11+
// built-in preset auth servers
712
("skin.mc.sjtu.cn", "6"),
813
("skin.mualliance.ltd", "27"),
914
("littleskin.cn", "1014"),
15+
// supported MUA auth servers (ref: https://github.com/SJMC-Dev/SJMCL-client-ids)
16+
("skin.jsumc.fun", "2"),
17+
("skin.mc.taru.xj.cn", "6"),
18+
("user.suesmc.ltd", "4"),
1019
];
11-
pub static SCOPE: &str =
12-
"openid offline_access Yggdrasil.PlayerProfiles.Select Yggdrasil.Server.Join";
13-
pub static AUTHLIB_INJECTOR_JAR_NAME: &str = "authlib-injector.jar";

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
33
"productName": "SJMCL",
4-
"version": "0.7.0",
4+
"version": "0.8.0",
55
"identifier": "SJMCL",
66
"build": {
77
"frontendDist": "../out",

src/locales/zh-Hant.json

Lines changed: 47 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@
7676
"addPlayer": "新增角色",
7777
"add3rdPartyServer": "新增認證伺服器",
7878
"sourceHomepage": "訪問主頁",
79-
"deleteServer": "刪除此伺服器"
79+
"deleteServer": "刪除此伺服器",
80+
"importFromOtherLaunchers": "從其他啟動器匯入"
8081
},
8182
"playerTypeList": {
8283
"all": "全部來源"
@@ -899,6 +900,7 @@
899900
"edit": "編輯",
900901
"enable": "啟用",
901902
"finish": "完成",
903+
"import": "匯入",
902904
"launch": "啟動",
903905
"next": "下一步",
904906
"notice": "提示",
@@ -923,12 +925,24 @@
923925
"viewOnWiki": "在 Minecraft Wiki 中檢視"
924926
},
925927
"GeneralSettingsPage": {
926-
"general": {
927-
"title": "通用設定",
928+
"language": {
929+
"title": "語言",
928930
"settings": {
929931
"language": {
930932
"title": "語言(Language)",
931933
"communityAck": ""
934+
},
935+
"resourceTranslation": {
936+
"title": "顯示資源翻譯",
937+
"description": "啟用後,在資源下載介面嘗試顯示名稱或描述的簡體中文翻譯(如資料可用)"
938+
},
939+
"translatedFilenamePrefix": {
940+
"title": "資原始檔名新增翻譯字首",
941+
"description": "啟用後,下載與更新資源時將在檔名新增簡體中文譯名字首(如“[地圖] map.jar”)"
942+
},
943+
"skipFirstScreenOptions": {
944+
"title": "自動設定例項語言",
945+
"description": "啟用後,新建例項的語言將自動設定為簡體中文,這將同時跳過輔助功能設定"
932946
}
933947
}
934948
},
@@ -951,14 +965,6 @@
951965
"launchPageQuickSwitch": {
952966
"title": "快捷切換例項與賬戶",
953967
"description": "啟用後,點選啟動頁的切換按鈕可直接選擇賬戶或例項,而無需跳轉頁面"
954-
},
955-
"resourceTranslation": {
956-
"title": "顯示資源翻譯",
957-
"description": "啟用後,在資源下載介面嘗試顯示名稱或描述的簡體中文翻譯(如資料可用)"
958-
},
959-
"skipFirstScreenOptions": {
960-
"title": "自動設定例項語言",
961-
"description": "啟用後,新建例項的語言將自動設定為簡體中文,這將同時跳過輔助功能設定"
962968
}
963969
}
964970
},
@@ -1143,6 +1149,22 @@
11431149
}
11441150
}
11451151
},
1152+
"ImportAccountInfoModal": {
1153+
"header": {
1154+
"title": "從其他啟動器匯入賬戶資訊"
1155+
},
1156+
"launcherDesc": {
1157+
"HMCL": "Hello Minecraft! Launcher"
1158+
},
1159+
"body": {
1160+
"authServers": "認證伺服器",
1161+
"players": "角色"
1162+
},
1163+
"tooltips": {
1164+
"existingServer": "已存在相同地址的認證伺服器,匯入將會覆蓋資料",
1165+
"existingPlayer": "已存在相同 UUID 的角色,匯入將會覆蓋資料"
1166+
}
1167+
},
11461168
"ImportModpackModal": {
11471169
"header": {
11481170
"title": "匯入整合包"
@@ -1155,9 +1177,6 @@
11551177
"author": "作者",
11561178
"modLoader": "模組載入器",
11571179
"gameVersion": "遊戲版本"
1158-
},
1159-
"button": {
1160-
"import": "匯入"
11611180
}
11621181
},
11631182
"InstanceBasicSettings": {
@@ -2047,6 +2066,20 @@
20472066
"NOT_FOUND": "認證伺服器不存在"
20482067
}
20492068
}
2069+
},
2070+
"retrieveOtherLauncherAccountInfo": {
2071+
"error": {
2072+
"title": "獲取外部賬號資訊失敗",
2073+
"description": {
2074+
"NOT_FOUND": "讀取賬號資訊檔案錯誤"
2075+
}
2076+
}
2077+
},
2078+
"importExternalAccountInfo": {
2079+
"success": "外部賬戶資訊匯入成功",
2080+
"error": {
2081+
"title": "外部賬號資訊匯入失敗"
2082+
}
20502083
}
20512084
},
20522085
"launch": {

0 commit comments

Comments
 (0)