Skip to content

Commit 1ef6f61

Browse files
authored
Merge pull request #151 from mcthesw/dev
Merge dev
2 parents 34b0b0a + 7b69cc6 commit 1ef6f61

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+3167
-3408
lines changed

doc/en/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Other developers do not need to change the version number, just add your updates
9393

9494
- Update the version number in `package.json`(`pnpm version <patch|minor|major>`)
9595
- Update the version number in `src/schemas/saveTypes.ts`
96-
- Update the version number in `src-tauri/src/config.rs:default_config`
96+
- Update the version number in `src-tauri/src/config/app_config.rs:impl Default for Config`
9797
- Update the version number in `src-tauri/tauri.conf.json`
9898

9999
## Folder Structure

doc/zh-CN/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ vue-devtools
9393

9494
-`package.json`中更新版本号(`pnpm version <patch|minor|major>`)
9595
-`src/schemas/saveTypes.ts`中更新版本号
96-
-`src-tauri/src/config.rs:default_config`中更新版本号
96+
-`src-tauri/src/config/app_config.rs:impl Default for Config`中更新版本号
9797
-`src-tauri/tauri.conf.json`中更新版本号
9898

9999
## 文件夹说明

locales/en_US.json

+15-5
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@
3737
"open_log_folder": "Open log",
3838
"log_to_file": "Generate file log",
3939
"setting_tips": "An asterisk indicates that it will take effect after restarting, and the remaining settings will take effect after saving.",
40-
"add_new_to_favorites": "New games are automatically added to favorites"
40+
"add_new_to_favorites": "New games are automatically added to favorites",
41+
"quick_action_hotkeys": "Quick backup/restore hotkey settings (settings need to be saved)",
42+
"hotkey": {
43+
"quick_backup": "Quick backup",
44+
"hint": "Note that the settings here are the same as other settings with an asterisk. They need to be saved and restarted to take effect. Setting it to empty will disable this function.",
45+
"quick_apply": "Quick file reading"
46+
}
4147
},
4248
"home": {
4349
"hello_world": "Hello world",
@@ -230,10 +236,10 @@
230236
"choose_save_file_error": "An error occurred while selecting the save file",
231237
"choose_executable_file_error": "An error occurred while selecting an executable file",
232238
"add_game_failed": "Failed to add game",
233-
"get_backup_list_failed": "Failed to obtain backup information",
239+
"get_game_snapshots_failed": "Failed to obtain backup information",
234240
"backup_failed": "Backup failed, check logs for more information",
235-
"delete_backup_failed": "Delete backup failed, check logs for more information",
236-
"apply_backup_failed": "Apply backup failed, check logs for more information",
241+
"delete_snapshot_failed": "Delete backup failed, check logs for more information",
242+
"restore_snapshot_failed": "Apply backup failed, check logs for more information",
237243
"delete_game_failed": "Failed to delete game",
238244
"open_backup_folder_failed": "Failed to open backup folder",
239245
"set_config_failed": "Failed to set config",
@@ -258,7 +264,8 @@
258264
"quick_apply": "Quick apply",
259265
"exit": "Exit",
260266
"success": "Success",
261-
"error": "Error"
267+
"error": "Error",
268+
"find_error_detail": "Please check the log file for details"
262269
},
263270
"backup": {
264271
"extra_backup_file_not_exist": "Since the file does not exist, the extra backup (pre-overwrite backup) cannot be completed and the recovery is aborted. If you don't need this feature, turn it off in settings.",
@@ -285,5 +292,8 @@
285292
"add_success": "Node added successfully",
286293
"enable_edit": "Enable editing: You can drag and drop items directly to sort them",
287294
"game_not_found": "It is recommended to delete this collection as the game does not exist:"
295+
},
296+
"setting": {
297+
"current_quick_action_game": "Current quick backup games"
288298
}
289299
}

locales/fr.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,10 @@
217217
"choose_save_file_error": "Misappropriation dans la sélection des documents archivés",
218218
"choose_executable_file_error": "Manquement dans la sélection d ' un document exécutoire",
219219
"add_game_failed": "Synchronisation cellulaire",
220-
"get_backup_list_failed": "Failure to obtain back-up information",
220+
"get_game_snapshots_failed": "Failure to obtain back-up information",
221221
"backup_failed": "Intervalles de sauvegarde automatiques",
222-
"delete_backup_failed": "Points d ' addition réussis",
223-
"apply_backup_failed": "Défauts d'application, registres d'inspection pour obtenir plus d'information",
222+
"delete_snapshot_failed": "Points d ' addition réussis",
223+
"restore_snapshot_failed": "Défauts d'application, registres d'inspection pour obtenir plus d'information",
224224
"delete_game_failed": "Supprimer l'échec du jeu",
225225
"open_backup_folder_failed": "Défaut d ' ouvrir les documents",
226226
"set_config_failed": "Absence de configuration",

locales/ko.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@
185185
"overwrite_download": "Coverage 다운로드"
186186
},
187187
"error": {
188-
"delete_backup_failed": "성공적인 추가 포인트",
189-
"apply_backup_failed": "신청 실패, 검사 로그는 더 많은 정보를 얻기 위하여",
188+
"delete_snapshot_failed": "성공적인 추가 포인트",
189+
"restore_snapshot_failed": "신청 실패, 검사 로그는 더 많은 정보를 얻기 위하여",
190190
"open_url_failed": "링크 열기 실패",
191191
"config_load_failed": "문서의 실패는 문서가 유효하지 않았거나 사용할 수없는 사실로 인해 될 수 있습니다",
192192
"choose_save_dir_error": "아카이브 문서의 선택에 실수",
193193
"choose_save_file_error": "아카이브 문서의 선택에 실수",
194194
"choose_executable_file_error": "시행 문서의 선택에 실수",
195195
"add_game_failed": "게임 실패 추가",
196-
"get_backup_list_failed": "백업 정보를 얻기 위해 실패",
196+
"get_game_snapshots_failed": "백업 정보를 얻기 위해 실패",
197197
"backup_failed": "자동 백업 간격",
198198
"delete_game_failed": "게임 실패 삭제",
199199
"open_backup_folder_failed": "다시 문서를 열 실패",

locales/zh_SIMPLIFIED.json

+16-6
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@
3737
"open_log_folder": "打开日志",
3838
"log_to_file": "生成文件日志",
3939
"setting_tips": "带有星号表示重启后生效,其余设置保存后生效",
40-
"add_new_to_favorites": "新游戏自动加入收藏夹"
40+
"add_new_to_favorites": "新游戏自动加入收藏夹",
41+
"quick_action_hotkeys": "快捷备份/恢复热键设置(需要保存设置)",
42+
"hotkey": {
43+
"hint": "注意,此处设置和其他带有星号设置一样,需要保存并且重启生效,设置为全空即禁用该功能",
44+
"quick_backup": "快速备份",
45+
"quick_apply": "快速读档"
46+
}
4147
},
4248
"home": {
4349
"hello_world": "你好 世界",
@@ -230,10 +236,10 @@
230236
"choose_save_file_error": "选择存档文件时发生错误",
231237
"choose_executable_file_error": "选择可执行文件时发生错误",
232238
"add_game_failed": "添加游戏失败",
233-
"get_backup_list_failed": "获取备份信息失败",
239+
"get_game_snapshots_failed": "获取备份信息失败",
234240
"backup_failed": "备份失败,检查日志以获取更多信息",
235-
"delete_backup_failed": "删除备份失败,检查日志以获取更多信息",
236-
"apply_backup_failed": "应用备份失败,检查日志以获取更多信息",
241+
"delete_snapshot_failed": "删除备份失败,检查日志以获取更多信息",
242+
"restore_snapshot_failed": "应用备份失败,检查日志以获取更多信息",
237243
"delete_game_failed": "删除游戏失败",
238244
"open_backup_folder_failed": "打开备份文件夹失败",
239245
"set_config_failed": "设置配置失败",
@@ -258,7 +264,8 @@
258264
"quick_apply": "快速读档",
259265
"exit": "退出",
260266
"success": "成功",
261-
"error": "错误"
267+
"error": "错误",
268+
"find_error_detail": "请在日志文件中查看详情"
262269
},
263270
"backup": {
264271
"extra_backup_file_not_exist": "由于文件不存在,无法完成额外备份(覆盖前备份),恢复中止。如果不需要该功能,请在设置中关闭。",
@@ -285,5 +292,8 @@
285292
"add_success": "成功添加节点",
286293
"game_not_found": "建议删除该收藏,因为游戏不存在:",
287294
"enable_edit": "启用编辑:可以直接拖拽项目进行排序"
295+
},
296+
"setting": {
297+
"current_quick_action_game": "当前快捷备份的游戏"
288298
}
289-
}
299+
}

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "rusty-game-save-manager",
33
"private": true,
4-
"version": "1.3.2",
4+
"version": "1.4.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
@@ -15,8 +15,10 @@
1515
"dependencies": {
1616
"@element-plus/icons-vue": "^2.3.1",
1717
"@tauri-apps/api": "^1.5.6",
18+
"@types/lodash": "^4.17.9",
1819
"@vueuse/core": "^10.10.0",
1920
"element-plus": "^2.7.4",
21+
"lodash": "^4.17.21",
2022
"pinia": "^2.1.7",
2123
"uuid": "^9.0.1",
2224
"vue": "^3.4.27",

0 commit comments

Comments
 (0)