[Fusionforge-commits] FusionForge branch master updated. 6.0.4-563-g4e05a96

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Mon Jun 20 13:56:26 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  4e05a96a4ed3902e4611bbe6e492e6e4c7f1ca78 (commit)
      from  78a014134a393a251b4bf974c4d0b86ada8fb4f2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=4e05a96a4ed3902e4611bbe6e492e6e4c7f1ca78

commit 4e05a96a4ed3902e4611bbe6e492e6e4c7f1ca78
Author: Marc-Etienne Vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Mon Jun 20 13:56:20 2016 +0200

    Shorter strings for easier translation

diff --git a/src/plugins/mailman/www/mailman_utils.php b/src/plugins/mailman/www/mailman_utils.php
index d830c2e..d6ed7b4 100644
--- a/src/plugins/mailman/www/mailman_utils.php
+++ b/src/plugins/mailman/www/mailman_utils.php
@@ -16,24 +16,24 @@ global $class;
 $current_user=UserManager::instance()->getCurrentUser();
 
 function sendCreationMail($userEmail,&$list) {
-	$message = sprintf(_('A mailing list will be created on %1$s in few minutes
-and you are the list administrator.
+	$message = sprintf(_('A mailing list will be created on %s in few minutes and you are the list administrator.'), forge_get_config ('forge_name'))
 
-This list is: %3$s@%2$s .
+			. sprintf(_('This list is: %1$s@%2$s'),  $list->getName(), forge_get_config('lists_host')) . "\n\n"
 
-Your mailing list info is at:
-%4$s .
+			. _('Your mailing list info is at:') . "\n"
+			. $this->getExternalInfoUrl() . "\n\n"
 
-List administration can be found at:
-%5$s .
+			. _('List administration can be found at:') . "\n"
+			. util_make_url('/mailman/admin/'.$list->getName()) . "\n\n"
 
-Your list password is: %6$s .
-You are encouraged to change this password as soon as possible.
+			. _('Your list password is: ') . $list->getPassword(). "\n"
+			. _('You are encouraged to change this password as soon as possible.') . "\n\n"
 
-Thank you for registering your project with %1$s.'), forge_get_config ('forge_name'), forge_get_config('lists_host'), $list->getName(), $list->getExternalInfoUrl(), util_make_url('/mailman/admin/'.$list->getName()), $list->getPassword());
-	$message .= "\n\n";
-	$message .= sprintf(_('-- the %s staff'), forge_get_config ('forge_name'));
-	$message .= "\n";
+			. sprintf(_('Thank you for registering your project with %s.'), forge_get_config ('forge_name'))
+			. "\n\n"
+
+			. sprintf(_('-- the %s staff'), forge_get_config ('forge_name'))
+			. "\n";
 
 	$mailSubject = sprintf(_('%s New Mailing List'), forge_get_config ('forge_name'));
 

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/mailman/www/mailman_utils.php | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list