/usr/share/kadu/sdk/translations/configuration-ui.xsl is in kadu-dev 4.1-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" indent="yes" />
<xsl:template match="*">
<xsl:if test="@name != ''">
<xsl:if test="not(contains(@name,'%n'))">
QT_TRANSLATE_NOOP("@default", "<xsl:value-of select="@name" />");
</xsl:if>
<xsl:if test="contains(@name,'%n')">
QCoreApplication::translate("@default", "<xsl:value-of select="@name" />", 0, QCoreApplication::CodecForTr, 1234);
</xsl:if>
</xsl:if>
<xsl:if test="@caption != ''">
<xsl:if test="not(contains(@caption,'%n'))">
QT_TRANSLATE_NOOP("@default", "<xsl:value-of select="@caption" />");
</xsl:if>
<xsl:if test="contains(@caption,'%n')">
QCoreApplication::translate("@default", "<xsl:value-of select="@caption" />", 0, QCoreApplication::CodecForTr, 1234);
</xsl:if>
</xsl:if>
<xsl:if test="@tool-tip != ''">
<xsl:if test="not(contains(@tool-tip,'%n'))">
QT_TRANSLATE_NOOP("@default", "<xsl:value-of select="@tool-tip" />");
</xsl:if>
<xsl:if test="contains(@tool-tip,'%n')">
QCoreApplication::translate("@default", "<xsl:value-of select="@tool-tip" />", 0, QCoreApplication::CodecForTr, 1234);
</xsl:if>
</xsl:if>
<xsl:if test="@syntax-hint != ''">
<xsl:if test="not(contains(@syntax-hint,'%n'))">
QT_TRANSLATE_NOOP("@default", "<xsl:value-of select="@syntax-hint" />");
</xsl:if>
<xsl:if test="contains(@syntax-hint,'%n')">
QCoreApplication::translate("@default", "<xsl:value-of select="@syntax-hint" />", 0, QCoreApplication::CodecForTr, 1234);
</xsl:if>
</xsl:if>
<xsl:if test="@special-value != ''">
<xsl:if test="not(contains(@special-value,'%n'))">
QT_TRANSLATE_NOOP("@default", "<xsl:value-of select="@special-value" />");
</xsl:if>
<xsl:if test="contains(@special-value,'%n')">
QCoreApplication::translate("@default", "<xsl:value-of select="@special-value" />", 0, QCoreApplication::CodecForTr, 1234);
</xsl:if>
</xsl:if>
<xsl:if test="@suffix != ''">
<xsl:if test="not(contains(@suffix,'%n'))">
QT_TRANSLATE_NOOP("@default", "<xsl:value-of select="@suffix" />");
</xsl:if>
<xsl:if test="contains(@suffix,'%n')">
QCoreApplication::translate("@default", "<xsl:value-of select="@suffix" />", 0, QCoreApplication::CodecForTr, 1234);
</xsl:if>
</xsl:if>
<xsl:apply-templates />
</xsl:template>
</xsl:stylesheet>
|