From: Siebrand Mazeland Date: Mon, 27 Sep 2010 23:33:09 +0000 (+0200) Subject: Take trailing newline out of i18n. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec83fef9b7ae84cd6f61b0caa4113e1bc7480e01;p=quix0rs-gnu-social.git Take trailing newline out of i18n. --- diff --git a/scripts/restoreuser.php b/scripts/restoreuser.php index 363ef42fb2..de3816dd53 100644 --- a/scripts/restoreuser.php +++ b/scripts/restoreuser.php @@ -57,7 +57,7 @@ function getActivityStreamDocument() throw new Exception("File '$filename' not readable."); } - printfv(_("Getting backup from file '$filename'.\n")); + printfv(_("Getting backup from file '$filename'.")."\n"); $xml = file_get_contents($filename); @@ -79,19 +79,19 @@ function importActivityStream($user, $doc) if (!empty($subjectEl)) { $subject = new ActivityObject($subjectEl); - printfv(_("Backup file for user %s (%s)\n"), $subject->id, Ostatus_profile::getActivityObjectNickname($subject)); + printfv(_("Backup file for user %s (%s)")."\n", $subject->id, Ostatus_profile::getActivityObjectNickname($subject)); } else { throw new Exception("Feed doesn't have an element."); } if (is_null($user)) { - printfv(_("No user specified; using backup user.\n")); + printfv(_("No user specified; using backup user.")."\n"); $user = userFromSubject($subject); } $entries = $feed->getElementsByTagNameNS(Activity::ATOM, 'entry'); - printfv(_("%d entries in backup.\n"), $entries->length); + printfv(_("%d entries in backup.")."\n", $entries->length); for ($i = $entries->length - 1; $i >= 0; $i--) { try {