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

svn commit: r1582992 - /openoffice/ooo-site/trunk/content/tr/download/index.html

Author: bourock
Date: Sat Mar 29 12:06:25 2014
New Revision: 1582992

URL: http://svn.apache.org/r1582992
Log:
Code update 2

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

Modified: openoffice/ooo-site/trunk/content/tr/download/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/tr/download/index.html?rev=1582992&r1=1582991&r2=1582992&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/tr/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/tr/download/index.html Sat Mar 29 12:06:25 2014
@@ -60,23 +60,37 @@ screen reader. -->
       // 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
+      + LINK + "');" + "return false;\">"
+      + "<h2><a href='" + LINK + "' title='Sürüm " + VERSION + " | Aşama " + MILESTONE
       + " | 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 " + 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.
+      + REL_DATE + "<br /></a></p>"
+	+ "</div>" );
+    } else if ( OTHER ) {
+      // If download URL contains "other" (-> platform, OS or package manager was not recognized),
+      // then use "other.html" as download link.
       document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
-      + LINK + "');" + "return false;\">" );
-      document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+      + LINK + "');" + "return false;\">"
+      + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
       + "Apache OpenOffice'i Ä°ndirin</a></h2>"
-      + "<p><a href='" + LINK + "' title='" + LINK + "'><b>" + UI_PLATFORM + "</b> "
-      + "için Apache OpenOffice " + VERSION + " mevcut değil. Lütfen alternatif indirme web sayfasından başka bir platform yapımını "
-      + "seçin.</a></p>" );
+      + "<p><a href='" + LINK + "' title='" + LINK + "'><b>" + UI_PLATFORM + "</b> ve <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> "
+      + "için Apache OpenOffice " + VERSION + " mevcut değil. Lütfen alternatif indirme web sayfasından başka bir platform "
+      + "yapımını seçin.</a></p>"
+	+ "</div>" );
+    } else if ( ARCHIVE ) {
+      // If download URL contains "archive" (-> platform/OS is no longer supported),
+      // then provide a download link to the previous version.
+      document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
+        + LINK + "');" + "return false;\">"
+        + "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+        + "Download Apache OpenOffice</a></h2>"
+        + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " + VERSION + " for "
+        + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not available. "
+        + "Click here for the previous version " + PRE_VERSION + ".</a></p>"
+      + "</div>" );
     }
   } else {
     // If browser language do not match with AOO languages, then download from an alternative webpage.
@@ -100,6 +114,9 @@ screen reader. -->
     + "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 adreslemesi'>SHA256</a> , "
     + "<a href='/download/checksums.html' title='Sağlamalar ile indirmeyi nasıl doğrularsınız?'>Nasıl doğrularsınız?</a> | " );
   }
+  if ( ARCHIVE ) {
+    VERSION = PRE_VERSION;
+  }	  
   document.write( "<a href='https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.0.1+Release+Notes'"
   + "title='Neler yeni, Apache OpenOffice " + VERSION + " içinde neler geliştirildi?'><b>Yayım Notları</b></a> | <br />"
   + "<a href='/download/other.html' title='Tüm platformları, dilleri, dil paketlerini indirerek alın'>"
@@ -112,9 +129,8 @@ screen reader. -->
   + "Eski ve geçmiş sürüm: <a href='/download/other-341.html' title='Apache OpenOffice "
   + OLDVERSION + " eski sürümünü alın'><b>" + OLDVERSION + "</b></a> + "
   + "<a href='/download/legacy/index.html' title='OpenOffice.org "
-  + LEGACYVERSION + " geçmiş sürümünü alın'><b>" + LEGACYVERSION + "</b></a>" );
-  document.write( "</div>" );
-
+  + LEGACYVERSION + " geçmiş sürümünü alın'><b>" + LEGACYVERSION + "</b></a>"
+  + "</div>" );
   entourage.initialize();
   //-->
   </script>