Skip to content

Commit

Permalink
MIR-1157 enable i18n transformation as separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrebs committed Jun 17, 2022
1 parent 2f5399e commit 4f4194d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
MIR.Layout.Theme=flatmir
MCR.LayoutTransformerFactory.Default.Stylesheets=xsl/mir-%MIR.Layout.Theme%-layout.xsl

# Do i18n in a separate step to translate webpages and labels
MCR.LayoutTransformerFactory.Default.Stylesheets=xsl/i18n.xsl,%MCR.LayoutTransformerFactory.Default.Stylesheets%

# Use this to set a bootswatch theme, see http://bootswatch.com/
# default in flatmir is flatly, see http://bootswatch.com/flatly/
MIR.DefaultLayout.CSS=flatly.min
Expand Down
2 changes: 1 addition & 1 deletion mir-layout/src/main/resources/xsl/mir-cosmol-layout.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<xsl:output method="html" indent="yes" omit-xml-declaration="yes" media-type="text/html"
version="5" />
<xsl:strip-space elements="*" />
<xsl:include href="resource:xsl/mir-cosmol-layout-utils.xsl"/>
<xsl:include href="xslStyle:i18n:resource:xsl/mir-cosmol-layout-utils.xsl" />
<xsl:param name="MIR.DefaultLayout.CSS" />
<xsl:param name="MIR.CustomLayout.CSS" select="''" />
<xsl:param name="MIR.CustomLayout.JS" select="''" />
Expand Down
2 changes: 1 addition & 1 deletion mir-layout/src/main/resources/xsl/mir-flatmir-layout.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<xsl:output method="html" indent="yes" omit-xml-declaration="yes" media-type="text/html"
version="5" />
<xsl:strip-space elements="*" />
<xsl:include href="resource:xsl/mir-flatmir-layout-utils.xsl"/>
<xsl:include href="xslStyle:i18n:resource:xsl/mir-flatmir-layout-utils.xsl" />
<xsl:param name="MIR.DefaultLayout.CSS" />
<xsl:param name="MIR.CustomLayout.CSS" select="''" />
<xsl:param name="MIR.CustomLayout.JS" select="''" />
Expand Down

0 comments on commit 4f4194d

Please sign in to comment.