mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-16 14:15:46 +01:00
Make two text strings translatable
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
@@ -721,7 +721,7 @@ static WMColorPanel *makeColorPanel(WMScreen * scrPtr, const char *name)
|
|||||||
WMAddNotificationObserver(rgbTextFieldCallback, panel, WMTextDidEndEditingNotification, panel->rgbBlueT);
|
WMAddNotificationObserver(rgbTextFieldCallback, panel, WMTextDidEndEditingNotification, panel->rgbBlueT);
|
||||||
|
|
||||||
panel->rgbDecB = WMCreateButton(panel->rgbFrm, WBTRadio);
|
panel->rgbDecB = WMCreateButton(panel->rgbFrm, WBTRadio);
|
||||||
WMSetButtonText(panel->rgbDecB, "Decimal");
|
WMSetButtonText(panel->rgbDecB, _("Decimal"));
|
||||||
WMSetButtonSelected(panel->rgbDecB, 1);
|
WMSetButtonSelected(panel->rgbDecB, 1);
|
||||||
panel->rgbState = RGBdec;
|
panel->rgbState = RGBdec;
|
||||||
WMSetButtonAction(panel->rgbDecB, rgbDecToHex, panel);
|
WMSetButtonAction(panel->rgbDecB, rgbDecToHex, panel);
|
||||||
@@ -729,7 +729,7 @@ static WMColorPanel *makeColorPanel(WMScreen * scrPtr, const char *name)
|
|||||||
WMMoveWidget(panel->rgbDecB, 2, 81);
|
WMMoveWidget(panel->rgbDecB, 2, 81);
|
||||||
|
|
||||||
panel->rgbHexB = WMCreateButton(panel->rgbFrm, WBTRadio);
|
panel->rgbHexB = WMCreateButton(panel->rgbFrm, WBTRadio);
|
||||||
WMSetButtonText(panel->rgbHexB, "Hexadecimal");
|
WMSetButtonText(panel->rgbHexB, _("Hexadecimal"));
|
||||||
WMSetButtonAction(panel->rgbHexB, rgbDecToHex, panel);
|
WMSetButtonAction(panel->rgbHexB, rgbDecToHex, panel);
|
||||||
WMResizeWidget(panel->rgbHexB, PWIDTH - 8, 23);
|
WMResizeWidget(panel->rgbHexB, PWIDTH - 8, 23);
|
||||||
WMMoveWidget(panel->rgbHexB, 2, 104);
|
WMMoveWidget(panel->rgbHexB, 2, 104);
|
||||||
|
|||||||
Reference in New Issue
Block a user