add logs folder open and change the shaderpacks icon (#2347)

* shaderpacks folder and resourcepacks icon

* i18n

---------

Co-authored-by: Yuhui Huang <jackhuang1998@gmail.com>
This commit is contained in:
何杰豪
2023-07-06 23:46:35 +08:00
committed by GitHub
parent e5842d5a49
commit 2be95fdb51
4 changed files with 6 additions and 2 deletions

View File

@@ -283,9 +283,10 @@ public class VersionPage extends DecoratorAnimatedPage implements DecoratorPage
new IconedMenuItem(FXUtils.limitingSize(SVG.puzzle(Theme.blackFillBinding(), 14, 14), 14, 14), i18n("folder.mod"), FXUtils.withJFXPopupClosing(() -> control.onBrowse("mods"), browsePopup)),
new IconedMenuItem(FXUtils.limitingSize(SVG.gearOutline(Theme.blackFillBinding(), 14, 14), 14, 14), i18n("folder.config"), FXUtils.withJFXPopupClosing(() -> control.onBrowse("config"), browsePopup)),
new IconedMenuItem(FXUtils.limitingSize(SVG.texture(Theme.blackFillBinding(), 14, 14), 14, 14), i18n("folder.resourcepacks"), FXUtils.withJFXPopupClosing(() -> control.onBrowse("resourcepacks"), browsePopup)),
new IconedMenuItem(FXUtils.limitingSize(SVG.texture(Theme.blackFillBinding(), 14, 14), 14, 14), i18n("folder.shaderpacks"), FXUtils.withJFXPopupClosing(() -> control.onBrowse("shaderpacks"), browsePopup)),
new IconedMenuItem(FXUtils.limitingSize(SVG.applicationOutline(Theme.blackFillBinding(), 14, 14), 14, 14), i18n("folder.shaderpacks"), FXUtils.withJFXPopupClosing(() -> control.onBrowse("shaderpacks"), browsePopup)),
new IconedMenuItem(FXUtils.limitingSize(SVG.monitorScreenshot(Theme.blackFillBinding(), 14, 14), 14, 14), i18n("folder.screenshots"), FXUtils.withJFXPopupClosing(() -> control.onBrowse("screenshots"), browsePopup)),
new IconedMenuItem(FXUtils.limitingSize(SVG.earth(Theme.blackFillBinding(), 14, 14), 14, 14), i18n("folder.saves"), FXUtils.withJFXPopupClosing(() -> control.onBrowse("saves"), browsePopup))
new IconedMenuItem(FXUtils.limitingSize(SVG.earth(Theme.blackFillBinding(), 14, 14), 14, 14), i18n("folder.saves"), FXUtils.withJFXPopupClosing(() -> control.onBrowse("saves"), browsePopup)),
new IconedMenuItem(FXUtils.limitingSize(SVG.script(Theme.blackFillBinding(), 14, 14), 14, 14), i18n("folder.logs"), FXUtils.withJFXPopupClosing(() -> control.onBrowse("logs"), browsePopup))
);
PopupMenu managementList = new PopupMenu();

View File

@@ -397,6 +397,7 @@ file=File
folder.config=Configs
folder.game=Game Directory
folder.logs=Logs
folder.mod=Mods
folder.resourcepacks=Resource Packs
folder.shaderpacks=Shader packs

View File

@@ -382,6 +382,7 @@ file=檔案
folder.config=設定資料夾
folder.game=遊戲資料夾
folder.logs=日誌文件夾
folder.mod=MOD 模組資料夾
folder.resourcepacks=資源包資料夾
folder.shaderpacks=著色器包文件夾

View File

@@ -382,6 +382,7 @@ file=文件
folder.config=配置文件夹
folder.game=游戏文件夹
folder.logs=日志文件夹
folder.mod=MOD文件夹
folder.resourcepacks=资源包文件夹
folder.shaderpacks=光影包文件夹