Fix past declensions in Polish
Showing 1 of 4 files from the diff.
src/Carbon/Lang/pl.php
changed.
Other files ignored by Codecov
tests/Localization/PlTest.php
has changed.
tests/CarbonImmutable/LocalizationTest.php
has changed.
tests/Localization/PlPlTest.php
has changed.
@@ -53,7 +53,30 @@
Loading
53 | 53 | 'a_second' => '{1}kilka sekund|:count sekunda|:count sekundy|:count sekund', |
|
54 | 54 | 's' => ':count sek.', |
|
55 | 55 | 'ago' => ':time temu', |
|
56 | - | 'from_now' => 'za :time', |
|
56 | + | 'from_now' => static function ($time) { |
|
57 | + | switch ($time) { |
|
58 | + | case '1 godzina': |
|
59 | + | return 'za 1 godzinę'; |
|
60 | + | ||
61 | + | case '1 minuta': |
|
62 | + | return 'za 1 minutę'; |
|
63 | + | ||
64 | + | case '1 sekunda': |
|
65 | + | return 'za 1 sekundę'; |
|
66 | + | ||
67 | + | case 'godzina': |
|
68 | + | return 'za godzinę'; |
|
69 | + | ||
70 | + | case 'minuta': |
|
71 | + | return 'za minutę'; |
|
72 | + | ||
73 | + | case 'sekunda': |
|
74 | + | return 'za sekundę'; |
|
75 | + | ||
76 | + | default: |
|
77 | + | return "za $time"; |
|
78 | + | } |
|
79 | + | }, |
|
57 | 80 | 'after' => ':time po', |
|
58 | 81 | 'before' => ':time przed', |
|
59 | 82 | 'diff_now' => 'przed chwilą', |
Files | Complexity | Coverage |
---|---|---|
src/Carbon | 2,153 | 100.00% |
Project Totals (886 files) | 2153 | 100.00% |
1423523913
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.