You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2014/03/29 12:45:15 UTC

svn commit: r904146 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/tr/download/index.html

Author: buildbot
Date: Sat Mar 29 11:45:14 2014
New Revision: 904146

Log:
Staging update by buildbot for ooo-site

Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)
    websites/staging/ooo-site/trunk/content/tr/download/index.html

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Mar 29 11:45:14 2014
@@ -1 +1 @@
-1582567
+1582991

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Mar 29 11:45:14 2014
@@ -1 +1 @@
-1582567
+1582991

Modified: websites/staging/ooo-site/trunk/content/tr/download/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/tr/download/index.html (original)
+++ websites/staging/ooo-site/trunk/content/tr/download/index.html Sat Mar 29 11:45:14 2014
@@ -57,6 +57,10 @@
     
     
     
+	
+<!-- The text in the H1 tag is intentionally shown as not displayable, just to please accessibility tools like a
+screen reader. -->
+<h1 style="display: none;">Apache OpenOffice Ä°ndirme</h1>
 
 <div class="optionset">
 
@@ -65,21 +69,21 @@
   <!--
   // Set a specific language ISO code to force to assemble a certain localized build as download URL
   var NL_LANGUAGE = "tr";
-  // Get the download URL
-  var LINK        = getLink();
-
+  // Get the download URL for released install files (0 = release mode)
+  var LINK        = getLink( 0 );
   if ( hasMirrorLink() ) {
-    if ( LINK.toLowerCase().indexOf( "sourceforge" ) != -1 ) {
-      // Download directly from a mirror with displayed platform and language.
+    if ( SOURCEFORGE ) {
+      // If download URL contains "sourceforge" (-> normal and correct download link),
+      // then download from Sourceforge with displayed platform and language.
       document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
       + LINK + "');" + "return false;\">" );
       document.write( "<h2><a href='" + LINK + "' title='Sürüm " + VERSION + " | Aşama " + MILESTONE
-      + " | Yapım ID " + BUILD + " | SVN " + SVN_REV + " | Tarih " + DATE + "'>"
+      + " | Yapım ID " + BUILD + " | SVN " + SVN_REV + " | Tarih " + REL_DATE + "'>"
 	  + "Apache OpenOffice " + VERSION + " Sürümünü İndirin</a></h2>"
       + "<p><a href='" + LINK + "' title='Sürüm " + VERSION + " | Aşama " + MILESTONE + " | Yapım ID " + BUILD
-      + " | SVN " + SVN_REV + " | Tarih " + DATE + "'>En son sürüm için buraya tıklayın:<br />"
-      + "<b>" + UI_PLATFORM + "</b> ve <b>" + LANG_ARRAY[ 2 ] + "</b> için | ~" + FILESIZE + " MBayt | Yayımlanma: "
-      + DATE + "<br /></a></p>" );
+      + " | SVN " + SVN_REV + " | Tarih " + REL_DATE + "'>En son sürüm için buraya tıklayın:<br />"
+      + "<b>" + UI_PLATFORM + "</b> ve <b>" + LANG_ARRAY[ 2 ] + "</b> için | ~" + FILESIZE + "&nbsp;MBayt | Yayımlanma:&nbsp;"
+      + REL_DATE + "<br /></a></p>" );
     } else {
       // OS and/or package manager was not recognized, therefore use "other.html" as download link.
       document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
@@ -91,17 +95,16 @@
       + "seçin.</a></p>" );
     }
   } else {
-    // Download from an alternative webpage if hasMirrorLink() == false.
+    // If browser language do not match with AOO languages, then download from an alternative webpage.
     document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
-    + LANG_ARRAY[ 4 ] + "');" + "return false;\">" );
-    document.write( "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>"
+    + LINK + "');" + "return false;\">"
+    + "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>"
     + "Apache OpenOffice'i Ä°ndirin</a></h2>"
     + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'><b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> "
     + "için Apache OpenOffice " + VERSION + " mevcut değil. Lütfen alternatif " + LANG_ARRAY[ 1 ] + " indirme web sayfasından "
-    + "başka bir yapımı seçin.</a></p>" );
+    + "başka bir yapımı seçin.</a></p>"
+	+ "</div>" );
   }
-  document.write( "</div>" );
-
   // Show some helpful links for SDK, source, checksums, release notes, legacy version.
   document.write( "<div class=\"sub-green\">" );
   document.write( "<p>" );