mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
i18n: don't push too hard for '…'
Suggested by Paul Eggert. * src/location.c (ellipsis): Clarify comment for translators.
This commit is contained in:
@@ -242,8 +242,11 @@ static struct
|
||||
void caret_init (void)
|
||||
{
|
||||
screen_width = columns ();
|
||||
/* TRANSLATORS: use the appropriate character (e.g. "…") if
|
||||
available. */
|
||||
/* TRANSLATORS: This is used when a line is too long, and is
|
||||
displayed truncated. Use an ellipsis appropriate for your
|
||||
language, remembering that "…" (U+2026 HORIZONTAL ELLIPSIS)
|
||||
sometimes misdisplays and that "..." (three ASCII periods) is a
|
||||
safer choice in some locales. */
|
||||
ellipsis = _("...");
|
||||
ellipsize = mbswidth (ellipsis, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user