Hi Bram,
2020年6月21日日曜日 22時53分37秒 UTC+9 Bram Moolenaar:
>
>
> Patch 8.2.1028
> Problem: Vim9: no error for declaring buffer, window, etc. variable.
> Solution: Give an error. Unify the error messages.
> Files: src/evalvars.c, src/globals.h, src/vim9compile.c,
> src/proto/vim9compile.pro, src/testdir/test_vim9_expr.vim,
> src/testdir/test_vim9_script.vim
>
>
! EXTERN char e_declare_var[] INIT(= N_("E1016: Cannot declare a%s
> variable: %s"));
>
This is tricky.
> + case 'g': scope = " global"; break;
> + case 'b': scope = " buffer"; break;
> + case 'w': scope = " window"; break;
> + case 't': scope = " tab"; break;
> + case 'v': scope = " v:"; break;
> + case '$': scope = "n environment"; break;
>
These strings should be translatable.
Regards,
Ken Takata
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/89a8a08d-a462-4596-8a3c-e3f02f4359e5o%40googlegroups.com.