2014-01-31 Daniel Hartwig <[email protected]>: > Hi Manuel > > [commit 6ae2d97 on master] > >> - const std::string short_description = >> - (boost::format("Changelog of %s") % ver.ParentPkg().Name()).str(); >> + const std::string short_description = _("Changelog of") + std::string(" >> ") + info->get_display_name(); > > Nice catch, that this was not being translated before. > > Note that for proper translation, the string passed to gettext must > contain as much of a complete sentence or phrase as possible. In this > case, it should be _("Changelog of %s"), to allow for changes to word > order or punctuation etc. as may be appropriate for each language. > > You can see examples of other places using ssprintf (from > cwidget/generic/util/ssprintf.h) with the complete phrase I mentioned, > so it is already translated for anything up to date. See, for > example, src/view_changelog.cc:272. > > Please amend your patch. > > Regards
Thanks for the pointers, I think that it's OK now. http://anonscm.debian.org/gitweb/?p=aptitude/aptitude.git;a=commitdiff;h=971066b27870dca84145f6b36ce2d1b07f8234b3 Cheers. -- Manuel A. Fernandez Montecelo <[email protected]> _______________________________________________ Aptitude-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

