diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-30 15:52:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-30 15:52:10 +0200 |
commit | 0b39c3fd4c5d1c8ebd2efa85fced7df5e17efd3b (patch) | |
tree | 6d230d3ef3310ad4aa28801d3720d33c29a19a4b /runtime/doc/usr_41.txt | |
parent | 25859dd74cd5befe964627dc03b8369dfaebe837 (diff) |
patch 8.2.1544: cannot translate messages in a Vim scriptv8.2.1544
Problem: Cannot translate messages in a Vim script.
Solution: Add gettext(). Try it out for a few messages in the options
window.
Diffstat (limited to 'runtime/doc/usr_41.txt')
-rw-r--r-- | runtime/doc/usr_41.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index 10e53baf72..81474c7f42 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -628,6 +628,7 @@ String manipulation: *string-functions* execute() execute an Ex command and get the output win_execute() like execute() but in a specified window trim() trim characters from a string + gettext() lookup message translation List manipulation: *list-functions* get() get an item without error for wrong index |