summaryrefslogtreecommitdiffstats
path: root/vendor/simshaun/recurr/translations
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/simshaun/recurr/translations')
-rw-r--r--vendor/simshaun/recurr/translations/da.php100
-rw-r--r--vendor/simshaun/recurr/translations/de.php116
-rw-r--r--vendor/simshaun/recurr/translations/el.php110
-rw-r--r--vendor/simshaun/recurr/translations/en.php104
-rw-r--r--vendor/simshaun/recurr/translations/es.php100
-rw-r--r--vendor/simshaun/recurr/translations/eu.php43
-rw-r--r--vendor/simshaun/recurr/translations/fr.php103
-rw-r--r--vendor/simshaun/recurr/translations/it.php116
-rw-r--r--vendor/simshaun/recurr/translations/nl.php100
-rw-r--r--vendor/simshaun/recurr/translations/no.php100
-rw-r--r--vendor/simshaun/recurr/translations/pt-br.php87
-rw-r--r--vendor/simshaun/recurr/translations/sv.php100
-rw-r--r--vendor/simshaun/recurr/translations/tr.php100
13 files changed, 1279 insertions, 0 deletions
diff --git a/vendor/simshaun/recurr/translations/da.php b/vendor/simshaun/recurr/translations/da.php
new file mode 100644
index 0000000..ba4d6b6
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/da.php
@@ -0,0 +1,100 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'søndag',
+ 'mandag',
+ 'tirsdag',
+ 'onsdag',
+ 'torsdag',
+ 'fredag',
+ 'lørdag',
+);
+$months = array(
+ 'januar',
+ 'februar',
+ 'marts',
+ 'april',
+ 'maj',
+ 'juni',
+ 'juli',
+ 'august',
+ 'september',
+ 'oktober',
+ 'november',
+ 'december',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Kunne ikke konvertere denne regel til tekst.',
+ 'for %count% times' => '%count% gange',
+ 'for one time' => 'en gang',
+ '(~ approximate)' => '(~ cirka)',
+ 'until %date%' => 't.o.m. %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. July 4, 2014
+ return date('j', $params['date']) . '. '. $months[date('n', $params['date']) - 1].date(', Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $params['day'].'. '.$months[$params['month'] - 1];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'og',
+ 'or' => 'eller',
+ 'in_month' => 'i', // e.g. weekly in January, May and August
+ 'in_week' => 'i', // e.g. yearly in week 3
+ 'on' => 'hver', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'den', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'den', // e.g. monthly on the 4th Monday
+ 'on the' => 'på den', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'i måneden', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'hvert %count% år',
+ 'every year' => 'årligt',
+ 'every_month_list' => 'hver', // e.g. every January, May and August
+ 'every %count% months' => 'hver %count% måned',
+ 'every month' => 'månedsvis',
+ 'every %count% weeks' => 'hver %count% uge',
+ 'every week' => 'ugenligt',
+ 'every %count% days' => 'hver %count% dag',
+ 'every day' => 'dagligt',
+ 'last' => 'sidste', // e.g. 2nd last Friday
+ 'days' => 'dage',
+ 'day' => 'dag',
+ 'weeks' => 'uger',
+ 'week' => 'uge',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $ends = array(':e', ':a', ':a', ':e', ':e', ':e', ':e', ':e', ':e', ':e');
+ $suffix = '';
+
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'last';
+ } else {
+ if ($isNegative) {
+ $number = abs($number);
+ $suffix = ' to the last';
+ }
+
+ if (($number % 100) >= 11 && ($number % 100) <= 13) {
+ $abbreviation = $number.'.';
+ } else {
+ $abbreviation = $number.$ends[$number % 10];
+ }
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' dag';
+ }
+
+ return $abbreviation . $suffix;
+ },
+); \ No newline at end of file
diff --git a/vendor/simshaun/recurr/translations/de.php b/vendor/simshaun/recurr/translations/de.php
new file mode 100644
index 0000000..9c836b8
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/de.php
@@ -0,0 +1,116 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'Sonntag',
+ 'Montag',
+ 'Dienstag',
+ 'Mittwoch',
+ 'Donnerstag',
+ 'Freitag',
+ 'Samstag',
+);
+$months = array(
+ 'Januar',
+ 'Februar',
+ 'März',
+ 'April',
+ 'Mai',
+ 'Juni',
+ 'Juli',
+ 'August',
+ 'September',
+ 'Oktober',
+ 'November',
+ 'Dezember',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'RRule kann nicht vollständig zu Text konvertiert werden.',
+ 'for %count% times' => '%count% Mal',
+ 'for one time' => 'einmal',
+ '(~ approximate)' => '(~ ungefähr)',
+ 'until %date%' => 'bis %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. 4. Juli, 2014
+ return date('j. ', $params['date']) . $months[date('n', $params['date']) - 1] . date(', Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $params['day'].'. '.$months[$params['month'] - 1];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'und',
+ 'or' => 'oder',
+ 'in_month' => 'im', // e.g. weekly in January, May and August
+ 'in_week' => 'in', // e.g. yearly in week 3
+ 'on' => 'am', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'dem', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => '', // e.g. monthly on the 4th Monday
+ 'on the' => 'am', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'des Monats', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'alle %count% Jahre',
+ 'every year' => 'jährlich',
+ 'every_month_list' => 'jeden', // e.g. every January, May and August
+ 'every %count% months' => 'alle %count% Monate',
+ 'every month' => 'monatlich',
+ 'every %count% weeks' => 'alle %count% Wochen',
+ 'every week' => 'wöchentlich',
+ 'every %count% days' => 'alle %count% Tage',
+ 'every day' => 'täglich',
+ 'every %count% hours' => 'alle %count% Stunden',
+ 'every hour' => 'stündlich',
+ 'last' => 'letzte', // e.g. 2nd last Friday
+ 'days' => 'Tage',
+ 'day' => 'Tag',
+ 'weeks' => 'Wochen',
+ 'week' => 'Woche',
+ 'hours' => 'Stunden',
+ 'hour' => 'stündlich',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $suffix = '';
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'letzten';
+ } elseif ($number == -2) {
+ $abbreviation = 'vorletzten';
+ } elseif ($number == -3) {
+ $abbreviation = 'drittletzten';
+ } elseif ($number == -4) {
+ $abbreviation = 'viertletzten';
+ } elseif ($number == -5) {
+ $abbreviation = 'fünftletzten';
+ } elseif ($number == -6) {
+ $abbreviation = 'sechstletzten';
+ } elseif ($number == -7) {
+ $abbreviation = 'siebtletzten';
+ } elseif ($number == -8) {
+ $abbreviation = 'achtletzten';
+ } elseif ($number == -9) {
+ $abbreviation = 'neuntletzten';
+ } elseif ($number == -10) {
+ $abbreviation = 'zehntletzten';
+ } elseif ($number == -11) {
+ $abbreviation = 'elftletzten';
+ } elseif ($isNegative) {
+ $number = abs($number);
+ $abbreviation = $number . 't letzten';
+ } else {
+ $abbreviation = $number . '.';
+ }
+
+ if (!empty($params['has_negatives']) && $isNegative) {
+ $suffix .= ' Tag';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/el.php b/vendor/simshaun/recurr/translations/el.php
new file mode 100644
index 0000000..dc8c344
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/el.php
@@ -0,0 +1,110 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'Κυριακή',
+ 'Δευτέρα',
+ 'Τρίτη',
+ 'Τετάρτη',
+ 'Πέμπτη',
+ 'Παρασκευή',
+ 'Σάββατο',
+);
+$months = array(
+ 'Ιανουάριος',
+ 'Φεβρουάριος',
+ 'Μάρτιος',
+ 'Απρίλιος',
+ 'Μάιος',
+ 'Ιούνιος',
+ 'Ιούλιος',
+ 'Αύγουστος',
+ 'Σεπτέμβριος',
+ 'Οκτώβριος',
+ 'Νοέμβριος',
+ 'Δεκέμβριος',
+);
+$months_genitive = array(
+ 'Ιανουαρίου',
+ 'Φεβρουαρίου',
+ 'Μαρτίου',
+ 'Απριλίου',
+ 'Μαΐου',
+ 'Ιουνίου',
+ 'Ιουλίου',
+ 'Αυγούστου',
+ 'Σεπτεμβρίου',
+ 'Οκτωβρίου',
+ 'Νοεμβρίου',
+ 'Δεκεμβρίου',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Αδυναμία πλήρους μετατροπής αυτού του κανόνα rrule σε κείμενο.',
+ 'for %count% times' => 'για %count% φορές',
+ 'for one time' => 'για μία φορά',
+ '(~ approximate)' => '(~ κατά προσέγγιση)',
+ 'until %date%' => 'μέχρι %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months_genitive) { // outputs a day date, e.g. 4 Ιουλίου 2014
+ return date('j', $params['date']) . ' ' . $months_genitive[date('n', $params['date']) - 1] . ' '. date('Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months_genitive) { // outputs a day month, e.g. 4 Ιουλίου
+ return $params['day'] . ' ' . $months_genitive[$params['month'] - 1];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'και',
+ 'or' => 'ή',
+ 'in_month' => 'τον', // e.g. weekly in January, May and August
+ 'in_week' => 'την', // e.g. yearly in week 3
+ 'on' => 'την', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'την', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'την', // e.g. monthly on the 4th Monday
+ 'on the' => 'την', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'του μήνα', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'κάθε %count% χρόνια',
+ 'every year' => 'ετήσια',
+ 'every_month_list' => 'κάθε', // e.g. every January, May and August
+ 'every %count% months' => 'κάθε %count% μήνες',
+ 'every month' => 'μηνιαία',
+ 'every %count% weeks' => 'κάθε %count% εβδομάδες',
+ 'every week' => 'εβδομαδιαία',
+ 'every %count% days' => 'κάθε %count% ημέρες',
+ 'every day' => 'καθημερινά',
+ 'last' => 'τελευταία', // e.g. 2nd last Friday
+ 'days' => 'ημέρες',
+ 'day' => 'ημέρα',
+ 'weeks' => 'εβδομάδες',
+ 'week' => 'εβδομάδα',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $ends = 'η';
+ $suffix = '';
+
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'τελευταία';
+ } else {
+ if ($isNegative) {
+ $number = abs($number);
+ $suffix = ' μέχρι την τελευταία';
+ }
+
+ $abbreviation = $number . $ends;
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' ημέρα';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/en.php b/vendor/simshaun/recurr/translations/en.php
new file mode 100644
index 0000000..a7c1276
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/en.php
@@ -0,0 +1,104 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'Sunday',
+ 'Monday',
+ 'Tuesday',
+ 'Wednesday',
+ 'Thursday',
+ 'Friday',
+ 'Saturday',
+);
+$months = array(
+ 'January',
+ 'February',
+ 'March',
+ 'April',
+ 'May',
+ 'June',
+ 'July',
+ 'August',
+ 'September',
+ 'October',
+ 'November',
+ 'December',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Unable to fully convert this rrule to text.',
+ 'for %count% times' => 'for %count% times',
+ 'for one time' => 'once',
+ '(~ approximate)' => '(~ approximate)',
+ 'until %date%' => 'until %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. July 4, 2014
+ return $months[date('n', $params['date']) - 1] . ' '. date('j, Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $months[$params['month'] - 1] . ' '. $params['day'];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'and',
+ 'or' => 'or',
+ 'in_month' => 'in', // e.g. weekly in January, May and August
+ 'in_week' => 'in', // e.g. yearly in week 3
+ 'on' => 'on', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'the', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'the', // e.g. monthly on the 4th Monday
+ 'on the' => 'on the', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'of the month', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'every %count% years',
+ 'every year' => 'yearly',
+ 'every_month_list' => 'every', // e.g. every January, May and August
+ 'every %count% months' => 'every %count% months',
+ 'every month' => 'monthly',
+ 'every %count% weeks' => 'every %count% weeks',
+ 'every week' => 'weekly',
+ 'every %count% days' => 'every %count% days',
+ 'every day' => 'daily',
+ 'every %count% hours' => 'every %count% hours',
+ 'every hour' => 'hourly',
+ 'last' => 'last', // e.g. 2nd last Friday
+ 'days' => 'days',
+ 'day' => 'day',
+ 'weeks' => 'weeks',
+ 'week' => 'week',
+ 'hours' => 'hours',
+ 'hour' => 'hour',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $ends = array('th', 'st', 'nd', 'rd', 'th', 'th', 'th', 'th', 'th', 'th');
+ $suffix = '';
+
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'last';
+ } else {
+ if ($isNegative) {
+ $number = abs($number);
+ $suffix = ' to the last';
+ }
+
+ if (($number % 100) >= 11 && ($number % 100) <= 13) {
+ $abbreviation = $number.'th';
+ } else {
+ $abbreviation = $number.$ends[$number % 10];
+ }
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' day';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/es.php b/vendor/simshaun/recurr/translations/es.php
new file mode 100644
index 0000000..991ad1d
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/es.php
@@ -0,0 +1,100 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'domingo',
+ 'lunes',
+ 'martes',
+ 'miércoles',
+ 'jueves',
+ 'viernes',
+ 'sábado',
+);
+$months = array(
+ 'enero',
+ 'febrero',
+ 'marzo',
+ 'abril',
+ 'mayo',
+ 'junio',
+ 'julio',
+ 'agosto',
+ 'septiembre',
+ 'octubre',
+ 'noviembre',
+ 'diciembre',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'No se puede convertir completamente este RRULE al texto.',
+ 'for %count% times' => 'para %count% veces',
+ 'for one time' => 'por una vez',
+ '(~ approximate)' => '(~ aproximado)',
+ 'until %date%' => 'hasta %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. July 4, 2014
+ return $months[date('n', $params['date']) - 1] . ' '. date('j, Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $months[$params['month'] - 1] . ' '. $params['day'];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'y',
+ 'or' => 'o',
+ 'in_month' => 'en', // e.g. weekly in January, May and August
+ 'in_week' => 'en', // e.g. yearly in week 3
+ 'on' => 'en', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'el', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'en el', // e.g. monthly on the 4th Monday
+ 'on the' => 'en el', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'del mes', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'cada %count% años',
+ 'every year' => 'anual',
+ 'every_month_list' => 'cada', // e.g. every January, May and August
+ 'every %count% months' => 'cada %count% meses',
+ 'every month' => 'mensual',
+ 'every %count% weeks' => 'cada %count% semanas',
+ 'every week' => 'cada semana',
+ 'every %count% days' => 'cada %count% días',
+ 'every day' => 'diariamente',
+ 'last' => 'pasado', // e.g. 2nd last Friday
+ 'days' => 'día',
+ 'day' => 'el día',
+ 'weeks' => 'semanas',
+ 'week' => 'semana',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $ends = array('a', 'a', 'nd', 'a', 'a', 'a', 'a', 'a', 'a', 'a');
+ $suffix = '';
+
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'último';
+ } else {
+ if ($isNegative) {
+ $number = abs($number);
+ $suffix = ' a la última';
+ }
+
+ if (($number % 100) >= 11 && ($number % 100) <= 13) {
+ $abbreviation = $number.'a';
+ } else {
+ $abbreviation = $number.$ends[$number % 10];
+ }
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' día';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/eu.php b/vendor/simshaun/recurr/translations/eu.php
new file mode 100644
index 0000000..1c3adba
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/eu.php
@@ -0,0 +1,43 @@
+<?php
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Ezin izan da rrule testura osoki bihurtu.',
+ 'for %count% times' => '%count% aldiz',
+ 'for %count% time' => '%count% aldia',
+ '(~ approximate)' => '(~ inguru)',
+ 'until %date%' => '%date% arte', // e.g. every year until July 4, 2014
+ 'day_date' => defined('PHP_WINDOWS_VERSION_BUILD') ? '%B %#d, %Y' : '%B %e, %Y',
+ 'and' => 'eta',
+ 'or' => 'edo',
+ 'in' => 'hilabete hauetan:', // e.g. every week in January, May and August
+ 'on' => 'egun hauetan:', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the' => '',
+ 'on the' => '', // e.g. every year on the 1st and 200th day
+ 'every %count% years' => '%count% urtero',
+ 'every year' => 'urtero',
+ 'every_month_list' => 'hilabete hauetan', // e.g. every January, May and August
+ 'every %count% months' => '%count% hilabetero',
+ 'every month' => 'hilabetero',
+ 'every %count% weeks' => '%count% astero',
+ 'every week' => 'astero',
+ 'every %count% days' => '%count% egunero',
+ 'every day' => 'egunero',
+ 'last' => 'azken', // e.g. 2nd last Friday
+ 'days' => 'egun',
+ 'day' => 'egun',
+ 'weeks' => 'aste',
+ 'week' => 'aste',
+ 'ordinal_number' => function ($str, $params) { // formats a number with a prefix e.g. every year on the 1st and 200th day
+ $number = $params['number'];
+
+ $ends = array('garren', 'go', 'garren', 'garren', 'garren', 'garren', 'garren', 'garren', 'garren', 'garren');
+
+ if (($number % 100) >= 11 && ($number % 100) <= 13) {
+ $abbreviation = $number.'garren';
+ } else {
+ $abbreviation = $number.$ends[$number % 10];
+ }
+
+ return $abbreviation;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/fr.php b/vendor/simshaun/recurr/translations/fr.php
new file mode 100644
index 0000000..6bc44a7
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/fr.php
@@ -0,0 +1,103 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'dimanche',
+ 'lundi',
+ 'mardi',
+ 'mercredi',
+ 'jeudi',
+ 'vendredi',
+ 'samedi',
+);
+$months = array(
+ 'janvier',
+ 'février',
+ 'mars',
+ 'avril',
+ 'mai',
+ 'juin',
+ 'juillet',
+ 'août',
+ 'septembre',
+ 'octobre',
+ 'novembre',
+ 'décembre',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Cette règle de récurrence n\'a pas pu être convertie en texte.',
+ 'for %count% times' => '%count% fois',
+ 'for one time' => 'une fois',
+ '(~ approximate)' => '(~ approximation)',
+ 'until %date%' => 'jusqu\'au %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. 4 juillet, 2014
+ return date('j ', $params['date']) . $months[date('n', $params['date']) - 1] . date(', Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $params['day'].' '.$months[$params['month'] - 1];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'et',
+ 'or' => 'ou',
+ 'in_month' => 'en', // e.g. weekly in January, May and August
+ 'in_week' => 'en', // e.g. yearly in week 3
+ 'on' => 'le', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'le', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => '', // e.g. monthly on the 4th Monday
+ 'on the' => 'le', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'du mois', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'tous les %count% ans',
+ 'every year' => 'chaque année',
+ 'every_month_list' => 'chaque', // e.g. every January, May and August
+ 'every %count% months' => 'tous les %count% mois',
+ 'every month' => 'chaque mois',
+ 'every %count% weeks' => 'toutes les %count% semaines',
+ 'every week' => 'chaque semaine',
+ 'every %count% days' => 'tous les %count% jours',
+ 'every day' => 'chaque jour',
+ 'every %count% hours' => 'toutes les %count% heures',
+ 'every hour' => 'chaque heure',
+ 'last' => 'dernier', // e.g. 2nd last Friday
+ 'days' => 'jours',
+ 'day' => 'jour',
+ 'weeks' => 'semaines',
+ 'week' => 'semaine',
+ 'hours' => 'heures',
+ 'hour' => 'heure',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $suffix = '';
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'dernier';
+ } elseif ($number == -2) {
+ $abbreviation = 'avant dernier';
+ } elseif ($isNegative) {
+ $number = abs($number);
+ $abbreviation = $number . 'ème au dernier';
+ } elseif ($number == 1 && (!$params['day_in_month'])) {
+ $abbreviation = $number . 'er';
+ } else if (!$params['day_in_month']) {
+ $abbreviation = $number . 'ème';
+ }
+ else {
+ $abbreviation = $number;
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' jour';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/it.php b/vendor/simshaun/recurr/translations/it.php
new file mode 100644
index 0000000..9f4d4c0
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/it.php
@@ -0,0 +1,116 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'domenica',
+ 'lunedì',
+ 'martedì',
+ 'mercoledì',
+ 'giovedì',
+ 'venerdì',
+ 'sabato',
+);
+$months = array(
+ 'gennaio',
+ 'febbraio',
+ 'marzo',
+ 'aprile',
+ 'maggio',
+ 'giugno',
+ 'luglio',
+ 'agosto',
+ 'settembre',
+ 'ottobre',
+ 'novembre',
+ 'dicembre',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Non è possibile convertire questo rrule in testo.',
+ 'for %count% times' => 'per %count% volte',
+ 'for one time' => 'per una volta',
+ '(~ approximate)' => '(~ approssimato)',
+ 'until %date%' => 'fino al %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. 4 luglio, 2014
+ return date('j ', $params['date']) . $months[date('n', $params['date']) - 1] . date(', Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $params['day'].' '.$months[$params['month'] - 1];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'e',
+ 'or' => 'o',
+ 'in_month' => 'in', // e.g. weekly in January, May and August
+ 'in_week' => 'in', // e.g. yearly in week 3
+ 'on' => 'il', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'il', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'il', // e.g. monthly on the 4th Monday
+ 'on the' => 'il', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'del mese', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'ogni %count% anni',
+ 'every year' => 'ogni anno',
+ 'every_month_list' => 'ogni', // e.g. every January, May and August
+ 'every %count% months' => 'ogni %count% mesi',
+ 'every month' => 'ogni mese',
+ 'every %count% weeks' => 'ogni %count% settimane',
+ 'every week' => 'ogni settimana',
+ 'every %count% days' => 'ogni %count% giorni',
+ 'every day' => 'ogni giorno',
+ 'every %count% hours' => 'ogni %count% ore',
+ 'every hour' => 'ogni ora',
+ 'last' => 'scorso', // e.g. 2nd last Friday
+ 'days' => 'giorni',
+ 'day' => 'giorno',
+ 'weeks' => 'settimane',
+ 'week' => 'settimana',
+ 'hours' => 'ore',
+ 'hour' => 'ora',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $suffix = '';
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'ultimo';
+ } elseif ($number == -2) {
+ $abbreviation = 'penultimo';
+ } elseif ($number == -3) {
+ $abbreviation = 'terzultimo';
+ } elseif ($number == -4) {
+ $abbreviation = 'quarto ultimo';
+ } elseif ($number == -5) {
+ $abbreviation = 'quinta ultimo';
+ } elseif ($number == -6) {
+ $abbreviation = 'sesto ultimo';
+ } elseif ($number == -7) {
+ $abbreviation = 'settimo ultimo';
+ } elseif ($number == -8) {
+ $abbreviation = 'otto ultimo';
+ } elseif ($number == -9) {
+ $abbreviation = 'nono ultimo';
+ } elseif ($number == -10) {
+ $abbreviation = 'decimo ultimo';
+ } elseif ($number == -11) {
+ $abbreviation = 'undici ultimo';
+ } elseif ($isNegative) {
+ $number = abs($number);
+ $abbreviation = $number . ' ultimo';
+ } else {
+ $abbreviation = $number;
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' giorno';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/nl.php b/vendor/simshaun/recurr/translations/nl.php
new file mode 100644
index 0000000..77b2718
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/nl.php
@@ -0,0 +1,100 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'zondag',
+ 'maandag',
+ 'dinsdag',
+ 'woensdag',
+ 'donderdag',
+ 'vrijdag',
+ 'zaterdag',
+);
+$months = array(
+ 'januari',
+ 'februari',
+ 'maart',
+ 'april',
+ 'mei',
+ 'juni',
+ 'juli',
+ 'augustus',
+ 'september',
+ 'oktober',
+ 'november',
+ 'december',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Unable to fully convert this rrule to text.',
+ 'for %count% times' => 'voor %count% keer',
+ 'for one time' => 'eenmalig',
+ '(~ approximate)' => '(~ ongeveer)',
+ 'until %date%' => 'tot en met %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. July 4, 2014
+ return date('j', $params['date']).' '.$months[date('n', $params['date']) - 1] . ' '. date('Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $params['day'].' '.$months[$params['month'] - 1];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'en',
+ 'or' => 'of',
+ 'in_month' => 'op', // e.g. weekly in January, May and August
+ 'in_week' => 'op', // e.g. yearly in week 3
+ 'on' => 'op', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'de', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'de', // e.g. monthly on the 4th Monday
+ 'on the' => 'op de', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'van de maand', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'elke %count% jaar',
+ 'every year' => 'jaarlijks',
+ 'every_month_list' => 'elke', // e.g. every January, May and August
+ 'every %count% months' => 'elke %count% maanden',
+ 'every month' => 'maandelijks',
+ 'every %count% weeks' => 'elke %count% weken',
+ 'every week' => 'wekelijks',
+ 'every %count% days' => 'elke %count% dagen',
+ 'every day' => 'dagelijks',
+ 'last' => 'laatste', // e.g. 2nd last Friday
+ 'days' => 'dagen',
+ 'day' => 'dag',
+ 'weeks' => 'weken',
+ 'week' => 'week',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $ends = array('ste', 'de', 'de', 'de', 'de', 'de', 'de', 'de', 'de', 'de');
+ $suffix = '';
+
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'laatste';
+ } else {
+ if ($isNegative) {
+ $number = abs($number);
+ $suffix = ' na laatste';
+ }
+
+ if (($number % 100) >= 11 && ($number % 100) <= 13) {
+ $abbreviation = $number.'ste';
+ } else {
+ $abbreviation = $number.$ends[$number % 10];
+ }
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' dag';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/no.php b/vendor/simshaun/recurr/translations/no.php
new file mode 100644
index 0000000..e7b5c95
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/no.php
@@ -0,0 +1,100 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'Sndag',
+ 'Mandag',
+ 'Tirsdag',
+ 'Onsdag',
+ 'Torsdag',
+ 'Fredag',
+ 'Lrdag',
+);
+$months = array(
+ 'Januar',
+ 'Februar',
+ 'Mars',
+ 'April',
+ 'Mai',
+ 'Juni',
+ 'Juli',
+ 'August',
+ 'September',
+ 'Oktober',
+ 'November',
+ 'Desember',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Kunne ikke konvertere rrule til tekst.',
+ 'for %count% times' => '%count% ganger',
+ 'for one time' => 'en gang',
+ '(~ approximate)' => '(~ omtrent)',
+ 'until %date%' => 'frem til %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. July 4, 2014
+ return $months[date('n', $params['date']) - 1] . ' '. date('j, Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $months[$params['month'] - 1] . ' '. $params['day'];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'og',
+ 'or' => 'eller',
+ 'in_month' => 'i', // e.g. weekly in January, May and August
+ 'in_week' => 'i', // e.g. yearly in week 3
+ 'on' => 'p', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'den', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'den', // e.g. monthly on the 4th Monday
+ 'on the' => 'p den', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'i mneden', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'hvert %count% r',
+ 'every year' => 'rlig',
+ 'every_month_list' => 'hver', // e.g. every January, May and August
+ 'every %count% months' => 'hver %count% mned',
+ 'every month' => 'mnedlig',
+ 'every %count% weeks' => 'hver %count% uke',
+ 'every week' => 'ukentlig',
+ 'every %count% days' => 'hver %count% dag',
+ 'every day' => 'daglig',
+ 'last' => 'siste', // e.g. 2nd last Friday
+ 'days' => 'dager',
+ 'day' => 'dag',
+ 'weeks' => 'uker',
+ 'week' => 'uke',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $ends = array('th', 'st', 'nd', 'rd', 'th', 'th', 'th', 'th', 'th', 'th');
+ $suffix = '';
+
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'sist';
+ } else {
+ if ($isNegative) {
+ $number = abs($number);
+ $suffix = ' til den siste';
+ }
+
+ if (($number % 100) >= 11 && ($number % 100) <= 13) {
+ $abbreviation = $number.'th';
+ } else {
+ $abbreviation = $number.$ends[$number % 10];
+ }
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' dag';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/pt-br.php b/vendor/simshaun/recurr/translations/pt-br.php
new file mode 100644
index 0000000..b92b5dc
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/pt-br.php
@@ -0,0 +1,87 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'domingo',
+ 'segunda-feira',
+ 'terça-feira',
+ 'quarta-feira',
+ 'quinta-feira',
+ 'sexta-feira',
+ 'sábado',
+);
+$months = array(
+ 'Janeiro',
+ 'Fevereiro',
+ 'Março',
+ 'Abril',
+ 'Maio',
+ 'Junho',
+ 'Julho',
+ 'Agosto',
+ 'Setembro',
+ 'Outubro',
+ 'Novembro',
+ 'Dezembro',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Não foi possível converter esta regra para texto.',
+ 'for %count% times' => 'por %count% vezes',
+ 'for one time' => 'uma vez',
+ '(~ approximate)' => '(~ approximado)',
+ 'until %date%' => 'até %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. July 4, 2014
+ return date('j', $params['date']) . ' de ' . $months[date('n', $params['date']) - 1] . ' de ' . date('Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $params['day'].' de '.$months[$params['month'] - 1];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'e',
+ 'or' => 'ou',
+ 'in_month' => 'em', // e.g. weekly in January, May and August
+ 'in_week' => 'na', // e.g. yearly in week 3
+ 'on' => 'à', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'o', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'o', // e.g. monthly on the 4th Monday
+ 'on the' => 'no', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'do mês', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'a cada %count% anos',
+ 'every year' => 'anualmente',
+ 'every_month_list' => 'sempre em', // e.g. every January, May and August
+ 'every %count% months' => 'a cada %count% meses',
+ 'every month' => 'mensalmente',
+ 'every %count% weeks' => 'a cada %count% semanas',
+ 'every week' => 'semanalmente',
+ 'every %count% days' => 'a cada %count% dias',
+ 'every day' => 'diariamente',
+ 'last' => 'último', // e.g. 2nd last Friday
+ 'days' => 'dias',
+ 'day' => 'dia',
+ 'weeks' => 'semanas',
+ 'week' => 'semana',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $abbreviation = $number.'°';
+ $isNegative = $number < 0;
+ if ($isNegative) {
+ $abbreviation = $abbreviation.' último';
+ }
+
+ $suffix = '';
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' dia';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/sv.php b/vendor/simshaun/recurr/translations/sv.php
new file mode 100644
index 0000000..0dafeae
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/sv.php
@@ -0,0 +1,100 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'Söndag',
+ 'Måndag',
+ 'Tisdag',
+ 'Onsdag',
+ 'Torsdag',
+ 'Fredag',
+ 'Lördag',
+);
+$months = array(
+ 'Januari',
+ 'Februari',
+ 'Mars',
+ 'April',
+ 'Maj',
+ 'Juni',
+ 'Juli',
+ 'Augusti',
+ 'September',
+ 'Oktober',
+ 'November',
+ 'December',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Kunde inte konvertera denna rrule till text.',
+ 'for %count% times' => '%count% gånger',
+ 'for one time' => 'en gång',
+ '(~ approximate)' => '(~ ungefärlig)',
+ 'until %date%' => 't.o.m. %date%', // e.g. every year until July 4, 2014
+ 'day_date' => function ($str, $params) use ($days, $months) { // outputs a day date, e.g. July 4, 2014
+ return $months[date('n', $params['date']) - 1] . ' '. date('j, Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $months[$params['month'] - 1].' '.$params['day'];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 'och',
+ 'or' => 'eller',
+ 'in_month' => 'i', // e.g. weekly in January, May and August
+ 'in_week' => 'i', // e.g. yearly in week 3
+ 'on' => 'på', // e.g. every day on Tuesday, Wednesday and Friday
+ 'the_for_monthday' => 'den', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'den', // e.g. monthly on the 4th Monday
+ 'on the' => 'på den', // e.g. every year on the 1st and 200th day
+ 'of_the_month' => 'i månaden', // e.g. every year on the 2nd or 3rd of the month
+ 'every %count% years' => 'varje %count% år',
+ 'every year' => 'årligen',
+ 'every_month_list' => 'varje', // e.g. every January, May and August
+ 'every %count% months' => 'varje %count% månad',
+ 'every month' => 'månadsvis',
+ 'every %count% weeks' => 'varje %count% vecka',
+ 'every week' => 'veckovis',
+ 'every %count% days' => 'varje %count% dag',
+ 'every day' => 'dagligen',
+ 'last' => 'sista', // e.g. 2nd last Friday
+ 'days' => 'dagar',
+ 'day' => 'dag',
+ 'weeks' => 'veckor',
+ 'week' => 'vecka',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $ends = array(':e', ':a', ':a', ':e', ':e', ':e', ':e', ':e', ':e', ':e');
+ $suffix = '';
+
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'last';
+ } else {
+ if ($isNegative) {
+ $number = abs($number);
+ $suffix = ' to the last';
+ }
+
+ if (($number % 100) >= 11 && ($number % 100) <= 13) {
+ $abbreviation = $number.'th';
+ } else {
+ $abbreviation = $number.$ends[$number % 10];
+ }
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' dag';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);
diff --git a/vendor/simshaun/recurr/translations/tr.php b/vendor/simshaun/recurr/translations/tr.php
new file mode 100644
index 0000000..33d5295
--- /dev/null
+++ b/vendor/simshaun/recurr/translations/tr.php
@@ -0,0 +1,100 @@
+<?php
+
+// sunday first as date('w') is zero-based on sunday
+$days = array(
+ 'Pazar',
+ 'Pazartesi',
+ 'Salı',
+ 'Çarşamba',
+ 'Perşembe',
+ 'Cuma',
+ 'Cumartesi',
+);
+$months = array(
+ 'Ocak',
+ 'Şubat',
+ 'Mart',
+ 'Nisan',
+ 'Mayıs',
+ 'Haziran',
+ 'Temmuz',
+ 'Ağustos',
+ 'Eylül',
+ 'Ekim',
+ 'Kasım',
+ 'Aralık',
+);
+
+return array(
+ 'Unable to fully convert this rrule to text.' => 'Bu rrule tam metne dönüştürülemiyor.',
+ 'for %count% times' => '%count% kez',
+ 'for one time' => 'bir kere',
+ '(~ approximate)' => '(~ yaklaşık)',
+ 'until %date%' => 'kadar %date%', // e.g. 4 Temmuz 2014 e kadar her yıl
+ 'day_date' => function ($str, $params) use ($days, $months) { // tarih çıktıları, e.g. Temmuz 4, 2014
+ return $months[date('n', $params['date']) - 1] . ' '. date('j, Y', $params['date']);
+ },
+ 'day_month' => function ($str, $params) use ($days, $months) { // outputs a day month, e.g. July 4
+ return $months[$params['month'] - 1].' '.$params['day'];
+ },
+ 'day_names' => $days,
+ 'month_names' => $months,
+ 'and' => 've',
+ 'or' => 'veya',
+ 'in_month' => 'içinde', // e.g. Ocak, Mayıs ve Ağustos'ta haftalık
+ 'in_week' => 'içinde', // e.g. yıllık haftada 3
+ 'on' => 'on', // e.g. her Salı, Çarşamba ve Cuma günü
+ 'the_for_monthday' => 'the', // e.g. monthly on Tuesday the 1st
+ 'the_for_weekday' => 'the', // e.g. monthly on the 4th Monday
+ 'on the' => 'üzerinde', // e.g. her yıl 1. ve 200. günde
+ 'of_the_month' => 'ayın', // e.g. her yıl 2. ve 3. ayın
+ 'every %count% years' => 'every %count% years',
+ 'every year' => 'yıllık',
+ 'every_month_list' => 'her', // e.g. her Ocak, Mayıs ve Ağustos
+ 'every %count% months' => 'her %count% ay',
+ 'every month' => 'aylık',
+ 'every %count% weeks' => 'her %count% hafta',
+ 'every week' => 'haftalık',
+ 'every %count% days' => 'her %count% gün',
+ 'every day' => 'günlük',
+ 'last' => 'son', // e.g. 2nd last Friday
+ 'days' => 'günler',
+ 'day' => 'gün',
+ 'weeks' => 'haftalar',
+ 'week' => 'hafta',
+ // formats a number with a prefix e.g. every year on the 1st and 200th day
+ // negative numbers should be handled as in '5th to the last' or 'last'
+ //
+ // if has_negatives is true in the params, it is good form to add 'day' after
+ // each number, as in: 'every month on the 5th day or 2nd to the last day' or
+ // it may be confusing like 'every month on the 5th or 2nd to the last day'
+ 'ordinal_number' => function ($str, $params) {
+ $number = $params['number'];
+
+ $ends = array('th', 'st', 'nd', 'rd', 'th', 'th', 'th', 'th', 'th', 'th');
+ $suffix = '';
+
+ $isNegative = $number < 0;
+
+ if ($number == -1) {
+ $abbreviation = 'son';
+ } else {
+ if ($isNegative) {
+ $number = abs($number);
+ $suffix = ' sonuna kadar';
+ }
+
+ if (($number % 100) >= 11 && ($number % 100) <= 13) {
+ $abbreviation = $number.'th';
+ } else {
+ $abbreviation = $number.$ends[$number % 10];
+ }
+ }
+
+ if (!empty($params['has_negatives'])) {
+ $suffix .= ' gün';
+ }
+
+ return $abbreviation . $suffix;
+ },
+);