This is an automated email from the ASF dual-hosted git repository.

marcus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-org.git


The following commit(s) were added to refs/heads/main by this push:
     new b870537  Reworked the entries for 'brand.html' to use the general 
English text when no translation is available, to lower the effort for updating 
the website for new releases
b870537 is described below

commit b870537b21d465b27d692e7cd7ebb67867349e8d
Author: Marcus <[email protected]>
AuthorDate: Tue May 4 19:37:04 2021 +0200

    Reworked the entries for 'brand.html' to use the general English text when 
no translation is available, to lower the effort for updating the website for 
new releases
---
 templates/ssi_paths.gsp | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/templates/ssi_paths.gsp b/templates/ssi_paths.gsp
index 819a499..9a2b2da 100644
--- a/templates/ssi_paths.gsp
+++ b/templates/ssi_paths.gsp
@@ -5,12 +5,19 @@
   content.leftnav=null;
   content.rightnav=null;
 
+// As long as we have no translation for a specific language, we will use the 
general English text to keep the website updates as low as possible for new 
releases.
+// Therefore some of the following languages are commented out and in the next 
line the general "brand.html" will be used.
+
   def brand = [:]
        brand["/"] = "/brand.html"
-       brand["/af/"] = "/af/brand.html"
-       brand["/am/"] = "/am/brand.html"
-       brand["/ar/"] = "/ar/brand.html"
-       brand["/ast/"] = "/ast/brand.html"
+//     brand["/af/"] = "/af/brand.html"
+       brand["/af/"] = "/brand.html"
+//     brand["/am/"] = "/am/brand.html"
+       brand["/am/"] = "/brand.html"
+//     brand["/ar/"] = "/ar/brand.html"
+       brand["/ar/"] = "/brand.html"
+//     brand["/ast/"] = "/ast/brand.html"
+       brand["/ast/"] = "/brand.html"
        brand["/bg/"] = "/bg/brand.html"
        brand["/ca/"] = "/ca/brand.html"
        brand["/cs/"] = "/cs/brand.html"

Reply via email to