mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-04 23:21:28 +03:00
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* wtools.c (quick_dialog_skip): Do not i18n any string that is empty.
This commit is contained in:
parent
303cd55bce
commit
7967178200
@ -1,3 +1,7 @@
|
||||
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* wtools.c (quick_dialog_skip): Do not i18n any string that is empty.
|
||||
|
||||
Wed Mar 25 19:05:31 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||||
|
||||
* view.c (view_done): Set monitor off before deleting the view
|
||||
|
@ -445,7 +445,8 @@ static int quick_callback (struct Dlg_head *h, int id, int Msg)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define I18N(x) (do_int? (x = _(x)) : x)
|
||||
#define I18N(x) (do_int && *x ? (x = _(x)): x)
|
||||
|
||||
int quick_dialog_skip (QuickDialog *qd, int nskip)
|
||||
{
|
||||
Dlg_head *dd;
|
||||
@ -461,7 +462,8 @@ int quick_dialog_skip (QuickDialog *qd, int nskip)
|
||||
if (!qd->i18n){
|
||||
qd->i18n = 1;
|
||||
do_int = 1;
|
||||
qd->title = _(qd->title);
|
||||
if (*qd->title)
|
||||
qd->title = _(qd->title);
|
||||
} else
|
||||
do_int = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user