diff 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
line wrap: on
line diff
--- a/runtime/defaults.vim
+++ b/runtime/defaults.vim
@@ -120,7 +120,7 @@ if 1
     au!
     autocmd CmdwinEnter *
 	  \ echohl Todo | 
-	  \ echo 'You discovered the command-line window! You can close it with ":q".' |
+	  \ echo gettext('You discovered the command-line window! You can close it with ":q".') |
 	  \ echohl None
   augroup END