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/06/27 22:34:01 UTC
svn commit: r1606212 - /openoffice/ooo-site/trunk/content/bg/index.html
Author: marcus
Date: Fri Jun 27 20:34:00 2014
New Revision: 1606212
URL: http://svn.apache.org/r1606212
Log:
Updates for the alert box
Modified:
openoffice/ooo-site/trunk/content/bg/index.html
Modified: openoffice/ooo-site/trunk/content/bg/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/bg/index.html?rev=1606212&r1=1606211&r2=1606212&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/bg/index.html (original)
+++ openoffice/ooo-site/trunk/content/bg/index.html Fri Jun 27 20:34:00 2014
@@ -34,37 +34,34 @@
function showAlertbox( show ) {
// More see "http://html-color-codes.info/"
- var l10n_alert_box_color = "#FFD9A7";
+ var l10n_alert_box_background_color = "#F5A9A9";
// Maximum 86 characters.
- var l10n_alert_box_headline_text = "We need your help to complete support of Apache OpenOffice into Bulgarian!";
- var l10n_alert_box_headline_title = "We need your help to complete support of Apache OpenOffice into Bulgarian!";
+ var l10n_alert_box_headline_text = "We need your help to complete support of Apache OpenOffice into Bulgarian!";
// Maximum 517 characters.
- var l10n_alert_box_text1_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 Bulgarian translation. But we still need help with this website. <br /><br /> If you are interested in helping translate, please click the following link to review the information. You can send a note to our mailing list, \"L10N@openoffice.apache.org\", if you want to volunteer or if you have questions.";
- var l10n_alert_box_text1_title = "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 Bulgarian translation. But we still need help with this website. If you are interested in helping translate, please click the following link to review the information. You can send a note to our mailing list, \"L10N@openoffice.apache.org\", if you want to volunteer or if you have questions.";
+ var l10n_alert_box_text1_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 Bulgarian translation. But we still need help with this website. <br /><br /> If you are interested in helping translate, please click the following link to review the information. You can send a note to our mailing list, \"L10N@openoffice.apache.org\", if you want to volunteer or if you have questions.";
// Maximum 517 characters.
- var l10n_alert_box_text2_text = "How to help with traslations.";
- var l10n_alert_box_text2_title = "How to help with traslations.";
- var l10n_alert_box_text2_href = "http://openoffice.apache.org/translate.html";
+ var l10n_alert_box_text2_text = "How to help with translation";
+ var l10n_alert_box_text2_href = "http://openoffice.apache.org/translate.html";
// Show alert box or not?
if( show ) {
- if( ! l10n_alert_box_color )
- var l10n_alert_box_color = "#FFD9A7";
+ // If no 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.
- document.write( "<div id='alert_box' style='background: " + l10n_alert_box_color + "'>" );
+ document.write( "<div id='alert_box' style='background: " + l10n_alert_box_background_color + "'>" );
// Show headline.
- document.write( "<h2 title='" + l10n_alert_box_headline_title + "'>" + l10n_alert_box_headline_text + "</h2>" );
+ document.write( "<h2>" + l10n_alert_box_headline_text + "</h2>" );
- // Show text without link if available.
+ // If text without link is available then show it.
if( l10n_alert_box_text1_text )
- document.write( "<p title='" + l10n_alert_box_text1_title + "'>" + l10n_alert_box_text1_text + "</p>" );
+ document.write( "<p>" + l10n_alert_box_text1_text + "</p>" );
- // Show text with link if available.
+ // If text with link is available then show it.
if( l10n_alert_box_text2_text ) {
document.write( "<p>"
- + "<a title='" + l10n_alert_box_text2_title + "'"
- + "href='" + l10n_alert_box_text2_href + "' target='_blank'>"
+ + "<a href='" + l10n_alert_box_text2_href + "' target='_blank'>"
+ l10n_alert_box_text2_text
+ "</a>"
+ "</p>" );