Author: buildbot
Date: Thu Nov 5 21:13:31 2015
New Revision: 971486
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/zh-tw/index.html
Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Nov 5 21:13:31 2015
@@ -1 +1 @@
-1712841
+1712867
Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Nov 5 21:13:31 2015
@@ -1 +1 @@
-1712841
+1712867
Modified: websites/staging/ooo-site/trunk/content/zh-tw/index.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/zh-tw/index.html (original)
+++ websites/staging/ooo-site/trunk/content/zh-tw/index.html Thu Nov 5
21:13:31 2015
@@ -23,60 +23,179 @@
function follow( platform ) {
_gaq.push( ['_trackEvent', 'social', 'followUs', platform] );
- if ( platform == 'ApacheBlog' )
+ if ( platform == 'ApacheBlog' ) {
window.open( "https://blogs.apache.org/OOo/", "_blank" );
- else if ( platform == 'Facebook' )
+ } else if ( platform == 'Facebook' ) {
window.open( "https://www.facebook.com/ApacheOO", "_blank" );
- else if ( platform == 'Twitter' )
+ } else if ( platform == 'Twitter' ) {
window.open( "https://twitter.com/ApacheOO", "_blank" );
- else if ( platform == 'GooglePlus' )
+ } else if ( platform == 'GooglePlus' ) {
window.open( "https://plus.google.com/+openoffice", "_blank" );
+ }
}
- function showAlertbox( show ) {
- // More see "http://html-color-codes.info/"
- var l10n_alert_box_background_color = "#F5A9A9";
- // Make the whole alert box clickable with a link.
- var l10n_alert_box_href =
"http://openoffice.apache.org/translate.html";
- // Maximum 49 characters.
- var l10n_alert_box_headline_text = "We need your help to complete
translation into Chinese (Traditional)!";
- // Maximum 630 characters.
- var l10n_alert_box_text_text = "This note is in English because
we have no one to translate this webpage and others into your language. The
links on the page will help you download and install Apache OpenOffice with
Chinese (Traditional) translation. But we still need help with this website.
<br /><br /> If you are interested in helping translate, please click this text
to review the information. You can send a note to our mailing list
\"[email protected]\" if you want to volunteer or if you have
questions.";
-
- // Show alert box or not?
- if( show ) {
- // If no background color value was set then use the default value.
- if( ! l10n_alert_box_background_color )
- var l10n_alert_box_background_color = "#FFD9A7";
-
- // Show alert box with defined background color.
- // Depending if link is available, make the whole DIV clickable or
not.
- if( l10n_alert_box_href ) {
- // Show the text with link and cursor as poiner.
- document.write( "<div id='alert_box' style='background: " +
l10n_alert_box_background_color
- + "; ' onclick='window.open(\"" + l10n_alert_box_href + "\",
\"_blank\"); return false;'>" );
-
- // Show headline.
- document.write( "<h2 style='cursor: pointer;'>" +
l10n_alert_box_headline_text + "</h2>" );
-
- // Show text.
- if( l10n_alert_box_text_text )
- document.write( "<p style='cursor: pointer;'>" +
l10n_alert_box_text_text + "</p>" );
-
- } else {
- // Show the text without link and normal cursor.
- document.write( "<div id='alert_box' style='background: " +
l10n_alert_box_background_color + "'>" );
-
- // Show headline.
- document.write( "<h2 style='cursor: default;'>" +
l10n_alert_box_headline_text + "</h2>" );
-
- // Shoe text.
- if( l10n_alert_box_text_text )
- document.write( "<p style='cursor: default;'>" +
l10n_alert_box_text_text + "</p>" );
- }
+ function showEventBox() {
+ // The text is defined in "/msg_prop_l10n.js".
- document.write( "</div>" ); // Alert box
- }
+ // Show the event box or not?
+ if( l10n.index_event_box_show ) {
+ // Show the banner logo and text with link and cursor as poiner.
+ document.write( "<div id='event_box' onclick='window.open( \""
+ l10n.index_event_box_text_href
+ + "\", \"_blank\" ); return false;'>"
+ + "<ul>"
+ + "<li>"
+ // Event banner logo on the left hand side.
+ + "<p style='float: left;'>"
+ + "<a href='" + l10n.index_event_box_graphic_href
+ + "' title='" +
l10n.index_event_box_graphic_title + "' target='_blank'>"
+ + "<img src='" +
l10n.index_event_box_graphic_src + "'"
+ + "alt='" + l10n.index_event_box_graphic_alt
+ "'"
+ + "height='" +
l10n.index_event_box_graphic_height + "'"
+ + "width='" +
l10n.index_event_box_graphic_width + "' />"
+ + "</a>"
+ + "</p>"
+
+ // Event text on the right hand side.
+ + "<p>"
+ + "<a style='color: black; text-decoration:
none;'"
+ + "' title='" + l10n.index_event_box_text_title
+ "' target='_blank'>"
+ + l10n.index_event_box_text_text
+ + "</a>"
+ + "</p>"
+ + "</li>"
+ + "</ul>"
+ + "</div>" );
+ }
+ }
+
+ function showAlertBox() {
+ // The text is defined in "/msg_prop_l10n.js".
+
+ // Show the alert box or not?
+ if( l10n.index_alert_box_show ) {
+ // Depending if link is available, make the whole DIV clickable
or not.
+ if( l10n.index_alert_box_href ) {
+ // Show the text with link and cursor as poiner.
+ document.write( "<div id='alert_box'
onclick='window.open( \"" + l10n.index_alert_box_href
+ + "\", \"_blank\" ); return false;'><ul><li>" );
+
+ // Show headline.
+ document.write( "<h2 style='cursor: pointer;'>"
+ + l10n.index_alert_box_headline_text + "</h2>" );
+
+ // Show text.
+ if( l10n.index_alert_box_text_text ) {
+ document.write( "<p style='cursor: pointer;'>"
+ + l10n.index_alert_box_text_text + "</p>" );
+ }
+ } else {
+ // Show the text without link and normal cursor.
+ document.write( "<div id='alert_box'><ul><li>" );
+
+ // Show headline.
+ document.write( "<h2 style='cursor: default;'>"
+ + l10n.index_alert_box_headline_text + "</h2>" );
+
+ // Show text.
+ if( l10n.index_alert_box_text_text ) {
+ document.write( "<p style='cursor: default;'>"
+ + l10n.index_alert_box_text_text + "</p>" );
+ }
+ }
+ document.write( "</li></ul></div>" ); // Alert box.
+ }
+ }
+
+ function setRedirect() {
+ // The text is defined in "/msg_prop_l10n.js".
+ DL.NL_LANG = ""; // Set to empty
as both variables ...
+ DL.LANG_SEL = ""; // ... must not
be used in following function.
+ var lang_iso = DL.getLanguage(); // Get the
language ISO code from browser guessed data.
+ var lang_mode = ""; // Customized
redirect mode.
+ var lang_text = ""; // Customized
message text that can be shown.
+ var link = ""; // Override
redirect mode.
+
+ // Add ECMA262-5 Array methods if not supported natively.
+ // To workaround that MSIE 8 and older do not support this function.
+ if( !( 'indexOf' in Array.prototype ) ) {
+ Array.prototype.indexOf= function( find, i ) { // 'i' is an
optional parameter.
+ if( i === undefined ) {
+ i = 0;
+ }
+ if( i < 0 ) {
+ i+= this.length;
+ }
+ if( i < 0 ) {
+ i = 0;
+ }
+ for( var n = this.length; i < n; i++ ) {
+ if( i in this && this[ i ] === find ) {
+ return i;
+ }
+ }
+ return -1;
+ };
+ }
+
+ // Fix for Portuguese (European) as they are named only "pt" without
region code!
+ if( lang_iso === "pt-pt" || lang_iso === "pt-PT" ) {
+ lang_iso = "pt";
+ }
+
+ // Query if the browser language is one of the released languages.
+ // The array has 3 elements per language (defined in
"/download/globalvars.js"
+ for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 3 ) {
+ // If the ISO code is found in the language array.
+ if( DL.SEL_LANG[ i ] === lang_iso ) {
+ // Query for the redirect method (defined in "/msg_prop_l10n.js",
column 0).
+ lang_mode = l10n.index_redirect_text[ i / 3 * 2 ];
+ lang_text = l10n.index_redirect_text[ i / 3 * 2 + 1 ];
+ break;
+ }
+ }
+
+ // Convert the browser URL into a string.
+ link = String( document.location );
+
+ // Does the browser URL contain already a redirect mode?
+ // If yes, set the new redirect mode to override the customized mode.
+ if( link.indexOf( "hard" ) !== -1 ) {
+ lang_mode = "hard";
+ } else if( link.indexOf( "soft" ) !== -1 ) {
+ lang_mode = "soft";
+ } else if( link.indexOf( "none" ) !== -1 ) {
+ lang_mode = "none";
+ }
+
+ // Fix for English as main language for the website, it does not need a
language code.
+ if( lang_iso === "en-us" || lang_iso === "en-gb" || lang_iso ===
"en-uk" || lang_iso === "en" ||
+ lang_iso === "en-US" || lang_iso === "en-GB" || lang_iso ===
"en-UK" ) {
+ lang_iso = "";
+ }
+
+ switch( lang_mode ) {
+ case "hard":
+ // Do not show a message, just redirect.
+ window.open( "http://www.openoffice.org/" + lang_iso ,
"_self" );
+ break;
+ case "soft":
+ // Show a message and redirect only on user's click.
+ // Assign the message text that is defined in:
+ // "/msg_prop_l10n.js", array
"l10n.index_redirect_text", column 1),
+ document.write( "<div id='redirect_box'"
+ + " onclick='window.open( \"http://www.openoffice.org/"
+ lang_iso + "\", \"_self\" );"
+ + "return false;'>"
+ + "<ul><li>"
+ + "<p>" + lang_text + "</p>"
+ + "</li></ul>"
+ + "</div>" ); // Redirect box.
+ break;
+ case "none":
+ default:
+ // Do nothing and show nothing.
+ }
+
+ return;
}
</script>
@@ -97,18 +216,28 @@
-<!-- The text in the H1 tag is intentionally shown as not displayable, just to
please accessibility tools like a
-screen reader.
--->
+<!-- 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. -->
<h1 style="display: none;">Apache OpenOffice</h1>
<div id="actionstatements">
<script type="text/javascript">
<!--
+ // Show event box.
+ // Show a banner logo and message of the event.
+ // In "/msg_prop_l10n.js": Change to 'true' to show the box that is defined
in the variables.
+ showEventBox();
+
// Show alert box.
- // Change to 'true' if you want to show the text that is defined in the
variables above.
- showAlertbox( false );
+ // Show an important message or announcement.
+ // In "/msg_prop_l10n.js": Change to 'true' to show the box that is defined
in the variables.
+ showAlertBox();
+
+ // Show redirect box.
+ // Show a text how to redirect to the NL webpage.
+ // In "/msg_prop_l10n.js": Change the mode and text how a redirect to the
respective NL webpage should be done.
+ setRedirect();
//-->
</script>
@@ -255,57 +384,84 @@ screen reader.
</div>
</div>
-<div id="news" style="margin: 2% 3% 0 0; height: 520px;">
+<div id="news">
- <div class="campaign" style="height: 200px; float: right; overflow: auto;">
- <h2 style="display: inline;">ç¶²èªè¿ææ´æ°</h2>
+ <div class="first campaign" style="height: 200px; float: right; overflow:
auto;">
+ <h2>ç¶²èªè¿ææ´æ°</h2>
<p style="text-align:right">
- <a href="http://blogs.apache.org/OOo/">å
¨é¨æç« </a>
+ <a href="https://blogs.apache.org/OOo/" target="_blank">å
¨é¨æç« </a>
</p>
<p>
- <em>29 April:</em>
+ <em>28 October 2015:</em>
<br />
- <a
href="https://blogs.apache.org/OOo/entry/the_apache_openoffice_project_announce">
- Apache OpenOffice 4.1.0 å·²ç¶ç¼è¡</a>
+ <a href="http://s.apache.org/announcing-openoffice-412">
+ Announcing Apache OpenOffice 4.1.2</a>
<br />
-
- <em>28 April:</em>
+
+ <em>27 September 2015:</em>
<br />
- <a
href="https://blogs.apache.org/OOo/entry/apache_openoffice_weekly_news_2">
- Apache OpenOffice æ¯å¨æ°è#2</a>
+ <a
href="https://blogs.apache.org/OOo/entry/coming_soon_apache_openoffice_4">
+ Coming soon... Apache OpenOffice 4.1.2</a>
<br />
-
- <em>25 April:</em>
+
+ <em>13 May 2015:</em>
<br />
- <a
href="https://blogs.apache.org/OOo/entry/apache_openoffice_weekly_news_1">
- Apache OpenOffice æ¯å¨æ°è#1</a>
+ <a href="https://blogs.apache.org/OOo/entry/authoring_e_books_in_apache">
+ Authoring e-Books in Apache OpenOffice</a>
<br />
-
- <em>17 April:</em>
+
+ <em>13 April 2015:</em>
<br />
- <a
href="https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces56">
- 1忬¡ä¸è¼éæ</a>
+ <a href="https://blogs.apache.org/OOo/entry/collaboration_is_in_our_dna">
+ Collaboration is in our DNA</a>
<br />
-
- <em>31 December:</em>
+
+ <em>31 December 2014:</em>
+ <br />
+ <a href="https://blogs.apache.org/OOo/entry/apache_openoffice_in_2014_a">
+ Apache OpenOffice in 2014: a year in review</a>
<br />
- <a href="https://blogs.apache.org/OOo/entry/apache_openoffice_in_2013_a">
- 2013å¹´çApache OpenOffice: åé¡§çä¸å¹´</a>
- <br/>
</p>
</div>
- <div id="all_news" style="height: 320px; float: left; overflow: auto;">
+ <div id="all_news" style="height: 500px; float: left; overflow: auto;">
<div class="campaign">
<h2>è¿ææ°è</h2>
<p style="text-align:right">
- <a href="news/index.html">æææ°è</a>
+ <a href="news/index.html" target="_blank">æææ°è</a>
</p>
<p></p>
+ <h2>Udine moves to OpenOffice, will save 360,000 Euro</h2>
+
+ <p>
+ <em>16 September 2014:</em>
+ The City of Udine, in Italy, announced a process that will lead to the
installation
+ of OpenOffice on 900 municipal desktops, saving the city 360,000 Euro.
+ ZDNet's Raffaele Mastrolonardo has the
+ <a
href="http://www.zdnet.com/another-italian-city-announces-its-ditching-microsoft-windows-for-open-source-7000033682/">details</a>.
+ </p>
+ </div>
+
+ <div class="campaign">
+ <h2>Apache OpenOffice 4.1.1 released</h2>
+
+ <p>
+ <em>21 August 2014:</em>
+ The Apache OpenOffice project announces the
+ <a
href="https://blogs.apache.org/OOo/entry/announcing_apache_openoffice_4_1"
+ title="Offical blog post about Apache OpenOffice 4.1.1">official
release of version 4.1.1</a>.
+ In the <a
href="https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.1+Release+Notes"
+ title="Release Notes for Apache OpenOffice 4.1.1">Release Notes</a>
you can read about all new features,
+ functions and languages. <a href="https://www.openoffice.org/download/"
+ title="Download Apache OpenOffice 4.1.1">Don't miss to download</a>
the new release and find out yourself.
+ </p>
+ </div>
+
+ <div class="campaign">
<h2>Apache OpenOffice 4.1.0 released</h2>
<p>
@@ -348,10 +504,11 @@ screen reader.
<p>
<em>8 January 2013:</em>
- Apache OpenOffice is developed 100% by volunteers. Apache does not
pay for developers, for translators, for QA, for
- marketing, for UI, for support, etc. Of course, we're happy to accept
- <a href="http://www.apache.org/foundation/contributing.html">donations
to the Apache Software Foundation</a>, to keep
- our servers runnings and for similar overhead expenses. But our
products are developed entirely by volunteers.
+ Apache OpenOffice is developed 100% by volunteers. Apache does not
pay for developers, for translators, for QA,
+ for marketing, for UI, for support, etc. Of course, we're happy to
accept
+ <a href="http://www.apache.org/foundation/contributing.html">donations
to the Apache Software Foundation</a>, to
+ keep our servers runnings and for similar overhead expenses. But our
products are developed entirely by
+ volunteers.
</p>
<p>Some users are initially worried by this statement:<br /><strong>How
can software for free, developed by
volunteers, be any good?<br /></strong><a
href="/why/why_volunteers.html">Read on for an answer...</a>