summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorShaun McCance <shaunm@redhat.com>2017-10-17 12:28:40 -0400
committerShaun McCance <shaunm@redhat.com>2017-10-17 12:28:40 -0400
commit1bb86ef5c90d867f6dccffe1f3609025ffbbae4f (patch)
treec794785cd7050e519e9b634dbaf1a82750c7a1fc /xslt
parent12c5d4b9b996b5a41c9db565ad0b879e10f4e85c (diff)
downloadyelp-xsl-1bb86ef5c90d867f6dccffe1f3609025ffbbae4f.tar.gz
l10n.xsl: Typo fixes in docs
Diffstat (limited to 'xslt')
-rw-r--r--xslt/common/l10n.xsl14
1 files changed, 7 insertions, 7 deletions
diff --git a/xslt/common/l10n.xsl b/xslt/common/l10n.xsl
index 40646517..ceb058e6 100644
--- a/xslt/common/l10n.xsl
+++ b/xslt/common/l10n.xsl
@@ -149,19 +149,19 @@ stylesheet for their language.
Some translations aren't simple strings, but are instead format strings where
certain values are inserted. This template can handle format strings with XML
marker elements to signal where values should be substituted. These values
-cat be the result of applying templates.
+can be the result of applying templates.
-To enable format strings, pass set the ${format} parameter to #{true()}.
-Instead of just returning the translated string, this template will instead
+To enable format strings, set the ${format} parameter to #{true()}.
+Instead of just returning the translated string, this template will
apply templates in the mode %{l10n.format.mode} to the fragment contained in
the #{msgstr} element.
The ${node} and ${string} parameters are passed to templates in
%{l10n.format.mode}. This stylesheet contains matches in %{l10n.format.mode}
-for the marker elements #{<string/>} and #{<node/>}. The element #{<string/>}
-will be replaced by the string value of ${string}. The element #{<node/>} will
-apply templates without a mode to ${node}. Text nodes are copied to the result
-in %{l10n.format.mode}.
+for the marker elements #{&lt;string/>} and #{&lt;node/>}. The element
+#{&lt;string/>} will be replaced by the string value of ${string}. The
+element #{&lt;node/>} will apply templates without a mode to ${node}.
+Text nodes are copied to the result in %{l10n.format.mode}.
If you need any other behavior, add elements with any name of your choosing to
the format string, then match on those elements in %{l10n.format.mode}. You will