From 08b04027934e9695333d638ad8c8f17788c0785e Mon Sep 17 00:00:00 2001 From: Meritoo Date: Mon, 13 Jan 2025 21:46:48 +0100 Subject: [PATCH 1/6] Add the "Category" translation --- src/Resources/translations/words+intl-icu.de.yaml | 5 +++++ src/Resources/translations/words+intl-icu.en.yaml | 5 +++++ src/Resources/translations/words+intl-icu.pl.yaml | 7 +++++++ src/Resources/translations/words.de.yaml | 1 - src/Resources/translations/words.en.yaml | 1 - src/Resources/translations/words.pl.yaml | 1 - 6 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/Resources/translations/words+intl-icu.de.yaml b/src/Resources/translations/words+intl-icu.de.yaml index d52fa06..72be178 100644 --- a/src/Resources/translations/words+intl-icu.de.yaml +++ b/src/Resources/translations/words+intl-icu.de.yaml @@ -65,6 +65,11 @@ meritoo_common: one {Jahr} other {Jahre} } + category: >- + {count, plural, + one {Kategorie} + other {Kategorien} + } finances: transaction: >- {count, plural, diff --git a/src/Resources/translations/words+intl-icu.en.yaml b/src/Resources/translations/words+intl-icu.en.yaml index 4d92dae..b9cc4f8 100644 --- a/src/Resources/translations/words+intl-icu.en.yaml +++ b/src/Resources/translations/words+intl-icu.en.yaml @@ -65,6 +65,11 @@ meritoo_common: one {Year} other {Years} } + category: >- + {count, plural, + one {Category} + other {Categories} + } finances: transaction: >- {count, plural, diff --git a/src/Resources/translations/words+intl-icu.pl.yaml b/src/Resources/translations/words+intl-icu.pl.yaml index e06d606..5bf3a01 100644 --- a/src/Resources/translations/words+intl-icu.pl.yaml +++ b/src/Resources/translations/words+intl-icu.pl.yaml @@ -91,6 +91,13 @@ meritoo_common: many {Lat} other {Lat} } + category: >- + {count, plural, + one {Kategoria} + few {Kategorie} + many {Kategorii} + other {Kategorii} + } finances: transaction: >- {count, plural, diff --git a/src/Resources/translations/words.de.yaml b/src/Resources/translations/words.de.yaml index 9be795c..a35f7e9 100644 --- a/src/Resources/translations/words.de.yaml +++ b/src/Resources/translations/words.de.yaml @@ -32,7 +32,6 @@ meritoo_common: price: Preis price_amount: Betrag weight: Gewicht - category: Kategorie please: Bitte all: male: Jeder diff --git a/src/Resources/translations/words.en.yaml b/src/Resources/translations/words.en.yaml index e1e4e25..d8ac394 100644 --- a/src/Resources/translations/words.en.yaml +++ b/src/Resources/translations/words.en.yaml @@ -32,7 +32,6 @@ meritoo_common: price: Price price_amount: Amount weight: Weight - category: Category please: Please all: male: Everyone diff --git a/src/Resources/translations/words.pl.yaml b/src/Resources/translations/words.pl.yaml index a57fd63..6b5ea88 100644 --- a/src/Resources/translations/words.pl.yaml +++ b/src/Resources/translations/words.pl.yaml @@ -32,7 +32,6 @@ meritoo_common: price: Cena price_amount: Kwota weight: Waga - category: Kategoria please: Proszę all: male: Wszyscy From b0a46fd064085a5c2e5cfe7c40a270e5f3ca8ef5 Mon Sep 17 00:00:00 2001 From: Meritoo Date: Mon, 13 Jan 2025 21:53:40 +0100 Subject: [PATCH 2/6] Add the "Photography" translation --- src/Resources/translations/words+intl-icu.de.yaml | 5 +++++ src/Resources/translations/words+intl-icu.en.yaml | 5 +++++ src/Resources/translations/words+intl-icu.pl.yaml | 7 +++++++ 3 files changed, 17 insertions(+) diff --git a/src/Resources/translations/words+intl-icu.de.yaml b/src/Resources/translations/words+intl-icu.de.yaml index 72be178..d4fe7b5 100644 --- a/src/Resources/translations/words+intl-icu.de.yaml +++ b/src/Resources/translations/words+intl-icu.de.yaml @@ -70,6 +70,11 @@ meritoo_common: one {Kategorie} other {Kategorien} } + photography: >- + {count, plural, + one {Fotografie} + other {Fotos} + } finances: transaction: >- {count, plural, diff --git a/src/Resources/translations/words+intl-icu.en.yaml b/src/Resources/translations/words+intl-icu.en.yaml index b9cc4f8..b0a9a39 100644 --- a/src/Resources/translations/words+intl-icu.en.yaml +++ b/src/Resources/translations/words+intl-icu.en.yaml @@ -70,6 +70,11 @@ meritoo_common: one {Category} other {Categories} } + photography: >- + {count, plural, + one {Photography} + other {Photographs} + } finances: transaction: >- {count, plural, diff --git a/src/Resources/translations/words+intl-icu.pl.yaml b/src/Resources/translations/words+intl-icu.pl.yaml index 5bf3a01..9483f4b 100644 --- a/src/Resources/translations/words+intl-icu.pl.yaml +++ b/src/Resources/translations/words+intl-icu.pl.yaml @@ -98,6 +98,13 @@ meritoo_common: many {Kategorii} other {Kategorii} } + photography: >- + {count, plural, + one {Fotografia} + few {Fotografie} + many {Fotografii} + other {Fotografii} + } finances: transaction: >- {count, plural, From a55752b2a270dd2588cc7a4228e82410f6f8aa37 Mon Sep 17 00:00:00 2001 From: Meritoo Date: Mon, 13 Jan 2025 21:55:51 +0100 Subject: [PATCH 3/6] Add the "Configuration" translation --- src/Resources/translations/words.de.yaml | 1 + src/Resources/translations/words.en.yaml | 1 + src/Resources/translations/words.pl.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/src/Resources/translations/words.de.yaml b/src/Resources/translations/words.de.yaml index a35f7e9..63e19c1 100644 --- a/src/Resources/translations/words.de.yaml +++ b/src/Resources/translations/words.de.yaml @@ -47,6 +47,7 @@ meritoo_common: date: Datum address: Adresse zip_code: Postleitzahl + configuration: Konfiguration area: country: Land county: Bezirk diff --git a/src/Resources/translations/words.en.yaml b/src/Resources/translations/words.en.yaml index d8ac394..1610d6b 100644 --- a/src/Resources/translations/words.en.yaml +++ b/src/Resources/translations/words.en.yaml @@ -47,6 +47,7 @@ meritoo_common: date: Date address: Address zip_code: Post Code + configuration: Configuration area: country: Country county: County diff --git a/src/Resources/translations/words.pl.yaml b/src/Resources/translations/words.pl.yaml index 6b5ea88..ba6c9be 100644 --- a/src/Resources/translations/words.pl.yaml +++ b/src/Resources/translations/words.pl.yaml @@ -47,6 +47,7 @@ meritoo_common: date: Data address: Adres zip_code: Kod pocztowy + configuration: Konfiguracja area: country: Kraj county: Hrabstwo From d83e75f961b131214af1c32d5ba7c3ffcd863760 Mon Sep 17 00:00:00 2001 From: Meritoo Date: Mon, 13 Jan 2025 22:05:21 +0100 Subject: [PATCH 4/6] Add the "Updated at" translation --- src/Resources/translations/words+intl-icu.de.yaml | 6 ++++++ src/Resources/translations/words+intl-icu.en.yaml | 6 ++++++ src/Resources/translations/words+intl-icu.pl.yaml | 6 ++++++ src/Resources/translations/words.de.yaml | 1 - src/Resources/translations/words.en.yaml | 1 - src/Resources/translations/words.pl.yaml | 1 - 6 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/Resources/translations/words+intl-icu.de.yaml b/src/Resources/translations/words+intl-icu.de.yaml index d4fe7b5..a06e25f 100644 --- a/src/Resources/translations/words+intl-icu.de.yaml +++ b/src/Resources/translations/words+intl-icu.de.yaml @@ -75,6 +75,12 @@ meritoo_common: one {Fotografie} other {Fotos} } + updated_at: >- + {gender, select, + female {Geändert am} + male {Geändert am} + other {Geändert am} + } finances: transaction: >- {count, plural, diff --git a/src/Resources/translations/words+intl-icu.en.yaml b/src/Resources/translations/words+intl-icu.en.yaml index b0a9a39..45b001b 100644 --- a/src/Resources/translations/words+intl-icu.en.yaml +++ b/src/Resources/translations/words+intl-icu.en.yaml @@ -75,6 +75,12 @@ meritoo_common: one {Photography} other {Photographs} } + updated_at: >- + {gender, select, + female {Updated at} + male {Updated at} + other {Updated at} + } finances: transaction: >- {count, plural, diff --git a/src/Resources/translations/words+intl-icu.pl.yaml b/src/Resources/translations/words+intl-icu.pl.yaml index 9483f4b..26a7592 100644 --- a/src/Resources/translations/words+intl-icu.pl.yaml +++ b/src/Resources/translations/words+intl-icu.pl.yaml @@ -105,6 +105,12 @@ meritoo_common: many {Fotografii} other {Fotografii} } + updated_at: >- + {gender, select, + female {Zmodyfikowana} + male {Zmodyfikowany} + other {Zmodyfikowano} + } finances: transaction: >- {count, plural, diff --git a/src/Resources/translations/words.de.yaml b/src/Resources/translations/words.de.yaml index 63e19c1..11dcad9 100644 --- a/src/Resources/translations/words.de.yaml +++ b/src/Resources/translations/words.de.yaml @@ -64,7 +64,6 @@ meritoo_common: no: Nein information: created_at: Erstellt um - updated_at: Aktualisiert um uploaded_at: Hochgeladen um disabled_at: Deaktiviert bei downloaded_at: Heruntergeladen um diff --git a/src/Resources/translations/words.en.yaml b/src/Resources/translations/words.en.yaml index 1610d6b..057717a 100644 --- a/src/Resources/translations/words.en.yaml +++ b/src/Resources/translations/words.en.yaml @@ -64,7 +64,6 @@ meritoo_common: no: No information: created_at: Created at - updated_at: Updated at uploaded_at: Uploaded at disabled_at: Disabled at downloaded_at: Downloaded at diff --git a/src/Resources/translations/words.pl.yaml b/src/Resources/translations/words.pl.yaml index ba6c9be..7722d3d 100644 --- a/src/Resources/translations/words.pl.yaml +++ b/src/Resources/translations/words.pl.yaml @@ -64,7 +64,6 @@ meritoo_common: no: Nie information: created_at: Utworzono - updated_at: Zmodyfikowano uploaded_at: Przesłano disabled_at: Zablokowano downloaded_at: Pobrano From 011e0b8fcacd9f1c42b2bffdd3b518f149f0d598 Mon Sep 17 00:00:00 2001 From: Meritoo Date: Mon, 13 Jan 2025 22:09:30 +0100 Subject: [PATCH 5/6] Add the "Created at" translation --- src/Resources/translations/words+intl-icu.de.yaml | 6 ++++++ src/Resources/translations/words+intl-icu.en.yaml | 6 ++++++ src/Resources/translations/words+intl-icu.pl.yaml | 6 ++++++ src/Resources/translations/words.de.yaml | 1 - src/Resources/translations/words.en.yaml | 1 - src/Resources/translations/words.pl.yaml | 1 - 6 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/Resources/translations/words+intl-icu.de.yaml b/src/Resources/translations/words+intl-icu.de.yaml index a06e25f..28b6b69 100644 --- a/src/Resources/translations/words+intl-icu.de.yaml +++ b/src/Resources/translations/words+intl-icu.de.yaml @@ -75,6 +75,12 @@ meritoo_common: 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} diff --git a/src/Resources/translations/words+intl-icu.en.yaml b/src/Resources/translations/words+intl-icu.en.yaml index 45b001b..4443552 100644 --- a/src/Resources/translations/words+intl-icu.en.yaml +++ b/src/Resources/translations/words+intl-icu.en.yaml @@ -75,6 +75,12 @@ meritoo_common: one {Photography} other {Photographs} } + created_at: >- + {gender, select, + female {Created at} + male {Created at} + other {Created at} + } updated_at: >- {gender, select, female {Updated at} diff --git a/src/Resources/translations/words+intl-icu.pl.yaml b/src/Resources/translations/words+intl-icu.pl.yaml index 26a7592..d146f4c 100644 --- a/src/Resources/translations/words+intl-icu.pl.yaml +++ b/src/Resources/translations/words+intl-icu.pl.yaml @@ -105,6 +105,12 @@ meritoo_common: many {Fotografii} other {Fotografii} } + created_at: >- + {gender, select, + female {Utworzona} + male {Utworzony} + other {Utworzono} + } updated_at: >- {gender, select, female {Zmodyfikowana} diff --git a/src/Resources/translations/words.de.yaml b/src/Resources/translations/words.de.yaml index 11dcad9..a2ee09e 100644 --- a/src/Resources/translations/words.de.yaml +++ b/src/Resources/translations/words.de.yaml @@ -63,7 +63,6 @@ meritoo_common: yes: Ja no: Nein information: - created_at: Erstellt um uploaded_at: Hochgeladen um disabled_at: Deaktiviert bei downloaded_at: Heruntergeladen um diff --git a/src/Resources/translations/words.en.yaml b/src/Resources/translations/words.en.yaml index 057717a..7abc3a3 100644 --- a/src/Resources/translations/words.en.yaml +++ b/src/Resources/translations/words.en.yaml @@ -63,7 +63,6 @@ meritoo_common: yes: Yes no: No information: - created_at: Created at uploaded_at: Uploaded at disabled_at: Disabled at downloaded_at: Downloaded at diff --git a/src/Resources/translations/words.pl.yaml b/src/Resources/translations/words.pl.yaml index 7722d3d..6dff0a0 100644 --- a/src/Resources/translations/words.pl.yaml +++ b/src/Resources/translations/words.pl.yaml @@ -63,7 +63,6 @@ meritoo_common: yes: Tak no: Nie information: - created_at: Utworzono uploaded_at: Przesłano disabled_at: Zablokowano downloaded_at: Pobrano From c061f83b8b629715e172237f3bf96251571586c2 Mon Sep 17 00:00:00 2001 From: Meritoo Date: Mon, 13 Jan 2025 22:13:15 +0100 Subject: [PATCH 6/6] Bump version. Update changelog. --- CHANGELOG.md | 44 +++++++++++++++++++++++++++++++------------- VERSION | 2 +- 2 files changed, 32 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 872c8db..2767d9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` @@ -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 diff --git a/VERSION b/VERSION index 4b9fcbe..cb0c939 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.5.1 +0.5.2