aboutsummaryrefslogtreecommitdiffstats
path: root/polish/intro/index.wml
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2020-12-28 20:11:17 +0100
committerCyril Brulebois <kibi@debian.org>2020-12-28 20:16:31 +0100
commitb3431bf75722eae74753f99e78d441d7f9260517 (patch)
tree9ee1da0972a7e4f012504f3ea11d6f246108302f /polish/intro/index.wml
parent8c4721622dd9e717228f408c3aacebdccdfa69f0 (diff)
intro/index: adjust get_recent_list to get the translated title for the last DSAhotfix-untranslated-dsa-items
The difficulty here is not being in one of the supported and documented use cases: we're below intro/ but want to be listing stuff under security/, which is in a different part of the hierarchy. Pass an explicit relative path as an extra parameter to get_recent_list.
Diffstat (limited to 'polish/intro/index.wml')
-rw-r--r--polish/intro/index.wml2
1 files changed, 1 insertions, 1 deletions
diff --git a/polish/intro/index.wml b/polish/intro/index.wml
index ed06cf72a00..596e1565f89 100644
--- a/polish/intro/index.wml
+++ b/polish/intro/index.wml
@@ -72,7 +72,7 @@
<li>
<a href="../security">Bezpieczeństwo:</a>
Ostatnia aktualizacja <br>
- <:{ $MYLIST = get_recent_list('security/1m', '1', '$(ENGLISHDIR)', 'bydate', '(2000\d+\w+|dsa-\d+)');
+ <:{ $MYLIST = get_recent_list('security/1m', '1', '$(ENGLISHDIR)/intro', 'bydate', '(2000\d+\w+|dsa-\d+)', '../security/');
@MYLIST = split(/\n/, $MYLIST);
$MYLIST[0] =~ s#security#../security#;
print $MYLIST[0]; }:>

© 2014-2024 Faster IT GmbH | imprint | privacy policy