X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=dav%2Fcommon%2Fwdcal_edit.inc.php;h=f4ac90c9746b71cb536a6704646d27e46775fd0b;hb=7afef6b87f30c3e5fbad12de7c4980b7bab47f27;hp=d507a900087b4b50ad9c97014eedcd409b1041b5;hpb=7f4cb9cf06a933f85a04389548a9a592bdb186ab;p=friendica-addons.git diff --git a/dav/common/wdcal_edit.inc.php b/dav/common/wdcal_edit.inc.php index d507a900..f4ac90c9 100644 --- a/dav/common/wdcal_edit.inc.php +++ b/dav/common/wdcal_edit.inc.php @@ -1,5 +1,7 @@ __get("DTSTART"); @@ -137,13 +139,13 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) $postto = $baseurl . "/dav/wdcal/" . ($uri == 0 ? "new/" : $calendar_id . "/" . $uri . "/edit/"); - $out = "" . t("Go back to the calendar") . "

"; + $out = "" . L10n::t("Go back to the calendar") . "

"; $out .= "
\n"; - $out .= "

" . t("Event data") . "

"; + $out .= "

" . L10n::t("Event data") . "

"; - $out .= ""; $found = false; $cal_col = "aaaaaa"; foreach ($calendars as $cal) { @@ -160,47 +162,47 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) $out .= ""; $out .= "    "; $out .= ""; $out .= "
\n"; - $out .= " + $out .= "
\n"; $out .= "
\n"; - $out .= ""; + $out .= ""; $out .= ""; $out .= ""; $out .= "
\n"; - $out .= ""; + $out .= ""; $out .= ""; $out .= ""; $out .= "
\n"; - $out .= "
\n"; + $out .= "
\n"; - $out .= " "; + $out .= " "; $out .= "
"; - $out .= "

" . t("Recurrence") . "

"; + $out .= "

" . L10n::t("Recurrence") . "

"; - $out .= " "; + $out .= "\n"; $out .= "\n"; + $out .= ">" . L10n::t("Daily") . "\n"; $out .= "\n"; + $out .= ">" . L10n::t("Weekly") . "\n"; $out .= "\n"; + $out .= ">" . L10n::t("Monthly") . "\n"; $out .= "\n"; + $out .= ">" . L10n::t("Yearly") . "\n"; $out .= "
\n"; $out .= "
"; @@ -211,15 +213,15 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) $select .= ">$i\n"; } $select .= ""; - $time = "" . t("days") . ""; - $time .= "" . t("weeks") . ""; - $time .= "" . t("months") . ""; - $time .= "" . t("years") . ""; - $out .= " " . str_replace(array("%select%", "%time%"), array($select, $time), t("All %select% %time%")) . "
"; + $time = "" . L10n::t("days") . ""; + $time .= "" . L10n::t("weeks") . ""; + $time .= "" . L10n::t("months") . ""; + $time .= "" . L10n::t("years") . ""; + $out .= " " . str_replace(array("%select%", "%time%"), array($select, $time), L10n::t("All %select% %time%")) . "
"; $out .= "
"; - $out .= ""; + $out .= ""; if ($recurrence && $recurrence->byDay) { $byday = $recurrence->byDay; } else { @@ -228,36 +230,36 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) if ($localization->getFirstDayOfWeek() == 0) { $out .= "   "; } $out .= "   "; $out .= "   "; $out .= "   "; $out .= "   "; $out .= "   "; $out .= "   "; if ($localization->getFirstDayOfWeek() != 0) { $out .= "   "; } $out .= "
"; $out .= "
"; - $out .= ""; + $out .= ""; if ($recurrence && $recurrence->byDay) { $byday = $recurrence->byDay; } else { @@ -267,34 +269,34 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) if ($localization->getFirstDayOfWeek() == 0) { $out .= "   "; } $out .= "   "; $out .= "   "; $out .= "   "; $out .= "   "; $out .= "   "; $out .= "   "; if ($localization->getFirstDayOfWeek() != 0) { $out .= "   "; } $out .= "
"; - $out .= ""; + $out .= ""; if ($recurrence && $recurrence->weekStart != "") $wkst = $recurrence->weekStart; else { if ($localization->getFirstDayOfWeek() == 0) $wkst = "SU"; @@ -302,10 +304,10 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) } $out .= "   "; $out .= "
\n"; $out .= "
"; @@ -347,20 +349,20 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) } $out .= "
"; - $out .= ""; + $out .= ""; $out .= ""; $out .= "
\n"; @@ -369,21 +371,21 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) } $out .= "
"; - $out .= " #month#
\n"; - $out .= ""; + $out .= " #month#
\n"; + $out .= ""; $out .= ""; $out .= "
\n"; @@ -410,26 +412,26 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) $rule_until_date = time(); $rule_until_count = 1; } - $out .= " "; + $out .= " "; $out .= ""; $out .= ""; $out .= "
"; - $out .= "
"; + $out .= "
"; $out .= "
0) $out .= "style='display: none;'"; - $out .= ">" . t("none") . "
"; + $out .= ">" . L10n::t("none") . "
"; $out .= "
"; + $out .= "

" . L10n::t("Notification") . "

"; if (!$notifications) $notifications = array(); $notifications["new"] = array( @@ -463,33 +465,33 @@ function wdcal_getEditPage_str(&$localization, $baseurl, $calendar_id, $uri) $out .= "
" . t("Notify by") . ":"; + $out .= ">"; $out .= "
"; - $out .= ""; + $out .= ""; $out .= ""; $out .= ""; - $out .= " \n"; $out .= "
"; } - $out .= ""; + $out .= ""; $out .= "