mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 16:32:30 +01:00
Renamed "Aperçu" into "Mini-Preview" in visible places
Having an thing whose name requires special UTF-8 character to be properly displayed is a source of portability problem (including xgettext issue reported by Alwin); Considering also that this french word is only understood (sparesely) in Great Britain, but not by international english speaking community; This patch then replace it by the "Mini-Preview" suggested by Yuri Tarasievich, which is more likely to be understood. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
e78e485fb3
commit
35fe34ac85
@@ -446,7 +446,7 @@ extern struct WPreferences {
|
||||
char cycle_ignore_minimized; /* Ignore minimized windows when cycling */
|
||||
char strict_windoze_cycle; /* don't close switch panel when shift is released */
|
||||
char panel_only_open; /* Only open the switch panel; don't switch */
|
||||
int apercu_size; /* Size of apercu preview in pixels */
|
||||
int apercu_size; /* Size of Mini-Previews in pixels */
|
||||
|
||||
/* All delays here are in ms. 0 means instant auto-action. */
|
||||
int clip_auto_raise_delay; /* Delay after which the clip will be raised when entered */
|
||||
|
||||
@@ -1151,7 +1151,7 @@ void wIconifyWindow(WWindow *wwin)
|
||||
set_icon_apercu(wwin->icon, apercu);
|
||||
RReleaseImage(apercu);
|
||||
} else {
|
||||
wwarning("window apercu creation failed");
|
||||
wwarning(_("window mini-preview creation failed"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -458,7 +458,7 @@ static void showBalloon(WScreen *scr)
|
||||
}
|
||||
|
||||
if (wPreferences.miniwin_apercu_balloon && scr->balloon->apercu != None)
|
||||
/* used to display either the apercu alone or the apercu and the title */
|
||||
/* used to display either the mini-preview alone or the mini-preview with the title */
|
||||
showApercu(scr, x, y, scr->balloon->text, scr->balloon->apercu);
|
||||
else
|
||||
showText(scr, x, y, scr->balloon->h, w, scr->balloon->text);
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#define TILE_CLIP 1
|
||||
#define TILE_DRAWER 2
|
||||
|
||||
/* This is the border, in pixel, drawn around an Aperçu */
|
||||
/* This is the border, in pixel, drawn around a Mini-Preview */
|
||||
#define APERCU_BORDER 1
|
||||
|
||||
typedef struct WIcon {
|
||||
|
||||
Reference in New Issue
Block a user