Mercurial > vim
comparison src/terminal.c @ 32481:a1e1527d1cb8 v9.0.1572
patch 9.0.1572: error messages are not translated
Commit: https://github.com/vim/vim/commit/50809a45ebde327cb6fdcc727d7466e926aed713
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 20 16:39:07 2023 +0100
patch 9.0.1572: error messages are not translated
Problem: Error messages are not translated.
Solution: Add _().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 May 2023 17:45:03 +0200 |
parents | d202ddc6178f |
children | 448aef880252 |
comparison
equal
deleted
inserted
replaced
32480:f8bde854516d | 32481:a1e1527d1cb8 |
---|---|
885 tty_type = 'w'; | 885 tty_type = 'w'; |
886 else if (STRNICMP(ep + 1, "conpty", p - (ep + 1)) == 0) | 886 else if (STRNICMP(ep + 1, "conpty", p - (ep + 1)) == 0) |
887 tty_type = 'c'; | 887 tty_type = 'c'; |
888 else | 888 else |
889 { | 889 { |
890 semsg(e_invalid_value_for_argument_str, "type"); | 890 semsg(_(e_invalid_value_for_argument_str), "type"); |
891 goto theend; | 891 goto theend; |
892 } | 892 } |
893 opt.jo_set2 |= JO2_TTY_TYPE; | 893 opt.jo_set2 |= JO2_TTY_TYPE; |
894 opt.jo_tty_type = tty_type; | 894 opt.jo_tty_type = tty_type; |
895 } | 895 } |