Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 31 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

Common & useful classes, resources, extensions. Based on Symfony framework.

# 0.5.2

1. Add translations
- Category
- Photography
- Configuration
- Created at
- Updated at

# 0.5.1

1. The "Back to" translation

# 0.5.0

1. Support Symfony `7.2.*`

# 0.4.0

1. Support Symfony `5.4`
Expand All @@ -10,19 +27,20 @@ Common & useful classes, resources, extensions. Based on Symfony framework.
3. Update the `meritoo/common-library` package to `^1.3`
4. Fix PHPStan errors
5. Bump minimum PHP version: `8.0` -> `8.2`
1. All the `*Type` classes, that extend `Meritoo\Common\Type\Base\BaseType` class, have been replaced by enumerations

| Before | After |
|-----------------------------------------------------------------------|---------------------------------------------------------|
| `Meritoo\CommonBundle\Type\DependencyInjection\ConfigurationFileType` | `Meritoo\CommonBundle\Enums\Date\ConfigurationFileType` |
| `Meritoo\CommonBundle\Type\Date\DateLength` | `Meritoo\CommonBundle\Enums\Date\DateLength` |
| `Meritoo\Common\Type\OopVisibilityType` | `Meritoo\Common\Enums\OopVisibility` |

2. Other than that:
- The following classes have been removed as not needed anymore:
- `Meritoo\CommonBundle\Exception\Type\Date\UnknownDateLengthException`
- `Meritoo\CommonBundle\Exception\Type\DependencyInjection\UnknownConfigurationFileTypeException`
- `Meritoo\Test\CommonBundle\DependencyInjection\Base\BaseExtension\UnknownServicesFileType\Extension`
1. All the `*Type` classes, that extend `Meritoo\Common\Type\Base\BaseType` class, have been replaced by
enumerations

| Before | After |
|-----------------------------------------------------------------------|---------------------------------------------------------|
| `Meritoo\CommonBundle\Type\DependencyInjection\ConfigurationFileType` | `Meritoo\CommonBundle\Enums\Date\ConfigurationFileType` |
| `Meritoo\CommonBundle\Type\Date\DateLength` | `Meritoo\CommonBundle\Enums\Date\DateLength` |
| `Meritoo\Common\Type\OopVisibilityType` | `Meritoo\Common\Enums\OopVisibility` |

2. Other than that:
- The following classes have been removed as not needed anymore:
- `Meritoo\CommonBundle\Exception\Type\Date\UnknownDateLengthException`
- `Meritoo\CommonBundle\Exception\Type\DependencyInjection\UnknownConfigurationFileTypeException`
- `Meritoo\Test\CommonBundle\DependencyInjection\Base\BaseExtension\UnknownServicesFileType\Extension`

# 0.3.1

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.1
0.5.2
22 changes: 22 additions & 0 deletions src/Resources/translations/words+intl-icu.de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,28 @@ meritoo_common:
one {Jahr}
other {Jahre}
}
category: >-
{count, plural,
one {Kategorie}
other {Kategorien}
}
photography: >-
{count, plural,
one {Fotografie}
other {Fotos}
}
created_at: >-
{gender, select,
female {Erstellt am}
male {Erstellt am}
other {Erstellt am}
}
updated_at: >-
{gender, select,
female {Geändert am}
male {Geändert am}
other {Geändert am}
}
finances:
transaction: >-
{count, plural,
Expand Down
22 changes: 22 additions & 0 deletions src/Resources/translations/words+intl-icu.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,28 @@ meritoo_common:
one {Year}
other {Years}
}
category: >-
{count, plural,
one {Category}
other {Categories}
}
photography: >-
{count, plural,
one {Photography}
other {Photographs}
}
created_at: >-
{gender, select,
female {Created at}
male {Created at}
other {Created at}
}
updated_at: >-
{gender, select,
female {Updated at}
male {Updated at}
other {Updated at}
}
finances:
transaction: >-
{count, plural,
Expand Down
26 changes: 26 additions & 0 deletions src/Resources/translations/words+intl-icu.pl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,32 @@ meritoo_common:
many {Lat}
other {Lat}
}
category: >-
{count, plural,
one {Kategoria}
few {Kategorie}
many {Kategorii}
other {Kategorii}
}
photography: >-
{count, plural,
one {Fotografia}
few {Fotografie}
many {Fotografii}
other {Fotografii}
}
created_at: >-
{gender, select,
female {Utworzona}
male {Utworzony}
other {Utworzono}
}
updated_at: >-
{gender, select,
female {Zmodyfikowana}
male {Zmodyfikowany}
other {Zmodyfikowano}
}
finances:
transaction: >-
{count, plural,
Expand Down
4 changes: 1 addition & 3 deletions src/Resources/translations/words.de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ meritoo_common:
price: Preis
price_amount: Betrag
weight: Gewicht
category: Kategorie
please: Bitte
all:
male: Jeder
Expand All @@ -48,6 +47,7 @@ meritoo_common:
date: Datum
address: Adresse
zip_code: Postleitzahl
configuration: Konfiguration
area:
country: Land
county: Bezirk
Expand All @@ -63,8 +63,6 @@ meritoo_common:
yes: Ja
no: Nein
information:
created_at: Erstellt um
updated_at: Aktualisiert um
uploaded_at: Hochgeladen um
disabled_at: Deaktiviert bei
downloaded_at: Heruntergeladen um
Expand Down
4 changes: 1 addition & 3 deletions src/Resources/translations/words.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ meritoo_common:
price: Price
price_amount: Amount
weight: Weight
category: Category
please: Please
all:
male: Everyone
Expand All @@ -48,6 +47,7 @@ meritoo_common:
date: Date
address: Address
zip_code: Post Code
configuration: Configuration
area:
country: Country
county: County
Expand All @@ -63,8 +63,6 @@ meritoo_common:
yes: Yes
no: No
information:
created_at: Created at
updated_at: Updated at
uploaded_at: Uploaded at
disabled_at: Disabled at
downloaded_at: Downloaded at
Expand Down
4 changes: 1 addition & 3 deletions src/Resources/translations/words.pl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ meritoo_common:
price: Cena
price_amount: Kwota
weight: Waga
category: Kategoria
please: Proszę
all:
male: Wszyscy
Expand All @@ -48,6 +47,7 @@ meritoo_common:
date: Data
address: Adres
zip_code: Kod pocztowy
configuration: Konfiguracja
area:
country: Kraj
county: Hrabstwo
Expand All @@ -63,8 +63,6 @@ meritoo_common:
yes: Tak
no: Nie
information:
created_at: Utworzono
updated_at: Zmodyfikowano
uploaded_at: Przesłano
disabled_at: Zablokowano
downloaded_at: Pobrano
Expand Down
Loading