mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
feat(本地化与工具): 为排序功能添加升序/降序翻译并统一 ID 生成
- 为所有支持的语言添加排序功能的 "ascending" 和 "descending" 翻译 - 创建统一的 ID 生成工具函数 generateId,用于生成带前缀的业务 ID - 重构多个逻辑模块(battleLogic、moonLogic 等)使用新的 ID 生成函数 - 改进 GM 视图的类型安全,添加预设数据验证和类型保护
This commit is contained in:
@@ -1275,6 +1275,8 @@ export default {
|
||||
searchPlaceholder: '搜索NPC名称...',
|
||||
sort: {
|
||||
label: '排序',
|
||||
ascending: '升序',
|
||||
descending: '降序',
|
||||
reputation: '好感度',
|
||||
planets: '星球数量',
|
||||
difficulty: '难度',
|
||||
|
||||
Reference in New Issue
Block a user