Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/translations replacements #41

Merged
merged 4 commits into from
Dec 9, 2023
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
112 changes: 55 additions & 57 deletions lang/events.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-06 08:15+0100\n"
"POT-Creation-Date: 2023-12-09 11:57+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -18,47 +18,51 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"

#: ../lib/GaletteEvents/Booking.php:208
#: ../lib/GaletteEvents/Booking.php:207
msgid "Event is mandatory"
msgstr ""

#: ../lib/GaletteEvents/Booking.php:221
msgid "%activity is mandatory for this event!"
#. TRANS: %1$s is activity name
#: ../lib/GaletteEvents/Booking.php:219
#, php-format
msgid "%1$s is mandatory for this event!"
msgstr ""

#: ../lib/GaletteEvents/Booking.php:255
#: ../lib/GaletteEvents/Booking.php:254
msgid "Please specify amount if booking has been paid ;)"
msgstr ""

#: ../lib/GaletteEvents/Booking.php:278
#: ../lib/GaletteEvents/Booking.php:277
msgid "Member is mandatory"
msgstr ""

#: ../lib/GaletteEvents/Booking.php:290
#: ../lib/GaletteEvents/Booking.php:289
msgid "There must be at least one person"
msgstr ""

#: ../lib/GaletteEvents/Booking.php:299
#: ../lib/GaletteEvents/Booking.php:298
msgid "Booking date is mandatory!"
msgstr ""

#: ../lib/GaletteEvents/Booking.php:326
#: ../lib/GaletteEvents/Booking.php:322
msgid "booking date"
msgstr ""

#: ../lib/GaletteEvents/Booking.php:357
msgid "A booking already exists for %member in %event"
#. TRANS: first replacement is member name, second is event name
#: ../lib/GaletteEvents/Booking.php:344
#, php-format
msgid "A booking already exists for %1$s in %2$s"
msgstr ""

#: ../lib/GaletteEvents/Booking.php:424
#: ../lib/GaletteEvents/Booking.php:413
msgid "Booking added"
msgstr ""

#: ../lib/GaletteEvents/Booking.php:428
#: ../lib/GaletteEvents/Booking.php:417
msgid "Fail to add new booking."
msgstr ""

#: ../lib/GaletteEvents/Booking.php:446
#: ../lib/GaletteEvents/Booking.php:435
msgid "Booking updated"
msgstr ""

Expand Down Expand Up @@ -94,7 +98,7 @@ msgstr ""
msgid "Do not forget to store the booking"
msgstr ""

#. TRANS: first parameter is the member name, second the event name.
#. TRANS: %1$s is the member name, %2$s the event name.
#: ../lib/GaletteEvents/Controllers/Crud/BookingsController.php:648
#, php-format
msgid "Remove booking for %1$s on %2$s"
Expand All @@ -117,10 +121,11 @@ msgid "Activity has been modified."
msgstr ""

#: ../lib/GaletteEvents/Controllers/Crud/ActivitiesController.php:263
msgid "An error occured while storing the activity."
msgid "An error occurred while storing the activity."
msgstr ""

#: ../lib/GaletteEvents/Controllers/Crud/ActivitiesController.php:355
#. TRANS %1$s is activity name
#: ../lib/GaletteEvents/Controllers/Crud/ActivitiesController.php:348
#, php-format
msgid "Remove activity %1$s"
msgstr ""
Expand Down Expand Up @@ -166,10 +171,10 @@ msgid "Event has been modified."
msgstr ""

#: ../lib/GaletteEvents/Controllers/Crud/EventsController.php:414
msgid "An error occured while storing the event."
msgid "An error occurred while storing the event."
msgstr ""

#. TRANS: first parameter is the event name
#. TRANS: %1$s is the event name
#: ../lib/GaletteEvents/Controllers/Crud/EventsController.php:514
#, php-format
msgid "Remove event '%1$s'\""
Expand Down Expand Up @@ -225,16 +230,17 @@ msgstr ""
msgid "Comment:"
msgstr ""

#: ../lib/GaletteEvents/Repository/Events.php:236
#. TRANS: %1$s is the number of paid attendees
#: ../lib/GaletteEvents/Repository/Events.php:237
#, php-format
msgid "%1$s paid"
msgstr ""

#: ../lib/GaletteEvents/Repository/Events.php:241
#: ../lib/GaletteEvents/Repository/Events.php:242
msgid "Attendees:"
msgstr ""

#: ../lib/GaletteEvents/Repository/Events.php:249
#: ../lib/GaletteEvents/Repository/Events.php:250
#: ../lib/GaletteEvents/PluginGaletteEvents.php:113
#: ../tempcache/event.html.twig:166 ../tempcache/booking.html.twig:213
msgid "Activities"
Expand All @@ -252,31 +258,31 @@ msgstr ""
msgid "End date"
msgstr ""

#: ../lib/GaletteEvents/Event.php:266
#: ../lib/GaletteEvents/Event.php:261
msgid "End date must be later or equal to begin date"
msgstr ""

#: ../lib/GaletteEvents/Event.php:272 ../lib/GaletteEvents/Activity.php:194
#: ../lib/GaletteEvents/Event.php:267 ../lib/GaletteEvents/Activity.php:193
msgid "Name is mandatory"
msgstr ""

#: ../lib/GaletteEvents/Event.php:289
#: ../lib/GaletteEvents/Event.php:284
msgid "Please select a group you own!"
msgstr ""

#: ../lib/GaletteEvents/Event.php:296
#: ../lib/GaletteEvents/Event.php:291
msgid "Town is mandatory"
msgstr ""

#: ../lib/GaletteEvents/Event.php:426
#: ../lib/GaletteEvents/Event.php:421
msgid "Event added"
msgstr ""

#: ../lib/GaletteEvents/Event.php:430
#: ../lib/GaletteEvents/Event.php:425
msgid "Fail to add new event."
msgstr ""

#: ../lib/GaletteEvents/Event.php:448
#: ../lib/GaletteEvents/Event.php:443
msgid "Event updated"
msgstr ""

Expand All @@ -299,20 +305,20 @@ msgstr ""
msgid "New event booking"
msgstr ""

#: ../lib/GaletteEvents/Activity.php:263
#: ../lib/GaletteEvents/Activity.php:262
msgid "Activity added"
msgstr ""

#: ../lib/GaletteEvents/Activity.php:268
#: ../lib/GaletteEvents/Activity.php:267
msgid "Fail to add new activity."
msgstr ""

#: ../lib/GaletteEvents/Activity.php:286
#: ../lib/GaletteEvents/Activity.php:285
msgid "Activity updated"
msgstr ""

#: ../tempcache/event.html.twig:63 ../tempcache/activity.html.twig:63
msgid "General informations"
msgid "General information"
msgstr ""

#: ../tempcache/event.html.twig:70
Expand Down Expand Up @@ -387,7 +393,7 @@ msgid "Please choose an activity to remove"
msgstr ""

#: ../tempcache/booking.html.twig:63
msgid "Booking informations"
msgid "Booking information"
msgstr ""

#: ../tempcache/booking.html.twig:70 ../tempcache/bookings.html.twig:138
Expand All @@ -404,7 +410,7 @@ msgid "No activity for selected event"
msgstr ""

#: ../tempcache/booking.html.twig:280
msgid "Financial informations"
msgid "Financial information"
msgstr ""

#: ../tempcache/booking.html.twig:287 ../tempcache/bookings.html.twig:138
Expand Down Expand Up @@ -441,8 +447,8 @@ msgstr ""

#: ../tempcache/bookings.html.twig:90
#, php-format
msgid "%count booking"
msgid_plural "%count bookings"
msgid "%1$s booking"
msgid_plural "%1$s bookings"
msgstr[0] ""
msgstr[1] ""

Expand Down Expand Up @@ -499,8 +505,8 @@ msgstr ""

#: ../tempcache/activities.html.twig:61
#, php-format
msgid "%count activity"
msgid_plural "%count activities"
msgid "%1$s activity"
msgid_plural "%1$s activities"
msgstr[0] ""
msgstr[1] ""

Expand All @@ -525,12 +531,14 @@ msgstr ""
msgid "Inactive"
msgstr ""

#: ../tempcache/activities.html.twig:203
msgid "%activity: edit informations"
#: ../tempcache/activities.html.twig:203 ../tempcache/events.html.twig:253
#, php-format
msgid "%1$s: edit information"
msgstr ""

#: ../tempcache/activities.html.twig:205
msgid "%activity: remove from database"
#: ../tempcache/activities.html.twig:205 ../tempcache/events.html.twig:266
#, php-format
msgid "%1$s: remove from database"
msgstr ""

#: ../tempcache/activities.html.twig:241
Expand All @@ -539,8 +547,8 @@ msgstr ""

#: ../tempcache/events.html.twig:61
#, php-format
msgid "%count event"
msgid_plural "%count events"
msgid "%1$s event"
msgid_plural "%1$s events"
msgstr[0] ""
msgstr[1] ""

Expand All @@ -566,22 +574,12 @@ msgstr ""

#: ../tempcache/events.html.twig:233
#, php-format
msgid "%eventname: export bookings as CSV"
msgid "%1$s: export bookings as CSV"
msgstr ""

#: ../tempcache/events.html.twig:243
#, php-format
msgid "%eventname: show bookings"
msgstr ""

#: ../tempcache/events.html.twig:253
#, php-format
msgid "%eventname: edit informations"
msgstr ""

#: ../tempcache/events.html.twig:266
#, php-format
msgid "%eventname: remove from database"
msgid "%1$s: show bookings"
msgstr ""

#: ../tempcache/events.html.twig:311
Expand Down
Loading