[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-1210-gf57a8902f

git at osgeo.org git at osgeo.org
Wed Jul 12 01:36:54 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  f57a8902f1dcd75a6cca9d958522d9d5c6a535a3 (commit)
       via  6c9adfa052051897ffc467724a199fd6969d1f66 (commit)
      from  4c7fc01454a3ae81ef03952e5d7715f937451c11 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f57a8902f1dcd75a6cca9d958522d9d5c6a535a3
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Jul 12 10:36:31 2023 +0200

    Translate cheatsheet header in italian

diff --git a/doc/po/it_IT/xsl-config.xml.po b/doc/po/it_IT/xsl-config.xml.po
index 547328bf1..dcfda8462 100644
--- a/doc/po/it_IT/xsl-config.xml.po
+++ b/doc/po/it_IT/xsl-config.xml.po
@@ -55,7 +55,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n"
-"POT-Creation-Date: 2023-07-04 20:03+0000\n"
+"POT-Creation-Date: 2023-07-12 08:31+0000\n"
 "PO-Revision-Date: 2023-06-29 14:24+0000\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -207,3 +207,45 @@ msgstr ""
 #, no-c-format
 msgid "This function supports 3d and will not drop the z-index."
 msgstr "Questa funzione supporta il 3d e non distrugge gli z-index."
+
+#. Tag: para
+#: xsl-config.xml:169
+#, no-c-format
+msgid "New in this release"
+msgstr "Aggiunta in questo rilascio"
+
+#. Tag: para
+#: xsl-config.xml:172
+#, no-c-format
+msgid "Enhanced in this release"
+msgstr "Migliorata in questo rilascio"
+
+#. Tag: para
+#: xsl-config.xml:175
+#, no-c-format
+msgid "Aggregate"
+msgstr "Aggregato"
+
+#. Tag: para
+#: xsl-config.xml:178
+#, no-c-format
+msgid "Window function"
+msgstr "Funzione finestra"
+
+#. Tag: para
+#: xsl-config.xml:181
+#, no-c-format
+msgid "Requires GEOS 3.9 or higher"
+msgstr "Richiede GEOS 3.9 o superiore"
+
+#. Tag: para
+#: xsl-config.xml:184
+#, no-c-format
+msgid "2.5/3D support"
+msgstr "Supporta il 2.5/3D"
+
+#. Tag: para
+#: xsl-config.xml:187
+#, no-c-format
+msgid "Supports geography"
+msgstr "Supporta il tipo geography"

commit 6c9adfa052051897ffc467724a199fd6969d1f66
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Jul 12 10:30:38 2023 +0200

    Make postgis cheatsheet legend translatable
    
    See #5435

diff --git a/doc/po/templates/xsl-config.xml.pot b/doc/po/templates/xsl-config.xml.pot
index a313f229e..b17dc0fb4 100644
--- a/doc/po/templates/xsl-config.xml.pot
+++ b/doc/po/templates/xsl-config.xml.pot
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n"
-"POT-Creation-Date: 2023-07-04 20:03+0000\n"
+"POT-Creation-Date: 2023-07-12 08:31+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <kde-i18n-doc at kde.org>\n"
@@ -124,3 +124,45 @@ msgstr ""
 #, no-c-format
 msgid "This function supports 3d and will not drop the z-index."
 msgstr ""
+
+#. Tag: para
+#: xsl-config.xml:169
+#, no-c-format
+msgid "New in this release"
+msgstr ""
+
+#. Tag: para
+#: xsl-config.xml:172
+#, no-c-format
+msgid "Enhanced in this release"
+msgstr ""
+
+#. Tag: para
+#: xsl-config.xml:175
+#, no-c-format
+msgid "Aggregate"
+msgstr ""
+
+#. Tag: para
+#: xsl-config.xml:178
+#, no-c-format
+msgid "Window function"
+msgstr ""
+
+#. Tag: para
+#: xsl-config.xml:181
+#, no-c-format
+msgid "Requires GEOS 3.9 or higher"
+msgstr ""
+
+#. Tag: para
+#: xsl-config.xml:184
+#, no-c-format
+msgid "2.5/3D support"
+msgstr ""
+
+#. Tag: para
+#: xsl-config.xml:187
+#, no-c-format
+msgid "Supports geography"
+msgstr ""
diff --git a/doc/xsl-config.xml b/doc/xsl-config.xml
index e30985268..4ddae4c99 100644
--- a/doc/xsl-config.xml
+++ b/doc/xsl-config.xml
@@ -165,4 +165,28 @@
         </para>
     </tags>
 
+    <cheatsheets>
+        <para role="new_in_release">
+            New in this release
+        </para>
+        <para role="enhanced_in_release">
+            Enhanced in this release
+        </para>
+        <para role="aggregate">
+				Aggregate
+        </para>
+        <para role="window_function">
+				Window function
+        </para>
+        <para role="requires_geos_3.9_or_higher">
+				Requires GEOS 3.9 or higher
+        </para>
+        <para role="z_support">
+				2.5/3D support
+        </para>
+        <para role="geography_support">
+				Supports geography
+        </para>
+    </cheatsheets>
+
 </config>
diff --git a/doc/xsl/common_cheatsheet.xsl b/doc/xsl/common_cheatsheet.xsl
index acb56a102..6ee0faa64 100644
--- a/doc/xsl/common_cheatsheet.xsl
+++ b/doc/xsl/common_cheatsheet.xsl
@@ -6,6 +6,7 @@
 <xsl:variable name='include_examples'>false</xsl:variable>
 <xsl:variable name='output_purpose'>true</xsl:variable>
 <xsl:variable name='linkstub'>https://postgis.net/docs/manual-<xsl:value-of select="$postgis_version" />/<xsl:value-of select="$postgis_language" /></xsl:variable>
+<xsl:variable name="cheatsheets_config" select="document('xsl-config.xml')//cheatsheets" />
 
 
 <!--macro to pull out function parameter names so we can provide a pretty arg list prefix for each function -->
diff --git a/doc/xsl/postgis_cheatsheet.html.xsl b/doc/xsl/postgis_cheatsheet.html.xsl
index 7a587ed8b..699c99341 100644
--- a/doc/xsl/postgis_cheatsheet.html.xsl
+++ b/doc/xsl/postgis_cheatsheet.html.xsl
@@ -129,14 +129,21 @@ code {font-size: 8pt}
 		<body><h1 style='text-align:center'>PostGIS  <xsl:value-of select="$postgis_version" /> Cheatsheet</h1>
 			<span class='notes'>
 				<!-- TODO: make text equally distributed horizontally ? -->
-				New in this release <sup>1</sup>
-				Enhanced in this release <sup>2</sup>  
-				Aggregate <sup>agg</sup>   
-				Window function <sup>W</sup>  
-				Requires GEOS 3.9 or higher<sup>g3.9</sup>  
-				2.5/3D support<sup>3d</sup>  
+				<xsl:value-of select="$cheatsheets_config/para[@role='new_in_release']" />
+					<sup>1</sup>
+				<xsl:value-of select="$cheatsheets_config/para[@role='enhanced_in_release']" />
+					<sup>2</sup>  
+				<xsl:value-of select="$cheatsheets_config/para[@role='aggregate']" />
+					<sup>agg</sup>   
+				<xsl:value-of select="$cheatsheets_config/para[@role='window_function']" />
+					<sup>W</sup>  
+				<xsl:value-of select="$cheatsheets_config/para[@role='requires_geos_3.9_or_higher']" />
+					<sup>g3.9</sup>  
+				<xsl:value-of select="$cheatsheets_config/para[@role='z_support']" />
+					<sup>3d</sup>  
 				SQL-MM<sup>mm</sup>  
-				Supports geography <sup>G</sup>
+				<xsl:value-of select="$cheatsheets_config/para[@role='geography_support']" />
+					<sup>G</sup>
 			</span>
 			<div id="content_functions">
 				<xsl:apply-templates select="/book/chapter[@id='reference']" />

-----------------------------------------------------------------------

Summary of changes:
 doc/po/it_IT/xsl-config.xml.po      | 44 ++++++++++++++++++++++++++++++++++++-
 doc/po/templates/xsl-config.xml.pot | 44 ++++++++++++++++++++++++++++++++++++-
 doc/xsl-config.xml                  | 24 ++++++++++++++++++++
 doc/xsl/common_cheatsheet.xsl       |  1 +
 doc/xsl/postgis_cheatsheet.html.xsl | 21 ++++++++++++------
 5 files changed, 125 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list