mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-22 02: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)
|
void caret_init (void)
|
||||||
{
|
{
|
||||||
screen_width = columns ();
|
screen_width = columns ();
|
||||||
/* TRANSLATORS: use the appropriate character (e.g. "…") if
|
/* TRANSLATORS: This is used when a line is too long, and is
|
||||||
available. */
|
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 = _("...");
|
ellipsis = _("...");
|
||||||
ellipsize = mbswidth (ellipsis, 0);
|
ellipsize = mbswidth (ellipsis, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user