Commit a4d21620 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Added '(to replace)' to prompt in search_init when we are replacing

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@94 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 6967eec4
Showing with 248 additions and 223 deletions
+248 -223
...@@ -38,3 +38,4 @@ ...@@ -38,3 +38,4 @@
implicitly when the "Magic Line" returns, but it is noted here for implicitly when the "Magic Line" returns, but it is noted here for
documentation's sake. (24) [FIXED] documentation's sake. (24) [FIXED]
- totsize becomes incorrect after word-wrapping (25) - totsize becomes incorrect after word-wrapping (25)
- In search/replace code there is too much refreshing in bottomwin (26)
...@@ -2,6 +2,13 @@ Current CVS: ...@@ -2,6 +2,13 @@ Current CVS:
- nano.c: - nano.c:
main(): main():
- TABSIZE now set before first call to edit_refresh (Bill Soudan) - TABSIZE now set before first call to edit_refresh (Bill Soudan)
- search.c:
search_init():
- Added " (to replace)" statement to end of search string if
we are doing a replace. Manually converted all the translations
from '%s' to '%s%s' to ensure they still work with the new code.
Also put in the translation for " (replace)" in the .po's. Hope
I didn't step on your toes doing this Jordi. (Chris)
nano-0.9.12 - 07/07/2000 nano-0.9.12 - 07/07/2000
- all: - all:
......
...@@ -178,38 +178,39 @@ Usage: nano [option] +LINE <file>\n\ ...@@ -178,38 +178,39 @@ Usage: nano [option] +LINE <file>\n\
{"Main: open file\n", 147}, {"Main: open file\n", 147},
{"I got Alt-[-%c! (%d)\n", 148}, {"I got Alt-[-%c! (%d)\n", 148},
{"I got Alt-%c! (%d)\n", 149}, {"I got Alt-%c! (%d)\n", 149},
{"Case Sensitive Regexp Search%s", 150}, {"Case Sensitive Regexp Search%s%s", 150},
{"Regexp Search%s", 151}, {"Regexp Search%s%s", 151},
{"Case Sensitive Search%s", 152}, {"Case Sensitive Search%s%s", 152},
{"Search%s", 153}, {"Search%s%s", 153},
{"Search Cancelled", 154}, {" (to replace)", 154},
{"Search Wrapped", 155}, {"Search Cancelled", 155},
{"Replaced %d occurences", 156}, {"Search Wrapped", 156},
{"Replaced 1 occurence", 157}, {"Replaced %d occurences", 157},
{"Replace Cancelled", 158}, {"Replaced 1 occurence", 158},
{"Replace with [%s]", 159}, {"Replace Cancelled", 159},
{"Replace with", 160}, {"Replace with [%s]", 160},
{"Replace this instance?", 161}, {"Replace with", 161},
{"Enter line number", 162}, {"Replace this instance?", 162},
{"Aborted", 163}, {"Enter line number", 163},
{"Come on, be reasonable", 164}, {"Aborted", 164},
{"Only %d lines available, skipping to last line", 165}, {"Come on, be reasonable", 165},
{"actual_x_from_start for xplus=%d returned %d\n", 166}, {"Only %d lines available, skipping to last line", 166},
{"input '%c' (%d)\n", 167}, {"actual_x_from_start for xplus=%d returned %d\n", 167},
{"New Buffer", 168}, {"input '%c' (%d)\n", 168},
{" File: ...", 169}, {"New Buffer", 169},
{"Modified", 170}, {" File: ...", 170},
{"Moved to (%d, %d) in edit buffer\n", 171}, {"Modified", 171},
{"current->data = \"%s\"\n", 172}, {"Moved to (%d, %d) in edit buffer\n", 172},
{"I got \"%s\"\n", 173}, {"current->data = \"%s\"\n", 173},
{"Yes", 174}, {"I got \"%s\"\n", 174},
{"All", 175}, {"Yes", 175},
{"No", 176}, {"All", 176},
{"do_cursorpos: linepct = %f, bytepct = %f\n", 177}, {"No", 177},
{"line %d of %d (%.0f%%), character %d of %d (%.0f%%)", 178}, {"do_cursorpos: linepct = %f, bytepct = %f\n", 178},
{"Dumping file buffer to stderr...\n", 179}, {"line %d of %d (%.0f%%), character %d of %d (%.0f%%)", 179},
{"Dumping cutbuffer to stderr...\n", 180}, {"Dumping file buffer to stderr...\n", 180},
{"Dumping a buffer to stderr...\n", 181}, {"Dumping cutbuffer to stderr...\n", 181},
{"Dumping a buffer to stderr...\n", 182},
}; };
int _msg_tbl_length = 181; int _msg_tbl_length = 182;
No preview for this file type
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: nano 0.9.11\n" "Project-Id-Version: nano 0.9.11\n"
"POT-Creation-Date: 2000-07-07 21:26-0400\n" "POT-Creation-Date: 2000-07-08 19:47-0400\n"
"PO-Revision-Date: 2000-06-21 12:19+0200\n" "PO-Revision-Date: 2000-06-21 12:19+0200\n"
"Last-Translator: Florian Knig <floki@bigfoot.com>\n" "Last-Translator: Florian Knig <floki@bigfoot.com>\n"
"Language-Team: German <floki@bigfoot.com>\n" "Language-Team: German <floki@bigfoot.com>\n"
...@@ -32,7 +32,7 @@ msgstr "read_line: nicht in der ersten Zeile und prev ist NULL" ...@@ -32,7 +32,7 @@ msgstr "read_line: nicht in der ersten Zeile und prev ist NULL"
msgid "Read %d lines" msgid "Read %d lines"
msgstr "%d Zeilen gelesen" msgstr "%d Zeilen gelesen"
#: files.c:215 search.c:163 search.c:181 #: files.c:215 search.c:166 search.c:184
#, c-format #, c-format
msgid "\"%s\" not found" msgid "\"%s\" not found"
msgstr "\"%s\" nicht gefunden" msgstr "\"%s\" nicht gefunden"
...@@ -682,73 +682,78 @@ msgstr "Erhielt Alt-%c! (%d)\n" ...@@ -682,73 +682,78 @@ msgstr "Erhielt Alt-%c! (%d)\n"
#: search.c:71 #: search.c:71
#, fuzzy, c-format #, fuzzy, c-format
msgid "Case Sensitive Regexp Search%s" msgid "Case Sensitive Regexp Search%s%s"
msgstr "Suche mit Unterscheidung von Gro- und Kleinschreibung%s" msgstr "Suche mit Unterscheidung von Gro- und Kleinschreibung%s%s"
#: search.c:73 #: search.c:73
#, fuzzy, c-format #, fuzzy, c-format
msgid "Regexp Search%s" msgid "Regexp Search%s%s"
msgstr "Suche%s" msgstr "Suche%s%s"
#: search.c:76 #: search.c:76
#, c-format #, fuzzy, c-format
msgid "Case Sensitive Search%s" msgid "Case Sensitive Search%s%s"
msgstr "Suche mit Unterscheidung von Gro- und Kleinschreibung%s" msgstr "Suche mit Unterscheidung von Gro- und Kleinschreibung%s%s"
#: search.c:78 #: search.c:78
#, c-format #, fuzzy, c-format
msgid "Search%s" msgid "Search%s%s"
msgstr "Suche%s" msgstr "Suche%s%s"
#: search.c:86 #: search.c:81
#, fuzzy
msgid " (to replace)"
msgstr " (ersetzen)"
#: search.c:89
msgid "Search Cancelled" msgid "Search Cancelled"
msgstr "Suche abgebrochen" msgstr "Suche abgebrochen"
#: search.c:177 #: search.c:180
msgid "Search Wrapped" msgid "Search Wrapped"
msgstr "Suche in neue Zeile umgebrochen" msgstr "Suche in neue Zeile umgebrochen"
#: search.c:232 #: search.c:235
#, c-format #, c-format
msgid "Replaced %d occurences" msgid "Replaced %d occurences"
msgstr "%d mal Ersetzung vorgenommen" msgstr "%d mal Ersetzung vorgenommen"
#: search.c:234 #: search.c:237
msgid "Replaced 1 occurence" msgid "Replaced 1 occurence"
msgstr "1 Ersetzung vorgenommen" msgstr "1 Ersetzung vorgenommen"
#: search.c:373 search.c:395 search.c:418 #: search.c:376 search.c:398 search.c:421
msgid "Replace Cancelled" msgid "Replace Cancelled"
msgstr "Ersetzung abgebrochen" msgstr "Ersetzung abgebrochen"
#: search.c:391 #: search.c:394
#, c-format #, c-format
msgid "Replace with [%s]" msgid "Replace with [%s]"
msgstr "Ersetzen mit [%s]" msgstr "Ersetzen mit [%s]"
#. last_search is empty #. last_search is empty
#: search.c:416 #: search.c:419
msgid "Replace with" msgid "Replace with"
msgstr "Ersetzen mit" msgstr "Ersetzen mit"
#: search.c:457 #: search.c:460
msgid "Replace this instance?" msgid "Replace this instance?"
msgstr "Ersetzen?" msgstr "Ersetzen?"
#. Ask for it #. Ask for it
#: search.c:508 #: search.c:511
msgid "Enter line number" msgid "Enter line number"
msgstr "Zeilennummer eingeben" msgstr "Zeilennummer eingeben"
#: search.c:510 #: search.c:513
msgid "Aborted" msgid "Aborted"
msgstr "Abgebrochen" msgstr "Abgebrochen"
#: search.c:530 #: search.c:533
msgid "Come on, be reasonable" msgid "Come on, be reasonable"
msgstr "Komm schon, sei vernnftig" msgstr "Komm schon, sei vernnftig"
#: search.c:535 #: search.c:538
#, c-format #, c-format
msgid "Only %d lines available, skipping to last line" msgid "Only %d lines available, skipping to last line"
msgstr "Nur %d Zeilen vorhanden, springe zur letzten Zeile" msgstr "Nur %d Zeilen vorhanden, springe zur letzten Zeile"
...@@ -823,10 +828,6 @@ msgstr "Gebe Inhalt der Zwischenablage nach stderr aus...\n" ...@@ -823,10 +828,6 @@ msgstr "Gebe Inhalt der Zwischenablage nach stderr aus...\n"
msgid "Dumping a buffer to stderr...\n" msgid "Dumping a buffer to stderr...\n"
msgstr "Gebe einen Puffer nach stderr aus...\n" msgstr "Gebe einen Puffer nach stderr aus...\n"
#, fuzzy
#~ msgid "To Replace"
#~ msgstr "Ersetzen"
#, fuzzy #, fuzzy
#~ msgid "To Search" #~ msgid "To Search"
#~ msgstr "Suche" #~ msgstr "Suche"
......
No preview for this file type
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 0.9.11\n" "Project-Id-Version: 0.9.11\n"
"POT-Creation-Date: 2000-07-07 21:26-0400\n" "POT-Creation-Date: 2000-07-08 19:47-0400\n"
"PO-Revision-Date: 2000-06-20 02:56+0200\n" "PO-Revision-Date: 2000-06-20 02:56+0200\n"
"Last-Translator: Jordi Mallach <jordi@sindominio.net>\n" "Last-Translator: Jordi Mallach <jordi@sindominio.net>\n"
"Language-Team: Spanish <jordi@sindominio.net>\n" "Language-Team: Spanish <jordi@sindominio.net>\n"
...@@ -32,7 +32,7 @@ msgstr "read_line: no estamos en la primera l ...@@ -32,7 +32,7 @@ msgstr "read_line: no estamos en la primera l
msgid "Read %d lines" msgid "Read %d lines"
msgstr "%d lneas ledas" msgstr "%d lneas ledas"
#: files.c:215 search.c:163 search.c:181 #: files.c:215 search.c:166 search.c:184
#, c-format #, c-format
msgid "\"%s\" not found" msgid "\"%s\" not found"
msgstr "\"%s\" no encontrado" msgstr "\"%s\" no encontrado"
...@@ -676,73 +676,78 @@ msgstr "Pill ...@@ -676,73 +676,78 @@ msgstr "Pill
#: search.c:71 #: search.c:71
#, fuzzy, c-format #, fuzzy, c-format
msgid "Case Sensitive Regexp Search%s" msgid "Case Sensitive Regexp Search%s%s"
msgstr "Bsqueda con Maysculas/Minsculas%s" msgstr "Bsqueda con Maysculas/Minsculas%s%s"
#: search.c:73 #: search.c:73
#, fuzzy, c-format #, fuzzy, c-format
msgid "Regexp Search%s" msgid "Regexp Search%s%s"
msgstr "Buscar%s" msgstr "Buscar%s%s"
#: search.c:76 #: search.c:76
#, c-format #, fuzzy, c-format
msgid "Case Sensitive Search%s" msgid "Case Sensitive Search%s%s"
msgstr "Bsqueda con Maysculas/Minsculas%s" msgstr "Bsqueda con Maysculas/Minsculas%s%s"
#: search.c:78 #: search.c:78
#, c-format #, fuzzy, c-format
msgid "Search%s" msgid "Search%s%s"
msgstr "Buscar%s" msgstr "Buscar%s%s"
#: search.c:81
#, fuzzy
msgid " (to replace)"
msgstr " (reemplazar)"
#: search.c:86 #: search.c:89
msgid "Search Cancelled" msgid "Search Cancelled"
msgstr "Bsqueda Cancelada" msgstr "Bsqueda Cancelada"
#: search.c:177 #: search.c:180
msgid "Search Wrapped" msgid "Search Wrapped"
msgstr "Bsqueda Recomenzada" msgstr "Bsqueda Recomenzada"
#: search.c:232 #: search.c:235
#, c-format #, c-format
msgid "Replaced %d occurences" msgid "Replaced %d occurences"
msgstr "%d ocurrencias reemplazadas" msgstr "%d ocurrencias reemplazadas"
#: search.c:234 #: search.c:237
msgid "Replaced 1 occurence" msgid "Replaced 1 occurence"
msgstr "1 ocurrencia reemplazada" msgstr "1 ocurrencia reemplazada"
#: search.c:373 search.c:395 search.c:418 #: search.c:376 search.c:398 search.c:421
msgid "Replace Cancelled" msgid "Replace Cancelled"
msgstr "Reemplazar Cancelado" msgstr "Reemplazar Cancelado"
#: search.c:391 #: search.c:394
#, c-format #, c-format
msgid "Replace with [%s]" msgid "Replace with [%s]"
msgstr "Reemplazar con [%s]" msgstr "Reemplazar con [%s]"
#. last_search is empty #. last_search is empty
#: search.c:416 #: search.c:419
msgid "Replace with" msgid "Replace with"
msgstr "Reemplazar con" msgstr "Reemplazar con"
#: search.c:457 #: search.c:460
msgid "Replace this instance?" msgid "Replace this instance?"
msgstr "Reemplazar esta instancia?" msgstr "Reemplazar esta instancia?"
#. Ask for it #. Ask for it
#: search.c:508 #: search.c:511
msgid "Enter line number" msgid "Enter line number"
msgstr "Introduce nmero de lnea" msgstr "Introduce nmero de lnea"
#: search.c:510 #: search.c:513
msgid "Aborted" msgid "Aborted"
msgstr "Abortado" msgstr "Abortado"
#: search.c:530 #: search.c:533
msgid "Come on, be reasonable" msgid "Come on, be reasonable"
msgstr "Venga ya, se razonable" msgstr "Venga ya, se razonable"
#: search.c:535 #: search.c:538
#, c-format #, c-format
msgid "Only %d lines available, skipping to last line" msgid "Only %d lines available, skipping to last line"
msgstr "Slo hay %d lneas, saltando hasta la ltima" msgstr "Slo hay %d lneas, saltando hasta la ltima"
...@@ -817,9 +822,6 @@ msgstr "Volcando el cutbuffer a stderr...\n" ...@@ -817,9 +822,6 @@ msgstr "Volcando el cutbuffer a stderr...\n"
msgid "Dumping a buffer to stderr...\n" msgid "Dumping a buffer to stderr...\n"
msgstr "Volcando un buffer a stderr...\n" msgstr "Volcando un buffer a stderr...\n"
#~ msgid "To Replace"
#~ msgstr "Reemplazar"
#~ msgid "To Search" #~ msgid "To Search"
#~ msgstr "Buscar" #~ msgstr "Buscar"
......
No preview for this file type
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: nano 0.9.11\n" "Project-Id-Version: nano 0.9.11\n"
"POT-Creation-Date: 2000-07-07 21:26-0400\n" "POT-Creation-Date: 2000-07-08 19:47-0400\n"
"PO-Revision-Date: 2000-06-21 23:08+03:00\n" "PO-Revision-Date: 2000-06-21 23:08+03:00\n"
"Last-Translator: Pauli Virtanen <pauli.virtanen@saunalahti.fi>\n" "Last-Translator: Pauli Virtanen <pauli.virtanen@saunalahti.fi>\n"
"Language-Team: Finnish <fi@li.org>\n" "Language-Team: Finnish <fi@li.org>\n"
...@@ -31,7 +31,7 @@ msgstr "read_line: ei ensimm ...@@ -31,7 +31,7 @@ msgstr "read_line: ei ensimm
msgid "Read %d lines" msgid "Read %d lines"
msgstr "%d rivi luettu" msgstr "%d rivi luettu"
#: files.c:215 search.c:163 search.c:181 #: files.c:215 search.c:166 search.c:184
#, c-format #, c-format
msgid "\"%s\" not found" msgid "\"%s\" not found"
msgstr "Tiedostoa \"%s\" ei ole" msgstr "Tiedostoa \"%s\" ei ole"
...@@ -675,73 +675,78 @@ msgstr "Vastaanotettu Alt-%c! (%d)\n" ...@@ -675,73 +675,78 @@ msgstr "Vastaanotettu Alt-%c! (%d)\n"
#: search.c:71 #: search.c:71
#, fuzzy, c-format #, fuzzy, c-format
msgid "Case Sensitive Regexp Search%s" msgid "Case Sensitive Regexp Search%s%s"
msgstr "Kirjainkoosta vlittv etsint%s" msgstr "Kirjainkoosta vlittv etsint%s%s"
#: search.c:73 #: search.c:73
#, fuzzy, c-format #, fuzzy, c-format
msgid "Regexp Search%s" msgid "Regexp Search%s%s"
msgstr "Etsint%s" msgstr "Etsint%s%s"
#: search.c:76 #: search.c:76
#, c-format #, fuzzy, c-format
msgid "Case Sensitive Search%s" msgid "Case Sensitive Search%s%s"
msgstr "Kirjainkoosta vlittv etsint%s" msgstr "Kirjainkoosta vlittv etsint%s%s"
#: search.c:78 #: search.c:78
#, c-format #, fuzzy, c-format
msgid "Search%s" msgid "Search%s%s"
msgstr "Etsint%s" msgstr "Etsint%s%s"
#: search.c:81
#, fuzzy
msgid " (to replace)"
msgstr " (korvaa)"
#: search.c:86 #: search.c:89
msgid "Search Cancelled" msgid "Search Cancelled"
msgstr "Etsint peruttu" msgstr "Etsint peruttu"
#: search.c:177 #: search.c:180
msgid "Search Wrapped" msgid "Search Wrapped"
msgstr "Etsint jatkuu" msgstr "Etsint jatkuu"
#: search.c:232 #: search.c:235
#, c-format #, c-format
msgid "Replaced %d occurences" msgid "Replaced %d occurences"
msgstr "%d kohtaa korvattu" msgstr "%d kohtaa korvattu"
#: search.c:234 #: search.c:237
msgid "Replaced 1 occurence" msgid "Replaced 1 occurence"
msgstr "1 kohta korvattu" msgstr "1 kohta korvattu"
#: search.c:373 search.c:395 search.c:418 #: search.c:376 search.c:398 search.c:421
msgid "Replace Cancelled" msgid "Replace Cancelled"
msgstr "Korvaus peruttu" msgstr "Korvaus peruttu"
#: search.c:391 #: search.c:394
#, c-format #, c-format
msgid "Replace with [%s]" msgid "Replace with [%s]"
msgstr "Korvaa merkkijonolla [%s]" msgstr "Korvaa merkkijonolla [%s]"
#. last_search is empty #. last_search is empty
#: search.c:416 #: search.c:419
msgid "Replace with" msgid "Replace with"
msgstr "Korvaa merkkijonolla" msgstr "Korvaa merkkijonolla"
#: search.c:457 #: search.c:460
msgid "Replace this instance?" msgid "Replace this instance?"
msgstr "Korvataanko tm kohta?" msgstr "Korvataanko tm kohta?"
#. Ask for it #. Ask for it
#: search.c:508 #: search.c:511
msgid "Enter line number" msgid "Enter line number"
msgstr "Kirjoita rivin numero" msgstr "Kirjoita rivin numero"
#: search.c:510 #: search.c:513
msgid "Aborted" msgid "Aborted"
msgstr "Keskeytetty" msgstr "Keskeytetty"
#: search.c:530 #: search.c:533
msgid "Come on, be reasonable" msgid "Come on, be reasonable"
msgstr "Jotakin jrkev, kiitos?" msgstr "Jotakin jrkev, kiitos?"
#: search.c:535 #: search.c:538
#, c-format #, c-format
msgid "Only %d lines available, skipping to last line" msgid "Only %d lines available, skipping to last line"
msgstr "Vain %d rivi olemassa, siirrytn viimeiselle riville" msgstr "Vain %d rivi olemassa, siirrytn viimeiselle riville"
...@@ -816,9 +821,6 @@ msgstr "Sy ...@@ -816,9 +821,6 @@ msgstr "Sy
msgid "Dumping a buffer to stderr...\n" msgid "Dumping a buffer to stderr...\n"
msgstr "Sytetn teksti stderriin...\n" msgstr "Sytetn teksti stderriin...\n"
#~ msgid "To Replace"
#~ msgstr "Korvattava"
#~ msgid "To Search" #~ msgid "To Search"
#~ msgstr "Etsittv" #~ msgstr "Etsittv"
......
No preview for this file type
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 0.8.9\n" "Project-Id-Version: 0.8.9\n"
"POT-Creation-Date: 2000-07-07 21:26-0400\n" "POT-Creation-Date: 2000-07-08 19:47-0400\n"
"PO-Revision-Date: 2000-03-24 01:32+0100\n" "PO-Revision-Date: 2000-03-24 01:32+0100\n"
"Last-Translator: Pierre Tane <tanep@bigfoot.com>\n" "Last-Translator: Pierre Tane <tanep@bigfoot.com>\n"
"Language-Team: French <LL@li.org>\n" "Language-Team: French <LL@li.org>\n"
...@@ -34,7 +34,7 @@ msgstr "" ...@@ -34,7 +34,7 @@ msgstr ""
msgid "Read %d lines" msgid "Read %d lines"
msgstr "%d lignes lues" msgstr "%d lignes lues"
#: files.c:215 search.c:163 search.c:181 #: files.c:215 search.c:166 search.c:184
#, c-format #, c-format
msgid "\"%s\" not found" msgid "\"%s\" not found"
msgstr "\"%s\" non trouv" msgstr "\"%s\" non trouv"
...@@ -674,73 +674,78 @@ msgstr "J'ai re ...@@ -674,73 +674,78 @@ msgstr "J'ai re
#: search.c:71 #: search.c:71
#, fuzzy, c-format #, fuzzy, c-format
msgid "Case Sensitive Regexp Search%s" msgid "Case Sensitive Regexp Search%s%s"
msgstr "Recherche sensible ) la casse%s" msgstr "Recherche sensible ) la casse%s%s"
#: search.c:73 #: search.c:73
#, c-format #, fuzzy, c-format
msgid "Regexp Search%s" msgid "Regexp Search%s%s"
msgstr "" msgstr "Recherche sensible ) la casse%s%s"
#: search.c:76 #: search.c:76
#, c-format #, fuzzy, c-format
msgid "Case Sensitive Search%s" msgid "Case Sensitive Search%s%s"
msgstr "Recherche sensible ) la casse%s" msgstr "Recherche sensible ) la casse%s%s"
#: search.c:78 #: search.c:78
#, c-format #, c-format
msgid "Search%s" msgid "Search%s%s"
msgstr "" msgstr ""
#: search.c:86 #: search.c:81
#, fuzzy
msgid " (to replace)"
msgstr " (rempacer par)"
#: search.c:89
msgid "Search Cancelled" msgid "Search Cancelled"
msgstr "Recherche annule" msgstr "Recherche annule"
#: search.c:177 #: search.c:180
msgid "Search Wrapped" msgid "Search Wrapped"
msgstr "La recherche a boucl" msgstr "La recherche a boucl"
#: search.c:232 #: search.c:235
#, c-format #, c-format
msgid "Replaced %d occurences" msgid "Replaced %d occurences"
msgstr "%d occurences remplaces" msgstr "%d occurences remplaces"
#: search.c:234 #: search.c:237
msgid "Replaced 1 occurence" msgid "Replaced 1 occurence"
msgstr "1 occurence remplace" msgstr "1 occurence remplace"
#: search.c:373 search.c:395 search.c:418 #: search.c:376 search.c:398 search.c:421
msgid "Replace Cancelled" msgid "Replace Cancelled"
msgstr "Remplacement annul" msgstr "Remplacement annul"
#: search.c:391 #: search.c:394
#, c-format #, c-format
msgid "Replace with [%s]" msgid "Replace with [%s]"
msgstr "Remplacer par [%s]" msgstr "Remplacer par [%s]"
#. last_search is empty #. last_search is empty
#: search.c:416 #: search.c:419
msgid "Replace with" msgid "Replace with"
msgstr "Rempacer par" msgstr "Rempacer par"
#: search.c:457 #: search.c:460
msgid "Replace this instance?" msgid "Replace this instance?"
msgstr "Remplacer cette occurence?" msgstr "Remplacer cette occurence?"
#. Ask for it #. Ask for it
#: search.c:508 #: search.c:511
msgid "Enter line number" msgid "Enter line number"
msgstr "Entrer le numro de ligne" msgstr "Entrer le numro de ligne"
#: search.c:510 #: search.c:513
msgid "Aborted" msgid "Aborted"
msgstr "Annul" msgstr "Annul"
#: search.c:530 #: search.c:533
msgid "Come on, be reasonable" msgid "Come on, be reasonable"
msgstr "Allez, soyez raisonnable" msgstr "Allez, soyez raisonnable"
#: search.c:535 #: search.c:538
#, c-format #, c-format
msgid "Only %d lines available, skipping to last line" msgid "Only %d lines available, skipping to last line"
msgstr "Seulement %d lignes sont disponibles, saut jusqu' la dernire ligne" msgstr "Seulement %d lignes sont disponibles, saut jusqu' la dernire ligne"
...@@ -815,10 +820,6 @@ msgstr "Envoi du cutbuffer sur stderr...\n" ...@@ -815,10 +820,6 @@ msgstr "Envoi du cutbuffer sur stderr...\n"
msgid "Dumping a buffer to stderr...\n" msgid "Dumping a buffer to stderr...\n"
msgstr "Envoi d'un buffer sur stderr...\n" msgstr "Envoi d'un buffer sur stderr...\n"
#, fuzzy
#~ msgid "To Replace"
#~ msgstr "Rempacer par"
#~ msgid " Y" #~ msgid " Y"
#~ msgstr " O" #~ msgstr " O"
......
No preview for this file type
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: nano-0.9.10\n" "Project-Id-Version: nano-0.9.10\n"
"POT-Creation-Date: 2000-07-07 21:26-0400\n" "POT-Creation-Date: 2000-07-08 19:47-0400\n"
"PO-Revision-Date: 2000-06-08 20:56+07:00\n" "PO-Revision-Date: 2000-06-08 20:56+07:00\n"
"Last-Translator: Tedi Heriyanto <tedi-h@usa.net>\n" "Last-Translator: Tedi Heriyanto <tedi-h@usa.net>\n"
"Language-Team: Indonesian <id@li.org>\n" "Language-Team: Indonesian <id@li.org>\n"
...@@ -31,7 +31,7 @@ msgstr "read_line: tidak di baris pertama dan sebelumnya adalah NULL" ...@@ -31,7 +31,7 @@ msgstr "read_line: tidak di baris pertama dan sebelumnya adalah NULL"
msgid "Read %d lines" msgid "Read %d lines"
msgstr "Membaca %d baris" msgstr "Membaca %d baris"
#: files.c:215 search.c:163 search.c:181 #: files.c:215 search.c:166 search.c:184
#, c-format #, c-format
msgid "\"%s\" not found" msgid "\"%s\" not found"
msgstr "\"%s\" tidak ditemukan" msgstr "\"%s\" tidak ditemukan"
...@@ -674,73 +674,78 @@ msgstr "Saya mendapat Alt-%c! (%d)\n" ...@@ -674,73 +674,78 @@ msgstr "Saya mendapat Alt-%c! (%d)\n"
#: search.c:71 #: search.c:71
#, fuzzy, c-format #, fuzzy, c-format
msgid "Case Sensitive Regexp Search%s" msgid "Case Sensitive Regexp Search%s%s"
msgstr "Pencarian case sensitif%s" msgstr "Pencarian case sensitif%s%s"
#: search.c:73 #: search.c:73
#, fuzzy, c-format #, fuzzy, c-format
msgid "Regexp Search%s" msgid "Regexp Search%s%s"
msgstr "Pencarian%s" msgstr "Pencarian%s%s"
#: search.c:76 #: search.c:76
#, c-format #, fuzzy, c-format
msgid "Case Sensitive Search%s" msgid "Case Sensitive Search%s%s"
msgstr "Pencarian case sensitif%s" msgstr "Pencarian case sensitif%s%s"
#: search.c:78 #: search.c:78
#, c-format #, fuzzy, c-format
msgid "Search%s" msgid "Search%s%s"
msgstr "Pencarian%s" msgstr "Pencarian%s%s"
#: search.c:86 #: search.c:81
#, fuzzy
msgid " (to replace)"
msgstr " (ganti)"
#: search.c:89
msgid "Search Cancelled" msgid "Search Cancelled"
msgstr "Batalkan pencarian" msgstr "Batalkan pencarian"
#: search.c:177 #: search.c:180
msgid "Search Wrapped" msgid "Search Wrapped"
msgstr "Pancarian diulangi dari awal" msgstr "Pancarian diulangi dari awal"
#: search.c:232 #: search.c:235
#, c-format #, c-format
msgid "Replaced %d occurences" msgid "Replaced %d occurences"
msgstr "%d tempat terganti" msgstr "%d tempat terganti"
#: search.c:234 #: search.c:237
msgid "Replaced 1 occurence" msgid "Replaced 1 occurence"
msgstr "Terganti 1 tempat" msgstr "Terganti 1 tempat"
#: search.c:373 search.c:395 search.c:418 #: search.c:376 search.c:398 search.c:421
msgid "Replace Cancelled" msgid "Replace Cancelled"
msgstr "Batalkan penggantian" msgstr "Batalkan penggantian"
#: search.c:391 #: search.c:394
#, c-format #, c-format
msgid "Replace with [%s]" msgid "Replace with [%s]"
msgstr "Ganti dengan [%s]" msgstr "Ganti dengan [%s]"
#. last_search is empty #. last_search is empty
#: search.c:416 #: search.c:419
msgid "Replace with" msgid "Replace with"
msgstr "Ganti dengan" msgstr "Ganti dengan"
#: search.c:457 #: search.c:460
msgid "Replace this instance?" msgid "Replace this instance?"
msgstr "Ganti kata ini?" msgstr "Ganti kata ini?"
#. Ask for it #. Ask for it
#: search.c:508 #: search.c:511
msgid "Enter line number" msgid "Enter line number"
msgstr "Masukkan nomor baris" msgstr "Masukkan nomor baris"
#: search.c:510 #: search.c:513
msgid "Aborted" msgid "Aborted"
msgstr "Dibatalkan" msgstr "Dibatalkan"
#: search.c:530 #: search.c:533
msgid "Come on, be reasonable" msgid "Come on, be reasonable"
msgstr "Ayo, yang masuk akal" msgstr "Ayo, yang masuk akal"
#: search.c:535 #: search.c:538
#, c-format #, c-format
msgid "Only %d lines available, skipping to last line" msgid "Only %d lines available, skipping to last line"
msgstr "Hanya %d baris tersedia, melompat ke baris akhir" msgstr "Hanya %d baris tersedia, melompat ke baris akhir"
...@@ -815,9 +820,6 @@ msgstr "Kirim cutbuffer ke stderr...\n" ...@@ -815,9 +820,6 @@ msgstr "Kirim cutbuffer ke stderr...\n"
msgid "Dumping a buffer to stderr...\n" msgid "Dumping a buffer to stderr...\n"
msgstr "Kirim buffer ke stderr...\n" msgstr "Kirim buffer ke stderr...\n"
#~ msgid "To Replace"
#~ msgstr "Mengganti"
#~ msgid "To Search" #~ msgid "To Search"
#~ msgstr "Mencari" #~ msgstr "Mencari"
......
No preview for this file type
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 0.8.7\n" "Project-Id-Version: 0.8.7\n"
"POT-Creation-Date: 2000-07-07 21:26-0400\n" "POT-Creation-Date: 2000-07-08 19:47-0400\n"
"PO-Revision-Date: 2000-03-03 04:57+0100\n" "PO-Revision-Date: 2000-03-03 04:57+0100\n"
"Last-Translator: Daniele Medri <madrid@linux.it>\n" "Last-Translator: Daniele Medri <madrid@linux.it>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
...@@ -31,7 +31,7 @@ msgstr "read_line: no estamos en la primera l ...@@ -31,7 +31,7 @@ msgstr "read_line: no estamos en la primera l
msgid "Read %d lines" msgid "Read %d lines"
msgstr "Leggi %d linee" msgstr "Leggi %d linee"
#: files.c:215 search.c:163 search.c:181 #: files.c:215 search.c:166 search.c:184
#, c-format #, c-format
msgid "\"%s\" not found" msgid "\"%s\" not found"
msgstr "\"%s\" non trovato" msgstr "\"%s\" non trovato"
...@@ -661,73 +661,78 @@ msgstr "Premuto Alt-%c! (%d)\n" ...@@ -661,73 +661,78 @@ msgstr "Premuto Alt-%c! (%d)\n"
#: search.c:71 #: search.c:71
#, fuzzy, c-format #, fuzzy, c-format
msgid "Case Sensitive Regexp Search%s" msgid "Case Sensitive Regexp Search%s%s"
msgstr "Ricerca case sensitive %s" msgstr "Ricerca case sensitive%s%s"
#: search.c:73 #: search.c:73
#, fuzzy, c-format #, fuzzy, c-format
msgid "Regexp Search%s" msgid "Regexp Search%s%s"
msgstr "Ricerca%s" msgstr "Ricerca%s%s"
#: search.c:76 #: search.c:76
#, c-format #, fuzzy, c-format
msgid "Case Sensitive Search%s" msgid "Case Sensitive Search%s%s"
msgstr "Ricerca case sensitive %s" msgstr "Ricerca case sensitive%s%s"
#: search.c:78 #: search.c:78
#, c-format #, fuzzy, c-format
msgid "Search%s" msgid "Search%s%s"
msgstr "Ricerca%s" msgstr "Ricerca%s%s"
#: search.c:86 #: search.c:81
#, fuzzy
msgid " (to replace)"
msgstr " (sostituisci)"
#: search.c:89
msgid "Search Cancelled" msgid "Search Cancelled"
msgstr "Ricerca annullata" msgstr "Ricerca annullata"
#: search.c:177 #: search.c:180
msgid "Search Wrapped" msgid "Search Wrapped"
msgstr "Ricerca interrotta" msgstr "Ricerca interrotta"
#: search.c:232 #: search.c:235
#, c-format #, c-format
msgid "Replaced %d occurences" msgid "Replaced %d occurences"
msgstr "Sostituite %d occorrenze" msgstr "Sostituite %d occorrenze"
#: search.c:234 #: search.c:237
msgid "Replaced 1 occurence" msgid "Replaced 1 occurence"
msgstr "Sostituita 1 occorrenza" msgstr "Sostituita 1 occorrenza"
#: search.c:373 search.c:395 search.c:418 #: search.c:376 search.c:398 search.c:421
msgid "Replace Cancelled" msgid "Replace Cancelled"
msgstr "Sostituzione annullata" msgstr "Sostituzione annullata"
#: search.c:391 #: search.c:394
#, c-format #, c-format
msgid "Replace with [%s]" msgid "Replace with [%s]"
msgstr "Sostituisci con [%s]" msgstr "Sostituisci con [%s]"
#. last_search is empty #. last_search is empty
#: search.c:416 #: search.c:419
msgid "Replace with" msgid "Replace with"
msgstr "Sostituisci con" msgstr "Sostituisci con"
#: search.c:457 #: search.c:460
msgid "Replace this instance?" msgid "Replace this instance?"
msgstr "Sostituisci questa istanza?" msgstr "Sostituisci questa istanza?"
#. Ask for it #. Ask for it
#: search.c:508 #: search.c:511
msgid "Enter line number" msgid "Enter line number"
msgstr "Inserire numero linea" msgstr "Inserire numero linea"
#: search.c:510 #: search.c:513
msgid "Aborted" msgid "Aborted"
msgstr "Operazione fallita" msgstr "Operazione fallita"
#: search.c:530 #: search.c:533
msgid "Come on, be reasonable" msgid "Come on, be reasonable"
msgstr "Avanti, sii ragionevole" msgstr "Avanti, sii ragionevole"
#: search.c:535 #: search.c:538
#, c-format #, c-format
msgid "Only %d lines available, skipping to last line" msgid "Only %d lines available, skipping to last line"
msgstr "Solo %d linee disponibili, vai all'ultima" msgstr "Solo %d linee disponibili, vai all'ultima"
...@@ -802,10 +807,6 @@ msgstr "Copia cutbuffer sullo stderr...\n" ...@@ -802,10 +807,6 @@ msgstr "Copia cutbuffer sullo stderr...\n"
msgid "Dumping a buffer to stderr...\n" msgid "Dumping a buffer to stderr...\n"
msgstr "Copia un buffer sullo stderr...\n" msgstr "Copia un buffer sullo stderr...\n"
#, fuzzy
#~ msgid "To Replace"
#~ msgstr "Sostituisci"
#, fuzzy #, fuzzy
#~ msgid "To Search" #~ msgid "To Search"
#~ msgstr "Ricerca%s" #~ msgstr "Ricerca%s"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2000-07-07 21:26-0400\n" "POT-Creation-Date: 2000-07-08 19:47-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -32,7 +32,7 @@ msgstr "" ...@@ -32,7 +32,7 @@ msgstr ""
msgid "Read %d lines" msgid "Read %d lines"
msgstr "" msgstr ""
#: files.c:215 search.c:163 search.c:181 #: files.c:215 search.c:166 search.c:184
#, c-format #, c-format
msgid "\"%s\" not found" msgid "\"%s\" not found"
msgstr "" msgstr ""
...@@ -653,73 +653,77 @@ msgstr "" ...@@ -653,73 +653,77 @@ msgstr ""
#: search.c:71 #: search.c:71
#, c-format #, c-format
msgid "Case Sensitive Regexp Search%s" msgid "Case Sensitive Regexp Search%s%s"
msgstr "" msgstr ""
#: search.c:73 #: search.c:73
#, c-format #, c-format
msgid "Regexp Search%s" msgid "Regexp Search%s%s"
msgstr "" msgstr ""
#: search.c:76 #: search.c:76
#, c-format #, c-format
msgid "Case Sensitive Search%s" msgid "Case Sensitive Search%s%s"
msgstr "" msgstr ""
#: search.c:78 #: search.c:78
#, c-format #, c-format
msgid "Search%s" msgid "Search%s%s"
msgstr "" msgstr ""
#: search.c:86 #: search.c:81
msgid " (to replace)"
msgstr ""
#: search.c:89
msgid "Search Cancelled" msgid "Search Cancelled"
msgstr "" msgstr ""
#: search.c:177 #: search.c:180
msgid "Search Wrapped" msgid "Search Wrapped"
msgstr "" msgstr ""
#: search.c:232 #: search.c:235
#, c-format #, c-format
msgid "Replaced %d occurences" msgid "Replaced %d occurences"
msgstr "" msgstr ""
#: search.c:234 #: search.c:237
msgid "Replaced 1 occurence" msgid "Replaced 1 occurence"
msgstr "" msgstr ""
#: search.c:373 search.c:395 search.c:418 #: search.c:376 search.c:398 search.c:421
msgid "Replace Cancelled" msgid "Replace Cancelled"
msgstr "" msgstr ""
#: search.c:391 #: search.c:394
#, c-format #, c-format
msgid "Replace with [%s]" msgid "Replace with [%s]"
msgstr "" msgstr ""
#. last_search is empty #. last_search is empty
#: search.c:416 #: search.c:419
msgid "Replace with" msgid "Replace with"
msgstr "" msgstr ""
#: search.c:457 #: search.c:460
msgid "Replace this instance?" msgid "Replace this instance?"
msgstr "" msgstr ""
#. Ask for it #. Ask for it
#: search.c:508 #: search.c:511
msgid "Enter line number" msgid "Enter line number"
msgstr "" msgstr ""
#: search.c:510 #: search.c:513
msgid "Aborted" msgid "Aborted"
msgstr "" msgstr ""
#: search.c:530 #: search.c:533
msgid "Come on, be reasonable" msgid "Come on, be reasonable"
msgstr "" msgstr ""
#: search.c:535 #: search.c:538
#, c-format #, c-format
msgid "Only %d lines available, skipping to last line" msgid "Only %d lines available, skipping to last line"
msgstr "" msgstr ""
......
...@@ -59,7 +59,7 @@ int search_init(int replacing) ...@@ -59,7 +59,7 @@ int search_init(int replacing)
{ {
int i; int i;
char buf[BUFSIZ]; char buf[BUFSIZ];
char *prompt; char *prompt, *reprompt = "";
if (last_search[0]) { if (last_search[0]) {
snprintf(buf, BUFSIZ, " [%s]", last_search); snprintf(buf, BUFSIZ, " [%s]", last_search);
...@@ -68,18 +68,21 @@ int search_init(int replacing) ...@@ -68,18 +68,21 @@ int search_init(int replacing)
} }
if (ISSET(USE_REGEXP) && ISSET(CASE_SENSITIVE)) if (ISSET(USE_REGEXP) && ISSET(CASE_SENSITIVE))
prompt = _("Case Sensitive Regexp Search%s"); prompt = _("Case Sensitive Regexp Search%s%s");
else if (ISSET(USE_REGEXP)) else if (ISSET(USE_REGEXP))
prompt = _("Regexp Search%s"); prompt = _("Regexp Search%s%s");
else else
if (ISSET(CASE_SENSITIVE)) if (ISSET(CASE_SENSITIVE))
prompt = _("Case Sensitive Search%s"); prompt = _("Case Sensitive Search%s%s");
else else
prompt = _("Search%s"); prompt = _("Search%s%s");
if (replacing)
reprompt = _(" (to replace)");
i = statusq(replacing ? replace_list : whereis_list, i = statusq(replacing ? replace_list : whereis_list,
replacing ? REPLACE_LIST_LEN : WHEREIS_LIST_LEN, "", replacing ? REPLACE_LIST_LEN : WHEREIS_LIST_LEN, "",
prompt, buf); prompt, reprompt, buf);
/* Cancel any search, or just return with no previous search */ /* Cancel any search, or just return with no previous search */
if ((i == -1) || (i < 0 && !last_search[0])) { if ((i == -1) || (i < 0 && !last_search[0])) {
......
...@@ -942,8 +942,8 @@ int statusq(shortcut s[], int slen, char *def, char *msg, ...) ...@@ -942,8 +942,8 @@ int statusq(shortcut s[], int slen, char *def, char *msg, ...)
va_start(ap, msg); va_start(ap, msg);
vsnprintf(foo, 132, msg, ap); vsnprintf(foo, 132, msg, ap);
strncat(foo, ": ", 132);
va_end(ap); va_end(ap);
strncat(foo, ": ", 132);
wattron(bottomwin, A_REVERSE); wattron(bottomwin, A_REVERSE);
ret = nanogetstr(foo, def, s, slen, (strlen(foo) + 3)); ret = nanogetstr(foo, def, s, slen, (strlen(foo) + 3));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment