1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 12:00:31 +01:00
Files
wmaker/WindowMaker/plmenu.zh_TW.in
Doug Torrance d48a37060c Use wprefs_bindir output variable to set WPrefs path in menus.
The path to WPrefs has been hardcoded in many of the menu files to
/usr/local/GNUstep/Applications/WPrefs.app/WPrefs, which would only actually
work if the user ran something like:
     ./configure --with-gnustepdir=/usr/local/GNUstep
during build.

Instead, we add a .in extension to all menu files with this issue and use sed
to use the actual WPrefs path (given by the wprefs_bindir output variable) and
generate a new menu file.

A very similar idea is already used to generate the WMState file, which sets
WPrefs as the command for the Window Maker logo tile in the dock.

This patch fixes Debian bug #851737:
https://bugs.debian.org/851737
2017-01-19 18:40:13 -05:00

105 lines
4.4 KiB
Plaintext

("應用程式",
("資訊",
("資訊面板...", INFO_PANEL),
("法律...", LEGAL_PANEL),
("系統主控台", EXEC, "xconsole"),
("系統負載", SHEXEC, "xosview || xload"),
("行程清單", EXEC, "xterm -e top"),
("手冊瀏覽器", EXEC, "xman")
),
("執行...", SHEXEC,"%a(執行,輸入執行的命令:)"),
("終端機", EXEC, "crxvt -ls -T 終端機 -n 終端機"),
("工作區", WORKSPACE_MENU),
("應用程式",
("影像處理",
("Gimp", SHEXEC, "gimp >/dev/null"),
("XV", EXEC, "xv"),
("XPaint", EXEC, "xpaint"),
("XFig", EXEC, "xfig")
),
("X 檔案管理員", EXEC, "xfm"),
("OffiX Files", EXEC, "files"),
("LyX", EXEC, "lyx"),
("Netscape", EXEC, "netscape"),
("Ghostview", EXEC, "ghostview %a(GhostView,輸入要檢視的檔案)"),
("Acrobat", EXEC, "acroread %a(Acrobat,輸入要檢視的 PDF)"),
("TkDesk", EXEC, "tkdesk")
),
("編輯器",
("XFte", EXEC, "xfte"),
("XEmacs", SHEXEC, "xemacs || emacs"),
("XJed", EXEC, "xjed"),
("NEdit", EXEC, "nedit"),
("Xedit", EXEC, "xedit"),
("VI", EXEC, "xterm -e vi")
),
("雜項",
("Xmcd", SHEXEC, "xmcd 2> /dev/null"),
("Xplaycd", EXEC, "xplaycd" ),
("Xmixer", EXEC, "xmixer")
),
("公用程式",
("計算機", EXEC, "xcalc"),
("Window Properties", SHEXEC, "xprop | xmessage -center -title 'xprop' -file -"),
("Font Chooser", EXEC, "xfontsel"),
("終端機模擬器", EXEC, "xminicom"),
("Magnify", EXEC, "xmag"),
("Colormap", EXEC, "xcmap"),
("XKill", EXEC, "xkill"),
("Clipboard", EXEC, "xclipboard")
),
("選取",
("複製", SHEXEC, "echo '%s' | wxcopy"),
("郵寄至", EXEC, "xterm -name mail -T \"Pine\" -e pine %s"),
("Navigate", EXEC, "netscape %s"),
("在手冊中搜尋", SHEXEC, "MANUAL_SEARCH(%s)")
),
("工作區",
("隱藏其他", HIDE_OTHERS),
("全部顯示", SHOW_ALL),
("排列圖示", ARRANGE_ICONS),
("更新畫面", REFRESH),
("鎖定", EXEC, "xlock -allowroot -usefirst"),
("儲存階段狀態", SAVE_SESSION),
("清除階段狀態", CLEAR_SESSION)
),
("外觀",
("主題", OPEN_MENU, "-noext #wmdatadir#/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
("風格", OPEN_MENU, "-noext #wmdatadir#/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
("圖示集", OPEN_MENU, "-noext #wmdatadir#/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"),
("背景",
("實體色",
("Black", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"),
("Blue", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#505075\")'"),
("Indigo", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#243e6c\")'"),
("Bleumarine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#224477\")'"),
("Purple", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#554466\")'"),
("Wheat", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, wheat4)'"),
("Dark Gray", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#333340\")'"),
("Wine", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, \"#400020\")'")
),
("漸層色",
("Sunset", EXEC, "wdwrite WindowMaker WorkspaceBack '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'"),
("Sky", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, blue4, white)'"),
("Blue Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#7080a5\", \"#101020\")'"),
("Indigo Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#746ebc\", \"#242e4c\")'"),
("Purple Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#654c66\", \"#151426\")'"),
("Wheat Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#a09060\", \"#302010\")'"),
("Grey Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
("Wine Shades", EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
),
("圖片", OPEN_MENU, "-noext #wmdatadir#/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
),
("儲存主題", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/%a(主題名稱)"),
("儲存圖示集", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/%a(圖示集名稱)"),
("偏好設定公用程式", EXEC, "#wprefs#")
),
("離開",
("重新啟動", RESTART),
("啟動 BlackBox", RESTART, blackbox),
("啟動 kwm", RESTART, kwm),
("啟動 IceWM", RESTART, icewm),
("離開...", EXIT)
)
)