[Ardour-Dev] translators!

Alexandre Prokoudine alexandre.prokoudine at gmail.com
Thu Jan 3 06:06:24 PST 2013


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.



More information about the Ardour-Dev mailing list