You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/07/12 18:35:25 UTC

svn commit: r1609979 - /openoffice/ooo-site/trunk/content/eu-test/download/index.html

Author: marcus
Date: Sat Jul 12 16:35:24 2014
New Revision: 1609979

URL: http://svn.apache.org/r1609979
Log:
Updated variable and functions to use them as its object properties

Modified:
    openoffice/ooo-site/trunk/content/eu-test/download/index.html

Modified: openoffice/ooo-site/trunk/content/eu-test/download/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/eu-test/download/index.html?rev=1609979&r1=1609978&r2=1609979&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/eu-test/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/eu-test/download/index.html Sat Jul 12 16:35:24 2014
@@ -53,7 +53,7 @@
   <!--
   // The text in the H1 tag is intentionally shown as "display: none" (do not display).
   // This is to please accessibility tools like a screen reader.
-  document.write( "<h1 style='display: none;'>" + l10n_download_headline_text + "</h1>" );
+  document.write( "<h1 style='display: none;'>" + l10n.dl_headline_text + "</h1>" );
   //-->
   </script>
 
@@ -66,10 +66,10 @@
   // Changed: The variable can now be found in the "msg_prop_l10n_<ISO_code>.js".
 
   // Get the download box from a separate file.
-  createDownloadBox();
+  DL.createDownloadBox();
 
   // Fill the select boxes and wait for the user's choice.
-  init( 1 );
+  DL.init( 1 );
 
   entourage.initialize();
 
@@ -98,28 +98,28 @@
   <!--
   document.write( "<div class='button lightblue' id='optionitem4'>"
     + "<h2>"
-      + "<a style='cursor: default;' title='" + l10n_share_light_blue_box_headline_title + "'>"
-        + l10n_share_light_blue_box_headline_text
+      + "<a style='cursor: default;' title='" + l10n.dl_share_light_blue_box_headline_title + "'>"
+        + l10n.dl_share_light_blue_box_headline_text
       + "</a>"
     + "</h2>"
     + "<p style='cursor: default;' id='ShareDownloadLinks'>"
-      + "<a style='cursor: default;' title='" + l10n_share_light_blue_box_text_title + "'>"
-        + l10n_share_light_blue_box_text_text
+      + "<a style='cursor: default;' title='" + l10n.dl_share_light_blue_box_text_title + "'>"
+        + l10n.dl_share_light_blue_box_text_text
       + "</a>"
       + "<a style='display: inline; padding: 0 5px 0 30px;' href='javascript:shareFacebook()'"
-        + "title='" + l10n_share_light_blue_box_facebook_title + "'>"
+        + "title='" + l10n.dl_share_light_blue_box_facebook_title + "'>"
         + "<img src='http://www.openoffice.org/images/logo-facebook-32.png' alt='"
-        + l10n_share_light_blue_box_facebook_alt + "' />"
+        + l10n.dl_share_light_blue_box_facebook_alt + "' />"
       + "</a>"
       + "<a style='display: inline; padding: 0 5px;' href='javascript:shareTwitter()'"
-        + "title='" + l10n_share_light_blue_box_twitter_title + "'>"
+        + "title='" + l10n.dl_share_light_blue_box_twitter_title + "'>"
         + "<img src='http://www.openoffice.org/images/logo-twitter-32.png' alt='"
-        + l10n_share_light_blue_box_twitter_alt + "' />"
+        + l10n.dl_share_light_blue_box_twitter_alt + "' />"
       + "</a>"
       + "<a style='display: inline; padding: 0 5px;' href='javascript:shareGooglePlus()'"
-        + "title='" + l10n_share_light_blue_box_googleplus_title + "'>"
+        + "title='" + l10n.dl_share_light_blue_box_googleplus_title + "'>"
         + "<img src='http://www.openoffice.org/images/logo-googleplus-32.png' alt='"
-        + l10n_share_light_blue_box_googleplus_alt + "' />"
+        + l10n.dl_share_light_blue_box_googleplus_alt + "' />"
       + "</a>"
     + "</p>"
   + "</div>" );
@@ -132,13 +132,13 @@
   document.write( "<div class='button blue' id='optionitem5' "
     + "onclick='openItem('optionitem5','http://extensions.openoffice.org'); return false;'>"
     + "<h2>"
-      + "<a href='http://extensions.openoffice.org' title='" + l10n_ext_blue_box_headline_title + "'>"
-        + l10n_ext_blue_box_headline_text
+      + "<a href='http://extensions.openoffice.org' title='" + l10n.dl_ext_blue_box_headline_title + "'>"
+        + l10n.dl_ext_blue_box_headline_text
       + "</a>"
     + "</h2>"
     + "<p>"
-      + "<a href='http://extensions.openoffice.org' title='" + l10n_ext_blue_box_text_title + "'>"
-        + l10n_ext_blue_box_text_text
+      + "<a href='http://extensions.openoffice.org' title='" + l10n.dl_ext_blue_box_text_title + "'>"
+        + l10n.dl_ext_blue_box_text_text
       + "</a>"
     + "</p>"
   + "</div>" );
@@ -151,13 +151,13 @@
   document.write( "<div class='button blue' id='optionitem6' "
     + "onclick='openItem('optionitem6','http://templates.openoffice.org'); return false;'>"
     + "<h2>"
-      + "<a href='http://templates.openoffice.org' title='" + l10n_tlp_blue_box_headline_title + "'>"
-        + l10n_tlp_blue_box_headline_text
+      + "<a href='http://templates.openoffice.org' title='" + l10n.dl_tlp_blue_box_headline_title + "'>"
+        + l10n.dl_tlp_blue_box_headline_text
       + "</a>"
     + "</h2>"
     + "<p>"
-      + "<a href='http://templates.openoffice.org' title='" + l10n_tlp_blue_box_text_title + "'>"
-        + l10n_tlp_blue_box_text_text
+      + "<a href='http://templates.openoffice.org' title='" + l10n.dl_tlp_blue_box_text_title + "'>"
+        + l10n.dl_tlp_blue_box_text_text
       + "</a>"
     + "</p>"
   + "</div>" );
@@ -169,65 +169,65 @@
 
   <script type="text/javascript">
   <!--
-  document.write( "<h3>" + l10n_nav_headline_1_text + "</h3>"
+  document.write( "<h3>" + l10n.dl_nav_headline_1_text + "</h3>"
   + "<ul>"
     + "<li><a href='http://www.openoffice.org/dev_docs/source/sys_reqs_aoo40.html'"
-    + "title='" + l10n_nav_sysreq_title + "'>" + l10n_nav_sysreq_text + "</a></li>"
+    + "title='" + l10n.dl_nav_sysreq_title + "'>" + l10n.dl_nav_sysreq_text + "</a></li>"
     + "<li><a href='../../license.html'"
-    + "title='" + l10n_nav_license_title + "'>" + l10n_nav_license_text + "</a></li>"
+    + "title='" + l10n.dl_nav_license_title + "'>" + l10n.dl_nav_license_text + "</a></li>"
     + "<li><a href='http://openoffice.apache.org/downloads.html'"
-    + "title='" + l10n_nav_source_title + "'>" + l10n_nav_source_text + "</a>"
+    + "title='" + l10n.dl_nav_source_title + "'>" + l10n.dl_nav_source_text + "</a>"
     + "<li><a href='http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO'"
-    + "title='" + l10n_nav_build_title + "'>" + l10n_nav_build_text + "</a></li>"
+    + "title='" + l10n.dl_nav_build_title + "'>" + l10n.dl_nav_build_text + "</a></li>"
     + "<li><a href='http://openoffice.apache.org/downloads.html'"
-    + "title='" + l10n_nav_sdk_title + "'>" + l10n_nav_sdk_text + "</a></li>"
+    + "title='" + l10n.dl_nav_sdk_title + "'>" + l10n.dl_nav_sdk_text + "</a></li>"
     + "<li><a href='http://www.openoffice.org/download/devbuilds.html'"
-    + "title='" + l10n_nav_devbuilds_title + "'>" + l10n_nav_devbuilds_text + "</a></li>"
+    + "title='" + l10n.dl_nav_devbuilds_title + "'>" + l10n.dl_nav_devbuilds_text + "</a></li>"
   + "</ul>"
 
-  + "<h3>" + l10n_nav_headline_2_text + "</h3>"
+  + "<h3>" + l10n.dl_nav_headline_2_text + "</h3>"
   + "<ul>"
     + "<li><a href='http://cwiki.apache.org/confluence/display/OOOUSERS/Releases'"
-    + "title='" + l10n_nav_schedule_title + "'>" + l10n_nav_schedule_text + "</a></li>"
+    + "title='" + l10n.dl_nav_schedule_title + "'>" + l10n.dl_nav_schedule_text + "</a></li>"
     + "<li><a href='http://wiki.services.openoffice.org/wiki/Product_Release'"
-    + "title='" + l10n_nav_hist_schedule_title + "'>" + l10n_nav_hist_schedule_text + "</a></li>"
+    + "title='" + l10n.dl_nav_hist_schedule_title + "'>" + l10n.dl_nav_hist_schedule_text + "</a></li>"
     + "<li><a href='http://www.openoffice.org/download/common/instructions.html'"
-    + "title='" + l10n_nav_inst_guide_title + "'>" + l10n_nav_inst_guide_text + "</a></li>"
+    + "title='" + l10n.dl_nav_inst_guide_title + "'>" + l10n.dl_nav_inst_guide_text + "</a></li>"
     + "<li><a href='http://www.openoffice.org/documentation/index.html'"
-    + "title='" + l10n_nav_user_guide_title + "'>" + l10n_nav_user_guide_text + "</a></li>"
+    + "title='" + l10n.dl_nav_user_guide_title + "'>" + l10n.dl_nav_user_guide_text + "</a></li>"
     + "<li><a href='http://www.openoffice.org/download/common/java.html'"
-    + "title='" + l10n_nav_why_java_title + "'>" + l10n_nav_why_java_text + "</a></li>"
+    + "title='" + l10n.dl_nav_why_java_title + "'>" + l10n.dl_nav_why_java_text + "</a></li>"
     + "<li><a href='http://www.openoffice.org/development/releases/eol.html'"
-    + "title='" + l10n_nav_eol_title + "'>" + l10n_nav_eol_text + "</a></li>"
+    + "title='" + l10n.dl_nav_eol_title + "'>" + l10n.dl_nav_eol_text + "</a></li>"
   + "</ul>"
 
-  + "<h3>" + l10n_nav_headline_3_text + "</h3>"
+  + "<h3>" + l10n.dl_nav_headline_3_text + "</h3>"
   + "<ul>"
     + "<li><a href='http://www.openoffice.org/support/index.html'"
-    + "title='" + l10n_nav_support_title + "'>" + l10n_nav_support_text + "</a></li>"
+    + "title='" + l10n.dl_nav_support_title + "'>" + l10n.dl_nav_support_text + "</a></li>"
     + "<li><a href='http://openoffice.apache.org/native-lang.html'"
-    + "title='" + l10n_nav_local_title + "'>" + l10n_nav_local_text + "</a></li>"
+    + "title='" + l10n.dl_nav_local_title + "'>" + l10n.dl_nav_local_text + "</a></li>"
     + "<li><a href='http://www.openoffice.org/stats/index.html'"
-    + "title='" + l10n_nav_stat_title + "'>" + l10n_nav_stat_text + "</a></li>"
+    + "title='" + l10n.dl_nav_stat_title + "'>" + l10n.dl_nav_stat_text + "</a></li>"
     + "<li><a href='http://sourceforge.net/projects/openofficeorg.mirror/files/'"
-    + "title='" + l10n_nav_mirrors1_title + "'>" + l10n_nav_mirrors1_text + "</a><br /></li>"
+    + "title='" + l10n.dl_nav_mirrors1_title + "'>" + l10n.dl_nav_mirrors1_text + "</a><br /></li>"
     + "<li><a href='http://www.apache.org/dyn/aoo-closer.cgi/openoffice/'"
-    + "title='" + l10n_nav_mirrors2_title + "'>" + l10n_nav_mirrors2_text + "</a><br /></li>"
+    + "title='" + l10n.dl_nav_mirrors2_title + "'>" + l10n.dl_nav_mirrors2_text + "</a><br /></li>"
     + "<li><a href='http://www.openoffice.org/porting/index.html'"
-    + "title='" + l10n_nav_porting_title + "'>" + l10n_nav_porting_text + "</a><br /></li>"
+    + "title='" + l10n.dl_nav_porting_title + "'>" + l10n.dl_nav_porting_text + "</a><br /></li>"
     + "<li><a href='http://www.openoffice.org/download/archive.html'"
-    + "title='" + l10n_nav_archive_title + "'>" + l10n_nav_archive_text + "</a><br /></li>"
+    + "title='" + l10n.dl_nav_archive_title + "'>" + l10n.dl_nav_archive_text + "</a><br /></li>"
   + "</ul>"
 
   + "<div id='SupportedAndSupporters'>"
     + "<p>&nbsp;</p>"
-    + "<a href='http://www.sourceforge.net' title='" + l10n_img_sourceforge_title + "'>"
+    + "<a href='http://www.sourceforge.net' title='" + l10n.dl_img_sourceforge_title + "'>"
       + "<img src='http://www.openoffice.org/images/sourceforge.png' width='160' height='34' alt='"
-      + l10n_img_sourceforge_alt + "' />"
+      + l10n.dl_img_sourceforge_alt + "' />"
     + "</a>"
     + "<br /><br />"
-    + "<a href='http://validator.w3.org/check?uri=referer' target='_blank' title='" + l10n_img_w3c_title + "'>"
-      + "<img src='http://www.openoffice.org/images/valid-xhtml10-blue.png' alt='" + l10n_img_w3c_alt + "' />"
+    + "<a href='http://validator.w3.org/check?uri=referer' target='_blank' title='" + l10n.dl_img_w3c_title + "'>"
+      + "<img src='http://www.openoffice.org/images/valid-xhtml10-blue.png' alt='" + l10n.dl_img_w3c_alt + "' />"
     + "</a>"
   + "</div>" );
   //-->