]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/po.pm
one issue with basewiki translations
[git.ikiwiki.info.git] / IkiWiki / Plugin / po.pm
index 2060ff2087dce09b496e1d076c44f14d388550d2..70d678897a137436dbf6d15288206cb75d4200f6 100644 (file)
@@ -157,10 +157,6 @@ sub checkconfig () {
                                  reverse @{$config{underlaydirs}}) {
                next if $underlay=~/^locale\//;
 
-               # Underlay containing pot files.
-               add_underlay("locale/pot/$underlay")
-                       if -d "$config{underlaydirbase}/locale/pot/$underlay";
-
                # Underlays containing the po files for slave languages.
                foreach my $ll (keys %{$config{po_slave_languages}}) {
                        add_underlay("locale/po/$ll/$underlay")
@@ -1094,8 +1090,8 @@ sub isvalidpo ($) {
        if ($res) {
            return IkiWiki::SuccessReason->new("valid gettext data");
        }
-       return IkiWiki::FailReason->new("invalid gettext data, go back ".
-                                       "to previous page to go on with edit");
+       return IkiWiki::FailReason->new(gettext("invalid gettext data, go back ".
+                                       "to previous page to continue edit"));
 }
 
 # ,----