Skip to content

Commit

Permalink
Merge pull request DivinumOfficium#3893 from gallizoltan/perl_compati…
Browse files Browse the repository at this point in the history
…bility

perl backward compatibility
  • Loading branch information
APMarcello3 authored Jun 22, 2024
2 parents 679f937 + 0a77419 commit 00e39db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion web/cgi-bin/horas/horas.pl
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ sub antiphona_finalis : ScriptFunc {
} else {
$name = 'Postpentecost';
}
my $t = %{setupstring($lang, "Psalterium/Mariaant.txt")}{$name};
my %ant = %{setupstring($lang, "Psalterium/Mariaant.txt")};
my $t = $ant{$name};
$t = '#' . translate($name eq 'Ant Finalis OP' ? 'Antiphonae finalis' : 'Antiphona finalis BMV', $lang) . "\n$t";
return ($t);
}
Expand Down
3 changes: 2 additions & 1 deletion web/cgi-bin/horas/specials.pl
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@ sub specials {
$name =~ s/ / Pasc7 / if ($hora =~ /Tertia/ && $dayname[0] =~ /Pasc7/);

if ($hora eq 'Completorium' && $version =~ /^Ordo Praedicatorum/) {
$versum = %{setupstring($lang, 'Psalterium/Minor Special.txt')}{'Versum 4'};
my %ant = %{setupstring($lang, 'Psalterium/Minor Special.txt')};
$versum = $ant{'Versum 4'};
postprocess_vr($versum, $lang);
}
$hymnsource = 'Minor';
Expand Down

0 comments on commit 00e39db

Please sign in to comment.