Mercurial > vim
comparison src/undo.c @ 31602:53c3df37a2b0 v9.0.1133
patch 9.0.1133: error message names do not match the items
Commit: https://github.com/vim/vim/commit/a9fa8c58fbcc5cf8850f6963c509de272f4d4bbf
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 2 18:10:04 2023 +0000
patch 9.0.1133: error message names do not match the items
Problem: Error message names do not match the items.
Solution: Add "_str" when the text contains "%s".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 02 Jan 2023 19:15:04 +0100 |
parents | 9a6f7e750697 |
children | 1009c33499e7 |
comparison
equal
deleted
inserted
replaced
31601:7282793ec66f | 31602:53c3df37a2b0 |
---|---|
1921 if (version == UF_VERSION_CRYPT) | 1921 if (version == UF_VERSION_CRYPT) |
1922 { | 1922 { |
1923 #ifdef FEAT_CRYPT | 1923 #ifdef FEAT_CRYPT |
1924 if (*curbuf->b_p_key == NUL) | 1924 if (*curbuf->b_p_key == NUL) |
1925 { | 1925 { |
1926 semsg(_(e_non_encrypted_file_has_encrypted_undo_file), file_name); | 1926 semsg(_(e_non_encrypted_file_has_encrypted_undo_file_str), |
1927 file_name); | |
1927 goto error; | 1928 goto error; |
1928 } | 1929 } |
1929 bi.bi_state = crypt_create_from_file(fp, curbuf->b_p_key); | 1930 bi.bi_state = crypt_create_from_file(fp, curbuf->b_p_key); |
1930 if (bi.bi_state == NULL) | 1931 if (bi.bi_state == NULL) |
1931 { | 1932 { |