From 1a715ca47a7c5c2e1bf499546ed7cbaa739ce555 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Wed, 24 Sep 2014 15:19:23 +1200 Subject: [PATCH] Closes #25 - Remove a duplicate string. We still need the newline on the end, so append to the result from the translate call. I do note that is the only translated string in the file... --- scripts/load_calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/load_calendar.php b/scripts/load_calendar.php index 12e38c14..6e0784bf 100755 --- a/scripts/load_calendar.php +++ b/scripts/load_calendar.php @@ -119,5 +119,5 @@ param_to_global('mode'); include_once('caldav-PUT-functions.php'); controlRequestContainer( $session->username, $dest->user_no(), $target, false, ($dest->IsPublic() ? true : false)); import_collection( $ics, $dest->user_no(), $target, $session->user_no, ($mode == 'append') ); -printf(translate("Calendar '%s' was loaded from file.\n"), $target); +printf(translate("Calendar '%s' was loaded from file.") . "\n", $target);