[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wget-dev] wget2 | Use Plural-Forms strings (#384)
From: |
Rafael Fontenelle |
Subject: |
[Wget-dev] wget2 | Use Plural-Forms strings (#384) |
Date: |
Sun, 03 Jun 2018 11:23:40 +0000 |
New Issue was created.
Issue 384: https://gitlab.com/gnuwget/wget2/issues/384
Author: Rafael Fontenelle
Assignee:
Strings that can be presented in both singular and plural forms are currently
being hardcoded with "s" and "ies", which is bad for localization. This is true
for:
```
libwget/cookie.c: debug_printf(_("Saved %d cookie%s into
'%s'\n"), size, size != 1 ? "s" : "", fname);
libwget/hpkp.c: debug_printf("Saved %d HPKP entr%s into '%s'\n", size,
size != 1 ? "ies" : "y", hpkp_db_priv->fname);
libwget/tls_session.c: debug_printf(_("Saved %d TLS session entr%s
into '%s'\n"), size, size != 1 ? "ies" : "y", fname);
libwget/hsts.c: debug_printf(_("Saved %d HSTS entr%s into '%s'\n"),
size, size != 1 ? "ies" : "y", hsts_db_priv->fname);
```
Verbs in other languages can have different forms in singular and plural forms,
and the current method to fill in 's' or 'y'/'ies' can make it possible to
achieve a proper localization.
Please implement Plural-Forms strings. More information on this can be read in
https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/issues/384
You're receiving this email because of your account on gitlab.com.
- [Wget-dev] wget2 | Use Plural-Forms strings (#384),
Rafael Fontenelle <=
- Message not available
- Message not available
- Message not available