mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 13:54:12 +01:00
WPrefs: fix list of source files for translation
A few files were missing from the list of sources files to be translated. Took opportunity to make a few strings translatable. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
609b3c29a6
commit
d6abbafeef
@@ -122,21 +122,21 @@ static void x_reset_modifier_mapping(Display * display)
|
||||
XModifierKeymap *x_modifier_keymap;
|
||||
|
||||
#define modwarn(name,old,other) \
|
||||
wwarning ("%s (0x%x) generates %s, which is generated by %s.", \
|
||||
wwarning(_("%s (0x%x) generates %s which is generated by %s"), \
|
||||
name, code, index_to_name (old), other)
|
||||
|
||||
#define modbarf(name,other) \
|
||||
wwarning ("%s (0x%x) generates %s, which is nonsensical.", \
|
||||
wwarning(_("%s (0x%x) generates %s which is nonsensical"), \
|
||||
name, code, other)
|
||||
|
||||
#define check_modifier(name,mask) \
|
||||
if ((1<<modifier_index) != mask) \
|
||||
wwarning ("%s (0x%x) generates %s, which is nonsensical.", \
|
||||
wwarning(_("%s (0x%x) generates %s which is nonsensical"), \
|
||||
name, code, index_to_name (modifier_index))
|
||||
|
||||
#define store_modifier(name,old) \
|
||||
if (old && old != modifier_index) \
|
||||
wwarning ("%s (0x%x) generates both %s and %s, which is nonsensical.", \
|
||||
wwarning(_("%s (0x%x) generates both %s and %s which is nonsensical"), \
|
||||
name, code, index_to_name (old), \
|
||||
index_to_name (modifier_index)); \
|
||||
if (modifier_index == ShiftMapIndex) modbarf (name,"ModShift"); \
|
||||
@@ -157,7 +157,7 @@ static void x_reset_modifier_mapping(Display * display)
|
||||
|
||||
x_modifier_keymap = XGetModifierMapping(display);
|
||||
if (x_modifier_keymap == NULL) {
|
||||
wwarning("XGetModifierMapping returned NULL, there is no modifiers or no memory.\n");
|
||||
wwarning(_("XGetModifierMapping returned NULL, there is no modifiers or no memory"));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -265,8 +265,8 @@ static void x_reset_modifier_mapping(Display * display)
|
||||
else if (mode_bit == alt_bit)
|
||||
warn = "Alt", alt_bit = 0;
|
||||
if (warn) {
|
||||
wwarning("%s is being used for both Mode_switch and %s.",
|
||||
index_to_name(mode_bit), warn);
|
||||
wwarning(_("%s is being used for both %s and %s"),
|
||||
index_to_name(mode_bit), "Mode_switch", warn);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user