summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/functions/functions_edit.php2
-rw-r--r--login_register.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/functions/functions_edit.php b/includes/functions/functions_edit.php
index 1bc0e9f18c..9751a50db4 100644
--- a/includes/functions/functions_edit.php
+++ b/includes/functions/functions_edit.php
@@ -318,7 +318,7 @@ function checkChangeTime($pid, $gedrec, $last_time) {
}
if (isset($_REQUEST['linenum']) && $changeTime!=0 && $last_time && $changeTime > $last_time) {
echo "<span class=\"error\">", i18n::translate('The record with id %s was changed by another user since you last accessed it.', $pid), "<br /><br />";
- if (!empty($changeUser)) echo i18n::translate('This record was last changed by <i>%s</i> at %s', $changeUser, date("d M Y H:i:s", $changeTime)), "<br /><br />";
+ if (!empty($changeUser)) echo /* I18N: %s placeholders are a user-ID and a timestamp */ i18n::translate('This record was last changed by <i>%s</i> at %s', $changeUser, date("d M Y H:i:s", $changeTime)), "<br /><br />";
echo i18n::translate('Please reload the previous page to make sure you are working with the most recent record.'), "</span>";
print_simple_footer();
exit;
diff --git a/login_register.php b/login_register.php
index f542de81a4..35bcb98a0c 100644
--- a/login_register.php
+++ b/login_register.php
@@ -370,7 +370,7 @@ switch ($action) {
i18n::init($user_language);
$mail_body = "";
$mail_body .= i18n::translate('Hello %s ...', $user_realname) . "\r\n\r\n";
- $mail_body .= i18n::translate('A request was received at %s to create a webtrees account with your email address %s.', WT_SERVER_NAME.WT_SCRIPT_PATH, $user_email) . " ";
+ $mail_body .= /* I18N: %s placeholders are the site URL and an email address */ i18n::translate('A request was received at %s to create a webtrees account with your email address %s.', WT_SERVER_NAME.WT_SCRIPT_PATH, $user_email) . " ";
$mail_body .= i18n::translate('Information about the request is shown under the link below.') . "\r\n\r\n";
$mail_body .= i18n::translate('Please click on the following link and fill in the requested data to confirm your request and email address.') . "\r\n\r\n";
if ($TEXT_DIRECTION=="rtl") {
@@ -500,7 +500,7 @@ switch ($action) {
$mail_body = "";
$mail_body .= i18n::translate('Hello Administrator ...') . "\r\n\r\n";
- $mail_body .= i18n::translate('User %s (%s) has confirmed their request for an account.', $user_name, getUserFullName($user_id)) . "\r\n\r\n";
+ $mail_body .= /* I18N: User <login-id> (<real name>) has ... */ i18n::translate('User %s (%s) has confirmed their request for an account.', $user_name, getUserFullName($user_id)) . "\r\n\r\n";
if ($REQUIRE_ADMIN_AUTH_REGISTRATION) $mail_body .= i18n::translate('Please click on the link below to login to your site. You must Edit the user to activate the account so that he can login to your site.') . "\r\n";
else $mail_body .= i18n::translate('You do not have to take any action; the user can now login.') . "\r\n";