* info.c (info_show_info): Move comment line just before

translatable message so it's shown in .po files to alert
translators.  The message (translated) is used to set the start
column (so the available width) for some "truncatable" strings.
This commit is contained in:
Pavel Roskin 2001-08-30 15:14:39 +00:00
parent 3fe54a54a0
commit 54b219ebb6
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2001-08-30 David Martin <dmartina@excite.es>
* info.c (info_show_info): Move comment line just before
translatable message so it's shown in .po files to alert
translators. The message (translated) is used to set the start
column (so the available width) for some "truncatable" strings.
2001-08-27 Pavel Roskin <proski@gnu.org>
* key.c (learn_key): Turn off keypad to disable intepreting keys

View File

@ -97,10 +97,10 @@ info_show_info (WInfo *info)
/* Print only lines which fit */
if(!i18n_adjust) {
/* This printf pattern string is used as a reference for size */
file_label=_("File: %s");
i18n_adjust=strlen(file_label)+2;
}
/*The printf pattern string is used as a reference for size*/
switch (info->widget.lines-2){
/* Note: all cases are fall-throughs */