Re: translators!
Alexandre Prokoudine <[email protected]>
| Newsgroups | gmane.comp.audio.ardour.devel |
|---|---|
| Message-ID | <CAFjkzc0bRqPQtiKVjxs=s8KyjzHfztwDXGamd+Vfo+hDMFW7_w@mail.gmail.com> |
https://live.gnome.org/TranslationProject/DevGuidelines/Plurals
The last code example demonstrates a sane approach to solving the issue.
E.g. in ardour_ui.cc:
if (tracks.size() != how_many) {
if (how_many == 1) {
error << _("could not create a new mixed track") << endmsg;
} else {
error << string_compose (_("could not create %1 new mixed tracks"),
how_many) << endmsg;
}
}
would look more like
if (tracks.size() != how_many) {
error << ngettext("could not create %d mixed track", "could not
create %d new mixed tracks"), how_many) << endmsg;
}
}
Alexandre
On Thu, Jan 3, 2013 at 5:55 PM, Paul Davis <[email protected]> wrote:
> just tell me/remind what i need to do.