feat(screenshot-ui): add newest/oldest sort selector

Add a combo button to the screenshot gallery to sort files by modification time (newest or oldest first). Store timestamp per image and rebuild layout when sort order changes. Include translations for en_US and zh_CN.
This commit is contained in:
2026-08-07 20:22:50 +08:00
parent d7cb178c2b
commit d9b4b42f74
4 changed files with 83 additions and 2 deletions

View File

@@ -49,5 +49,8 @@
"item.water.name": "water",
"item.pig_spawn_egg.name": "pig spawn egg",
"screenshot.no_screenshot": "No Screenshot",
"button.show_in_file_manager": "Show In File Manager"
"button.show_in_file_manager": "Show In File Manager",
"file.sort_type": "File Sort Type: {type}",
"file.newest_first": "Newest First",
"file.oldest_first": "Oldest First"
}

View File

@@ -49,5 +49,8 @@
"item.water.name": "水",
"item.pig_spawn_egg.name": "猪猪刷怪蛋",
"screenshot.no_screenshot": "没有截图",
"button.show_in_file_manager": "在文件管理器中显示"
"button.show_in_file_manager": "在文件管理器中显示",
"file.sort_type": "文件排序方式:{type}",
"file.newest_first": "最新在前",
"file.oldest_first": "最旧在前"
}