Skip to content

Commit f70d3a9

Browse files
authored
Removed symfony/yaml dependency (#136)
1 parent a7ef126 commit f70d3a9

File tree

88 files changed

+1306
-1090
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+1306
-1090
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
],
1717
"require": {
1818
"php": "~8.2 || ~8.3 || ~8.4",
19-
"symfony/translation": "~5.4||~6.4||~7",
20-
"symfony/yaml": "~5.4||~6.4||~7"
19+
"symfony/translation": "~5.4||~6.4||~7"
2120
},
2221
"require-dev": {
2322
"thunderer/shortcode": "^0.7",

composer.lock

Lines changed: 1 addition & 152 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php declare(strict_types=1);
2+
3+
return [
4+
'just_now' => [
5+
'past' => '[0,Inf] nou nou',
6+
'future' => '[0,Inf] netnou',
7+
],
8+
'second' => [
9+
'past' => '[0,1] %count% sekonde gelede|[2,Inf] %count% sekondes gelede',
10+
'future' => '[0,1] %count% sekonde van nou af|[2,Inf] %count% sekondes van nou af',
11+
],
12+
'minute' => [
13+
'past' => '{1} %count% minuut gelede|[2,Inf] %count% minute gelede',
14+
'future' => '{1} %count% minuut van nou af|[2,Inf] %count% minute van nou af',
15+
],
16+
'hour' => [
17+
'past' => '{1} %count% uur gelede|[2,Inf] %count% ure gelede',
18+
'future' => '{1} %count% uur van nou af|[2,Inf] %count% ure van nou af',
19+
],
20+
'day' => [
21+
'past' => '{1} %count% dag gelede|[2,Inf] %count% dae gelede',
22+
'future' => '{1} %count% dag van nou af|[2,Inf] %count% dae van nou af',
23+
],
24+
'week' => [
25+
'past' => '{1} %count% week gelede|[2,Inf] %count% weke gelede',
26+
'future' => '{1} %count% week van nou af|[2,Inf] %count% weke van nou af',
27+
],
28+
'month' => [
29+
'past' => '{1} %count% maand gelede|[2,Inf] %count% maande gelede',
30+
'future' => '{1} %count% maand van nou af|[2,Inf] %count% maande van nou af',
31+
],
32+
'year' => [
33+
'past' => '{1} %count% jaar gelede|[2,Inf] %count% jaar gelede',
34+
'future' => '{1} %count% jaar van nou af|[2,Inf] %count% jaar van nou af',
35+
],
36+
'compound' => [
37+
'second' => '[0,1] %count% sekonde|[2,Inf] %count% sekondes',
38+
'minute' => '{1} %count% minuut|[2,Inf] %count% minute',
39+
'hour' => '{1} %count% uur|[2,Inf] %count% ure',
40+
'day' => '{1} %count% dag|[2,Inf] %count% dae',
41+
'week' => '{1} %count% week|[2,Inf] %count% weke',
42+
'month' => '{1} %count% maand|[2,Inf] %count% maande',
43+
'year' => '{1} %count% jaar|[2,Inf] %count% jaar',
44+
'past' => '%value% gelede',
45+
'future' => '%value% van nou af',
46+
],
47+
];

src/Coduo/PHPHumanizer/Resources/translations/difference.af.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php declare(strict_types=1);
2+
3+
return [
4+
'just_now' => [
5+
'past' => '[0,Inf] indi',
6+
'future' => '[0,Inf] indi',
7+
],
8+
'second' => [
9+
'past' => '[0,1] %count% saniyə əvvəl|[2,Inf] %count% saniyə əvvəl',
10+
'future' => '[0,1] %count% saniyə sonra|[2,Inf] %count% saniyə sonra',
11+
],
12+
'minute' => [
13+
'past' => '{1} %count% dəqiqə əvvəl|[2,Inf] %count% dəqiqə əvvəl',
14+
'future' => '{1} %count% dəqiqə sonra|[2,Inf] %count% dəqiqə sonra',
15+
],
16+
'hour' => [
17+
'past' => '{1} %count% saat əvvəl|[2,Inf] %count% saat əvvəl',
18+
'future' => '{1} %count% saat sonra|[2,Inf] %count% saat sonra',
19+
],
20+
'day' => [
21+
'past' => '{1} %count% gün əvvəl|[2,Inf] %count% gün əvvəl',
22+
'future' => '{1} %count% gün sonra|[2,Inf] %count% gün sonra',
23+
],
24+
'week' => [
25+
'past' => '{1} %count% həftə əvvəl|[2,Inf] %count% həftə əvvəl',
26+
'future' => '{1} %count% həftə sonra|[2,Inf] %count% həftə sonra',
27+
],
28+
'month' => [
29+
'past' => '{1} %count% ay əvvəl|[2,Inf] %count% ay əvvəl',
30+
'future' => '{1} %count% ay sonra|[2,Inf] %count% ay sonra',
31+
],
32+
'year' => [
33+
'past' => '{1} %count% il əvvəl|[2,Inf] %count% il əvvəl',
34+
'future' => '{1} %count% il sonra|[2,Inf] %count% il sonra',
35+
],
36+
'compound' => [
37+
'second' => '[0,1] %count% saniyə|[2,Inf] %count% saniyə',
38+
'minute' => '{1} %count% dəqiqə|[2,Inf] %count% dəqiqə',
39+
'hour' => '{1} %count% saat|[2,Inf] %count% saat',
40+
'day' => '{1} %count% gün|[2,Inf] %count% gün',
41+
'week' => '{1} %count% həftə|[2,Inf] %count% həftə',
42+
'month' => '{1} %count% ay|[2,Inf] %count% ay',
43+
'year' => '{1} %count% il|[2,Inf] %count% il',
44+
'past' => '%value% əvvəl',
45+
'future' => '%value% sonra',
46+
],
47+
];

src/Coduo/PHPHumanizer/Resources/translations/difference.az.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php declare(strict_types=1);
2+
3+
return [
4+
'just_now' => [
5+
'past' => '[0,Inf] в момента',
6+
'future' => '[0,Inf] в момента',
7+
],
8+
'second' => [
9+
'past' => '[0,1] преди %count% секунда|[2,Inf] преди %count% секунди',
10+
'future' => '[0,1] след %count% секунда|[2,Inf] след %count% секунди',
11+
],
12+
'minute' => [
13+
'past' => '{1} преди %count% минута|[2,Inf] преди %count% минути',
14+
'future' => '{1} след %count% минута|[2,Inf] след %count% минути',
15+
],
16+
'hour' => [
17+
'past' => '{1} преди %count% час|[2,Inf] преди %count% часа',
18+
'future' => '{1} след %count% час|[2,Inf] след %count% часа',
19+
],
20+
'day' => [
21+
'past' => '{1} преди %count% ден|[2,Inf] преди %count% дни',
22+
'future' => '{1} след %count% ден|[2,Inf] след %count% дни',
23+
],
24+
'week' => [
25+
'past' => '{1} преди %count% седмица|[2,Inf] преди %count% седмици',
26+
'future' => '{1} след %count% седмица|[2,Inf] след %count% седмици',
27+
],
28+
'month' => [
29+
'past' => '{1} преди %count% месец|[2,Inf] преди %count% месеца',
30+
'future' => '{1} след %count% месец|[2,Inf] след %count% месеца',
31+
],
32+
'year' => [
33+
'past' => '{1} преди %count% година|[2,Inf] преди %count% години',
34+
'future' => '{1} след %count% година|[2,Inf] след %count% години',
35+
],
36+
'compound' => [
37+
'second' => '[0,1] %count% секунда|[2,Inf] %count% секунди',
38+
'minute' => '{1} %count% минута|[2,Inf] %count% минути',
39+
'hour' => '{1} %count% час|[2,Inf] %count% часа',
40+
'day' => '{1} %count% ден|[2,Inf] %count% дни',
41+
'week' => '{1} %count% седмица|[2,Inf] %count% седмица',
42+
'month' => '{1} %count% месец|[2,Inf] %count% месеца',
43+
'year' => '{1} %count% година|[2,Inf] %count% години',
44+
'past' => '%value% преди това',
45+
'future' => '%value% след това',
46+
],
47+
];

0 commit comments

Comments
 (0)