[med-svn] r617 - in trunk/community/website: . inc locale locale/it_IT/LC_MESSAGES

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Fri Oct 5 17:02:34 UTC 2007


Author: hanska-guest
Date: 2007-10-05 17:02:34 +0000 (Fri, 05 Oct 2007)
New Revision: 617

Modified:
   trunk/community/website/inc/header.inc.php
   trunk/community/website/locale/it_IT/LC_MESSAGES/messages.mo
   trunk/community/website/locale/it_IT/LC_MESSAGES/messages.po
   trunk/community/website/locale/messages.pot
   trunk/community/website/locales.php
Log:
Updating messages.
Different languages use different sentence forms: fixed this.
(i.e. en_*: "<a>How to Contribute</a> page";
it_*: "pagina <a>Come contribuire</a>")


Modified: trunk/community/website/inc/header.inc.php
===================================================================
--- trunk/community/website/inc/header.inc.php	2007-10-05 16:51:20 UTC (rev 616)
+++ trunk/community/website/inc/header.inc.php	2007-10-05 17:02:34 UTC (rev 617)
@@ -29,7 +29,11 @@
 </div>
 <div class="heading">
 	<div class="tabBar" style="text-align: center;">
-		<?=_("Join us! Help us in making Doctors use Debian! See the")?>
-		<a href="http://alioth.debian.org/projects/debian-med"><?=_("Alioth Page")?></a>
+		<?php
+			$msg = _("Join us! Help us in making Doctors use Debian! See the %1Alioth page%2.");
+			echo str_replace(array("%1", "%2"),
+						array('<a href="http://alioth.debian.org/projects/debian-med">', '</a>'),
+						$msg);
+		?>
 	</div>
 </div>

Modified: trunk/community/website/locale/it_IT/LC_MESSAGES/messages.mo
===================================================================
(Binary files differ)

Modified: trunk/community/website/locale/it_IT/LC_MESSAGES/messages.po
===================================================================
--- trunk/community/website/locale/it_IT/LC_MESSAGES/messages.po	2007-10-05 16:51:20 UTC (rev 616)
+++ trunk/community/website/locale/it_IT/LC_MESSAGES/messages.po	2007-10-05 17:02:34 UTC (rev 617)
@@ -152,22 +152,17 @@
 "You're using a low priority locale.<br />Please ask the site administrators "
 "to add your locale, or provide one yourself :).<br />"
 msgstr ""
+"Stai usando un locale a bassa priorità.<br />Per favore contatta gli amministratori "
+"del sito affinché aggiungano la tua lingua, o provvedi tu stesso alla traduzione :).<br />"
 
 #: locales.php:23
 msgid ""
 "More information on how to contribute to the Debian-Med project, can be "
-"found in the"
+"found in the %1How to Contribute%2 page."
 msgstr ""
+"Maggiori informazioni su come contribuire al progetto Debian-Med possono essere "
+"trovate nella pagina %1Come contribuire%2."
 
-#: locales.php:24
-msgid "How to Contribute"
-msgstr ""
-
-#: locales.php:24
-#, fuzzy
-msgid "page"
-msgstr "pagine"
-
 #: locales.php:32
 msgid "localization"
 msgstr "localizzazione"
@@ -193,9 +188,5 @@
 msgstr "Aggiungi nuovo locale"
 
 #: inc/header.inc.php:32
-msgid "Join us! Help us in making Doctors use Debian! See the"
-msgstr "Unisciti a noi! Aiutaci a diffondere Debian tra i Medici! Guarda la"
-
-#: inc/header.inc.php:33
-msgid "Alioth Page"
-msgstr "Pagina Alioth"
+msgid "Join us! Help us in making Doctors use Debian! See the %1Alioth page%2."
+msgstr "Unisciti a noi! Aiutaci a diffondere Debian tra i Medici! Guarda la %1pagina Alioth%2."

Modified: trunk/community/website/locale/messages.pot
===================================================================
--- trunk/community/website/locale/messages.pot	2007-10-05 16:51:20 UTC (rev 616)
+++ trunk/community/website/locale/messages.pot	2007-10-05 17:02:34 UTC (rev 617)
@@ -147,17 +147,9 @@
 
 #: locales.php:23
 msgid	"More information on how to contribute to the Debian-Med project, can "
-	"be found in the"
+	"be found in the %1How to Contribute%2 page."
 msgstr	""
 
-#: locales.php:24
-msgid	"How to Contribute"
-msgstr	""
-
-#: locales.php:24
-msgid	"page"
-msgstr	""
-
 #: locales.php:32
 msgid	"localization"
 msgstr	""
@@ -183,9 +175,5 @@
 msgstr	""
 
 #: inc/header.inc.php:32
-msgid	"Join us! Help us in making Doctors use Debian! See the"
+msgid	"Join us! Help us in making Doctors use Debian! See the %1Alioth page%2."
 msgstr	""
-
-#: inc/header.inc.php:33
-msgid	"Alioth Page"
-msgstr	""

Modified: trunk/community/website/locales.php
===================================================================
--- trunk/community/website/locales.php	2007-10-05 16:51:20 UTC (rev 616)
+++ trunk/community/website/locales.php	2007-10-05 17:02:34 UTC (rev 617)
@@ -20,8 +20,12 @@
 			?>
 			<div class="row warning">
 				<?=_("You're using a low priority locale.<br />Please ask the site administrators to add your locale, or provide one yourself :).<br />")?>
-				<?=_("More information on how to contribute to the Debian-Med project, can be found in the")?>
-				<a href="/contribute.php"><del><?=_("How to Contribute")?></del></a><?=_("page")?>.
+				<?php
+					$msg = _("More information on how to contribute to the Debian-Med project, can be found in the %1How to Contribute%2 page.");
+					echo str_replace(array("%1", "%2"),
+									array('<a href="/contribute.php"><del>', '</del></a>'),
+									$msg);
+				?>
 			</div>
 			<?php
 				}




More information about the debian-med-commit mailing list