From 1087f8508e62c7fa91fdc0b4cf1f43febeb12127 Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Tue, 13 Jul 2010 18:10:49 +0000 Subject: [PATCH] Added xsl:keys for improved performance of localization texts look up. Performance gain around 15%. --- xsl/common/l10n.xsl | 322 +++++++++++++++++++++++--------------------- 1 file changed, 168 insertions(+), 154 deletions(-) diff --git a/xsl/common/l10n.xsl b/xsl/common/l10n.xsl index 7fc142936..1ade6a1e5 100644 --- a/xsl/common/l10n.xsl +++ b/xsl/common/l10n.xsl @@ -18,6 +18,11 @@ + + + + + @@ -82,28 +87,30 @@ - - - - - - - - - - - - No localization exists for " + + + - " or " + + + - ". Using default " + + + + + No localization exists for " + + " or " + + ". Using default " + + ". + - ". - - - - + + + @@ -214,39 +221,41 @@ - - - + + - - - - - - - - - - No " - - " localization of " - - " exists - - - . - - - ; using "en". - - - + - - - + + + + + + + + + + No " + + " localization of " + + " exists + + + . + + + ; using "en". + + + + + + + + @@ -283,31 +292,33 @@ - + + - + - - - - - - - - - - No " - - " localization of dingbat - - exists; using "en". - - - - - + + + + + + + + + + No " + + " localization of dingbat + + exists; using "en". + + + + + + @@ -372,93 +383,96 @@ - + - + - - - No " - - " localization exists. - - + - - - - - - - No context named " - - " exists in the " - - " localization. - - + + + No " + + " localization exists. + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - No template for " - - " (or any of its leaves) exists -in the context named " - - " in the " - - " localization. - - - - - + + + No context named " + + " exists in the " + + " localization. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No template for " + + " (or any of its leaves) exists + in the context named " + + " in the " + + " localization. + + + + + + -- 2.40.0