tk_TM.php
2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Authors:
* - Ghorban M. Tavakoly Pablo Saratxaga & Ghorban M. Tavakoly pablo@walon.org & gmt314@yahoo.com
* - SuperManPHP
* - Maksat Meredow (isadma)
*/
$transformDiff = function ($input) {
return strtr($input, [
'sekunt' => 'sekunt',
'hepde' => 'hepde',
]);
};
return array_replace_recursive(require __DIR__.'/en.php', [
'formats' => [
'L' => 'DD.MM.YYYY',
],
'months' => ['Ýanwar', 'Fewral', 'Mart', 'Aprel', 'Maý', 'Iýun', 'Iýul', 'Awgust', 'Sentýabr', 'Oktýabr', 'Noýabr', 'Dekabr'],
'months_short' => ['Ýan', 'Few', 'Mar', 'Apr', 'Maý', 'Iýn', 'Iýl', 'Awg', 'Sen', 'Okt', 'Noý', 'Dek'],
'weekdays' => ['Duşenbe', 'Sişenbe', 'Çarşenbe', 'Penşenbe', 'Anna', 'Şenbe', 'Ýekşenbe'],
'weekdays_short' => ['Duş', 'Siş', 'Çar', 'Pen', 'Ann', 'Şen', 'Ýek'],
'weekdays_min' => ['Du', 'Si', 'Ça', 'Pe', 'An', 'Şe', 'Ýe'],
'first_day_of_week' => 1,
'day_of_first_week_of_year' => 1,
'year' => ':count ýyl',
'y' => ':count ýyl',
'a_year' => ':count ýyl',
'month' => ':count aý',
'm' => ':count aý',
'a_month' => ':count aý',
'week' => ':count hepde',
'w' => ':count hepde',
'a_week' => ':count hepde',
'day' => ':count gün',
'd' => ':count gün',
'a_day' => ':count gün',
'hour' => ':count sagat',
'h' => ':count sagat',
'a_hour' => ':count sagat',
'minute' => ':count minut',
'min' => ':count minut',
'a_minute' => ':count minut',
'second' => ':count sekunt',
's' => ':count sekunt',
'a_second' => ':count sekunt',
'ago' => function ($time) use ($transformDiff) {
return $transformDiff($time).' ozal';
},
'from_now' => function ($time) use ($transformDiff) {
return $transformDiff($time).' soňra';
},
'after' => function ($time) use ($transformDiff) {
return $transformDiff($time).' soň';
},
'before' => function ($time) use ($transformDiff) {
return $transformDiff($time).' öň';
},
]);