You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2023/10/22 11:37:26 UTC
[openoffice-org] branch main updated: Add Ukrainian to language menu, activate soft redirect
This is an automated email from the ASF dual-hosted git repository.
mseidel 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 9f466156ec Add Ukrainian to language menu, activate soft redirect
9f466156ec is described below
commit 9f466156ecf9e29515bdd9f05e24828e7dd3fd83
Author: mseidel <ms...@apache.org>
AuthorDate: Sun Oct 22 13:37:07 2023 +0200
Add Ukrainian to language menu, activate soft redirect
---
assets/download/globalvars.js | 129 +++++++++++++++++++++---------------------
assets/download/languages.js | 2 +-
assets/msg_prop_l10n.js | 43 +++++++-------
3 files changed, 88 insertions(+), 86 deletions(-)
diff --git a/assets/download/globalvars.js b/assets/download/globalvars.js
index cbd2af4950..320d418fc9 100644
--- a/assets/download/globalvars.js
+++ b/assets/download/globalvars.js
@@ -40,73 +40,74 @@ DL.SEL_OS = [ "win32", "Windows 32-bit (x86) (EXE)", ".exe",
"other", "More platforms / operating systems", "" ];
// Data for the <select> element "lang".
-// Value Visible text Tool tip
-DL.SEL_LANG = [ "hy", "Armenian", "Հայերեն",
- "ast", "Asturian", "Asturianu",
- "eu", "Basque", "Euskara",
- "bg", "Bulgarian", "български език",
- "ca", "Catalan", "Català",
- "ca-XV", "Catalan [Valencia AVL]", "València (AVL)",
- "ca-XR", "Catalan [Valencia RACV]", "València (RACV)",
- "zh-CN", "Chinese [simplified]", "简体中文",
- "zh-TW", "Chinese [traditional]", "正體中文",
- "cs", "Czech", "Čeština",
- "da", "Danish", "Dansk",
- "nl", "Dutch", "Nederlands",
- "en-GB", "English [British]", "English [British]",
- "en-US", "English [US]", "English [US]",
- "eo", "Esperanto", "Esperanto",
- "et", "Estonian", "Eesti keeles",
- "fi", "Finnish", "Suomi",
- "fr", "French", "Français",
- "gl", "Galician", "Galego",
- "de", "German", "Deutsch",
- "el", "Greek", "ελληνικά",
- "he", "Hebrew", "עברית",
- "hi", "Hindi", "हिन्दी",
- "hu", "Hungarian", "Magyar",
- "it", "Italian", "Italiano",
- "ja", "Japanese", "日本語",
- "km", "Khmer", "ភាសាខ្មែរ",
- "ko", "Korean", "한국어",
- "lt", "Lithuanian", "Lietuvių",
- "nb", "Norwegian [Bokmal]", "Norsk [Bokmål]",
- "pl", "Polish", "Polski",
- "pt-BR", "Portuguese [Brazilian]", "Português [do Brasil]",
- "pt", "Portuguese [European]", "Português [Europeu]",
- "ro", "Romanian", "Română",
- "ru", "Russian", "Русский",
- "gd", "Scottish [Gaelic]", "Gàidhlig",
- "sr", "Serbian [Cyrillic]", "Cрпски [ћирилицом]",
- "sk", "Slovak", "Slovenský jazyk [slovenčina]",
- "sl", "Slovenian", "Slovenski jezik [slovenščina]",
- "es", "Spanish", "Español",
- "sv", "Swedish", "Svenska",
- "ta", "Tamil", "தமிழ்",
- "th", "Thai", "ภาษาไทย",
- "tr", "Turkish", "Türkçe",
- "vi", "Vietnamese", "Tiếng Việt" ];
+// Value Visible text Tool tip
+DL.SEL_LANG = [ "hy", "Armenian", "Հայերեն",
+ "ast", "Asturian", "Asturianu",
+ "eu", "Basque", "Euskara",
+ "bg", "Bulgarian", "български език",
+ "ca", "Catalan", "Català",
+ "ca-XV", "Catalan [Valencia AVL]", "València (AVL)",
+ "ca-XR", "Catalan [Valencia RACV]", "València (RACV)",
+ "zh-CN", "Chinese [simplified]", "简体中文",
+ "zh-TW", "Chinese [traditional]", "正體中文",
+ "cs", "Czech", "Čeština",
+ "da", "Danish", "Dansk",
+ "nl", "Dutch", "Nederlands",
+ "en-GB", "English [British]", "English [British]",
+ "en-US", "English [US]", "English [US]",
+ "eo", "Esperanto", "Esperanto",
+ "et", "Estonian", "Eesti keeles",
+ "fi", "Finnish", "Suomi",
+ "fr", "French", "Français",
+ "gl", "Galician", "Galego",
+ "de", "German", "Deutsch",
+ "el", "Greek", "ελληνικά",
+ "he", "Hebrew", "עברית",
+ "hi", "Hindi", "हिन्दी",
+ "hu", "Hungarian", "Magyar",
+ "it", "Italian", "Italiano",
+ "ja", "Japanese", "日本語",
+ "km", "Khmer", "ភាសាខ្មែរ",
+ "ko", "Korean", "한국어",
+ "lt", "Lithuanian", "Lietuvių",
+ "nb", "Norwegian [Bokmal]", "Norsk [Bokmål]",
+ "pl", "Polish", "Polski",
+ "pt-BR", "Portuguese [Brazilian]", "Português [do Brasil]",
+ "pt", "Portuguese [European]", "Português [Europeu]",
+ "ro", "Romanian", "Română",
+ "ru", "Russian", "Русский",
+ "gd", "Scottish [Gaelic]", "Gàidhlig",
+ "sr", "Serbian [Cyrillic]", "Cрпски [ћирилицом]",
+ "sk", "Slovak", "Slovenský jazyk [slovenčina]",
+ "sl", "Slovenian", "Slovenski jezik [slovenščina]",
+ "es", "Spanish", "Español",
+ "sv", "Swedish", "Svenska",
+ "ta", "Tamil", "தமிழ்",
+ "th", "Thai", "ภาษาไทย",
+ "uk", "Ukrainian", "Yкраї́нська",
+ "tr", "Turkish", "Türkçe",
+ "vi", "Vietnamese", "Tiếng Việt" ];
// Data for the <select> element "ver".
-// Value Visible text
+// Value Visible text
DL.SEL_VER = [ "4.1.14", "4.1.14",
- "4.1.13", "4.1.13",
- "4.1.12", "4.1.12",
- "4.1.11", "4.1.11",
- "4.1.10", "4.1.10",
- "4.1.9", "4.1.9",
- "4.1.8", "4.1.8",
- "4.1.7", "4.1.7",
- "4.1.6", "4.1.6",
- "4.1.5", "4.1.5",
- "4.1.4", "4.1.4",
- "4.1.3", "4.1.3",
- "4.1.2", "4.1.2",
- "4.1.1", "4.1.1",
- "4.1.0", "4.1.0",
- "4.0.1", "4.0.1",
- "4.0.0", "4.0.0",
- "3.4.1", "3.4.1" ];
+ "4.1.13", "4.1.13",
+ "4.1.12", "4.1.12",
+ "4.1.11", "4.1.11",
+ "4.1.10", "4.1.10",
+ "4.1.9", "4.1.9",
+ "4.1.8", "4.1.8",
+ "4.1.7", "4.1.7",
+ "4.1.6", "4.1.6",
+ "4.1.5", "4.1.5",
+ "4.1.4", "4.1.4",
+ "4.1.3", "4.1.3",
+ "4.1.2", "4.1.2",
+ "4.1.1", "4.1.1",
+ "4.1.0", "4.1.0",
+ "4.0.1", "4.0.1",
+ "4.0.0", "4.0.0",
+ "3.4.1", "3.4.1" ];
// Base URLs to the Sourceforge and Apache mirror server.
DL.SF = "https://sourceforge.net/projects/openofficeorg.mirror/files/";
diff --git a/assets/download/languages.js b/assets/download/languages.js
index 8def1fc7a9..5de3664041 100644
--- a/assets/download/languages.js
+++ b/assets/download/languages.js
@@ -59,6 +59,7 @@ DL.language_matrix = {
"ta": { "-" : [ 'ta', 'Tamil', 'தமிழ்' ] },
"th": { "-" : [ 'th', 'Thai', 'ภาษาไทย' ] },
"tr": { "-" : [ 'tr', 'Turkish', 'Türkçe' ] },
+"uk": { "-" : [ 'uk', 'Ukrainian', 'Yкраї́нська' ] },
"vi": { "-" : [ 'vi', 'Vietnamese', 'Tiếng Việt' ] },
"zh": { "-" : [ 'zh', 'Chinese', 'Chinese' ],
"cn": [ 'zh-CN', 'Chinese (simplified)', '简体中文' ],
@@ -99,7 +100,6 @@ DL.language_matrix = {
"sh": { "-" : [ 'sh', 'Serbian (Latin)', 'Srpski (latinicom)' ] },
"si": { "-" : [ 'si', 'Sinhala', 'සිංහල' ] },
"te": { "-" : [ 'te', 'Telugu', 'తెలుగు' ] },
-"uk": { "-" : [ 'uk', 'Ukrainian', 'Yкраї́нська мо́ва' ] },
"ug": { "-" : [ 'ug', 'Uyghur', 'ئۇيغۇرچە' ] },
"uz": { "-" : [ 'uz', 'Uzbek', 'Ўзбек' ] },
"cy": { "-" : [ 'cy', 'Welsh', 'Cymraeg' ] }
diff --git a/assets/msg_prop_l10n.js b/assets/msg_prop_l10n.js
index a736560441..091b253b17 100644
--- a/assets/msg_prop_l10n.js
+++ b/assets/msg_prop_l10n.js
@@ -3,8 +3,8 @@
*
* Instead of hard coded text in the green box please use these variables and translate it to your favorite language.
*
- * Wrong: "Download Apache OpenOffice"
- * Correct: l10n.index_redirect_text
+ * Wrong: "Download Apache OpenOffice"
+ * Correct: l10n.index_redirect_text
*/
@@ -15,39 +15,39 @@ var l10n = new Object();
// The following variables are used in the "index.html" file:
// Graphic, text and links to show inside the event box.
- // "true" = Show the box, "false" = Do not show.
-l10n.index_event_box_show = false;
- // Logo graphic.
+ // "true" = Show the box, "false" = Do not show.
+l10n.index_event_box_show = false;
+ // Logo graphic.
l10n.index_event_box_graphic_src = "https://blogs.apache.org/foundation/mediaresource/81eec8fa-2848-4405-9ce2-40c16a9f7170";
- // Alternative text for the graphic.
+ // Alternative text for the graphic.
l10n.index_event_box_graphic_alt = "The Apache® Software Foundation Celebrates 20 Years of Community-led Development 'The Apache Way'";
- // Make the graphic clickable with a link.
+ // Make the graphic clickable with a link.
l10n.index_event_box_graphic_href = "https://blogs.apache.org/foundation/entry/the-apache-software-foundation-celebrates1";
- // The height in pixel of the graphic. Leave empty to use the height of the original graphic.
+ // The height in pixel of the graphic. Leave empty to use the height of the original graphic.
l10n.index_event_box_graphic_height = "175";
- // The width in pixel of the graphic. Leave empty to use the width of the original graphic.
+ // The width in pixel of the graphic. Leave empty to use the width of the original graphic.
l10n.index_event_box_graphic_width = "375";
- // Mouse over text for the graphic.
+ // Mouse over text for the graphic.
l10n.index_event_box_graphic_title = "";
- // Make the whole box clickable with a link.
+ // Make the whole box clickable with a link.
l10n.index_event_box_text_href = "https://blogs.apache.org/foundation/entry/the-apache-software-foundation-celebrates1";
- // Maximum 630 characters.
+ // Maximum 630 characters.
l10n.index_event_box_text_text = "<b>The Apache® Software Foundation Celebrates 20 Years of Community-led Development 'The Apache Way'</b><br /><br />World's largest Open Source foundation provides $20B+ worth of software for the public good at 100% no cost; Apache software used in every Internet-connected country on the planet.<br /><br /><b>Wakefield, MA —26 March 2019— </b> The Apache Software Foundation (ASF), the all-volunteer developers, stewards, and incubators of more than 350 [...]
- // Mouse over text for the text.
+ // Mouse over text for the text.
l10n.index_event_box_text_title = "The Apache® Software Foundation Celebrates 20 Years of Community-led Development 'The Apache Way'";
// Text and link to show inside the alert box.
- // "true" = Show the box, "false" = Do not show.
-l10n.index_alert_box_show = false;
- // Make the whole box clickable with a link.
-l10n.index_alert_box_href = "https://www.google.com";
- // Maximum 49 characters.
+ // "true" = Show the box, "false" = Do not show.
+l10n.index_alert_box_show = false;
+ // Make the whole box clickable with a link.
+l10n.index_alert_box_href = "https://www.google.com";
+ // Maximum 49 characters.
l10n.index_alert_box_headline_text = "Headline text with max. 49 characters";
- // Mover over text for the headline.
+ // Mover over text for the headline.
l10n.index_alert_box_headline_title = "Mover over title text for the headline.";
- // Maximum 630 characters.
+ // Maximum 630 characters.
l10n.index_alert_box_text_text = "Text with max. 630 characters. <br /><br /> Use this alert box to announce any important messages or problems. <br /><br /> This whole alert box can be linked with an URL to point the user to more information or to a solution. But the link can also be left out. Then the box is not clickable.";
- // Mouse over text for the text.
+ // Mouse over text for the text.
l10n.index_alert_box_text_title = "Mouse over title text for the text.";
// Flag how to redirect and if text should be displayed.
@@ -98,5 +98,6 @@ l10n.index_redirect_text = [ /* hy */ "soft", "Այս կայքը հասանե
/* ta */ "none", "This site is also available in <b>தமிழ் (ta)</b>. Just click this text to get redirected.",
/* th */ "none", "This site is also available in <b>ภาษาไทย (th)</b>. Just click this text to get redirected.",
/* tr */ "soft", "Bu site ayrıca <b>Türkçe (tr)</b> olarak mevcuttur. Yeniden yönlendirilmek için sadece bu metine tıklayın.",
+ /* uk */ "soft", "This site is also available in <b>Ukrainian (uk)</b>. Just click this text to get redirected.",
/* vi */ "none", "This site is also available in <b>Tiếng Việt (vi)</b>. Just click this text to get redirected." ];