Mercurial > vim
comparison src/vim9execute.c @ 19411:bc880a130120 v8.2.0263
patch 8.2.0263: a few new Vim9 messages are not localized
Commit: https://github.com/vim/vim/commit/df2ecddf9d0acc325c8290fbcff44de25b0c1e75
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 16 15:03:48 2020 +0100
patch 8.2.0263: a few new Vim9 messages are not localized
Problem: A few new Vim9 messages are not localized.
Solution: Add the gettext wrapper. (Dominique Pelle, closes https://github.com/vim/vim/issues/5647)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Feb 2020 15:15:04 +0100 |
parents | e4b326c9424a |
children | 6e27e1ffa2a6 |
comparison
equal
deleted
inserted
replaced
19410:f0993c2b3fd2 | 19411:bc880a130120 |
---|---|
1609 | 1609 |
1610 ufunc = find_func(fname, NULL); | 1610 ufunc = find_func(fname, NULL); |
1611 vim_free(fname); | 1611 vim_free(fname); |
1612 if (ufunc == NULL) | 1612 if (ufunc == NULL) |
1613 { | 1613 { |
1614 semsg("E1061: Cannot find function %s", eap->arg); | 1614 semsg(_("E1061: Cannot find function %s"), eap->arg); |
1615 return; | 1615 return; |
1616 } | 1616 } |
1617 if (ufunc->uf_dfunc_idx < 0) | 1617 if (ufunc->uf_dfunc_idx < 0) |
1618 { | 1618 { |
1619 semsg("E1062: Function %s is not compiled", eap->arg); | 1619 semsg(_("E1062: Function %s is not compiled"), eap->arg); |
1620 return; | 1620 return; |
1621 } | 1621 } |
1622 if (ufunc->uf_name_exp != NULL) | 1622 if (ufunc->uf_name_exp != NULL) |
1623 msg((char *)ufunc->uf_name_exp); | 1623 msg((char *)ufunc->uf_name_exp); |
1624 else | 1624 else |