Merge branch '3245_viwer_goto_line'

* 3245_viwer_goto_line:
  mcviewer: remove "(decimal)" from "Line number (decimal)" label.
  Ticket #3245: mcviewer: make goto line 1-based instead of 0-based.
This commit is contained in:
Andrew Borodin 2014-09-03 13:26:09 +04:00
commit 3949e55975
53 changed files with 77 additions and 74 deletions

View File

@ -4088,7 +4088,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4293,8 +4293,8 @@ msgstr "Немагчыма нарадзіць даччын працэс"
msgid "Empty output from child filter"
msgstr "Даччына сіта не вярнула зьвестак"
msgid "&Line number (decimal)"
msgstr "&Нумар радку (дзесятковы)"
msgid "&Line number"
msgstr "&Нумар радку"
msgid "Pe&rcents"
msgstr "&Адсоткі"

View File

@ -4097,7 +4097,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4111,7 +4111,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4229,8 +4229,8 @@ msgstr "Nelze vytvořit proces potomka"
msgid "Empty output from child filter"
msgstr "Prázdný výstup z filtru potomka"
msgid "&Line number (decimal)"
msgstr "Číslo řádku (dekadicky)"
msgid "&Line number"
msgstr "Číslo řádku"
msgid "Pe&rcents"
msgstr "Procenta"

View File

@ -4225,8 +4225,8 @@ msgstr "Kan ikke spawn underproces"
msgid "Empty output from child filter"
msgstr "Tom uddata fra underfilter"
msgid "&Line number (decimal)"
msgstr "&Linjenummer (decimal)"
msgid "&Line number"
msgstr "&Linjenummer"
msgid "Pe&rcents"
msgstr "&Procenter"

View File

@ -4254,8 +4254,8 @@ msgstr "Kann Kindprozess nicht hervorbringen"
msgid "Empty output from child filter"
msgstr "Der Filter gab nichts aus"
msgid "&Line number (decimal)"
msgstr "Zei&lennummer (dezimal)"
msgid "&Line number"
msgstr "Zei&lennummer"
msgid "Pe&rcents"
msgstr "P&rozente"

View File

@ -4044,7 +4044,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4184,7 +4184,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4044,7 +4044,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4300,8 +4300,8 @@ msgstr "Ne eblas krei idan procezon"
msgid "Empty output from child filter"
msgstr "Vaka eligo el ida filtrilo"
msgid "&Line number (decimal)"
msgstr "&Linia numero (dekuma)"
msgid "&Line number"
msgstr "&Linia numero"
msgid "Pe&rcents"
msgstr "&Elcentoj"

View File

@ -4310,8 +4310,8 @@ msgstr "Imposible ejecutar el proceso hijo"
msgid "Empty output from child filter"
msgstr "Salida del filtro vacía"
msgid "&Line number (decimal)"
msgstr "número de &Línea (decimal)"
msgid "&Line number"
msgstr "número de &Línea"
msgid "Pe&rcents"
msgstr "po&Rcentaje del archivo"

View File

@ -4297,8 +4297,8 @@ msgstr "Alamprotsessi loomine nurjus"
msgid "Empty output from child filter"
msgstr "Alamprotsessi filter ei väljastanud mitte midagi"
msgid "&Line number (decimal)"
msgstr "&Rea number (kümnendarv)"
msgid "&Line number"
msgstr "&Rea number"
msgid "Pe&rcents"
msgstr "P&rotsendid"

View File

@ -4263,8 +4263,8 @@ msgstr "Ezin sortu ume prozesua"
msgid "Empty output from child filter"
msgstr "Ume iragazkiaren irteera hutsa"
msgid "&Line number (decimal)"
msgstr "&Lerro zenbakia (hamartarra)"
msgid "&Line number"
msgstr "&Lerro zenbakia"
msgid "Pe&rcents"
msgstr "Eh&unekoak"

View File

@ -4049,7 +4049,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4060,7 +4060,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4070,7 +4070,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4222,8 +4222,8 @@ msgstr "Impossible de créer un processus fils"
msgid "Empty output from child filter"
msgstr "Sortie vide du processus fils"
msgid "&Line number (decimal)"
msgstr "&Numéro de ligne (décimal)"
msgid "&Line number"
msgstr "&Numéro de ligne"
msgid "Pe&rcents"
msgstr "Pou&rcents"

View File

@ -4310,8 +4310,8 @@ msgstr "Non é posíbel executar o proceso fillo"
msgid "Empty output from child filter"
msgstr "Saída do filtro baleira"
msgid "&Line number (decimal)"
msgstr "Número de &Liña (decimal)"
msgid "&Line number"
msgstr "Número de &Liña"
msgid "Pe&rcents"
msgstr "Pe&Rcentiles"

View File

@ -4050,7 +4050,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4311,8 +4311,8 @@ msgstr "Nem sikerült programot indítani"
msgid "Empty output from child filter"
msgstr "A szűrő kimenete üres."
msgid "&Line number (decimal)"
msgstr "&Sorszám (decimális)"
msgid "&Line number"
msgstr "&Sorszám"
msgid "Pe&rcents"
msgstr "Szá&zalék"

View File

@ -4099,7 +4099,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4053,7 +4053,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4296,8 +4296,8 @@ msgstr "Impossibile spawn del processo figlio"
msgid "Empty output from child filter"
msgstr "Risultato vuoto da filtro figlio"
msgid "&Line number (decimal)"
msgstr "Numero di &linea (decimale)"
msgid "&Line number"
msgstr "Numero di &linea"
msgid "Pe&rcents"
msgstr "Pe%rcentuale"

View File

@ -4097,8 +4097,8 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgstr "行番号(10進数)(&L)"
msgid "&Line number"
msgstr "行番号(&L)"
msgid "Pe&rcents"
msgstr ""

View File

@ -4048,7 +4048,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4038,7 +4038,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4092,8 +4092,8 @@ msgstr ""
msgid "Empty output from child filter"
msgstr "이 하위필터는 내보내기 충분"
msgid "&Line number (decimal)"
msgstr "줄 번호 (10 진수)(&L)"
msgid "&Line number"
msgstr "줄 번호 (&L)"
msgid "Pe&rcents"
msgstr "퍼센트(&R)"

View File

@ -4108,7 +4108,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr "Filtras nepateikė informacijos"
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4097,7 +4097,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -5332,7 +5332,7 @@ msgid "Empty output from child filter"
msgstr ""
#: src/viewer/dialogs.c:179
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
#: src/viewer/dialogs.c:180

View File

@ -4089,7 +4089,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr "Хүү шүүлтүүрийн гаралт хоосон байна"
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4088,7 +4088,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4296,8 +4296,8 @@ msgstr "Kan geen kindproces opstarten"
msgid "Empty output from child filter"
msgstr "Geen uitvoer van kindfilter"
msgid "&Line number (decimal)"
msgstr "Rege&lnummer (decimaal)"
msgid "&Line number"
msgstr "Rege&lnummer"
msgid "Pe&rcents"
msgstr "Pe&rcenten"

View File

@ -4312,8 +4312,8 @@ msgstr "Nie można utworzyć procesu potomnego"
msgid "Empty output from child filter"
msgstr "Puste wyjście filtru potomnego"
msgid "&Line number (decimal)"
msgstr "&Numer wiersza (dziesiętny)"
msgid "&Line number"
msgstr "&Numer wiersza"
msgid "Pe&rcents"
msgstr "P&rocenty"

View File

@ -4308,8 +4308,8 @@ msgstr "Não é possível gerar processo child"
msgid "Empty output from child filter"
msgstr "Output vazio de filtro de child"
msgid "&Line number (decimal)"
msgstr "Número de &linha (decimal)"
msgid "&Line number"
msgstr "Número de &linha"
msgid "Pe&rcents"
msgstr "Pe&rcentagens"

View File

@ -4210,7 +4210,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4295,8 +4295,8 @@ msgstr "Nu se poate porni procesul copil"
msgid "Empty output from child filter"
msgstr "Ieșire vidă de la filtrul copil"
msgid "&Line number (decimal)"
msgstr "Număr de &linie (zecimal)"
msgid "&Line number"
msgstr "Număr de &linie"
msgid "Pe&rcents"
msgstr "P&rocente"

View File

@ -4313,8 +4313,8 @@ msgstr "Невозможно породить дочерний процесс"
msgid "Empty output from child filter"
msgstr "Дочерний фильтр не вернул данные"
msgid "&Line number (decimal)"
msgstr "&Номер строки (десятичный)"
msgid "&Line number"
msgstr "&Номер строки"
msgid "Pe&rcents"
msgstr "П&роценты"

View File

@ -4114,7 +4114,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr "Prázdny výstup z filtra potomka"
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4110,7 +4110,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr "Prazen izhod iz podprograma - filtra"
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4097,7 +4097,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr "Дете-филтар није исписало ништа"
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4088,7 +4088,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr "Tom utdata från barnfilter"
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4043,7 +4043,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4050,7 +4050,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4044,7 +4044,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4089,7 +4089,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4301,8 +4301,8 @@ msgstr "Не вдалося створити процес-нащадок"
msgid "Empty output from child filter"
msgstr "Фільтр-нащадок не повернув даних"
msgid "&Line number (decimal)"
msgstr "&Номер рядка (десяткове число)"
msgid "&Line number"
msgstr "&Номер рядка"
msgid "Pe&rcents"
msgstr "Ві&дсотки"

View File

@ -4087,7 +4087,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr "Bộ lọc con trả lại kết quả rỗng"
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4070,7 +4070,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -4296,8 +4296,8 @@ msgstr "无法生成子进程"
msgid "Empty output from child filter"
msgstr "子过滤器输出为空"
msgid "&Line number (decimal)"
msgstr "行号(10进制&L)"
msgid "&Line number"
msgstr "行号(&L)"
msgid "Pe&rcents"
msgstr "百分比(&R)"

View File

@ -4083,7 +4083,7 @@ msgstr ""
msgid "Empty output from child filter"
msgstr ""
msgid "&Line number (decimal)"
msgid "&Line number"
msgstr ""
msgid "Pe&rcents"

View File

@ -176,7 +176,7 @@ mcview_dialog_goto (mcview_t * view, off_t * offset)
} mcview_goto_type_t;
const char *mc_view_goto_str[] = {
N_("&Line number (decimal)"),
N_("&Line number"),
N_("Pe&rcents"),
N_("&Decimal offset"),
N_("He&xadecimal offset")
@ -238,6 +238,9 @@ mcview_dialog_goto (mcview_t * view, off_t * offset)
switch (current_goto_type)
{
case MC_VIEW_GOTO_LINENUM:
/* Line number entered by user is 1-based. */
if (addr > 0)
addr--;
mcview_coord_to_offset (view, offset, addr, 0);
*offset = mcview_bol (view, *offset, 0);
break;