[kune-commits] r1434 - in donate: src/cc/kune/sandbox/donate/client war
Mauricio Rodriguez Serrano
mrodrigs at ourproject.org
Wed Jun 29 00:55:53 CEST 2011
Author: mrodrigs
Date: 2011-06-29 00:55:53 +0200 (Wed, 29 Jun 2011)
New Revision: 1434
Modified:
donate/src/cc/kune/sandbox/donate/client/DonateMessages.java
donate/src/cc/kune/sandbox/donate/client/DonateMessages_en.properties
donate/src/cc/kune/sandbox/donate/client/DonateMessages_es.properties
donate/src/cc/kune/sandbox/donate/client/DonatePanel.java
donate/src/cc/kune/sandbox/donate/client/DonatePanel.ui.xml
donate/war/Donate.html
Log:
implemented i18n in english and spanish
Modified: donate/src/cc/kune/sandbox/donate/client/DonateMessages.java
===================================================================
--- donate/src/cc/kune/sandbox/donate/client/DonateMessages.java 2011-06-28 22:16:58 UTC (rev 1433)
+++ donate/src/cc/kune/sandbox/donate/client/DonateMessages.java 2011-06-28 22:55:53 UTC (rev 1434)
@@ -15,7 +15,9 @@
String euroRegularDonation();
String dollarRegularDonation();
+ String donateIntroTxt();
+
String defaultValue();
String defaultTitle();
Modified: donate/src/cc/kune/sandbox/donate/client/DonateMessages_en.properties
===================================================================
--- donate/src/cc/kune/sandbox/donate/client/DonateMessages_en.properties 2011-06-28 22:16:58 UTC (rev 1433)
+++ donate/src/cc/kune/sandbox/donate/client/DonateMessages_en.properties 2011-06-28 22:55:53 UTC (rev 1434)
@@ -11,3 +11,5 @@
dollarDonation = $
euroRegularDonation = \u20AC/month
dollarRegularDonation = $/month
+
+donateIntroTxt = Comunes is a non-profit organization dedicated to encourage the commons, those goods collectively owned by everybody, and also serves as an umbrella for other related initiatives. We rely on the generous support of people like you and other collectives to help us continue the work we do.
\ No newline at end of file
Modified: donate/src/cc/kune/sandbox/donate/client/DonateMessages_es.properties
===================================================================
--- donate/src/cc/kune/sandbox/donate/client/DonateMessages_es.properties 2011-06-28 22:16:58 UTC (rev 1433)
+++ donate/src/cc/kune/sandbox/donate/client/DonateMessages_es.properties 2011-06-28 22:55:53 UTC (rev 1434)
@@ -10,3 +10,5 @@
defaultTitle = Digite otro valor y presione enter
euroRegularDonation = \u20AC/mes
dollarRegularDonation = $/mes
+
+donateIntroTxt = Comunes es una organización sin fines de lucro dedicada a fomentar el bien comun, los bienes de propiedad colectiva de todo el mundo, y tambien sirve de ayuda para otras iniciativas relacionadas. Contamos con el apoyo generoso de gente como usted y otros colectivos para ayudarnos a continuar el trabajo que hacemos.
Modified: donate/src/cc/kune/sandbox/donate/client/DonatePanel.java
===================================================================
--- donate/src/cc/kune/sandbox/donate/client/DonatePanel.java 2011-06-28 22:16:58 UTC (rev 1433)
+++ donate/src/cc/kune/sandbox/donate/client/DonatePanel.java 2011-06-28 22:55:53 UTC (rev 1434)
@@ -189,6 +189,13 @@
initWidget(uiBinder.createAndBindUi(this));
+
+
+ lblPostIntro.setText(donateMessages.donateIntroTxt());
+
+
+
+
//Config of Dollar Regular Donations
lnkEuros1.setHTML(getTextDonation(REGULAR_DONATION_EURO, 10));
lnkEuros1.setHref(LNK_EURO_REGULAR_DONATION_1);
Modified: donate/src/cc/kune/sandbox/donate/client/DonatePanel.ui.xml
===================================================================
--- donate/src/cc/kune/sandbox/donate/client/DonatePanel.ui.xml 2011-06-28 22:16:58 UTC (rev 1433)
+++ donate/src/cc/kune/sandbox/donate/client/DonatePanel.ui.xml 2011-06-28 22:55:53 UTC (rev 1434)
@@ -186,10 +186,7 @@
</g:HTMLPanel>
<g:HTMLPanel ui:field="divIntro">
<g:Label addStyleNames="{style.introPost}" ui:field="lblPostIntro">
- Comunes is a non-profit organization dedicated to encourage the commons,
- those goods collectively owned by everybody, and also serves as an umbrella
- for other related initiatives. We rely on the generous support of people
- like you and other collectives to help us continue the work we do.
+
</g:Label>
</g:HTMLPanel>
<g:HTMLPanel ui:field="divTitleRegular">
Modified: donate/war/Donate.html
===================================================================
--- donate/war/Donate.html 2011-06-28 22:16:58 UTC (rev 1433)
+++ donate/war/Donate.html 2011-06-28 22:55:53 UTC (rev 1434)
@@ -2,6 +2,7 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+
<meta name="gwt:property" content="locale=en">
<!-- -->
<!-- Consider inlining CSS to reduce the number of requested files -->
More information about the kune-commits
mailing list