Minor wording fix; changelog; etc.
my $percenttranslated=IkiWiki::Plugin::po::percenttranslated($page);
if ($percenttranslated eq 'N/A') {
- return IkiWiki::FailReason->new("file is not a translation page");
+ return IkiWiki::FailReason->new("file is not a translatable page");
}
elsif ($percenttranslated < 100) {
return IkiWiki::SuccessReason->new("file has $percenttranslated translated");
* git: Added git_wrapper_background_command option. Can be used to eg,
make the git wrapper push to github in the background after ikiwiki
runs.
+ * po: Added needstranslation() pagespec. (intrigeri)
-- Joey Hess <joeyh@debian.org> Wed, 23 Jun 2010 15:30:04 -0400
PageSpec. It makes it easy to list pages that need translation work.
Please review. --[[intrigeri]]
-[[!tag patch]]
+> Looks good, cherry-picked. The only improvment I can
+> think of is that `needstranslation(50)` could match
+> only pages less than 50% translated. --[[Joey]]
+
+[[!tag patch done]]