Re: translators!
Paul Davis <[email protected]>
| Newsgroups | gmane.comp.audio.ardour.devel |
|---|---|
| Message-ID | <CAFa_cK=UWtMe_tTJ3Zk3BKgryK2_SVtyk8YCGuocrkWcM9-D4Q@mail.gmail.com> |
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 < [email protected]> 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 <[email protected]> > wrote: > > just tell me/remind what i need to do. > _______________________________________________ > ardour-dev mailing list > [email protected] > http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org > _______________________________________________ ardour-dev mailing list [email protected] http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org