mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +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
@@ -93,7 +93,7 @@ typedef struct _Panel {
|
||||
} _Panel;
|
||||
|
||||
/*
|
||||
* Minimum size for an Apercu:
|
||||
* Minimum size for a Mini-Preview:
|
||||
* This value is actually twice the size of the minimum icon size choosable.
|
||||
* We set the slider min to taht number minus one, because when set to this
|
||||
* value WPrefs will consider that the user wants the feature turned off.
|
||||
@@ -197,7 +197,7 @@ static void showData(_Panel * panel)
|
||||
i = 9;
|
||||
WMSetPopUpButtonSelectedItem(panel->sizeP, i);
|
||||
|
||||
/* Apercu */
|
||||
/* Mini-Previews for Icons */
|
||||
b = GetBoolForKey("MiniwindowApercuBalloons");
|
||||
if (b) {
|
||||
i = GetIntegerForKey("ApercuSize");
|
||||
@@ -339,13 +339,13 @@ static void createPanel(Panel * p)
|
||||
|
||||
WMMapSubwidgets(panel->sizeF);
|
||||
|
||||
/***************** Apercu ****************/
|
||||
/***************** Mini-Previews ****************/
|
||||
panel->apercu.frame = WMCreateFrame(panel->box);
|
||||
WMResizeWidget(panel->apercu.frame, 156, 52);
|
||||
WMMoveWidget(panel->apercu.frame, 124, 168);
|
||||
WMSetFrameTitle(panel->apercu.frame, _("Miniwindow aperçus"));
|
||||
WMSetFrameTitle(panel->apercu.frame, _("Mini-Previews for Icons"));
|
||||
|
||||
WMSetBalloonTextForView(_("The Aperçu provides a small view of the content of the\n"
|
||||
WMSetBalloonTextForView(_("The Mini-Preview provides a small view of the content of the\n"
|
||||
"window when the mouse is placed over the icon."),
|
||||
WMWidgetView(panel->apercu.frame));
|
||||
|
||||
|
||||
@@ -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