comparison src/spellfile.c @ 14121:97814084264b v8.1.0078

patch 8.1.0078: "..." used inconsistently in messages commit https://github.com/vim/vim/commit/c166927a32fe5c054ad35deecff00aa12c629cf7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 19 14:23:53 2018 +0200 patch 8.1.0078: "..." used inconsistently in messages Problem: "..." used inconsistently in messages. Solution: Drop the space before " ...".
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jun 2018 14:30:07 +0200
parents e76499e85744
children 27b9a84395b5
comparison
equal deleted inserted replaced
14120:165d4d07e1e5 14121:97814084264b
2239 { 2239 {
2240 EMSG2(_(e_notopen), fname); 2240 EMSG2(_(e_notopen), fname);
2241 return NULL; 2241 return NULL;
2242 } 2242 }
2243 2243
2244 vim_snprintf((char *)IObuff, IOSIZE, _("Reading affix file %s ..."), fname); 2244 vim_snprintf((char *)IObuff, IOSIZE, _("Reading affix file %s..."), fname);
2245 spell_message(spin, IObuff); 2245 spell_message(spin, IObuff);
2246 2246
2247 /* Only do REP lines when not done in another .aff file already. */ 2247 /* Only do REP lines when not done in another .aff file already. */
2248 do_rep = spin->si_rep.ga_len == 0; 2248 do_rep = spin->si_rep.ga_len == 0;
2249 2249
3567 3567
3568 /* The hashtable is only used to detect duplicated words. */ 3568 /* The hashtable is only used to detect duplicated words. */
3569 hash_init(&ht); 3569 hash_init(&ht);
3570 3570
3571 vim_snprintf((char *)IObuff, IOSIZE, 3571 vim_snprintf((char *)IObuff, IOSIZE,
3572 _("Reading dictionary file %s ..."), fname); 3572 _("Reading dictionary file %s..."), fname);
3573 spell_message(spin, IObuff); 3573 spell_message(spin, IObuff);
3574 3574
3575 /* start with a message for the first line */ 3575 /* start with a message for the first line */
3576 spin->si_msg_count = 999999; 3576 spin->si_msg_count = 999999;
3577 3577
4147 { 4147 {
4148 EMSG2(_(e_notopen), fname); 4148 EMSG2(_(e_notopen), fname);
4149 return FAIL; 4149 return FAIL;
4150 } 4150 }
4151 4151
4152 vim_snprintf((char *)IObuff, IOSIZE, _("Reading word file %s ..."), fname); 4152 vim_snprintf((char *)IObuff, IOSIZE, _("Reading word file %s..."), fname);
4153 spell_message(spin, IObuff); 4153 spell_message(spin, IObuff);
4154 4154
4155 /* 4155 /*
4156 * Read all the lines in the file one by one. 4156 * Read all the lines in the file one by one.
4157 */ 4157 */
5863 EMSG2(_(e_notopen), fname); 5863 EMSG2(_(e_notopen), fname);
5864 return; 5864 return;
5865 } 5865 }
5866 5866
5867 vim_snprintf((char *)IObuff, IOSIZE, 5867 vim_snprintf((char *)IObuff, IOSIZE,
5868 _("Writing suggestion file %s ..."), fname); 5868 _("Writing suggestion file %s..."), fname);
5869 spell_message(spin, IObuff); 5869 spell_message(spin, IObuff);
5870 5870
5871 /* 5871 /*
5872 * <SUGHEADER>: <fileID> <versionnr> <timestamp> 5872 * <SUGHEADER>: <fileID> <versionnr> <timestamp>
5873 */ 5873 */
6148 { 6148 {
6149 /* 6149 /*
6150 * Write the info in the spell file. 6150 * Write the info in the spell file.
6151 */ 6151 */
6152 vim_snprintf((char *)IObuff, IOSIZE, 6152 vim_snprintf((char *)IObuff, IOSIZE,
6153 _("Writing spell file %s ..."), wfname); 6153 _("Writing spell file %s..."), wfname);
6154 spell_message(&spin, IObuff); 6154 spell_message(&spin, IObuff);
6155 6155
6156 error = write_vim_spell(&spin, wfname) == FAIL; 6156 error = write_vim_spell(&spin, wfname) == FAIL;
6157 6157
6158 spell_message(&spin, (char_u *)_("Done!")); 6158 spell_message(&spin, (char_u *)_("Done!"));