From: Siebrand Mazeland Date: Sun, 19 Jun 2011 10:23:14 +0000 (+0200) Subject: Update translator documentation. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=10600579e0e582f90cdc7bfd81cac88181697106;p=quix0rs-gnu-social.git Update translator documentation. Whitespace updates. --- diff --git a/plugins/EmailReminder/EmailReminderPlugin.php b/plugins/EmailReminder/EmailReminderPlugin.php index 0bb10921b0..b2fc02d2e8 100644 --- a/plugins/EmailReminder/EmailReminderPlugin.php +++ b/plugins/EmailReminder/EmailReminderPlugin.php @@ -201,9 +201,9 @@ class EmailReminderPlugin extends Plugin 'version' => STATUSNET_VERSION, 'author' => 'Zach Copley', 'homepage' => 'http://status.net/wiki/Plugin:EmailReminder', + // TRANS: Plugin description. 'rawdescription' => _m('Send email reminders for various things.') ); return true; } - } diff --git a/plugins/EmailReminder/classes/Email_reminder.php b/plugins/EmailReminder/classes/Email_reminder.php index 2a82e6c4d8..c462e726aa 100644 --- a/plugins/EmailReminder/classes/Email_reminder.php +++ b/plugins/EmailReminder/classes/Email_reminder.php @@ -48,7 +48,6 @@ class Email_reminder extends Managed_DataObject * @param mixed $v Value to lookup * * @return QnA_Answer object found, or null for no hits - * */ function staticGet($k, $v=null) { @@ -97,6 +96,7 @@ class Email_reminder extends Managed_DataObject if (empty($result)) { common_log_db_error($reminder, 'INSERT', __FILE__); throw new ServerException( + // TRANS: Server exception thrown when a reminder record could not be inserted into the database. _m('Database error inserting reminder record.') ); } diff --git a/plugins/EmailReminder/lib/userconfirmregreminderhandler.php b/plugins/EmailReminder/lib/userconfirmregreminderhandler.php index 5f1bbd62d9..eda93a33d5 100644 --- a/plugins/EmailReminder/lib/userconfirmregreminderhandler.php +++ b/plugins/EmailReminder/lib/userconfirmregreminderhandler.php @@ -1,5 +1,4 @@ 1 && $days < 2): if (Email_reminder::needsReminder(self::REGISTER_REMINDER, $confirm, 1)) { common_log(LOG_INFO, "Sending one day registration confirmation reminder to {$confirm->address}", __FILE__); - $subject = _m("Reminder - please confirm your registration!"); + // TRANS: Subject for reminder e-mail. + $subject = _m('Reminder - please confirm your registration!'); return EmailReminderPlugin::sendReminder( self::REGISTER_REMINDER, $confirm, @@ -94,7 +95,8 @@ class UserConfirmRegReminderHandler extends UserReminderHandler { case ($days > 3 && $days < 4): if (Email_reminder::needsReminder(self::REGISTER_REMINDER, $confirm, 3)) { common_log(LOG_INFO, "Sending three day registration confirmation reminder to {$confirm->address}", __FILE__); - $subject = _m("Second reminder - please confirm your registration!"); + // TRANS: Subject for reminder e-mail. + $subject = _m('Second reminder - please confirm your registration!'); return EmailReminderPlugin::sendReminder( self::REGISTER_REMINDER, $confirm, @@ -108,7 +110,8 @@ class UserConfirmRegReminderHandler extends UserReminderHandler { case ($days > 7 && $days < 8): if (Email_reminder::needsReminder(self::REGISTER_REMINDER, $confirm, 7)) { common_log(LOG_INFO, "Sending one week registration confirmation reminder to {$confirm->address}", __FILE__); - $subject = _m("Final reminder - please confirm your registration!"); + // TRANS: Subject for reminder e-mail. + $subject = _m('Final reminder - please confirm your registration!'); return EmailReminderPlugin::sendReminder( self::REGISTER_REMINDER, $confirm, @@ -122,5 +125,4 @@ class UserConfirmRegReminderHandler extends UserReminderHandler { } return true; } - } diff --git a/plugins/EmailReminder/lib/userreminderhandler.php b/plugins/EmailReminder/lib/userreminderhandler.php index 22f498762b..e9d38a00a7 100644 --- a/plugins/EmailReminder/lib/userreminderhandler.php +++ b/plugins/EmailReminder/lib/userreminderhandler.php @@ -1,5 +1,4 @@