mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
- s/sprintf/snprintf
- updated some po's - fixed crash bug when removing WINDOWS_MENU or WORKSPACE_MENU from rootmenu - some other stuff i forgot
This commit is contained in:
@@ -73,6 +73,7 @@ static char *keyOptions[] = {
|
||||
"CloseKey",
|
||||
"MaximizeKey",
|
||||
"VMaximizeKey",
|
||||
"HMaximizeKey",
|
||||
"RaiseKey",
|
||||
"LowerKey",
|
||||
"RaiseLowerKey",
|
||||
@@ -383,6 +384,7 @@ createPanel(Panel *p)
|
||||
WMAddListItem(panel->actLs, _("Close active window"));
|
||||
WMAddListItem(panel->actLs, _("Maximize active window"));
|
||||
WMAddListItem(panel->actLs, _("Maximize active window vertically"));
|
||||
WMAddListItem(panel->actLs, _("Maximize active window horizontally"));
|
||||
WMAddListItem(panel->actLs, _("Raise active window"));
|
||||
WMAddListItem(panel->actLs, _("Lower active window"));
|
||||
WMAddListItem(panel->actLs, _("Raise/Lower window under mouse pointer"));
|
||||
|
||||
@@ -301,6 +301,7 @@ updateSVSlider(WMSlider *sPtr, Bool saturation, WMFont *font, RHSVColor *hsv)
|
||||
WMScreen *scr = WMWidgetScreen(sPtr);
|
||||
RColor from, to;
|
||||
RHSVColor tmp;
|
||||
char *buffer;
|
||||
|
||||
tmp = *hsv;
|
||||
if (saturation) {
|
||||
@@ -318,21 +319,25 @@ updateSVSlider(WMSlider *sPtr, Bool saturation, WMFont *font, RHSVColor *hsv)
|
||||
pixmap = WMCreatePixmapFromRImage(scr, image, 128);
|
||||
RReleaseImage(image);
|
||||
|
||||
if (saturation)
|
||||
buffer = wstrdup(_("Saturation"));
|
||||
else
|
||||
buffer = wstrdup(_("Brightness"));
|
||||
|
||||
if (hsv->value < 128 || !saturation) {
|
||||
WMColor *col = WMWhiteColor(scr);
|
||||
|
||||
|
||||
WMDrawString(scr, WMGetPixmapXID(pixmap), WMColorGC(col), font, 2,
|
||||
(16 - WMFontHeight(font))/2 - 1,
|
||||
saturation ? "Saturation" : "Brightness", 10);
|
||||
(16 - WMFontHeight(font))/2 - 1, buffer, strlen(buffer));
|
||||
WMReleaseColor(col);
|
||||
} else {
|
||||
WMColor *col = WMBlackColor(scr);
|
||||
|
||||
WMDrawString(scr, WMGetPixmapXID(pixmap), WMColorGC(col), font, 2,
|
||||
(16 - WMFontHeight(font))/2 - 1,
|
||||
saturation ? "Saturation" : "Brightness", 10);
|
||||
(16 - WMFontHeight(font))/2 - 1, buffer, strlen(buffer));
|
||||
WMReleaseColor(col);
|
||||
}
|
||||
wfree(buffer);
|
||||
WMSetSliderImage(sPtr, pixmap);
|
||||
WMReleasePixmap(pixmap);
|
||||
}
|
||||
@@ -364,13 +369,15 @@ updateHueSlider(WMSlider *sPtr, WMFont *font, RHSVColor *hsv)
|
||||
WMColor *col = WMWhiteColor(scr);
|
||||
|
||||
WMDrawString(scr, WMGetPixmapXID(pixmap), WMColorGC(col), font, 2,
|
||||
(16 - WMFontHeight(font))/2 - 1, "Hue", 3);
|
||||
(16 - WMFontHeight(font))/2 - 1,
|
||||
_("Hue"), strlen(_("Hue")));
|
||||
WMReleaseColor(col);
|
||||
} else {
|
||||
WMColor *col = WMBlackColor(scr);
|
||||
|
||||
WMDrawString(scr, WMGetPixmapXID(pixmap), WMColorGC(col), font, 2,
|
||||
(16 - WMFontHeight(font))/2 - 1, "Hue", 3);
|
||||
(16 - WMFontHeight(font))/2 - 1,
|
||||
_("Hue"), strlen(_("Hue")));
|
||||
WMReleaseColor(col);
|
||||
}
|
||||
WMSetSliderImage(sPtr, pixmap);
|
||||
|
||||
@@ -9,7 +9,7 @@ hr.po Croatian Toni Bili
|
||||
fr.po French Bastien NOCERA <hadess@writeme.com>
|
||||
Hadess <hadess@infonie.fr>
|
||||
ko.po Korean Byeong-Chan Kim <redhands@linux.sarang.net>
|
||||
cs.po Czech David ©auer <xsauer@hwlab.felk.cvut.cz>
|
||||
cs.po Czech Jiri Hnidek <Jiri.Hnidek@vslib.cz>
|
||||
ja.po Japanese Kazuhide Takahashi <kazu@dgra.ne.jp>
|
||||
zh_TW.Big5.po Chinese Li Wei Jih <lwj83@cs.ccu.edu.tw>
|
||||
zh_CN.po Chinese Wang Jian <larkw@263.net>
|
||||
@@ -20,5 +20,5 @@ ru.po Russian Igor P. Roboul <igor@srcso.sochi.su>
|
||||
de.po German Bernd Eggert <Bernd.Eggert@t-online.de>
|
||||
hu.po Hungarian Horvath Szabolcs <horvathsz@penguinpowered.com>
|
||||
bg.po Bulgarian Slavei Karadjov <slaff@exco.net>
|
||||
sk.po Slovak judas@hell <tomka@oalevice.sk>
|
||||
sk.po Slovak Jan "judas" Tomka <tomka@oalevice.sk>
|
||||
|
||||
|
||||
2199
WPrefs.app/po/cs.po
2199
WPrefs.app/po/cs.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user