Signed-off-by: intrigeri <intrigeri@boum.org>
my $page=$params{page};
my $ext=$params{ext};
my $page=$params{page};
my $ext=$params{ext};
- if (IkiWiki::PageSpec::match_istranslation($page, $page)) {
+ if (pagespec_match($page,"istranslation()")) {
my ($masterpage, $lang) = ($page =~ /(.*)[.]([a-z]{2})$/);
if (! $config{usedirs} || $page eq 'index') {
return $masterpage . "." . $lang . "." . $ext;
my ($masterpage, $lang) = ($page =~ /(.*)[.]([a-z]{2})$/);
if (! $config{usedirs} || $page eq 'index') {
return $masterpage . "." . $lang . "." . $ext;
# decide if this is a PO file that should be converted into a translated document,
# and perform various sanity checks
# decide if this is a PO file that should be converted into a translated document,
# and perform various sanity checks
- if (! IkiWiki::PageSpec::match_istranslation($page, $page)) {
+ if (! pagespec_match($page, "istranslation()")) {