Lines Matching refs:N_
40 N_("empty keys are not allowed"))
41 #define RAISE_LOCKED_DICTIONARY PyErr_SET_VIM(N_("dictionary is locked"))
42 #define RAISE_LOCKED_LIST PyErr_SET_VIM(N_("list is locked"))
43 #define RAISE_UNDO_FAIL PyErr_SET_VIM(N_("cannot save undo information"))
44 #define RAISE_DELETE_LINE_FAIL PyErr_SET_VIM(N_("cannot delete line"))
45 #define RAISE_INSERT_LINE_FAIL PyErr_SET_VIM(N_("cannot insert line"))
46 #define RAISE_REPLACE_LINE_FAIL PyErr_SET_VIM(N_("cannot replace line"))
48 PyErr_VIM_FORMAT(N_("failed to add key '%s' to dictionary"), key)
50 PyErr_FORMAT(PyExc_TypeError, N_("index must be int or slice, not %s"), \
150 N_("expected str() or unicode() instance, but got %s"), in StringToChars()
154 N_("expected bytes() or str() instance, but got %s"), in StringToChars()
204 N_("expected int(), long() or something supporting " in NumberToLong()
209 N_("expected int() or something supporting coercing to int(), " in NumberToLong()
221 N_("value is too large to fit into C int type")); in NumberToLong()
227 N_("value is too small to fit into C int type")); in NumberToLong()
237 N_("number must be greater than zero")); in NumberToLong()
246 N_("number must be greater or equal to zero")); in NumberToLong()
339 N_("can't delete OutputObject attributes")); in OutputSetattr()
350 PyErr_FORMAT(PyExc_AttributeError, N_("invalid attribute: %s"), name); in OutputSetattr()
915 PyErr_SET_VIM(N_("invalid expression")); in VimEval()
966 PyErr_SET_VIM(N_("invalid expression")); in VimEvalPy()
1034 PyErr_SET_VIM(N_("failed to change directory")); in _VimChdir()
1251 N_("expected 3-tuple as imp.find_module() result, but got %s"), in call_load_module()
1258 N_("expected 3-tuple as imp.find_module() result, but got " in call_load_module()
1269 N_("internal error: imp.find_module returned tuple with NULL")); in call_load_module()
1661 N_("cannot delete vim.Dictionary attributes")); in DictionarySetattr()
1670 N_("cannot modify fixed dictionary")); in DictionarySetattr()
1687 PyErr_FORMAT(PyExc_AttributeError, N_("cannot set attribute %s"), name); in DictionarySetattr()
1823 N_("hashtab changed during iteration")); in DictionaryIterNext()
2098 N_("expected sequence element of size 2, " in DictionaryUpdate()
2344 N_("list constructor does not accept keyword arguments")); in ListConstructor()
2399 PyErr_SET_STRING(PyExc_IndexError, N_("list index out of range")); in ListIndex()
2406 PyErr_VIM_FORMAT(N_("internal error: failed to get Vim list item %d"), in ListIndex()
2422 PyErr_SET_STRING(PyExc_ValueError, N_("slice step cannot be zero")); in ListSlice()
2526 PyErr_SET_STRING(PyExc_ValueError, N_("slice step cannot be zero")); in ListAssSlice()
2544 N_("attempt to assign sequence of size greater than %d " in ListAssSlice()
2568 PyErr_VIM_FORMAT(N_("internal error: no Vim list item %d"), in ListAssSlice()
2593 PyErr_SET_VIM(N_("internal error: not enough list items")); in ListAssSlice()
2625 PyErr_SET_VIM(N_("internal error: failed to add item to list")); in ListAssSlice()
2649 N_("attempt to assign sequence of size greater than %d " in ListAssSlice()
2662 N_("attempt to assign sequence of size %d to extended slice " in ListAssSlice()
2702 PyErr_SET_STRING(PyExc_IndexError, N_("list index out of range")); in ListAssIndex()
2711 PyErr_VIM_FORMAT(N_("internal error: failed to get Vim " in ListAssIndex()
2729 PyErr_SET_VIM(N_("failed to add item to list")); in ListAssIndex()
2738 PyErr_VIM_FORMAT(N_("internal error: failed to get Vim " in ListAssIndex()
2878 N_("cannot delete vim.List attributes")); in ListSetattr()
2886 PyErr_SET_STRING(PyExc_TypeError, N_("cannot modify fixed list")); in ListSetattr()
2903 PyErr_FORMAT(PyExc_AttributeError, N_("cannot set attribute %s"), name); in ListSetattr()
2964 N_("unnamed function %s does not exist"), name); in FunctionNew()
2977 N_("function %s does not exist"), name); in FunctionNew()
3246 PyErr_VIM_FORMAT(N_("failed to run function %s"), (char *)name); in FunctionCall()
3436 N_("unable to get option value")); in OptionsItem()
3442 PyErr_SET_VIM(N_("internal error: unknown option type")); in OptionsItem()
3549 PyErr_SET_VIM(N_("problem while switching windows")); in set_option_value_for()
3606 N_("unable to unset global option %s"), key); in OptionsAssItem()
3613 N_("unable to unset option %s " in OptionsAssItem()
3707 PyErr_SET_VIM(N_("attempt to refer to deleted tab page")); in CheckTabPage()
3850 PyErr_SET_STRING(PyExc_IndexError, N_("no such tab page")); in TabListItem()
3872 PyErr_SET_VIM(N_("attempt to refer to deleted window")); in CheckWindow()
4045 PyErr_SET_STRING(PyExc_TypeError, N_("readonly attribute: buffer")); in WindowSetattr()
4058 PyErr_SET_VIM(N_("cursor position outside buffer")); in WindowSetattr()
4218 PyErr_SET_STRING(PyExc_IndexError, N_("no such window")); in WinListItem()
4264 N_("expected str() or unicode() instance, but got %s"), in StringToLine()
4268 N_("expected bytes() or str() instance, but got %s"), in StringToLine()
4287 PyErr_SET_VIM(N_("string cannot contain newlines")); in StringToLine()
4853 PyErr_SET_VIM(N_("attempt to refer to deleted buffer")); in CheckBuffer()
4874 PyErr_SET_STRING(PyExc_IndexError, N_("line number out of range")); in RBItem()
4930 PyErr_SET_STRING(PyExc_IndexError, N_("line number out of range")); in RBAsItem()
5014 PyErr_SET_STRING(PyExc_IndexError, N_("line number out of range")); in RBAppend()
5297 PyErr_SET_VIM(N_("failed to rename buffer")); in BufferSetattr()
5333 N_("mark name must be a single character")); in BufferMark()
5351 PyErr_SET_VIM(N_("invalid mark name")); in BufferMark()
5576 N_("expected vim.Buffer object, but got %s"), in CurrentSetattr()
5590 PyErr_VIM_FORMAT(N_("failed to switch to buffer %d"), count); in CurrentSetattr()
5603 N_("expected vim.Window object, but got %s"), in CurrentSetattr()
5615 N_("failed to find window in the current tab page")); in CurrentSetattr()
5626 N_("did not switch to the specified window")); in CurrentSetattr()
5637 N_("expected vim.TabPage object, but got %s"), in CurrentSetattr()
5652 N_("did not switch to the specified tab page")); in CurrentSetattr()
6193 N_("unable to convert %s to a Vim dictionary"), in ConvertFromPyMapping()
6222 N_("unable to convert %s to a Vim list"), in ConvertFromPySequence()
6367 N_("unable to convert %s to a Vim structure"), in _ConvertFromPyObject()
6381 PyErr_SET_VIM(N_("internal error: NULL reference passed")); in ConvertToPyObject()
6440 PyErr_SET_VIM(N_("internal error: invalid value type")); in ConvertToPyObject()