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")
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"));
}
# ,----