patch 9.1.1483: not possible to translation position in buffer
Problem: not possible to translation position in buffer
Solution: use _() macro to mark the output as translatable
(Emir SARI)
Row/Column indicator separator is currently not customizable. Some
languages have a space after the comma as the usual practice, plus this
would help translators use a custom separator like colons if necessary.
Additionally, after a save, the line and the byte indicator is also
hardcoded, this enables i18n for that as well.
closes: #17608
Signed-off-by: Emir SARI <emir_sari@icloud.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
fe803c8c04
commit
81f9815831
@ -3189,7 +3189,8 @@ msg_add_lines(
|
||||
|
||||
if (shortmess(SHM_LINES))
|
||||
vim_snprintf((char *)IObuff + len, IOSIZE - (size_t)len,
|
||||
"%s%ldL, %lldB", insert_space ? " " : "", lnum, (varnumber_T)nchars);
|
||||
// l10n: L as in line, B as in byte
|
||||
_("%s%ldL, %lldB"), insert_space ? " " : "", lnum, (varnumber_T)nchars);
|
||||
else
|
||||
{
|
||||
len += vim_snprintf((char *)IObuff + len, IOSIZE - (size_t)len,
|
||||
|
||||
Reference in New Issue
Block a user