aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwinter Sparkles2026-08-08 23:33:27 +0100
committerwinter Sparkles2026-08-08 23:33:27 +0100
commit4bb659e1f7bb5850db5695a536428a9b71e3ffe5 (patch)
tree749e41db42f9f5a08e2342e65e660ac5e59c46f7 /templates
parentb422b6ded608807c7d3bb8b965b3797ca513610b (diff)
tidy up the localisation stuff
Diffstat (limited to 'templates')
-rw-r--r--templates/index.xsl18
1 files changed, 12 insertions, 6 deletions
diff --git a/templates/index.xsl b/templates/index.xsl
index 65e84f6..35300ec 100644
--- a/templates/index.xsl
+++ b/templates/index.xsl
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:psso="urn:psso:xsl">
<xsl:output method="xml" encoding="UTF-8"
doctype-system="about:legacy-compat"/>
@@ -46,10 +48,14 @@
<xsl:template name="page-footer">
<footer>
- <a><xsl:attribute name="href">
- <xsl:value-of select="/page/@source"/>
- </xsl:attribute>
- Source code</a>
+ <xsl:value-of select="psso:L('ui.powered-by')"/>
+ ยท
+ <a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="/page/@source"/>
+ </xsl:attribute>
+ <xsl:value-of select="psso:L('ui.source-code')"/>
+ </a>
</footer>
</xsl:template>
@@ -59,7 +65,7 @@
<xsl:template match="error">
<error-message>
- <box-label>Error</box-label>
+ <box-label><xsl:value-of select="psso:L('error')"/></box-label>
<xsl:value-of select="."/>
</error-message>
</xsl:template>