[gimp] build: Fix windows installer i18n



commit 7186907c1616201bc308598352e3bd4b462b0e15
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri Jul 29 20:37:40 2022 +0200

    build: Fix windows installer i18n
    
    Whenever we have an element without translation, we try to use the value
    without a `xml:lang` attribute. That selector was wrong though, which
    leads to https://gitlab.gnome.org/GNOME/gimp/-/issues/8338, which should
    now be fixed.

 build/windows/installer/lang/gimp-ms-installer-config.xsl.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/build/windows/installer/lang/gimp-ms-installer-config.xsl.in 
b/build/windows/installer/lang/gimp-ms-installer-config.xsl.in
index 0fc8d9ae08..d42a64fe27 100644
--- a/build/windows/installer/lang/gimp-ms-installer-config.xsl.in
+++ b/build/windows/installer/lang/gimp-ms-installer-config.xsl.in
@@ -28,7 +28,7 @@
     <xsl:value-of select="@name"/>=<xsl:apply-templates select="@LANG_CHECK@" />
   </xsl:when>
   <xsl:otherwise>
-    <xsl:value-of select="@name"/>=<xsl:apply-templates select="value[not(xml:lang)]" />
+    <xsl:value-of select="@name"/>=<xsl:apply-templates select="value[not(@xml:lang)]" />
   </xsl:otherwise>
 </xsl:choose>
 <xsl:text>&#xA;</xsl:text>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]