# HG changeset patch # User Christian Brabandt # Date 1526556606 -7200 # Node ID bbff863d3caef50f0f76792897bff0b1524f9185 # Parent d61f3e89755da5707b3ed552d13158fdd5b72238 Updated runtime files. commit https://github.com/vim/vim/commit/7c63fbc46e218cad266641a743a6c1353c2f00d4 Author: Bram Moolenaar Date: Thu May 17 13:15:23 2018 +0200 Updated runtime files. diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 8.0. Last change: 2018 May 15 +*todo.txt* For Vim version 8.0. Last change: 2018 May 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -36,9 +36,9 @@ entered there will not be repeated below -------------------- Known bugs and current work ----------------------- Terminal emulator window: -- Duplicated lines when making terminal only window. (Dominique, #2909) - Still some stuff to implement and bugs to fix, see src/terminal.c -- Add more functionality for terminal API? (Ozaki Kiichi 2018 May 13, #2907) + +Patch to refactor efm_to_regpat(). (Yegappan Lakshmanan, 2018 May 16, #2924) Crash when mixing matchadd and substitute()? (Max Christian Pohle, 2018 May 13, #2910) Can't reproduce? @@ -104,6 +104,12 @@ CreateFile() returns ERROR_SHARING_VIOLA Should add a test for every command line argument. Check coverage for what is missing: --nofork, -A , -b, -h, etc. +Completing a command sometimes results in duplicates, since 7.4.672. +(Yegappan Lakshmanan, 2018 May 16) +Duplication of completion suggestions for ":!hom". Issue #539. +Patch by Christian, 2016 Jan 29 +Another patch in #2733. + Improve the installer for MS-Windows. There are a few alternatives: - Add silent install option. (Shane Lee, #751) - Installer from Cream (Steve Hall). @@ -306,10 +312,6 @@ Start with filetype detection: testdir/t Window not closed when deleting buffer. (Harm te Hennepe, 2017 Aug 27, #2029) -Duplication of completion suggestions for ":!hom". Issue #539. -Patch by Christian, 2016 Jan 29 -Another patch in #2733. -> Add options_default() / options_restore() to set several options to Vim defaults for a plugin. Comments from Zyx, 2017 May 10. Perhaps use a vimcontext / endvimcontext command block. diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt --- a/runtime/doc/version8.txt +++ b/runtime/doc/version8.txt @@ -1,4 +1,4 @@ -*version8.txt* For Vim version 8.0. Last change: 2018 May 13 +*version8.txt* For Vim version 8.0. Last change: 2018 May 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -25533,5 +25533,130 @@ Problem: Compiler warning for signed/ Solution: Change the type of jv_argv. Files: src/channel.c, src/structs.h +Patch 8.0.1828 +Problem: Get no clue why :gui does not fork. +Solution: Add a channel log message. +Files: src/channel.c + +Patch 8.0.1829 +Problem: MS-Windows: script for vimdiff can't handle ! chars. +Solution: Escape the ! chars. (Hans Ginzel, closes #2896) +Files: src/dosinst.c + +Patch 8.0.1830 +Problem: Switching to Terminal-Normal mode does not redraw. (Dominique + Pelle) +Solution: Also redraw when not updating the snapshot. (closes #2904) +Files: src/terminal.c + +Patch 8.0.1831 +Problem: Sometimes the quickfix title is incorrectly prefixed with ':'. +Solution: Prepend the colon in another way. (Yegappan Lakshmanan, closes + #2905) +Files: src/evalfunc.c, src/quickfix.c, src/testdir/test_quickfix.vim + +Patch 8.0.1832 +Problem: Cannot use :unlet for an environment variable. +Solution: Make it work. Use unsetenv() if available. (Yasuhiro Matsumoto, + closes #2855) +Files: runtime/doc/eval.txt, src/config.h.in, src/configure.ac, + src/auto/configure, src/eval.c, src/misc1.c, src/proto/misc1.pro, + src/testdir/test_unlet.vim + +Patch 8.0.1833 +Problem: X11: ":echo 3.14" gives E806. +Solution: set LC_NUMERIC to "C". (Dominique Pelle, closes #2368) +Files: src/gui_x11.c + +Patch 8.0.1834 +Problem: GUI: find/replace dialog does not handle some chars properly. +Solution: Escape '?' when needed. Always escape backslash. (closes #2418, + closes #2435) +Files: src/gui.c + +Patch 8.0.1835 +Problem: Print document name does not support multi-byte. +Solution: Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478) +Files: src/os_mswin.c + +Patch 8.0.1836 +Problem: Buffer-local window options may not be recent if the buffer is + still open in another window. +Solution: Copy the options from the window instead of the outdated window + options. (Bjorn Linse, closes #2336) +Files: src/buffer.c, src/testdir/test_options.vim + +Patch 8.0.1837 +Problem: One character cmdline abbreviation not triggered after '<,'>. +Solution: Skip over the special range. (Christian Brabandt, closes #2320) +Files: src/ex_getln.c, src/testdir/test_mapping.vim + +Patch 8.0.1838 +Problem: Cursor in wrong position when switching to Terminal-Normal mode. + (Dominique Pelle) +Solution: Move to the end of the line if coladvance() fails. Do not take a + snapshot a second time. +Files: src/terminal.c + +Patch 8.0.1839 +Problem: Script to check .po file doesn't check for plural header. +Solution: Add a check that the plural header is present when needed. +Files: src/po/check.vim + +Patch 8.0.1840 +Problem: getwinpos() is not tested. +Solution: Add a test. (Dominique Pelle, closes #2911) +Files: src/testdir/test_gui.vim + +Patch 8.0.1841 +Problem: HP-UX does not have setenv(). +Solution: Use vim_setenv(). (John Marriott) +Files: src/misc1.c + +Patch 8.0.1842 +Problem: Popup menu inside terminal window isn't cleared. +Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian + Brabandt, closes #2908) +Files: src/popupmnu.c + +Patch 8.0.1843 +Problem: Entry for 'wrap' in options window is wrong. (John Little) +Solution: Make the change apply locally. +Files: runtime/optwin.vim + +Patch 8.0.1844 +Problem: Superfluous quickfix code, missing examples. +Solution: Remove unneeded code. Add a few examples. Add a bit more + testing. (Yegappan Lakshmanan, closes #2916) +Files: runtime/doc/quickfix.txt, src/quickfix.c, + src/testdir/test_quickfix.vim + +Patch 8.0.1845 +Problem: Various comment updates needed, missing white space. +Solution: Update comments, add white space. +Files: src/getchar.c, src/testdir/test_cscope.vim, src/gui_mac.c + +Patch 8.0.1846 +Problem: Python interface is incompatible with lldb. +Solution: For OutputType set the base to be PyFile_Type. (Boxu Zhang) + Partly disabled to avoid a crash. +Files: src/if_py_both.h, src/if_python.c, src/if_python3.c + +Patch 8.0.1847 +Problem: Some build options don't have an example. +Solution: Add a couple more examples and compiler flags. +Files: src/Makefile + +Patch 8.0.1848 +Problem: 'termwinscroll' does not work properly. (Dominique Pelle) +Solution: Subtract removed scrollback from the scrollback count. Add a test + for 'termwinscroll'. (closes #2909) +Files: src/terminal.c, src/testdir/test_terminal.vim + +Patch 8.0.1849 +Problem: Compiler warning for unused arguments and missing prototype. +Solution: Add UNUSED. Add static. +Files: src/mbyte.c, src/if_ruby.c + vim:tw=78:ts=8:ft=help:norl: diff --git a/runtime/lang/menu_it_it.latin1.vim b/runtime/lang/menu_it_it.latin1.vim --- a/runtime/lang/menu_it_it.latin1.vim +++ b/runtime/lang/menu_it_it.latin1.vim @@ -2,7 +2,7 @@ " Maintainer: Antonio Colombo " Vlad Sandrini " Luciano Montanaro -" Last Change: 2012 May 01 +" Last Change: 2018 May 16 " Quit when menu translations have already been done. if exists("did_menu_trans") @@ -16,87 +16,92 @@ scriptencoding iso-8859-1 " Help / Aiuto menut &Help &Aiuto + menut &Overview &Panoramica menut &User\ Manual Manuale\ &Utente menut &How-to\ links Co&Me\.\.\. -"menut &GUI &GUI +menut &Find\.\.\. &Cerca\.\.\. +" -SEP1- menut &Credits Cr&Editi menut Co&pying C&Opie -menut &Sponsor/Register &Sponsor/registrazione +menut &Sponsor/Register &Sponsor/Registrazione menut O&rphans O&Rfani -"menut &Find\.\.\. &Cerca\.\.\. -"NOTA: fa conflitto con 'cerca' nel menu 'modifica' +" -SEP2- menut &Version &Versione menut &About &Intro let g:menutrans_help_dialog = "Batti un comando o una parola per cercare aiuto:\n\nPremetti i_ per comandi in modo Input (ad.es.: i_CTRL-X)\nPremetti c_ per comandi che editano la linea-comandi (ad.es.: c_)\nPremetti ' per un nome di opzione (ad.es.: 'shiftwidth')" -" File menu -"menut &File &File -" +" File / File +menut &File &File + menut &Open\.\.\.:e &Apri\.\.\.:e -menut Sp&lit-Open\.\.\.:sp A&Pri\ nuova\ finestra\.\.\.:sp -menut Open\ Tab\.\.\.:tabnew Apri\ nuova\ &Linguetta\.\.\.:tabnew -menut &New:enew &Nuovo:enew -menut &Close:close &Chiudi:close +menut Sp&lit-Open\.\.\.:sp A&Pri\ nuova\ finestra\.\.\.:sp +menut Open\ Tab\.\.\.:tabnew Apri\ nuova\ &Linguetta\.\.\.:tabnew +menut &New:enew &Nuovo:enew +menut &Close:close &Chiudi:close +" -SEP1- menut &Save:w &Salva:w -menut Save\ &As\.\.\.:sav Salva\ &Con\ nome\.\.\.:sav - -if has("diff") - menut Split\ &Diff\ with\.\.\. Finestra\ &Differenza\ con\.\.\. - menut Split\ Patched\ &By\.\.\. Finestra\ patc&H\ da\.\.\. -endif - -menut &Print S&tampa +menut Save\ &As\.\.\.:sav Salva\ &Con\ nome\.\.\.:sav +" -SEP2- +menut Split\ &Diff\ with\.\.\. &Differenza\ con\.\.\. +menut Split\ Patched\ &By\.\.\. Patc&H\ da\.\.\. +" -SEP3- +menut &Print S&tampa +" -SEP4- menut Sa&ve-Exit:wqa Sa&Lva\ ed\ esci:wqa menut E&xit:qa &Esci:qa " Edit / Modifica +menut &Edit &Modifica -menut &Edit &Modifica menut &Undou &Annullau menut &Redo^R &Ripristina^R -menut Rep&eat\. Ri&Peti\. +menut Rep&eat\. Ri&Peti\. +" -SEP1- menut Cu&t"+x &Taglia"+x menut &Copy"+y &Copia"+y -menut &Paste"+gP &Incolla"+gP +menut &Paste"+gP &Incolla"+gP menut Put\ &Before[p &Metti\ davanti[p menut Put\ &After]p M&Etti\ dietro]p menut &Deletex Cance&Llax menut &Select\ allggVG Seleziona\ &TuttoggVG -menut &Select\ AllggVG Seleziona\ &TuttoggVG +" -SEP2- menut &Find\.\.\. &Cerca\.\.\. -menut Find\ and\ Rep&lace\.\.\. &Sostituisci\.\.\. -menut Settings\ &Window &Finestra\ impostazioni -menut Startup\ &Settings Impostazioni\ di\ &Avvio -menut &Global\ Settings Impostazioni\ &Globali -menut Question Domanda +menut &Find\.\.\./ &Cerca\.\.\./ +menut Find\ and\ Rep&lace\.\.\. &Sostituisci\.\.\. +menut Find\ and\ Rep&lace\.\.\.:%s &Sostituisci\.\.\.:%s +menut Find\ and\ Rep&lace\.\.\.:s &Sostituisci\.\.\.:s +" -SEP3- +menut Settings\ &Window &Finestra\ Impostazioni +menut Startup\ &Settings Impostazioni\ di\ &Avvio +menut &Global\ Settings Impostazioni\ &Globali +menut Question Domanda -" Edit / Modifica Impostazioni Globali -menut &Global\ Settings Impostazioni\ &Globali +" Edit / Modifica / Impostazioni Globali + menut Toggle\ Pattern\ &Highlight:set\ hls! &Evidenzia\ ricerche\ S/No:set\ hls! -menut Toggle\ &Ignore-case:set\ ic! &Ignora\ maiusc\.-minusc\.\ S/No:set\ ic! -menut Toggle\ &Showmatch:set\ sm! Indica\ &Corrispondente\ S/No:set\ sm! +menut Toggle\ &Ignoring\ Case:set\ ic! &Ignora\ maiusc\.-minusc\.\ S/No:set\ ic! +menut Toggle\ &Showing\ Matched\ Pairs:set\ sm! Indica\ &Corrispondenze\ S/No:set\ sm! -menut &Context\ lines &Linee\ di\ contesto -menut &Virtual\ Edit &Edit\ virtuale +menut &Context\ lines &Linee\ di\ contesto -menut Never Mai -menut Block\ Selection Selezione\ blocco -menut Insert\ mode Modo\ insert -menut Block\ and\ Insert Selezione\ blocco+inserimento -menut Always Sempre +menut &Virtual\ Edit &Edit\ virtuale +menut Never Mai +menut Block\ Selection Selezione\ Blocco +menut Insert\ mode Modo\ Insert +menut Block\ and\ Insert Selezione\ Blocco\ e\ Inserimento +menut Always Sempre -menut Toggle\ Insert\ &Mode:set\ im! &Modo\ insert\ S/No:set\ im! -menut Toggle\ Vi\ C&ompatible:set\ cp! C&Ompatibile\ VI\ S/No:set\ cp! +menut Toggle\ Insert\ &Mode:set\ im! &Modo\ Insert\ S/No:set\ im! +menut Toggle\ Vi\ C&ompatibility:set\ cp! C&Ompatibilit\ VI\ S/No:set\ cp! menut Search\ &Path\.\.\. &Percorso\ di\ ricerca\.\.\. menut Ta&g\ Files\.\.\. File\ ta&G\.\.\. -" -" Opzioni GUI -menut Toggle\ &Toolbar Barra\ s&Trumenti\ S/No +" -SEP1- +menut Toggle\ &Toolbar Barra\ s&Trumenti\ S/No menut Toggle\ &Bottom\ Scrollbar Barra\ scorrimento\ in\ &Fondo\ S/No -menut Toggle\ &Left\ Scrollbar Barra\ scorrimento\ a\ &Sinistra\ S/No -menut Toggle\ &Right\ Scrollbar Barra\ scorrimento\ a\ &Destra\ S/No +menut Toggle\ &Left\ Scrollbar Barra\ scorrimento\ a\ &Sinistra\ S/No +menut Toggle\ &Right\ Scrollbar Barra\ scorrimento\ a\ &Destra\ S/No let g:menutrans_path_dialog = "Batti percorso di ricerca per i file.\nSepara fra loro i nomi di directory con una virgola." let g:menutrans_tags_dialog = "Batti nome dei file di tag.\nSepara fra loro i nomi di directory con una virgola." @@ -105,67 +110,103 @@ let g:menutrans_tags_dialog = "Batti nom menut F&ile\ Settings &Impostazioni\ file " Boolean options -menut Toggle\ Line\ &Numbering:set\ nu! &Numerazione\ \ S/No:set\ nu! -menut Toggle\ relati&ve\ Line\ Numbering:set\ rnu! Numerazione\ relati&Va\ S/No:set\ rnu! +menut Toggle\ Line\ &Numbering:set\ nu! &Numerazione\ S/No:set\ nu! +menut Toggle\ Relati&ve\ Line\ Numbering:set\ rnu! Numerazione\ relati&Va\ S/No:set\ rnu! menut Toggle\ &List\ Mode:set\ list! Modo\ &List\ S/No:set\ list! -menut Toggle\ Line\ &Wrap:set\ wrap! Linee\ &Continuate\ S/No:set\ wrap! -menut Toggle\ W&rap\ at\ word:set\ lbr! A\ capo\ alla\ &Parola\ S/No:set\ lbr! -menut Toggle\ &expand-tab:set\ et! &Espandi\ tabulazione\ S/No:set\ et! -menut Toggle\ &auto-indent:set\ ai! Indentazione\ &Automatica\ S/No:set ai! -menut Toggle\ &C-indenting:set\ cin! Indentazione\ stile\ &C\ S/No:set cin! - -" altre opzioni -menut &Shiftwidth &Spazi\ rientranza -menut Soft\ &Tabstop &Tabulazione\ software -menut Te&xt\ Width\.\.\. Lunghe&Zza\ riga\.\.\. -menut &File\ Format\.\.\. Formato\ &File\.\.\. +menut Toggle\ Line\ &Wrapping:set\ wrap! Linee\ &Continuate\ S/No:set\ wrap! +menut Toggle\ W&rapping\ at\ word:set\ lbr! A\ capo\ alla\ &Parola\ S/No:set\ lbr! +menut Toggle\ Tab\ &expanding:set\ et! &Espandi\ Tabulazione\ S/No:set\ et! +menut Toggle\ &Auto\ Indenting:set\ ai! Indentazione\ &Automatica\ S/No:set ai! +menut Toggle\ &C-Style\ Indenting:set\ cin! Indentazione\ stile\ &C\ S/No:set cin! +" -SEP2- +menut &Shiftwidth &Spazi\ rientranza +"menut &Shiftwidth.2:set\ sw=2\ sw? &Spazi\ rientranza.2:set\ sw=2\ sw? +"menut &Shiftwidth.3:set\ sw=3\ sw? &Spazi\ rientranza.3:set\ sw=3\ sw? +"menut &Shiftwidth.4:set\ sw=4\ sw? &Spazi\ rientranza.4:set\ sw=4\ sw? +"menut &Shiftwidth.5:set\ sw=5\ sw? &Spazi\ rientranza.5:set\ sw=5\ sw? +"menut &Shiftwidth.6:set\ sw=6\ sw? &Spazi\ rientranza.6:set\ sw=6\ sw? +"menut &Shiftwidth.8:set\ sw=8\ sw? &Spazi\ rientranza.8:set\ sw=8\ sw? +menut Soft\ &Tabstop &Tabulazione\ software +"menut Soft\ &Tabstop.2:set\ sts=2\ sts? &Tabulazione\ software.2:set\ sts=2\ sts? +"menut Soft\ &Tabstop.3:set\ sts=3\ sts? &Tabulazione\ software.3:set\ sts=3\ sts? +"menut Soft\ &Tabstop.4:set\ sts=4\ sts? &Tabulazione\ software.4:set\ sts=4\ sts? +"menut Soft\ &Tabstop.5:set\ sts=5\ sts? &Tabulazione\ software.5:set\ sts=5\ sts? +"menut Soft\ &Tabstop.6:set\ sts=6\ sts? &Tabulazione\ software.6:set\ sts=6\ sts? +"menut Soft\ &Tabstop.8:set\ sts=8\ sts? &Tabulazione\ software.8:set\ sts=8\ sts? +menut Te&xt\ Width\.\.\. Lunghe&Zza\ riga\.\.\. +menut &File\ Format\.\.\. Formato\ &File\.\.\. let g:menutrans_textwidth_dialog = "Batti nuova lunghezza linea (0 per inibire la formattazione): " +let g:menutrans_fileformat_dialog = "Scegli formato con cui scrivere il file" +let g:menutrans_fileformat_choices = " &Unix \n &Dos \n &Mac \n &Annullare " -let g:menutrans_fileformat_dialog = "Scegli formato con cui scrivere il file" - +menut Show\ C&olor\ Schemes\ in\ Menu Mostra\ Schemi\ C&olore\ in\ Men menut C&olor\ Scheme Schema\ c&Olori -menut default normale -menut DEFAULT NORMALE -menut evening notturno -menut EVENING NOTTURNO -menut morning diurno -menut MORNING DIURNO +menut blue bl +menut darkblue bl\ scuro +menut desert deserto +menut elflord signore\ degli\ elfi +menut evening sera +menut industry industria +menut morning mattino +menut peachpuff pesca menut shine brillante +menut slate ardesia +menut BLUE BL +menut DARKBLUE BL\ SCURO +menut DESERT DESERTO +menut ELFLORD SIGNORE\ DEGLI\ ELFI +menut EVENING SERA +menut INDUSTRY INDUSTRIA +menut MORNING MATTINO +menut PEACHPUFF PESCA menut SHINE BRILLANTE -menut peachpuff pesca -menut PEACHPUF PESCA +menut SLATE ARDESIA -menut &Keymap &Mappa\ tastiera +menut Show\ &Keymaps\ in\ Menu Mostra\ Ma&ppe\ tastiera\ in\ Men +menut &Keymap Ma&ppa\ tastiera -menut None nessuna -menut accents accenti -menut ACCENTS ACCENTI -menut hebrew ebraico -menut HEBREW EBRAICO -menut hebrew_iso-8859-8 ebraico_iso-8859-8 -menut hebrew_cp1255 ebraico_cp1255 -menut hebrew_utf-8 ebraico_utf-8 -menut hebrewp_iso-8859-8 ebraico_p_iso-8859-8 -menut HEBREW- EBRAICO+ -menut hebrewp EBRAICOP -menut HEBREWP EBRAICOP -menut russian-jcuken cirillico-jcuken -menut russian-jcukenwin cirillico-jcuken-win -menut RUSSIAN CIRILLICO -menut RUSSIAN- CIRILLICO- +menut None nessuna +menut accents accenti +menut arabic arabo +menut armenian-eastern armeno-orientale +menut armenian-western armeno-occidentale +menut belarusian-jcuken bielorusso-jcuken +menut czech ceco +menut greek greco +menut hebrew ebraico +menut hebrewp ebraicop +menut magyar ungherese +menut persian persiano +menut serbian serbo +menut serbian-latin serbo-latino +menut slovak slovacco +menut ACCENTS ACCENTI +menut ARABIC ARABO +menut ARMENIAN-EASTERN ARMENO-ORIENTALE +menut ARMENIAN-WESTERN ARMENO-OCCIDENTALE +menut BELARUSIAN-JCUKEN BIELORUSSO-JCUKEN +menut CZECH CECO +menut GREEK GRECO +menut HEBREW EBRAICO +menut HEBREWP EBRAICOP +menut MAGYAR UNGHERESE +menut PERSIAN PERSIANO +menut SERBIAN SERBO +menut SERBIAN-LATIN SERBO-LATINO +menut SLOVAK SLOVACCO menut Select\ Fo&nt\.\.\. Scegli\ &Font\.\.\. -" Menu strumenti programmazione -menut &Tools &Strumenti +" Men strumenti programmazione +menut &Tools &Strumenti menut &Jump\ to\ this\ tagg^] &Vai\ a\ questa\ tagg^] menut Jump\ &back^T Torna\ &Indietro^T menut Build\ &Tags\ File Costruisci\ file\ &Tags\ - -" Menu ortografia / Spelling +" -SEP1- +" Men ortografia / Spelling menut &Spelling &Ortografia menut &Spell\ Check\ On Attiva\ &Controllo\ ortografico @@ -180,46 +221,43 @@ menut Set\ language\ to\ "en_ca" Imposta menut Set\ language\ to\ "en_gb" Imposta\ lingua\ a\ "en_gb" menut Set\ language\ to\ "en_nz" Imposta\ lingua\ a\ "en_nz" menut Set\ language\ to\ "en_us" Imposta\ lingua\ a\ "en_us" -menut Set\ language\ to\ "it" Imposta\ lingua\ a\ "it" -menut Set\ language\ to\ "it_it" Imposta\ lingua\ a\ "it_it" -menut Set\ language\ to\ "it_ch" Imposta\ lingua\ a\ "it_ch" menut &Find\ More\ Languages &Trova\ altre\ lingue -" Menu piegature / Fold -if has("folding") - menut &Folding &Piegature - " apri e chiudi piegature - menut &Enable/Disable\ foldszi Pi&egature\ S/Nozi - menut &View\ Cursor\ Linezv &Vedi\ linea\ col\ Cursorezv - menut Vie&w\ Cursor\ Line\ onlyzMzx Vedi\ &Solo\ linea\ col\ CursorezMzx - menut C&lose\ more\ foldszm C&Hiudi\ pi\ piegaturezm - menut &Close\ all\ foldszM &Chiudi\ tutte\ le\ piegaturezM - menut O&pen\ more\ foldszr A&Pri\ pi\ piegaturezr - menut &Open\ all\ foldszR &Apri\ tutte\ le\ piegaturezR - " metodo piegatura - menut Fold\ Met&hod Meto&Do\ piegatura - menut M&anual &Manuale - menut I&ndent &Nidificazione - menut E&xpression &Espressione\ Reg\. - menut S&yntax &Sintassi - menut &Diff &Differenza - menut Ma&rker Mar&Catura - " crea e cancella piegature - menut Create\ &Foldzf Crea\ &Piegaturazf - menut &Delete\ Foldzd &Leva\ piegaturazd - menut Delete\ &All\ FoldszD Leva\ &Tutte\ le\ piegaturezD - " movimenti all'interno delle piegature - menut Fold\ col&umn\ width Larghezza\ piegat&Ure\ in\ colonne -endif " has folding +" Men piegature / Fold +menut &Folding &Piegature +" apri e chiudi piegature +menut &Enable/Disable\ foldszi Pi&egature\ S/Nozi +menut &View\ Cursor\ Linezv &Vedi\ linea\ col\ Cursorezv +menut Vie&w\ Cursor\ Line\ onlyzMzx Vedi\ &Solo\ linea\ col\ CursorezMzx +menut C&lose\ more\ foldszm C&Hiudi\ pi\ piegaturezm +menut &Close\ all\ foldszM &Chiudi\ tutte\ le\ piegaturezM +menut O&pen\ more\ foldszr A&Pri\ pi\ piegaturezr +menut &Open\ all\ foldszR &Apri\ tutte\ le\ piegaturezR +" -SEP1- +" metodo piegatura +menut Fold\ Met&hod Meto&Do\ piegatura +menut M&anual &Manuale +menut I&ndent &Nidificazione +menut E&xpression &Espressione\ Reg\. +menut S&yntax &Sintassi +menut &Diff &Differenza +menut Ma&rker Mar&Catura -if has("diff") - menut &Diff &Differenza - " - menut &Update &Aggiorna - menut &Get\ Block &Importa\ differenze - menut &Put\ Block &Esporta\ differenze -endif " has diff +" crea e cancella piegature +menut Create\ &Foldzf Crea\ &Piegaturazf +menut &Delete\ Foldzd &Leva\ piegaturazd +menut Delete\ &All\ FoldszD Leva\ &Tutte\ le\ piegaturezD +" -SEP2- +" movimenti all'interno delle piegature +menut Fold\ col&umn\ width Larghezza\ piegat&Ure\ in\ colonne +menut &Diff &Differenza +" +menut &Update &Aggiorna +menut &Get\ Block &Importa\ differenze +menut &Put\ Block &Esporta\ differenze + +" -SEP2- menut &Make:make Esegui\ &Make:make menut &List\ Errors:cl Lista\ &Errori:cl @@ -235,56 +273,59 @@ menut &Update:cwin A&Ggiorna: menut &Open:copen &Apri:copen menut &Close:cclose &Chiudi:cclose +" -SEP3- menut &Convert\ to\ HEX:%!xxd &Converti\ a\ esadecimale:%!xxd menut Conve&rt\ back:%!xxd\ -r Conve&rti\ da\ esadecimale:%!xxd\ -r menut Se&T\ Compiler Impo&Sta\ Compilatore " Buffers / Buffer -menut &Buffers &Buffer +menut &Buffers &Buffer -menut &Refresh\ menu A&ggiorna\ menu -menut &Delete &Elimina +menut &Refresh\ menu A&ggiorna\ men +menut &Delete &Elimina menut &Alternate &Alternato menut &Next &Successivo -menut &Previous &Precedente +menut &Previous &Precedente menut [No\ File] [Nessun\ File] + " Syntax / Sintassi -menut &Syntax &Sintassi -menut &Show\ filetypes\ in\ menu Mo&Stra\ tipi\ di\ file\ nel\ menu -menut Set\ '&syntax'\ only &S\ Attiva\ solo\ \ 'syntax' -menut Set\ '&filetype'\ too &F\ Attiva\ anche\ 'filetype' -menut &Off &Disattiva -menut &Manual &Manuale -menut A&utomatic A&Utomatico -menut on/off\ for\ &This\ file Attiva\ S/No\ su\ ques&To\ file -menut Co&lor\ test Test\ &Colori -menut &Highlight\ test Test\ &Evidenziamento -menut &Convert\ to\ HTML Converti\ ad\ &HTML +menut &Syntax &Sintassi + +menut &Show\ File\ Types\ in\ menu Mo&Stra\ tipi\ di\ file\ nel\ men +menut Set\ '&syntax'\ only &S\ Attiva\ solo\ \ 'syntax' +menut Set\ '&filetype'\ too &F\ Attiva\ anche\ 'filetype' +menut &Off &Disattiva +menut &Manual &Manuale +menut A&utomatic A&Utomatico +menut on/off\ for\ &This\ file Attiva\ S/No\ su\ ques&To\ file +menut Co&lor\ test Test\ &Colori +menut &Highlight\ test Test\ &Evidenziamento +menut &Convert\ to\ HTML Converti\ ad\ &HTML let g:menutrans_no_file = "[Senza nome]" " Window / Finestra -menut &Window &Finestra +menut &Window &Finestra menut &New^Wn &Nuova^Wn -menut S&plit^Ws &Dividi\ lo\ schermo^Ws -menut Sp&lit\ To\ #^W^^ D&Ividi\ verso\ #^W^^ +menut S&plit^Ws &Dividi\ lo\ schermo^Ws +menut Sp&lit\ To\ #^W^^ D&Ividi\ verso\ #^W^^ menut Split\ &Vertically^Wv Di&Vidi\ verticalmente^Wv -menut Split\ File\ E&xplorer Aggiungi\ finestra\ e&Xplorer - -menut &Close^Wc &Chiudi^Wc -menut Close\ &Other(s)^Wo C&Hiudi\ altra(e)^Wo - -menut Move\ &To &Muovi\ verso +menut Split\ File\ E&xplorer Aggiungi\ finestra\ e&Xplorer +" -SEP1- +menut &Close^Wc &Chiudi^Wc +menut Close\ &Other(s)^Wo C&Hiudi\ altra(e)^Wo +" -SEP2- +menut Move\ &To &Muovi\ verso menut &Top^WK &Cima^WK -menut &Bottom^WJ &Fondo^WJ +menut &Bottom^WJ &Fondo^WJ menut &Left\ side^WH Lato\ &Sinistro^WH menut &Right\ side^WL Lato\ &Destro^WL menut Rotate\ &Up^WR Ruota\ verso\ l'&Alto^WR menut Rotate\ &Down^Wr Ruota\ verso\ il\ &Basso^Wr - +" -SEP3- menut &Equal\ Size^W= &Uguale\ ampiezza^W= menut &Max\ Height^W_ &Altezza\ massima^W_ menut M&in\ Height^W1_ A&Ltezza\ minima^W1_ @@ -292,63 +333,57 @@ menut Max\ &Width^W\| Larghezza\ m menut Min\ Widt&h^W1\| Larghezza\ minima^W1\| " The popup menu -menut &Undo &Annulla -menut Cu&t &Taglia -menut &Copy &Copia +menut &Undo &Annulla +" -SEP1- +menut Cu&t &Taglia +menut &Copy &Copia menut &Paste &Incolla menut &Delete &Elimina - -menut Select\ Blockwise Seleziona\ in\ blocco +" -SEP2- +menut Select\ Blockwise Seleziona\ in\ blocco menut Select\ &Word Seleziona\ &Parola menut Select\ &Line Seleziona\ &Linea -menut Select\ &Block Seleziona\ &Blocco +menut Select\ &Block Seleziona\ &Blocco menut Select\ &All Seleziona\ t&Utto " The GUI Toolbar / Barra Strumenti -if has("toolbar") - if exists("*Do_toolbar_tmenu") - delfun Do_toolbar_tmenu - endif - fun Do_toolbar_tmenu() - tmenu ToolBar.Open Apri - tmenu ToolBar.Save Salva - tmenu ToolBar.SaveAll Salva Tutto - tmenu ToolBar.Print Stampa - tmenu ToolBar.Undo Annulla - tmenu ToolBar.Redo Ripristina - tmenu ToolBar.Cut Taglia - tmenu ToolBar.Copy Copia - tmenu ToolBar.Paste Incolla - - if !has("gui_athena") - tmenu ToolBar.Find Cerca - tmenu ToolBar.FindNext Cerca Successivo - tmenu ToolBar.FindPrev Cerca Precedente - tmenu ToolBar.Replace Sostituisci - endif - -if 0 " disabled; These are in the Windows menu - tmenu ToolBar.New Nuova finestra - tmenu ToolBar.WinSplit Dividi finestra - tmenu ToolBar.WinMax Massima ampiezza - tmenu ToolBar.WinMin Minima ampiezza - tmenu ToolBar.WinVSplit Dividi verticalmente - tmenu ToolBar.WinMaxWidth Massima larghezza - tmenu ToolBar.WinMinWidth Minima larghezza - tmenu ToolBar.WinClose Chiudi finestra -endif - - tmenu ToolBar.LoadSesn Carica Sessione - tmenu ToolBar.SaveSesn Salva Sessione - tmenu ToolBar.RunScript Esegui Script - tmenu ToolBar.Make Make - tmenu ToolBar.Shell Shell - tmenu ToolBar.RunCtags Esegui Ctags - tmenu ToolBar.TagJump Vai a Tag - tmenu ToolBar.Help Aiuto - tmenu ToolBar.FindHelp Cerca in Aiuto - endfun -endif +menut Open Apri +menut Save Salva +menut SaveAll Salva\ Tutto +menut Print Stampa +" -SEP1- +menut Undo Annulla +menut Redo Ripristina +" -SEP2- +menut Cut Taglia +menut Copy Copia +menut Paste Incolla +" -sep3- +menut Find Cerca +menut FindNext Cerca Successivo +menut FindPrev Cerca Precedente +menut Replace Sostituisci +" -sep4- +menut New Nuova\ finestra +menut WinSplit Dividi\ finestra +menut WinMax Massima\ ampiezza +menut WinMin Minima\ ampiezza +menut WinVSplit Dividi\ verticalmente +menut WinMaxWidth Massima\ larghezza +menut WinMinWidth Minima\ larghezza +menut WinClose Chiudi\ finestra +" -SEP5- +menut LoadSesn Carica\ Sessione +menut SaveSesn Salva\ Sessione +menut RunScript Esegui\ Script +" -SEP6- +menut Make Make +menut Shell Shell +menut RunCtags Esegui\ Ctags +menut TagJump Vai\ a\ Tag +" -SEP7- +menut Help Aiuto +menut FindHelp Cerca\ in\ Aiuto let &cpo = s:keepcpo unlet s:keepcpo diff --git a/runtime/lang/menu_ru_ru.vim b/runtime/lang/menu_ru_ru.vim --- a/runtime/lang/menu_ru_ru.vim +++ b/runtime/lang/menu_ru_ru.vim @@ -1,7 +1,7 @@ " Menu Translations: Russian " Maintainer: Sergey Alyoshin -" Previous Maintainer: vassily ragosin -" Last Change: 29 May 2013 +" Previous Maintainer: Vassily Ragosin +" Last Change: 16 May 2018 " URL: cvs://cvs.sf.net:/cvsroot/ruvim/extras/menu/menu_ru_ru.vim " " $Id: menu_ru_ru.vim,v 1.1 2004/06/13 16:09:10 vimboss Exp $ @@ -36,7 +36,7 @@ menutrans &Help С&правка " Help menu menutrans &Overview &Обзор menutrans &User\ Manual Руково&дство\ пользователя -menutrans &How-to\ links &Как\ это\ сделать\.\.\. +menutrans &How-To\ Links &Как\ это\ сделать\.\.\. menutrans &Find\.\.\. &Поиск "-------------------- menutrans &Credits &Благодарности @@ -58,7 +58,7 @@ menutrans &Close:close &Закрыть:close menutrans &Save:w &Сохранить:w menutrans Save\ &As\.\.\.:sav Сохранить\ &как\.\.\.:sav "-------------------- -menutrans Split\ &Diff\ with\.\.\. Ср&авнить\ с\.\.\. +menutrans Split\ &Diff\ With\.\.\. Ср&авнить\ с\.\.\. menutrans Split\ Patched\ &By\.\.\. Сравнить\ с\ применением\ зап&латки\.\.\. "-------------------- menutrans &Print На&печатать @@ -97,12 +97,12 @@ menutrans &Keymap Раскладка\ кл&авиатуры menutrans Select\ Fo&nt\.\.\. Выбор\ &шрифта\.\.\. ">>>----------------- Edit/Global settings menutrans Toggle\ Pattern\ &Highlight:set\ hls! Подсветка\ &найденных\ соответствий:set\ hls! -menutrans Toggle\ &Ignore-case:set\ ic! &Регистронезависимый\ поиск:set\ ic! -menutrans Toggle\ &Showmatch:set\ sm! Показывать\ парные\ &элементы:set\ sm! -menutrans &Context\ lines Стр&ок\ вокруг\ курсора +menutrans Toggle\ &Ignoring\ Case:set\ ic! &Регистронезависимый\ поиск:set\ ic! +menutrans Toggle\ &Showing\ Matched\ Pairs:set\ sm! Показывать\ парные\ &элементы:set\ sm! +menutrans &Context\ Lines Стр&ок\ вокруг\ курсора menutrans &Virtual\ Edit Вир&туальное\ редактирование menutrans Toggle\ Insert\ &Mode:set\ im! Режим\ &Вставки:set\ im! -menutrans Toggle\ Vi\ C&ompatible:set\ cp! &Совместимость\ с\ Vi:set\ cp! +menutrans Toggle\ Vi\ C&ompatibility:set\ cp! &Совместимость\ с\ Vi:set\ cp! menutrans Search\ &Path\.\.\. &Путь\ для\ поиска\ файлов\.\.\. menutrans Ta&g\ Files\.\.\. Файлы\ &меток\.\.\. " @@ -113,18 +113,18 @@ menutrans Toggle\ &Right\ Scrollbar Полоса\ прокрутки\ спр&ава ">>>->>>------------- Edit/Global settings/Virtual edit menutrans Never Выключено menutrans Block\ Selection При\ выделении\ блока -menutrans Insert\ mode В\ режиме\ Вставки +menutrans Insert\ Mode В\ режиме\ Вставки menutrans Block\ and\ Insert При\ выделении\ блока\ и\ в\ режиме\ Вставки menutrans Always Включено\ всегда ">>>----------------- Edit/File settings menutrans Toggle\ Line\ &Numbering:set\ nu! &Нумерация\ строк:set\ nu! -menutrans Toggle\ relati&ve\ Line\ Numbering:set\ rnu! Относите&льная\ нумерация\ строк:set\ nru! +menutrans Toggle\ Relati&ve\ Line\ Numbering:set\ rnu! Относите&льная\ нумерация\ строк:set\ nru! menutrans Toggle\ &List\ Mode:set\ list! Отобра&жение\ невидимых\ символов:set\ list! -menutrans Toggle\ Line\ &Wrap:set\ wrap! &Перенос\ длинных\ строк:set\ wrap! -menutrans Toggle\ W&rap\ at\ word:set\ lbr! Перенос\ &целых\ слов:set\ lbr! -menutrans Toggle\ &expand-tab:set\ et! Про&белы\ вместо\ табуляции:set\ et! -menutrans Toggle\ &auto-indent:set\ ai! Автоматическое\ форматирование\ &отступов:set\ ai! -menutrans Toggle\ &C-indenting:set\ cin! Форматирование\ отступов\ в\ &стиле\ C:set\ cin! +menutrans Toggle\ Line\ &Wrapping:set\ wrap! &Перенос\ длинных\ строк:set\ wrap! +menutrans Toggle\ W&rapping\ at\ Word:set\ lbr! Перенос\ &целых\ слов:set\ lbr! +menutrans Toggle\ Tab\ &Expanding-tab:set\ et! Про&белы\ вместо\ табуляции:set\ et! +menutrans Toggle\ &Auto\ Indenting:set\ ai! Автоматическое\ форматирование\ &отступов:set\ ai! +menutrans Toggle\ &C-Style\ Indenting:set\ cin! Форматирование\ отступов\ в\ &стиле\ C:set\ cin! ">>>--- menutrans &Shiftwidth Вели&чина\ отступа menutrans Soft\ &Tabstop Ширина\ &табуляции @@ -134,55 +134,64 @@ menutrans &File\ Format\.\.\. &Формат\ файла\.\.\. " " " Tools menu -menutrans &Jump\ to\ this\ tagg^] &Переход\ к\ меткеg^] -menutrans Jump\ &back^T &Вернуться\ назад^T -menutrans Build\ &Tags\ File Создать\ &файл\ меток +menutrans &Jump\ to\ This\ Tagg^] &Перейти\ к\ меткеg^] +menutrans Jump\ &Back^T &Вернуться\ назад^T +menutrans Build\ &Tags\ File Создать\ файл\ ме&ток "------------------- -menutrans &Folding Работа\ со\ &складками +menutrans &Folding &Складки menutrans &Spelling Пр&авописание menutrans &Diff &Отличия\ (diff) "------------------- -menutrans &Make:make Ко&мпиляция:make +menutrans &Make:make Ко&мпилировать:make menutrans &List\ Errors:cl Список\ о&шибок:cl -menutrans L&ist\ Messages:cl! Список\ все&х\ ошибок\ и\ предупреждений:cl! +menutrans L&ist\ Messages:cl! Список\ соо&бщений:cl! menutrans &Next\ Error:cn Следу&ющая\ ошибка:cn menutrans &Previous\ Error:cp П&редыдущая\ ошибка:cp menutrans &Older\ List:cold Более\ стар&ый\ список\ ошибок:cold menutrans N&ewer\ List:cnew Более\ све&жий\ список\ ошибок:cnew menutrans Error\ &Window Ок&но\ ошибок -menutrans Se&T\ Compiler Выбор\ &компилятора +menutrans Se&t\ Compiler Выбор\ &компилятора +menutrans Show\ Compiler\ Se&ttings\ in\ Menu Пока&зать\ настройки\ компи&лятора\ в\ меню "------------------- menutrans &Convert\ to\ HEX:%!xxd П&еревести\ в\ HEX:%!xxd -menutrans Conve&rt\ back:%!xxd\ -r Перевести\ и&з\ HEX:%!xxd\ -r +menutrans Conve&rt\ Back:%!xxd\ -r Перевести\ и&з\ HEX:%!xxd\ -r ">>>---------------- Tools/Spelling menutrans &Spell\ Check\ On &Вкл\ проверку\ правописания menutrans Spell\ Check\ &Off Вы&кл\ проверку\ правописания -menutrans To\ &Next\ error]s &Следующая\ ошибка -menutrans To\ &Previous\ error[s &Предыдущая\ ошибка -menutrans Suggest\ &Correctionsz= Предложить\ исп&равления -menutrans &Repeat\ correction:spellrepall Пов&торить\ исправление\ для\ всех +menutrans To\ &Next\ Error]s &Следующая\ ошибка]s +menutrans To\ &Previous\ Error[s &Предыдущая\ ошибка[s +menutrans Suggest\ &Correctionsz= Предложить\ исп&равленияz= +menutrans &Repeat\ Correction:spellrepall Пов&торить\ исправление\ для\ всехspellrepall "------------------- -menutrans Set\ language\ to\ "en" Установить\ язык\ "en" -menutrans Set\ language\ to\ "en_au" Установить\ язык\ "en_au" -menutrans Set\ language\ to\ "en_ca" Установить\ язык\ "en_ca" -menutrans Set\ language\ to\ "en_gb" Установить\ язык\ "en_gb" -menutrans Set\ language\ to\ "en_nz" Установить\ язык\ "en_nz" -menutrans Set\ language\ to\ "en_us" Установить\ язык\ "en_us" +menutrans Set\ Language\ to\ "en" Установить\ язык\ "en" +menutrans Set\ Language\ to\ "en_au" Установить\ язык\ "en_au" +menutrans Set\ Language\ to\ "en_ca" Установить\ язык\ "en_ca" +menutrans Set\ Language\ to\ "en_gb" Установить\ язык\ "en_gb" +menutrans Set\ Language\ to\ "en_nz" Установить\ язык\ "en_nz" +menutrans Set\ Language\ to\ "en_us" Установить\ язык\ "en_us" menutrans &Find\ More\ Languages &Найти\ больше\ языков let g:menutrans_set_lang_to = 'Установить язык' +" +" +" The Spelling popup menu +" +" +let g:menutrans_spell_change_ARG_to = 'Исправить\ "%s"\ на' +let g:menutrans_spell_add_ARG_to_word_list = 'Добавить\ "%s"\ в\ словарь' +let g:menutrans_spell_ignore_ARG = 'Пропустить\ "%s"' ">>>---------------- Folds -menutrans &Enable/Disable\ foldszi Вкл/выкл\ &складкиzi +menutrans &Enable/Disable\ Foldszi Вкл/выкл\ &складкиzi menutrans &View\ Cursor\ Linezv Открыть\ строку\ с\ &курсоромzv -menutrans Vie&w\ Cursor\ Line\ onlyzMzx Открыть\ &только\ строку\ с\ курсоромzMzx -menutrans C&lose\ more\ foldszm Закрыть\ &больше\ складокzm -menutrans &Close\ all\ foldszM Закрыть\ &все\ складкиzM -menutrans &Open\ all\ foldszR Откр&ыть\ все\ складкиzR -menutrans O&pen\ more\ foldszr Отк&рыть\ больше\ складокzr +menutrans Vie&w\ Cursor\ Line\ OnlyzMzx Открыть\ &только\ строку\ с\ курсоромzMzx +menutrans C&lose\ More\ Foldszm Закрыть\ &больше\ складокzm +menutrans &Close\ All\ FoldszM Закрыть\ &все\ складкиzM +menutrans &Open\ All\ FoldszR Откр&ыть\ все\ складкиzR +menutrans O&pen\ More\ Foldszr Отк&рыть\ больше\ складокzr menutrans Fold\ Met&hod &Метод\ складок menutrans Create\ &Foldzf Со&здать\ складкуzf menutrans &Delete\ Foldzd У&далить\ складкуzd menutrans Delete\ &All\ FoldszD Удалить\ вс&е\ складкиzD -menutrans Fold\ col&umn\ width &Ширина\ колонки\ складок +menutrans Fold\ col&umn\ Width &Ширина\ колонки\ складок ">>>->>>----------- Tools/Folds/Fold Method menutrans M&anual Вру&чную menutrans I&ndent О&тступ @@ -201,15 +210,15 @@ menutrans &Open:copen &Открыть:copen " " Syntax menu " -menutrans &Show\ filetypes\ in\ menu Показать\ меню\ для\ выбора\ типа\ &файла +menutrans &Show\ File\ Types\ in\ Menu Показать\ меню\ выбора\ типа\ &файла menutrans Set\ '&syntax'\ only &Изменять\ только\ значение\ 'syntax' menutrans Set\ '&filetype'\ too Изменять\ &также\ значение\ 'filetype' menutrans &Off &Отключить menutrans &Manual Вру&чную menutrans A&utomatic &Автоматически -menutrans on/off\ for\ &This\ file Вкл/выкл\ для\ &этого\ файла -menutrans Co&lor\ test Проверка\ &цветов -menutrans &Highlight\ test Проверка\ под&светки +menutrans On/Off\ for\ &This\ File Вкл/выкл\ для\ &этого\ файла +menutrans Co&lor\ Test Проверка\ &цветов +menutrans &Highlight\ Test Проверка\ под&светки menutrans &Convert\ to\ HTML С&делать\ HTML\ с\ подсветкой " " @@ -246,8 +255,8 @@ menutrans Min\ Widt&h^W1\| Минимал&ьная\ ширина^W1\| ">>>----------------- Window/Move To menutrans &Top^WK В&верх^WK menutrans &Bottom^WJ В&низ^WJ -menutrans &Left\ side^WH В&лево^WH -menutrans &Right\ side^WL В&право^WL +menutrans &Left\ Side^WH В&лево^WH +menutrans &Right\ Side^WL В&право^WL " " " The popup menu @@ -260,9 +269,11 @@ menutrans &Paste Вк&леить menutrans &Delete &Удалить menutrans Select\ Blockwise Блоковое\ выделение menutrans Select\ &Word Выделить\ &слово +menutrans Select\ &Sentence Выделить\ &предложение +menutrans Select\ Pa&ragraph Выделить\ пара&граф menutrans Select\ &Line Выделить\ ст&року menutrans Select\ &Block Выделить\ &блок -menutrans Select\ &All В&ыделить\ &всё +menutrans Select\ &All Выделить\ &всё " " The GUI toolbar " @@ -280,10 +291,9 @@ if has("toolbar") tmenu ToolBar.Cut Вырезать tmenu ToolBar.Copy Копировать tmenu ToolBar.Paste Вклеить - tmenu ToolBar.Find Поиск... - tmenu ToolBar.FindNext Поиск следующего соответствия - tmenu ToolBar.FindPrev Поиск предыдущего соответствия - tmenu ToolBar.Replace Заменить... + tmenu ToolBar.FindNext Найти следующее + tmenu ToolBar.FindPrev Найти предыдущее + tmenu ToolBar.Replace Найти или заменить... tmenu ToolBar.LoadSesn Загрузить сеанс редактирования tmenu ToolBar.SaveSesn Сохранить сеанс редактирования tmenu ToolBar.RunScript Выполнить сценарий Vim diff --git a/runtime/menu.vim b/runtime/menu.vim --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -2,7 +2,7 @@ " You can also use this as a start for your own set of menus. " " Maintainer: Bram Moolenaar -" Last Change: 2017 Nov 09 +" Last Change: 2018 May 17 " Note that ":an" (short for ":anoremenu") is often used to make a menu work " in all modes and avoid side effects from mappings defined by the user. @@ -946,7 +946,10 @@ if has("spell") let s:suglist = spellsuggest(w, 10) endif if len(s:suglist) > 0 - let s:changeitem = 'Change\ "' . escape(w, ' .'). '"\ to' + if !exists("g:menutrans_spell_change_ARG_to") + let g:menutrans_spell_change_ARG_to = 'Change\ "%s"\ to' + endif + let s:changeitem = printf(g:menutrans_spell_change_ARG_to, escape(w, ' .')) let s:fromword = w let pri = 1 " set 'cpo' to include the @@ -958,10 +961,16 @@ if has("spell") let pri += 1 endfor - let s:additem = 'Add\ "' . escape(w, ' .') . '"\ to\ Word\ List' + if !exists("g:menutrans_spell_add_ARG_to_word_list") + let g:menutrans_spell_add_ARG_to_word_list = 'Add\ "%s"\ to\ Word\ List' + endif + let s:additem = printf(g:menutrans_spell_add_ARG_to_word_list, escape(w, ' .')) exe 'anoremenu 1.6 PopUp.' . s:additem . ' :spellgood ' . w . '' - let s:ignoreitem = 'Ignore\ "' . escape(w, ' .') . '"' + if !exists("g:menutrans_spell_ignore_ARG") + let g:menutrans_spell_ignore_ARG = 'Ignore\ "%s"' + endif + let s:ignoreitem = printf(g:menutrans_spell_ignore_ARG, escape(w, ' .')) exe 'anoremenu 1.7 PopUp.' . s:ignoreitem . ' :spellgood! ' . w . '' anoremenu 1.8 PopUp.-SpellSep- : diff --git a/runtime/syntax/cabal.vim b/runtime/syntax/cabal.vim --- a/runtime/syntax/cabal.vim +++ b/runtime/syntax/cabal.vim @@ -1,8 +1,22 @@ " Vim syntax file -" Language: Haskell Cabal Build file -" Maintainer: Vincent Berthoux -" File Types: .cabal -" Last Change: 2010 May 18 +" Language: Haskell Cabal Build file +" Author: Vincent Berthoux +" Maintainer: Marcin Szamotulski +" Previous Maintainer: Vincent Berthoux +" File Types: .cabal +" Last Change: 15 May 2018 +" v1.5: Incorporated changes from +" https://github.com/sdiehl/haskell-vim-proto/blob/master/vim/syntax/cabal.vim +" Use `syn keyword` instead of `syn match`. +" Added cabalStatementRegion to limit matches of keywords, which fixes +" the highlighting of description's value. +" Added cabalVersionRegion to limit the scope of cabalVersionOperator +" and cabalVersion matches. +" Added cabalLanguage keyword. +" Added calbalTitle, cabalAuthor and cabalMaintainer syntax groups. +" Added ! and ^>= operators (calbal 2.0) +" Added build-type keywords +" v1.4: Add benchmark support, thanks to Simon Meier " v1.3: Updated to the last version of cabal " Added more highlighting for cabal function, true/false " and version number. Also added missing comment highlighting. @@ -23,97 +37,205 @@ if exists("b:current_syntax") finish endif -syn keyword cabalCategory Library library Executable executable Flag flag -syn keyword cabalCategory source-repository Source-Repository +" this file uses line continuation +let s:cpo_save = &cpo +set cpo&vim + +" set iskeyword for this syntax script +syn iskeyword @,48-57,192-255,- -syn keyword cabalConditional if else -syn match cabalOperator "&&\|||\|!\|==\|>=\|<=" -syn keyword cabalFunction os arche impl flag -syn match cabalComment /--.*$/ -syn match cabalVersion "\d\+\(.\(\d\)\+\)\+" +" Case sensitive matches +syn case match + +syn keyword cabalConditional if else +syn keyword cabalFunction os arche impl flag +syn match cabalComment /--.*$/ -syn match cabalTruth "\ctrue" -syn match cabalTruth "\cfalse" +" Case insensitive matches +syn case ignore -syn match cabalCompiler "\cghc" -syn match cabalCompiler "\cnhc" -syn match cabalCompiler "\cyhc" -syn match cabalCompiler "\chugs" -syn match cabalCompiler "\chbc" -syn match cabalCompiler "\chelium" -syn match cabalCompiler "\cjhc" -syn match cabalCompiler "\clhc" - +syn keyword cabalCategory contained + \ executable + \ library + \ benchmark + \ test-suite + \ source-repository + \ flag + \ custom-setup +syn match cabalCategoryTitle contained /[^{]*\ze{\?/ +syn match cabalCategoryRegion + \ contains=cabalCategory,cabalCategoryTitle + \ nextgroup=cabalCategory skipwhite + \ /^\c\s*\(contained\|executable\|library\|benchmark\|test-suite\|source-repository\|flag\|custom-setup\)\+\s*\%(.*$\|$\)/ +syn keyword cabalTruth true false -syn match cabalStatement "\cauthor" -syn match cabalStatement "\cbranch" -syn match cabalStatement "\cbug-reports" -syn match cabalStatement "\cbuild-depends" -syn match cabalStatement "\cbuild-tools" -syn match cabalStatement "\cbuild-type" -syn match cabalStatement "\cbuildable" -syn match cabalStatement "\cc-sources" -syn match cabalStatement "\ccabal-version" -syn match cabalStatement "\ccategory" -syn match cabalStatement "\ccc-options" -syn match cabalStatement "\ccopyright" -syn match cabalStatement "\ccpp-options" -syn match cabalStatement "\cdata-dir" -syn match cabalStatement "\cdata-files" -syn match cabalStatement "\cdefault" -syn match cabalStatement "\cdescription" -syn match cabalStatement "\cexecutable" -syn match cabalStatement "\cexposed-modules" -syn match cabalStatement "\cexposed" -syn match cabalStatement "\cextensions" -syn match cabalStatement "\cextra-lib-dirs" -syn match cabalStatement "\cextra-libraries" -syn match cabalStatement "\cextra-source-files" -syn match cabalStatement "\cextra-tmp-files" -syn match cabalStatement "\cfor example" -syn match cabalStatement "\cframeworks" -syn match cabalStatement "\cghc-options" -syn match cabalStatement "\cghc-prof-options" -syn match cabalStatement "\cghc-shared-options" -syn match cabalStatement "\chomepage" -syn match cabalStatement "\chs-source-dirs" -syn match cabalStatement "\chugs-options" -syn match cabalStatement "\cinclude-dirs" -syn match cabalStatement "\cincludes" -syn match cabalStatement "\cinstall-includes" -syn match cabalStatement "\cld-options" -syn match cabalStatement "\clicense-file" -syn match cabalStatement "\clicense" -syn match cabalStatement "\clocation" -syn match cabalStatement "\cmain-is" -syn match cabalStatement "\cmaintainer" -syn match cabalStatement "\cmodule" -syn match cabalStatement "\cname" -syn match cabalStatement "\cnhc98-options" -syn match cabalStatement "\cother-modules" -syn match cabalStatement "\cpackage-url" -syn match cabalStatement "\cpkgconfig-depends" -syn match cabalStatement "\cstability" -syn match cabalStatement "\csubdir" -syn match cabalStatement "\csynopsis" -syn match cabalStatement "\ctag" -syn match cabalStatement "\ctested-with" -syn match cabalStatement "\ctype" -syn match cabalStatement "\cversion" +" cabalStatementRegion which limits the scope of cabalStatement keywords, this +" way they are not highlighted in description. +syn region cabalStatementRegion start=+^\s*\(--\)\@=\|<=\|<\|>/ +" match version: `[%]\@/ +" cabalVersionRegion which limits the scope of cabalVersion pattern. +syn match cabalVersionRegionA + \ contains=cabalVersionOperator,cabalVersion + \ keepend + \ /\%(==\|\^\?>=\|<=\|<\|>\)\s*\d\+\%(\.\d\+\)*\%(\.\*\)\?\>/ +" version inside `version: ...` +syn match cabalVersionRegionB + \ contains=cabalStatementRegion,cabalVersionOperator,cabalVersion + \ /^\s*\%(cabal-\)\?version\s*:.*$/ + +syn keyword cabalLanguage Haskell98 Haskell2010 + +" title region +syn match cabalName contained /:\@<=.*/ +syn match cabalNameRegion + \ contains=cabalStatementRegion,cabalName + \ nextgroup=cabalStatementRegion + \ oneline + \ /^\c\s*name\s*:.*$/ + +" author region +syn match cabalAuthor contained /:\@<=.*/ +syn match cabalAuthorRegion + \ contains=cabalStatementRegion,cabalStatement,cabalAuthor + \ nextgroup=cabalStatementRegion + \ oneline + \ /^\c\s*author\s*:.*$/ + +" maintainer region +syn match cabalMaintainer contained /:\@<=.*/ +syn match cabalMaintainerRegion + \ contains=cabalStatementRegion,cabalStatement,cabalMaintainer + \ nextgroup=cabalStatementRegion + \ oneline + \ /^\c\s*maintainer\s*:.*$/ + +" license region +syn match cabalLicense contained /:\@<=.*/ +syn match cabalLicenseRegion + \ contains=cabalStatementRegion,cabalStatement,cabalLicense + \ nextgroup=cabalStatementRegion + \ oneline + \ /^\c\s*license\s*:.*$/ + +" license-file region +syn match cabalLicenseFile contained /:\@<=.*/ +syn match cabalLicenseFileRegion + \ contains=cabalStatementRegion,cabalStatement,cabalLicenseFile + \ nextgroup=cabalStatementRegion + \ oneline + \ /^\c\s*license-file\s*:.*$/ + +" tested-with region with compilers and versions +syn keyword cabalCompiler contained ghc nhc yhc hugs hbc helium jhc lhc +syn match cabalTestedWithRegion + \ contains=cabalStatementRegion,cabalStatement,cabalCompiler,cabalVersionRegionA + \ nextgroup=cabalStatementRegion + \ oneline + \ /^\c\s*tested-with\s*:.*$/ + +" build type keywords +syn keyword cabalBuildType contained + \ simple custom configure +syn match cabalBuildTypeRegion + \ contains=cabalStatementRegion,cabalStatement,cabalBuildType + \ nextgroup=cabalStatementRegion + \ /^\c\s*build-type\s*:.*$/ " Define the default highlighting. " Only when an item doesn't have highlighting yet - -hi def link cabalVersion Number -hi def link cabalTruth Boolean -hi def link cabalComment Comment -hi def link cabalStatement Statement -hi def link cabalCategory Type -hi def link cabalFunction Function -hi def link cabalConditional Conditional -hi def link cabalOperator Operator -hi def link cabalCompiler Constant +hi def link cabalName Title +hi def link cabalAuthor Normal +hi def link cabalMaintainer Normal +hi def link cabalCategoryTitle Title +hi def link cabalLicense Normal +hi def link cabalLicenseFile Normal +hi def link cabalBuildType Keyword +hi def link cabalVersion Number +hi def link cabalTruth Boolean +hi def link cabalComment Comment +hi def link cabalStatement Statement +hi def link cabalLanguage Type +hi def link cabalCategory Type +hi def link cabalFunction Function +hi def link cabalConditional Conditional +hi def link cabalOperator Operator +hi def link cabalVersionOperator Operator +hi def link cabalCompiler Constant let b:current_syntax = "cabal" +let &cpo = s:cpo_save +unlet! s:cpo_save + " vim: ts=8 diff --git a/src/po/ru.cp1251.po b/src/po/ru.cp1251.po --- a/src/po/ru.cp1251.po +++ b/src/po/ru.cp1251.po @@ -2213,7 +2213,7 @@ msgid "No" msgstr "" msgid "Input _Methods" -msgstr "_ " +msgstr "_ " msgid "VIM - Search and Replace..." msgstr "VIM ..." diff --git a/src/po/ru.po b/src/po/ru.po --- a/src/po/ru.po +++ b/src/po/ru.po @@ -2213,7 +2213,7 @@ msgid "No" msgstr "Нет" msgid "Input _Methods" -msgstr "_Методы Ввода" +msgstr "_Методы ввода" msgid "VIM - Search and Replace..." msgstr "VIM — Поиск и замена..."