mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
WPrefs: make a text string translatable
The WPrefs miniwindow shows a shorter title that could be translated.
This commit is contained in:
@@ -213,7 +213,7 @@ static void createMainWindow(WMScreen * scr)
|
|||||||
WMSetWindowCloseAction(WPrefs.win, quit, NULL);
|
WMSetWindowCloseAction(WPrefs.win, quit, NULL);
|
||||||
WMSetWindowMaxSize(WPrefs.win, 520, 390);
|
WMSetWindowMaxSize(WPrefs.win, 520, 390);
|
||||||
WMSetWindowMinSize(WPrefs.win, 520, 390);
|
WMSetWindowMinSize(WPrefs.win, 520, 390);
|
||||||
WMSetWindowMiniwindowTitle(WPrefs.win, "Preferences");
|
WMSetWindowMiniwindowTitle(WPrefs.win, _("Preferences"));
|
||||||
|
|
||||||
WPrefs.scrollV = WMCreateScrollView(WPrefs.win);
|
WPrefs.scrollV = WMCreateScrollView(WPrefs.win);
|
||||||
WMResizeWidget(WPrefs.scrollV, 500, 87);
|
WMResizeWidget(WPrefs.scrollV, 500, 87);
|
||||||
|
|||||||
Reference in New Issue
Block a user