1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2024-11-28 05:24:10 +01:00

Update examples rules in review_translations script

This commit is contained in:
rlanvin 2021-07-04 16:23:13 +02:00
parent 96cadb6100
commit a6c8896894
2 changed files with 45 additions and 32 deletions

View File

@ -43,47 +43,64 @@ if ($args['locale']) {
'DTSTART' => '2015-06-01',
'COUNT' => 6
),
array(
'FREQ' => 'YEARLY',
'COUNT' => 2,
'BYDAY' => 'TU',
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'YEARLY',
'COUNT' => 2,
'BYMONTH' => '1,5,8',
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'YEARLY',
'BYYEARDAY' => [1,42,-1],
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'YEARLY',
'BYWEEKNO' => '10,42',
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'MONTHLY',
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'MONTHLY',
'INTERVAL' => 3,
'DTSTART' => date_create('1997-01-01')
'BYMONTHDAY' => [5,10,-5,-1],
'DTSTART' => date_create('1997-01-01'),
'UNTIL' => date_create('1997-12-31')
),
array(
'FREQ' => 'YEARLY',
'FREQ' => 'MONTHLY',
'BYDAY' => '1MO,-1TU',
),
array(
'FREQ' => 'WEEKLY',
'COUNT' => 2,
'BYDAY' => 'TU',
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'YEARLY',
'COUNT' => 2,
'BYDAY' => 'TU',
'DTSTART' => date_create('1997-09-02 09:00')
'FREQ' => 'WEEKLY',
'INTERVAL' => 2
),
array(
'FREQ' => 'YEARLY',
'FREQ' => 'WEEKLY',
'INTERVAL' => 3,
'BYDAY' => 'MO,TU,FR',
'BYSETPOS' => 1
),
array(
'FREQ' => 'DAILY',
'COUNT' => 2,
'BYDAY' => 'TU,FR',
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'YEARLY',
'COUNT' => 1,
'BYDAY' => 'TU',
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'YEARLY',
'COUNT' => 1,
'BYDAY' => 'TU',
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'YEARLY',
'COUNT' => 1,
'BYDAY' => 'TU',
'DTSTART' => date_create('1997-09-02 09:00')
),
array(
'FREQ' => 'HOURLY',
'COUNT' => 1,
@ -101,7 +118,7 @@ if ($args['locale']) {
array(
'FREQ' => 'MINUTELY',
'BYHOUR' => 21,
'BYMINUTE' => 10,
'BYMINUTE' => [0,10,20,30,40,50],
),
array(
'FREQ' => 'SECONDLY',

View File

@ -1,11 +1,7 @@
<?php
/**
* Translation file for English language.
*
* Most strings can be an array, with a value as the key. The system will
* pick the translation corresponding to the key. The key "else" will be picked
* if no matching value is found. This is useful for plurals.
* Translation file for Persian (Farsi) language.
*
* Licensed under the MIT license.
*