diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-03 23:00:03 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-03 23:00:03 +0000 |
commit | 0e34f6269eea9bc5c2d6f7a0350c8f57d9e3b13d (patch) | |
tree | 8b4a35ba5064c5bf9e73a014a5135449c0f100ad | |
parent | 3517bb1ece6902951565721ad19eff15644e098e (diff) |
updated for version 7.0213v7.0213
-rw-r--r-- | src/eval.c | 179 | ||||
-rw-r--r-- | src/po/it.po | 11935 |
2 files changed, 6149 insertions, 5965 deletions
diff --git a/src/eval.c b/src/eval.c index b1bf7f10ea..060b5bc39e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -600,6 +600,7 @@ static void f_setbufvar __ARGS((typval_T *argvars, typval_T *rettv)); static void f_setcmdpos __ARGS((typval_T *argvars, typval_T *rettv)); static void f_setline __ARGS((typval_T *argvars, typval_T *rettv)); static void f_setloclist __ARGS((typval_T *argvars, typval_T *rettv)); +static void f_setpos __ARGS((typval_T *argvars, typval_T *rettv)); static void f_setqflist __ARGS((typval_T *argvars, typval_T *rettv)); static void f_setreg __ARGS((typval_T *argvars, typval_T *rettv)); static void f_setwinvar __ARGS((typval_T *argvars, typval_T *rettv)); @@ -647,7 +648,8 @@ static void f_winrestcmd __ARGS((typval_T *argvars, typval_T *rettv)); static void f_winwidth __ARGS((typval_T *argvars, typval_T *rettv)); static void f_writefile __ARGS((typval_T *argvars, typval_T *rettv)); -static pos_T *var2fpos __ARGS((typval_T *varp, int lnum)); +static int list2fpos __ARGS((typval_T *arg, pos_T *posp, int *fnump)); +static pos_T *var2fpos __ARGS((typval_T *varp, int lnum, int *fnum)); static int get_env_len __ARGS((char_u **arg)); static int get_id_len __ARGS((char_u **arg)); static int get_name_len __ARGS((char_u **arg, char_u **alias, int evaluate, int verbose)); @@ -6861,7 +6863,7 @@ static struct fst {"buflisted", 1, 1, f_buflisted}, {"bufloaded", 1, 1, f_bufloaded}, {"bufname", 1, 1, f_bufname}, - {"bufnr", 1, 1, f_bufnr}, + {"bufnr", 1, 2, f_bufnr}, {"bufwinnr", 1, 1, f_bufwinnr}, {"byte2line", 1, 1, f_byte2line}, {"byteidx", 2, 2, f_byteidx}, @@ -7007,6 +7009,7 @@ static struct fst {"setcmdpos", 1, 1, f_setcmdpos}, {"setline", 2, 2, f_setline}, {"setloclist", 2, 3, f_setloclist}, + {"setpos", 2, 2, f_setpos}, {"setqflist", 1, 2, f_setqflist}, {"setreg", 2, 3, f_setreg}, {"setwinvar", 3, 3, f_setwinvar}, @@ -7810,15 +7813,28 @@ f_bufnr(argvars, rettv) typval_T *rettv; { buf_T *buf; + int error = FALSE; + char_u *name; (void)get_tv_number(&argvars[0]); /* issue errmsg if type error */ ++emsg_off; buf = get_buf_tv(&argvars[0]); + --emsg_off; + + /* If the buffer isn't found and the second argument is not zero create a + * new buffer. */ + if (buf == NULL + && argvars[1].v_type != VAR_UNKNOWN + && get_tv_number_chk(&argvars[1], &error) != 0 + && !error + && (name = get_tv_string_chk(&argvars[0])) != NULL + && !error) + buf = buflist_new(name, NULL, (linenr_T)1, 0); + if (buf != NULL) rettv->vval.v_number = buf->b_fnum; else rettv->vval.v_number = -1; - --emsg_off; } /* @@ -8027,9 +8043,10 @@ f_col(argvars, rettv) { colnr_T col = 0; pos_T *fp; + int fnum = curbuf->b_fnum; - fp = var2fpos(&argvars[0], FALSE); - if (fp != NULL) + fp = var2fpos(&argvars[0], FALSE, &fnum); + if (fp != NULL && fnum == curbuf->b_fnum) { if (fp->col == MAXCOL) { @@ -8318,17 +8335,14 @@ f_cursor(argvars, rettv) if (argvars[1].v_type == VAR_UNKNOWN) { - list_T *l = argvars->vval.v_list; + pos_T pos; - /* Argument can be [lnum, col, coladd]. */ - if (argvars->v_type != VAR_LIST || l == NULL) + if (list2fpos(argvars, &pos, NULL) == FAIL) return; - line = list_find_nr(l, 0L, NULL); - col = list_find_nr(l, 1L, NULL); + line = pos.lnum; + col = pos.col; #ifdef FEAT_VIRTUALEDIT - coladd = list_find_nr(l, 2L, NULL); - if (coladd < 0) - coladd = 0; + coladd = pos.coladd; #endif } else @@ -9913,11 +9927,16 @@ f_getpos(argvars, rettv) { pos_T *fp; list_T *l; + int fnum = -1; if (rettv_list_alloc(rettv) == OK) { l = rettv->vval.v_list; - fp = var2fpos(&argvars[0], TRUE); + fp = var2fpos(&argvars[0], TRUE, &fnum); + if (fnum != -1) + list_append_number(l, (varnumber_T)fnum); + else + list_append_number(l, (varnumber_T)0); list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum : (varnumber_T)0); list_append_number(l, (fp != NULL) ? (varnumber_T)fp->col + 1 @@ -11645,8 +11664,9 @@ f_line(argvars, rettv) { linenr_T lnum = 0; pos_T *fp; + int fnum; - fp = var2fpos(&argvars[0], TRUE); + fp = var2fpos(&argvars[0], TRUE, &fnum); if (fp != NULL) lnum = fp->lnum; rettv->vval.v_number = lnum; @@ -11870,7 +11890,13 @@ find_some_match(argvars, rettv, type) start = 0; if (start > (long)STRLEN(str)) goto theend; - str += start; + /* When "count" argument is there ignore matches before "start", + * otherwise skip part of the string. Differs when pattern is "^" + * or "\<". */ + if (argvars[3].v_type != VAR_UNKNOWN) + startcol = start; + else + str += start; } if (argvars[3].v_type != VAR_UNKNOWN) @@ -13178,6 +13204,7 @@ f_reverse(argvars, rettv) #define SP_REPEAT 2 /* repeat to find outer pair */ #define SP_RETCOUNT 4 /* return matchcount */ #define SP_SETPCMARK 8 /* set previous context mark */ +#define SP_START 16 /* accept match at start position */ static int get_search_arg __ARGS((typval_T *varp, int *flagsp)); @@ -13216,6 +13243,7 @@ get_search_arg(varp, flagsp) case 'r': mask = SP_REPEAT; break; case 'm': mask = SP_RETCOUNT; break; case 's': mask = SP_SETPCMARK; break; + case 'c': mask = SP_START; break; } if (mask == 0) { @@ -13249,11 +13277,14 @@ search_cmn(argvars, match_pos) int flags = 0; int retval = 0; /* default: FAIL */ long lnum_stop = 0; + int options = SEARCH_KEEP; pat = get_tv_string(&argvars[0]); dir = get_search_arg(&argvars[1], &flags); /* may set p_ws */ if (dir == 0) goto theend; + if (flags & SP_START) + options |= SEARCH_START; /* Optional extra argument: line number to stop searching. */ if (argvars[1].v_type != VAR_UNKNOWN @@ -13265,13 +13296,13 @@ search_cmn(argvars, match_pos) } /* - * This function accepts only SP_NOMOVE and SP_SETPCMARK flags. + * This function accepts only SP_NOMOVE, SP_START and SP_SETPCMARK flags. * Check to make sure only those flags are set. * Also, Only the SP_NOMOVE or the SP_SETPCMARK flag can be set. Both * flags cannot be set. Check for that condition also. */ - if (((flags & ~(SP_NOMOVE | SP_SETPCMARK)) != 0) || - ((flags & SP_NOMOVE) && (flags & SP_SETPCMARK))) + if (((flags & ~(SP_NOMOVE | SP_SETPCMARK | SP_START)) != 0) + || ((flags & SP_NOMOVE) && (flags & SP_SETPCMARK))) { EMSG2(_(e_invarg2), get_tv_string(&argvars[1])); goto theend; @@ -13279,7 +13310,7 @@ search_cmn(argvars, match_pos) pos = save_cursor = curwin->w_cursor; if (searchit(curwin, curbuf, &pos, dir, pat, 1L, - SEARCH_KEEP, RE_SEARCH, (linenr_T)lnum_stop) != FAIL) + options, RE_SEARCH, (linenr_T)lnum_stop) != FAIL) { retval = pos.lnum; if (flags & SP_SETPCMARK) @@ -13458,7 +13489,7 @@ do_searchpair(spat, mpat, epat, dir, skip, flags, match_pos, lnum_stop) char_u *epat; /* end pattern */ int dir; /* BACKWARD or FORWARD */ char_u *skip; /* skip expression */ - int flags; /* SP_RETCOUNT, SP_REPEAT, SP_NOMOVE */ + int flags; /* SP_RETCOUNT, SP_REPEAT, SP_NOMOVE, SP_START */ pos_T *match_pos; linenr_T lnum_stop; /* stop at this line if not zero */ { @@ -13474,6 +13505,7 @@ do_searchpair(spat, mpat, epat, dir, skip, flags, match_pos, lnum_stop) int r; int nest = 1; int err; + int options = SEARCH_KEEP; /* Make 'cpoptions' empty, the 'l' flag should not be used here. */ save_cpo = p_cpo; @@ -13491,6 +13523,8 @@ do_searchpair(spat, mpat, epat, dir, skip, flags, match_pos, lnum_stop) else sprintf((char *)pat3, "\\(%s\\m\\)\\|\\(%s\\m\\)\\|\\(%s\\m\\)", spat, epat, mpat); + if (flags & SP_START) + options |= SEARCH_START; save_cursor = curwin->w_cursor; pos = curwin->w_cursor; @@ -13500,7 +13534,7 @@ do_searchpair(spat, mpat, epat, dir, skip, flags, match_pos, lnum_stop) for (;;) { n = searchit(curwin, curbuf, &pos, dir, pat, 1L, - SEARCH_KEEP, RE_SEARCH, lnum_stop); + options, RE_SEARCH, lnum_stop); if (n == FAIL || (firstpos.lnum != 0 && equalpos(pos, firstpos))) /* didn't find it or found the first match again: FAIL */ break; @@ -13879,6 +13913,43 @@ f_setloclist(argvars, rettv) } /* + * "setpos()" function + */ +/*ARGSUSED*/ + static void +f_setpos(argvars, rettv) + typval_T *argvars; + typval_T *rettv; +{ + pos_T pos; + int fnum; + char_u *name; + + name = get_tv_string_chk(argvars); + if (name != NULL) + { + if (list2fpos(&argvars[1], &pos, &fnum) == OK) + { + --pos.col; + if (name[0] == '.') /* cursor */ + { + if (fnum == curbuf->b_fnum) + { + curwin->w_cursor = pos; + check_cursor(); + } + else + EMSG(_(e_invarg)); + } + else if (name[0] == '\'') /* mark */ + (void)setmark_pos(name[1], &pos, fnum); + else + EMSG(_(e_invarg)); + } + } +} + +/* * "setqflist()" function */ /*ARGSUSED*/ @@ -15412,9 +15483,11 @@ f_virtcol(argvars, rettv) { colnr_T vcol = 0; pos_T *fp; + int fnum = curbuf->b_fnum; - fp = var2fpos(&argvars[0], FALSE); - if (fp != NULL && fp->lnum <= curbuf->b_ml.ml_line_count) + fp = var2fpos(&argvars[0], FALSE, &fnum); + if (fp != NULL && fp->lnum <= curbuf->b_ml.ml_line_count + && fnum == curbuf->b_fnum) { getvvcol(curwin, fp, NULL, NULL, &vcol); ++vcol; @@ -15660,9 +15733,10 @@ f_writefile(argvars, rettv) * Returns NULL when there is an error. */ static pos_T * -var2fpos(varp, lnum) +var2fpos(varp, lnum, fnum) typval_T *varp; int lnum; /* TRUE when $ is last line */ + int *fnum; /* set to fnum for '0, 'A, etc. */ { char_u *name; static pos_T pos; @@ -15711,7 +15785,7 @@ var2fpos(varp, lnum) return &curwin->w_cursor; if (name[0] == '\'') /* mark */ { - pp = getmark(name[1], FALSE); + pp = getmark_fnum(name[1], FALSE, fnum); if (pp == NULL || pp == (pos_T *)-1 || pp->lnum <= 0) return NULL; return pp; @@ -15755,6 +15829,59 @@ var2fpos(varp, lnum) } /* + * Convert list in "arg" into a position and optional file number. + * When "fnump" is NULL there is no file number, only 3 items. + * Note that the column is passed on as-is, the caller may want to decrement + * it to use 1 for the first column. + * Return FAIL when conversion is not possible, doesn't check the position for + * validity. + */ + static int +list2fpos(arg, posp, fnump) + typval_T *arg; + pos_T *posp; + int *fnump; +{ + list_T *l = arg->vval.v_list; + long i = 0; + long n; + + /* List must be: [fnum, lnum, col, coladd] */ + if (arg->v_type != VAR_LIST || l == NULL + || l->lv_len != (fnump == NULL ? 3 : 4)) + return FAIL; + + if (fnump != NULL) + { + n = list_find_nr(l, i++, NULL); /* fnum */ + if (n < 0) + return FAIL; + if (n == 0) + n = curbuf->b_fnum; /* current buffer */ + *fnump = n; + } + + n = list_find_nr(l, i++, NULL); /* lnum */ + if (n < 0) + return FAIL; + posp->lnum = n; + + n = list_find_nr(l, i++, NULL); /* col */ + if (n < 0) + return FAIL; + posp->col = n; + +#ifdef FEAT_VIRTUALEDIT + n = list_find_nr(l, i, NULL); + if (n < 0) + return FAIL; + posp->coladd = n; +#endif + + return OK; +} + +/* * Get the length of an environment variable name. * Advance "arg" to the first character after the name. * Return 0 for error. diff --git a/src/po/it.po b/src/po/it.po index dba546c950..75cbaf76c2 100644 --- a/src/po/it.po +++ b/src/po/it.po @@ -1,5939 +1,5996 @@ -# Italian Translation for Vim -# -# FIRST AUTHOR Antonio Colombo <azc10@yahoo.com>, 2000 -# -# Ogni commento è benvenuto... -# Every remark is very welcome... -# -# Translation done under Linux and using an Italian keyboard. -# English words left in the text are unmodified at plural. -# Option names are mostly left untouched. -# -msgid "" -msgstr "" -"Project-Id-Version: vim 7.0\n" -"POT-Creation-Date: 2006-01-03 16:07+0100\n" -"PO-Revision-Date: 2006-01-06 13:50+0100\n" -"Last-Translator: Vlad Sandrini <marco@sandrini.biz>\n" -"Language-Team: Italian" -" Antonio Colombo <azc10@yahoo.com>" -" Vlad Sandrini <marco@sandrini.biz>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO_8859-1\n" -"Content-Transfer-Encoding: 8-bit\n" -"Report-Msgid-Bugs-To: \n" - -msgid "E82: Cannot allocate any buffer, exiting..." -msgstr "E82: Non riesco ad allocare alcun buffer, esco..." - -msgid "E83: Cannot allocate buffer, using other one..." -msgstr "E83: Non riesco ad allocare un buffer, uso l'altro..." - -msgid "E515: No buffers were unloaded" -msgstr "E515: Nessun buffer scaricato" - -msgid "E516: No buffers were deleted" -msgstr "E516: Nessun buffer tolto dalla lista" - -msgid "E517: No buffers were wiped out" -msgstr "E517: Nessun buffer cancellato" - -msgid "1 buffer unloaded" -msgstr "1 buffer scaricato" - -#, c-format -msgid "%d buffers unloaded" -msgstr "%d buffer scaricati" - -msgid "1 buffer deleted" -msgstr "1 buffer tolto dalla lista" - -#, c-format -msgid "%d buffers deleted" -msgstr "%d buffer tolti dalla lista" - -msgid "1 buffer wiped out" -msgstr "1 buffer cancellato" - -#, c-format -msgid "%d buffers wiped out" -msgstr "%d buffer cancellati" - -msgid "E84: No modified buffer found" -msgstr "E84: Nessun buffer risulta modificato" - -#. back where we started, didn't find anything. -msgid "E85: There is no listed buffer" -msgstr "E85: Non c'è alcun buffer elencato" - -#, c-format -msgid "E86: Buffer %ld does not exist" -msgstr "E86: Non esiste il buffer %ld" - -msgid "E87: Cannot go beyond last buffer" -msgstr "E87: Non posso oltrepassare l'ultimo buffer" - -msgid "E88: Cannot go before first buffer" -msgstr "E88: Non posso andare prima del primo buffer" - -#, c-format -msgid "E89: No write since last change for buffer %ld (add ! to override)" -msgstr "" -"E89: Buffer %ld non salvato dopo modifica (aggiungi ! per eseguire comunque)" - -msgid "E90: Cannot unload last buffer" -msgstr "E90: Non riesco a scaricare l'ultimo buffer" - -msgid "W14: Warning: List of file names overflow" -msgstr "W14: Attenzione: Superato limite della lista dei nomi di file" - -#, c-format -msgid "E92: Buffer %ld not found" -msgstr "E92: Buffer %ld non trovato" - -#, c-format -msgid "E93: More than one match for %s" -msgstr "E93: Più di una corrispondenza per %s" - -#, c-format -msgid "E94: No matching buffer for %s" -msgstr "E94: Nessun buffer corrispondente a %s" - -#, c-format -msgid "line %ld" -msgstr "linea %ld" - -msgid "E95: Buffer with this name already exists" -msgstr "E95: C'è già un buffer con questo nome" - -msgid " [Modified]" -msgstr " [Modificato]" - -msgid "[Not edited]" -msgstr "[Non elaborato]" - -msgid "[New file]" -msgstr "[File nuovo]" - -msgid "[Read errors]" -msgstr "[Errori in lettura]" - -msgid "[readonly]" -msgstr "[in sola lettura]" - -#, c-format -msgid "1 line --%d%%--" -msgstr "1 linea --%d%%--" - -#, c-format -msgid "%ld lines --%d%%--" -msgstr "%ld linee --%d%%--" - -#, c-format -msgid "line %ld of %ld --%d%%-- col " -msgstr "linea %ld di %ld --%d%%-- col " - -msgid "[No Name]" -msgstr "[Senza nome]" - -#. must be a help buffer -msgid "help" -msgstr "aiuto" - -msgid "[help]" -msgstr "[aiuto]" - -msgid "[Preview]" -msgstr "[Anteprima]" - -msgid "All" -msgstr "Tut" - -msgid "Bot" -msgstr "Fon" - -msgid "Top" -msgstr "Cim" - -#, c-format -msgid "" -"\n" -"# Buffer list:\n" -msgstr "" -"\n" -"# Lista Buffer:\n" - -msgid "[Error List]" -msgstr "[Lista Errori]" - -msgid "" -"\n" -"--- Signs ---" -msgstr "" -"\n" -"--- Segni ---" - -#, c-format -msgid "Signs for %s:" -msgstr "Segni per %s:" - -#, c-format -msgid " line=%ld id=%d name=%s" -msgstr " linea=%ld id=%d, nome=%s" - -#, c-format -msgid "E96: Can not diff more than %ld buffers" -msgstr "E96: Non supporto differenze fra più di %ld buffer" - -msgid "E97: Cannot create diffs" -msgstr "E97: Non riesco a creare differenze " - -msgid "Patch file" -msgstr "File di differenze" - -msgid "E98: Cannot read diff output" -msgstr "E98: Non riesco a leggere output del comando 'diff'" - -msgid "E99: Current buffer is not in diff mode" -msgstr "E99: Buffer corrente non in modalità 'diff'" - -msgid "E100: No other buffer in diff mode" -msgstr "E100: Non c'è nessun altro buffer in modalità 'diff'" - -msgid "E101: More than two buffers in diff mode, don't know which one to use" -msgstr "E101: Più di due buffer in modalità 'diff', non so quale usare" - -#, c-format -msgid "E102: Can't find buffer \"%s\"" -msgstr "E102: Non riesco a trovare il buffer: \"%s\"" - -#, c-format -msgid "E103: Buffer \"%s\" is not in diff mode" -msgstr "E103: Il buffer \"%s\" non è in modalità 'diff'" - -msgid "E104: Escape not allowed in digraph" -msgstr "E104: Escape not ammesso nei digrammi" - -msgid "E544: Keymap file not found" -msgstr "E544: File keymap non trovato" - -msgid "E105: Using :loadkeymap not in a sourced file" -msgstr "E105: Uso di :loadkeymap fuori da un file di comandi" - -msgid " Keyword completion (^N^P)" -msgstr " Completamento Keyword (^N^P)" - -#. ctrl_x_mode == 0, ^P/^N compl. -msgid " ^X mode (^]^D^E^F^I^K^L^N^O^P^S^U^V^Y)" -msgstr " modalità ^X (^]^D^E^F^I^K^L^N^O^P^S^U^V^Y)" - -msgid " Whole line completion (^L^N^P)" -msgstr " Completamento Linea Intera (^L^N^P)" - -msgid " File name completion (^F^N^P)" -msgstr " Completamento nomi File (^F^N^P)" - -msgid " Tag completion (^]^N^P)" -msgstr " Completamento Tag (^]^N^P)" - -msgid " Path pattern completion (^N^P)" -msgstr " Completamento modello Path (^N^P)" - -msgid " Definition completion (^D^N^P)" -msgstr " Completamento Definizione (^D^N^P)" - -msgid " Dictionary completion (^K^N^P)" -msgstr " Completamento Dizionario (^K^N^P)" - -msgid " Thesaurus completion (^T^N^P)" -msgstr " Completamento Thesaurus (^T^N^P)" - -msgid " Command-line completion (^V^N^P)" -msgstr " Completamento linea comandi (^V^N^P)" - -msgid " User defined completion (^U^N^P)" -msgstr " Completamento definito dall'utente (^U^N^P)" - -msgid " Omni completion (^O^N^P)" -msgstr " Completamento globale (^O^N^P)" - -msgid " Spelling suggestion (^S^N^P)" -msgstr " Suggerimento ortografico (^S^N^P)" - -msgid " Keyword Local completion (^N^P)" -msgstr " Completamento Keyword Locale (^N^P)" - -msgid "Hit end of paragraph" -msgstr "Giunto alla fine del paragrafo" - -msgid "'dictionary' option is empty" -msgstr "l'opzione 'dictionary' non è impostata" - -msgid "'thesaurus' option is empty" -msgstr "l'opzione 'thesaurus' non è impostata" - -#, c-format -msgid "Scanning dictionary: %s" -msgstr "Scansione dizionario: %s" - -msgid " (insert) Scroll (^E/^Y)" -msgstr " (inserisci) Scroll (^E/^Y)" - -msgid " (replace) Scroll (^E/^Y)" -msgstr " (sostituisci) Scroll (^E/^Y)" - -#, c-format -msgid "Scanning: %s" -msgstr "Scansione: %s" - -#, c-format -msgid "Scanning tags." -msgstr "Scansione tag." - -msgid " Adding" -msgstr " Aggiungo" - -#. showmode might reset the internal line pointers, so it must -#. * be called before line = ml_get(), or when this address is no -#. * longer needed. -- Acevedo. -#. -msgid "-- Searching..." -msgstr "-- Ricerca..." - -msgid "Back at original" -msgstr "Ritorno all'originale" - -msgid "Word from other line" -msgstr "Parola da un'altra linea" - -msgid "The only match" -msgstr "L'unica corrispondenza" - -#, c-format -msgid "match %d of %d" -msgstr "corrispondenza %d di %d" - -#, c-format -msgid "match %d" -msgstr "corripondenza %d" - -msgid "E18: Unexpected characters in :let" -msgstr "E18: Caratteri non previsti in :let" - -#, c-format -msgid "E684: list index out of range: %ld" -msgstr "E684: indice lista fuori intervallo: %ld" - -#, c-format -msgid "E121: Undefined variable: %s" -msgstr "E121: Variabile non definita: %s" - -msgid "E111: Missing ']'" -msgstr "E111: Manca ']'" - -#, c-format -msgid "E686: Argument of %s must be a List" -msgstr "E686: L'argomento di %s deve essere una Lista" - -#, c-format -msgid "E712: Argument of %s must be a List or Dictionary" -msgstr "E712: L'argomento di %s deve essere una Lista o un Dizionario" - -msgid "E713: Cannot use empty key for Dictionary" -msgstr "E713: Non posso usare una chiave nulla per il Dizionario" - -msgid "E714: List required" -msgstr "E714: E' necessaria una Lista" - -msgid "E715: Dictionary required" -msgstr "E715: E' necessario un Dizionario" - -#, c-format -msgid "E118: Too many arguments for function: %s" -msgstr "E118: Troppi argomenti per la funzione: %s" - -#, c-format -msgid "E716: Key not present in Dictionary: %s" -msgstr "E716: Chiave assente dal Dizionario: %s" - -#, c-format -msgid "E122: Function %s already exists, add ! to replace it" -msgstr "E122: La funzione %s esiste già, aggiungi ! per sostituirla" - -msgid "E717: Dictionary entry already exists" -msgstr "E717: C'è già la voce nel Dizionario" - -msgid "E718: Funcref required" -msgstr "E718: Funcref necessario" - -msgid "E719: Cannot use [:] with a Dictionary" -msgstr "E719: Non posso usare [:] con un Dizionario" - -#, c-format -msgid "E734: Wrong variable type for %s=" -msgstr "E734: Tipo di variabile errato per %s=" - -#, c-format -msgid "E130: Unknown function: %s" -msgstr "E130: Funzione sconosciuta: %s" - -#, c-format -msgid "E461: Illegal variable name: %s" -msgstr "E461: Nome di variabile non ammesso: %s" - -msgid "E687: Less targets than List items" -msgstr "E687: Destinazioni più numerose degli elementi di Lista" - -msgid "E688: More targets than List items" -msgstr "E688: Destinazioni meno numerose degli elementi di Lista" - -msgid "Double ; in list of variables" -msgstr "Doppio ; nella lista di variabili" - -#, c-format -msgid "E738: Can't list variables for %s" -msgstr "E738: Non riesco a elencare le variabili per %s" - -msgid "E689: Can only index a List or Dictionary" -msgstr "E689: Posso indicizzare solo una Lista o un Dizionario" - -msgid "E708: [:] must come last" -msgstr "E708: [:] deve essere alla fine" - -msgid "E709: [:] requires a List value" -msgstr "E709: [:] necessita un valore Lista" - -msgid "E710: List value has more items than target" -msgstr "E710: Il valore Lista ha più elementi della destinazione" - -msgid "E711: List value has not enough items" -msgstr "E711: Il valore Lista non ha elementi sufficienti" - -msgid "E690: Missing \"in\" after :for" -msgstr "E69: Manca \"in\" dopo :for" - -#, c-format -msgid "E107: Missing braces: %s" -msgstr "E107: Mancano graffe: %s" - -#, c-format -msgid "E108: No such variable: \"%s\"" -msgstr "E108: Variabile inesistente: \"%s\"" - -msgid "E743: variable nested too deep for (un)lock" -msgstr "E743: variabile troppo nidificata per lock/unlock" - -msgid "E109: Missing ':' after '?'" -msgstr "E109: Manca ':' dopo '?'" - -msgid "E691: Can only compare List with List" -msgstr "E691: Posso confrontare una Lista solo con un'altra Lista" - -msgid "E692: Invalid operation for Lists" -msgstr "E692: Operazione non valida per Liste" - -msgid "E735: Can only compare Dictionary with Dictionary" -msgstr "E735: Posso confrontare un Dizionario solo con un altro Dizionario" - -msgid "E736: Invalid operation for Dictionary" -msgstr "E736: Operazione non valida per Dizionari" - -msgid "E693: Can only compare Funcref with Funcref" -msgstr "E693: Posso confrontare un Funcref solo con un Funcref" - -msgid "E694: Invalid operation for Funcrefs" -msgstr "E694: Operazione non valida per Funcref" - -msgid "E110: Missing ')'" -msgstr "E110: Manca ')'" - -msgid "E695: Cannot index a Funcref" -msgstr "E695: Non posso indicizzare un Funcref" - -#, c-format -msgid "E112: Option name missing: %s" -msgstr "E112: Nome Opzione mancante: %s" - -#, c-format -msgid "E113: Unknown option: %s" -msgstr "E113: Opzione inesistente: %s" - -#, c-format -msgid "E114: Missing quote: %s" -msgstr "E114: Manca '\"': %s" - -#, c-format -msgid "E115: Missing quote: %s" -msgstr "E115: Manca apostrofo: %s" - -#, c-format -msgid "E696: Missing comma in List: %s" -msgstr "E696: Manca virgola nella Lista: %s" - -#, c-format -msgid "E697: Missing end of List ']': %s" -msgstr "E697: Manca ']' a fine Lista: %s" - -#, c-format -msgid "E720: Missing colon in Dictionary: %s" -msgstr "E720: Manca ':' nel Dizionario: %s" - -#, c-format -msgid "E721: Duplicate key in Dictionary: \"%s\"" -msgstr "E721: Chiave duplicata nel Dizionario: \"%s\"" - -#, c-format -msgid "E722: Missing comma in Dictionary: %s" -msgstr "E722: Manca virgola nel Dizionario: %s" - -#, c-format -msgid "E723: Missing end of Dictionary '}': %s" -msgstr "E723: Manca '}' a fine Dizionario: %s" - -msgid "E724: variable nested too deep for displaying" -msgstr "E724: variabile troppo nidificata per la visualizzazione" - -msgid "E699: Too many arguments" -msgstr "E699: Troppi argomenti" - -#. -#. * Yes this is ugly, I don't particularly like it either. But doing it -#. * this way has the compelling advantage that translations need not to -#. * be touched at all. See below what 'ok' and 'ync' are used for. -#. -msgid "&Ok" -msgstr "&OK" - -#, c-format -msgid "E737: Key already exists: %s" -msgstr "E737: Chiave già esistente: %s" - -#, c-format -msgid "+-%s%3ld lines: " -msgstr "+-%s%3ld linee: " - -#, c-format -msgid "E700: Unknown function: %s" -msgstr "E700: Funzione sconosciuta: %s" - -msgid "" -"&OK\n" -"&Cancel" -msgstr "" -"&OK\n" -"&Non eseguire" - -msgid "called inputrestore() more often than inputsave()" -msgstr "inputrestore() chiamata più volte di inputsave()" - -msgid "E745: Range not allowed" -msgstr "E745: Intervallo non consentito" - -msgid "E701: Invalid type for len()" -msgstr "E701: Tipo non valido per len()" - -msgid "E726: Stride is zero" -msgstr "E726: Incremento indice a zero" - -msgid "E727: Start past end" -msgstr "E727: Indice iniziale superiore a quello finale" - -msgid "<empty>" -msgstr "<vuoto>" - -msgid "E240: No connection to Vim server" -msgstr "E240: Manca connessione con server Vim" - -#, c-format -msgid "E241: Unable to send to %s" -msgstr "E241: Impossibile inviare a %s" - -msgid "E277: Unable to read a server reply" -msgstr "E277: Non riesco a leggere una risposta del server" - -msgid "E655: Too many symbolic links (cycle?)" -msgstr "E655: Troppi link simbolici (circolarità?)" - -msgid "E258: Unable to send to client" -msgstr "E258: Impossibile inviare al client" - -msgid "E702: Sort compare function failed" -msgstr "E702: Funzione confronto nel sort non riuscita" - -msgid "(Invalid)" -msgstr "(Non valido)" - -msgid "E677: Error writing temp file" -msgstr "E677: Errore in scrittura su file temporaneo" - -msgid "E703: Using a Funcref as a number" -msgstr "E703: Uso di Funcref come numero" - -msgid "E745: Using a List as a number" -msgstr "E745: Uso di Lista come numero" - -msgid "E728: Using a Dictionary as a number" -msgstr "E728: Uso di Dizionario come numero" - -msgid "E729: using Funcref as a String" -msgstr "E729: uso di Funcref come Stringa" - -msgid "E730: using List as a String" -msgstr "E730: uso di Lista come Stringa" - -msgid "E731: using Dictionary as a String" -msgstr "E731: uso di Dizionario come Stringa" - -#, c-format -msgid "E704: Funcref variable name must start with a capital: %s" -msgstr "" -"E704: Il nome della variabile Funcref deve iniziare con una maiuscola: %s" - -#, c-format -msgid "E705: Variable name conflicts with existing function: %s" -msgstr "E705: Nome di variabile in conflitto con una funzione esistente: %s" - -#, c-format -msgid "E706: Variable type mismatch for: %s" -msgstr "E706: Tipo di variabile non corrispondente per: %s" - -#, c-format -msgid "E741: Value is locked: %s" -msgstr "E741: Valore di %s non modificabile" - -msgid "Unknown" -msgstr "Sconosciuto" - -#, c-format -msgid "E742: Cannot change value of %s" -msgstr "E742: Non riesco a cambiare il valore di %s" - -msgid "E698: variable nested too deep for making a copy" -msgstr "E698: Variabile troppo nidificata per poterla copiare" - -#, c-format -msgid "E124: Missing '(': %s" -msgstr "E124: Manca '(': %s" - -#, c-format -msgid "E125: Illegal argument: %s" -msgstr "E125: Argomento non ammesso: %s" - -msgid "E126: Missing :endfunction" -msgstr "E126: Manca :endfunction" - -#, c-format -msgid "E746: Function name does not match script file name: %s" -msgstr "E746: Il nome funzione non corrisponde al nome file dello script: %s" - -msgid "E129: Function name required" -msgstr "E129: Nome funzione necessario" - -#, c-format -msgid "E128: Function name must start with a capital or contain a colon: %s" -msgstr "" -"E128: Il nome funzione deve iniziare con una maiuscola o contenere ':': %s" - -#, c-format -msgid "E131: Cannot delete function %s: It is in use" -msgstr "E131: Non posso eliminare la funzione %s: E' in uso" - -msgid "E132: Function call depth is higher than 'maxfuncdepth'" -msgstr "" -"E132: Nidificazione della chiamata di funzione maggiore di 'maxfuncdepth'" - -#, c-format -msgid "calling %s" -msgstr "chiamo %s" - -#, c-format -msgid "%s aborted" -msgstr "%s non completata" - -#, c-format -msgid "%s returning #%ld" -msgstr "%s ritorno #%ld" - -#, c-format -msgid "%s returning %s" -msgstr "%s ritorno %s" - -#, c-format -msgid "continuing in %s" -msgstr "continuo in %s" - -msgid "E133: :return not inside a function" -msgstr "E133: :return fuori da una funzione" - -#, c-format -msgid "" -"\n" -"# global variables:\n" -msgstr "" -"\n" -"# variabili globali:\n" - -msgid "" -"\n" -"\tLast set from " -msgstr "" -"\n" -"\tImpostata l'ultima volta da " - -msgid "Entering Debug mode. Type \"cont\" to continue." -msgstr "Entro modalità Debug. Batti \"cont\" per continuare." - -#, c-format -msgid "line %ld: %s" -msgstr "linea %ld: %s" - -#, c-format -msgid "cmd: %s" -msgstr "com: %s" - -#, c-format -msgid "Breakpoint in \"%s%s\" line %ld" -msgstr "Pausa in \"%s%s\" linea %ld" - -#, c-format -msgid "E161: Breakpoint not found: %s" -msgstr "E161: Breakpoint %s non trovato" - -msgid "No breakpoints defined" -msgstr "Nessun 'breakpoint' definito" - -#, c-format -msgid "%3d %s %s line %ld" -msgstr "%3d %s %s linea %ld" - -msgid "E750: First use :profile start <fname>" -msgstr "E750: Usare prima :profile start <fname>" - -msgid "Save As" -msgstr "Salva con Nome" - -#, c-format -msgid "Save changes to \"%s\"?" -msgstr "Salvare modifiche a \"%s\"?" - -msgid "Untitled" -msgstr "Senza Nome" - -#, c-format -msgid "E162: No write since last change for buffer \"%s\"" -msgstr "E162: Buffer \"%s\" non salvato dopo modifica" - -msgid "Warning: Entered other buffer unexpectedly (check autocommands)" -msgstr "" -"Attenzione: Entrato in altro buffer inaspettatamente (controllare " -"autocomandi)" - -msgid "E163: There is only one file to edit" -msgstr "E163: C'è un solo file da elaborare" - -msgid "E164: Cannot go before first file" -msgstr "E164: Non posso andare davanti al primo file" - -msgid "E165: Cannot go beyond last file" -msgstr "E165: Non posso oltrepassare l'ultimo file" - -#, c-format -msgid "E666: compiler not supported: %s" -msgstr "E666: compilatore non supportato: %s" - -#, c-format -msgid "Searching for \"%s\" in \"%s\"" -msgstr "Cerco \"%s\" in \"%s\"" - -#, c-format -msgid "Searching for \"%s\"" -msgstr "Cerco \"%s\"" - -#, c-format -msgid "not found in 'runtimepath': \"%s\"" -msgstr "non trovato in 'runtimepath': \"%s\"" - -msgid "Source Vim script" -msgstr "Esegui script Vim" - -#, c-format -msgid "Cannot source a directory: \"%s\"" -msgstr "Non riesco ad eseguire una directory: \"%s\"" - -#, c-format -msgid "could not source \"%s\"" -msgstr "non riesco ad eseguire \"%s\"" - -#, c-format -msgid "line %ld: could not source \"%s\"" -msgstr "linea %ld: non riesco ad eseguire \"%s\"" - -#, c-format -msgid "sourcing \"%s\"" -msgstr "eseguo \"%s\"" - -#, c-format -msgid "line %ld: sourcing \"%s\"" -msgstr "linea %ld: eseguo \"%s\"" - -#, c-format -msgid "finished sourcing %s" -msgstr "esecuzione di %s terminata" - -msgid "W15: Warning: Wrong line separator, ^M may be missing" -msgstr "W15: Attenzione: Separatore di linea errato, forse manca ^M" - -msgid "E167: :scriptencoding used outside of a sourced file" -msgstr "E167: :scriptencoding usato fuori da un file di comandi" - -msgid "E168: :finish used outside of a sourced file" -msgstr "E168: :finish usato fuori da file di comandi" - -#, c-format -msgid "Current %slanguage: \"%s\"" -msgstr "Lingua %sin uso: \"%s\"" - -#, c-format -msgid "E197: Cannot set language to \"%s\"" -msgstr "E197: Non posso impostare lingua a \"%s\"" - -#, c-format -msgid "<%s>%s%s %d, Hex %02x, |