maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH maposmatic] Breaking up long paragraphs in easil


From: Hakan Tandogan
Subject: [Maposmatic-dev] [PATCH maposmatic] Breaking up long paragraphs in easily translatable blocks
Date: Sun, 13 Jan 2013 23:26:58 +0100

Example for breaking up translatable strings

---
 www/templates/maposmatic/donate.html |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/www/templates/maposmatic/donate.html 
b/www/templates/maposmatic/donate.html
index 1a35387..cf4e68d 100644
--- a/www/templates/maposmatic/donate.html
+++ b/www/templates/maposmatic/donate.html
@@ -41,7 +41,8 @@
 <p>
 {% blocktrans %}MapOSMatic is a project entirely developed and maintained by a
 team of volunteers (see our <a href="{{about_url}}">About</a> page for
-details). However, running the MapOSMatic service and making improvements to it
+details). {% endblocktrans %}
+{% blocktrans %}However, running the MapOSMatic service and making 
improvements to it
 has various costs beyond the time of the volunteer developers.{% endblocktrans 
%}
 </p>
 
@@ -53,18 +54,21 @@ funding:{% endblocktrans %}
 <ul>
 <li>{% blocktrans %}Participation to the transportation expenses of the
 MapOSMatic developers when they gather for <i>hackfests</i> (meeting of
-developers). You can read our <a href="http://news.maposmatic.org";>blog</a> to
-learn more about what we achieve during those hackfests. We usually implement a
-huge number of improvements, new features and bug fixes during those meetings.
-They take place during the holidays of the developers, and we would like to at
-least compensate their travel expenses.{% endblocktrans %}</li>
+developers). {% endblocktrans %}
+{% blocktrans %}You can read our <a href="http://news.maposmatic.org";>blog</a> 
to
+learn more about what we achieve during those hackfests. {% endblocktrans %}
+{% blocktrans %}We usually implement a huge number of improvements, new 
features
+and bug fixes during those meetings.{% endblocktrans %}
+{% blocktrans %}They take place during the holidays of the developers, and we
+would like to at least compensate their travel expenses.{% endblocktrans 
%}</li>
 </ul>
 
 <h2>{% trans "Considering making a donation?" %}</h2>
 
 <p>
 {% blocktrans %}Donations can be done through the well-known <a
-href="http://www.paypal.com";>PayPal</a> service. We accept donations of any
+href="http://www.paypal.com";>PayPal</a> service.{% endblocktrans %}
+{% blocktrans %} We accept donations of any
 amount: all donations are helpful, even the smallest ones.{% endblocktrans %}
 </p>
 
-- 
1.7.8.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]