Mercurial > vim
comparison runtime/defaults.vim @ 32411:7296f4ef3ead v9.0.1537
patch 9.0.1537: message for opening the cmdline window is not translated
Commit: https://github.com/vim/vim/commit/65b34868dac4bdc99e1144e36d5315b569795fc4
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 10 14:47:50 2023 +0100
patch 9.0.1537: message for opening the cmdline window is not translated
Problem: Message for opening the cmdline window is not translated.
Solution: Add gettext() and scan the defaults script for text to be
translated. (closes #12371)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 10 May 2023 16:00:09 +0200 |
parents | c968191a8557 |
children | 2a17771529af |
comparison
equal
deleted
inserted
replaced
32410:2746d1b8680f | 32411:7296f4ef3ead |
---|---|
118 " ":augroup vimHints | exe 'au!' | augroup END" | 118 " ":augroup vimHints | exe 'au!' | augroup END" |
119 augroup vimHints | 119 augroup vimHints |
120 au! | 120 au! |
121 autocmd CmdwinEnter * | 121 autocmd CmdwinEnter * |
122 \ echohl Todo | | 122 \ echohl Todo | |
123 \ echo 'You discovered the command-line window! You can close it with ":q".' | | 123 \ echo gettext('You discovered the command-line window! You can close it with ":q".') | |
124 \ echohl None | 124 \ echohl None |
125 augroup END | 125 augroup END |
126 | 126 |
127 endif | 127 endif |
128 | 128 |