[Ardour-Dev] translators!
Paul Davis
paul at linuxaudiosystems.com
Thu Jan 3 06:19:29 PST 2013
should be improved and/or fixed in svn now. P_() is a new plural form i18n
macro.
On Thu, Jan 3, 2013 at 9:06 AM, Alexandre Prokoudine <
alexandre.prokoudine at gmail.com> wrote:
> 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 <paul at linuxaudiosystems.com>
> wrote:
> > just tell me/remind what i need to do.
> _______________________________________________
> ardour-dev mailing list
> ardour-dev at lists.ardour.org
> http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20130103/74987133/attachment-0002.htm>
More information about the Ardour-Dev
mailing list