From: Johan Cwiklinski Date: Sun, 17 Mar 2024 18:31:19 +0000 (+0100) Subject: Rationalize permissions translations, Extract new strings X-Git-Url: https://git.agnieray.net/?a=commitdiff_plain;h=0f28f73dbe26db429a4b2f74edd4d09eca220ac2;p=galette.git Rationalize permissions translations, Extract new strings --- diff --git a/galette/lang/galette.pot b/galette/lang/galette.pot index 045088784..e9f97eaf6 100644 --- a/galette/lang/galette.pot +++ b/galette/lang/galette.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-02 08:18+0100\n" +"POT-Creation-Date: 2024-03-17 19:30+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -213,7 +213,7 @@ msgid "An error occurred adding dynamic field :(" msgstr "" #: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:131 -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:485 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:492 msgid "Dynamic field has been successfully stored!" msgstr "" @@ -234,34 +234,34 @@ msgstr "" msgid "The file does not exists or cannot be read :(" msgstr "" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:399 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:406 msgid "Unable to retrieve field information." msgstr "" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:408 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:415 #: ../../tempcache/pages/configuration_dynamic_fields.html.twig:207 msgid "Edit field" msgstr "" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:470 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:477 msgid "An error occurred editing dynamic field :(" msgstr "" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:571 -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:573 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:578 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:580 msgid "Requested field does not exists!" msgstr "" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:577 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:584 #, php-format msgid "Remove dynamic field %1$s" msgstr "" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:622 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:629 msgid "Field has been successfully moved" msgstr "" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:627 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:634 msgid "An error occurred moving field :(" msgstr "" @@ -368,8 +368,8 @@ msgid "An error occurred adding member to its groups as manager." msgstr "" #: ../lib/Galette/Controllers/Crud/MembersController.php:1563 -#: ../lib/Galette/Controllers/GaletteController.php:301 -#: ../lib/Galette/Controllers/GaletteController.php:333 +#: ../lib/Galette/Controllers/GaletteController.php:302 +#: ../lib/Galette/Controllers/GaletteController.php:334 msgid "Delete failed" msgstr "" @@ -562,131 +562,131 @@ msgstr "" msgid "An SQL error has occurred while loading search." msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:86 +#: ../lib/Galette/Controllers/GaletteController.php:87 #: ../../tempcache/elements/footer.html.twig:113 msgid "System information" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:106 +#: ../lib/Galette/Controllers/GaletteController.php:107 #: ../../tempcache/elements/navigation/navigation_items.html.twig:71 #: ../../tempcache/elements/navigation/navigation_items.html.twig:86 msgid "Dashboard" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:221 +#: ../lib/Galette/Controllers/GaletteController.php:222 #: ../lib/Galette/Core/Install.php:1162 ../lib/Galette/Core/Galette.php:328 #: ../lib/Galette/Core/Galette.php:606 msgid "Settings" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:236 +#: ../lib/Galette/Controllers/GaletteController.php:237 #: ../lib/Galette/Filters/MembersList.php:309 msgid "All accounts" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:237 +#: ../lib/Galette/Controllers/GaletteController.php:238 #: ../lib/Galette/Filters/MembersList.php:310 msgid "Active accounts" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:238 +#: ../lib/Galette/Controllers/GaletteController.php:239 #: ../lib/Galette/Filters/MembersList.php:311 msgid "Inactive accounts" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:266 +#: ../lib/Galette/Controllers/GaletteController.php:267 msgid "" "An SQL error has occurred while storing preferences. Please try again, and " "contact the administrator if the problem persists." msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:270 +#: ../lib/Galette/Controllers/GaletteController.php:271 msgid "Preferences has been saved." msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:387 +#: ../lib/Galette/Controllers/GaletteController.php:388 msgid "" "You asked Galette to send a test email, but email has been disabled in the " "preferences." msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:394 +#: ../lib/Galette/Controllers/GaletteController.php:395 msgid "Test message" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:397 +#: ../lib/Galette/Controllers/GaletteController.php:398 msgid "Galette admin" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:400 +#: ../lib/Galette/Controllers/GaletteController.php:401 msgid "Test message." msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:409 +#: ../lib/Galette/Controllers/GaletteController.php:410 #, php-format msgid "An email has been sent to %email" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:418 +#: ../lib/Galette/Controllers/GaletteController.php:419 #, php-format msgid "No email sent to %email" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:425 +#: ../lib/Galette/Controllers/GaletteController.php:426 msgid "Invalid email adress!" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:469 +#: ../lib/Galette/Controllers/GaletteController.php:470 #: ../lib/Galette/Core/Galette.php:313 msgid "Charts" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:490 +#: ../lib/Galette/Controllers/GaletteController.php:491 msgid "Fields configuration" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:554 +#: ../lib/Galette/Controllers/GaletteController.php:556 msgid "Fields configuration has been successfully stored" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:559 +#: ../lib/Galette/Controllers/GaletteController.php:561 msgid "An error occurred while storing fields configuration :(" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:584 +#: ../lib/Galette/Controllers/GaletteController.php:586 msgid "Lists configuration" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:622 +#: ../lib/Galette/Controllers/GaletteController.php:625 msgid "List configuration has been successfully stored" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:627 +#: ../lib/Galette/Controllers/GaletteController.php:630 msgid "An error occurred while storing list configuration :(" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:661 +#: ../lib/Galette/Controllers/GaletteController.php:664 #: ../lib/Galette/Core/Galette.php:256 ../lib/Galette/Core/Galette.php:590 msgid "Reminders" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:702 +#: ../lib/Galette/Controllers/GaletteController.php:705 msgid "No reminder to send for now." msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:739 +#: ../lib/Galette/Controllers/GaletteController.php:742 msgid "There are no member to proceed." msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:746 +#: ../lib/Galette/Controllers/GaletteController.php:749 msgid "Reminder has not been sent:" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:753 +#: ../lib/Galette/Controllers/GaletteController.php:756 msgid "Sent reminders:" msgstr "" -#: ../lib/Galette/Controllers/GaletteController.php:829 +#: ../lib/Galette/Controllers/GaletteController.php:832 msgid "Download document" msgstr "" @@ -780,8 +780,8 @@ msgstr "" #: ../lib/Galette/Controllers/AuthController.php:68 #: ../lib/Galette/Controllers/AuthController.php:172 -#: ../lib/Galette/Features/Replacements.php:315 -#: ../lib/Galette/Features/Replacements.php:355 +#: ../lib/Galette/Features/Replacements.php:316 +#: ../lib/Galette/Features/Replacements.php:356 #: ../../tempcache/elements/navigation/public_pages.html.twig:96 #: ../../tempcache/pages/index.html.twig:99 msgid "Login" @@ -819,8 +819,8 @@ msgstr "" #: ../../tempcache/elements/logged_user.html.twig:119 #: ../../tempcache/elements/logged_user.html.twig:194 #: ../../tempcache/elements/logged_user.html.twig:212 -#: ../../tempcache/elements/logged_user.html.twig:361 -#: ../../tempcache/elements/logged_user.html.twig:379 +#: ../../tempcache/elements/logged_user.html.twig:363 +#: ../../tempcache/elements/logged_user.html.twig:381 msgid "Log off" msgstr "" @@ -1284,7 +1284,7 @@ msgstr "" msgid "All" msgstr "" -#: ../lib/Galette/Core/Authentication.php:283 +#: ../lib/Galette/Core/Authentication.php:284 #, php-format msgid "Logged in as:
%login" msgstr "" @@ -1330,7 +1330,7 @@ msgid "Add new child member in database" msgstr "" #: ../lib/Galette/Core/Galette.php:164 ../lib/Galette/Core/Galette.php:540 -#: ../lib/Galette/DynamicFields/DynamicField.php:564 +#: ../lib/Galette/DynamicFields/DynamicField.php:533 #: ../../tempcache/elements/group.html.twig:95 msgid "Members" msgstr "" @@ -1357,7 +1357,7 @@ msgid "Add new member in database" msgstr "" #: ../lib/Galette/Core/Galette.php:211 ../lib/Galette/Core/Galette.php:572 -#: ../lib/Galette/DynamicFields/DynamicField.php:565 +#: ../lib/Galette/DynamicFields/DynamicField.php:534 #: ../../tempcache/pages/members_list.html.twig:561 msgid "Contributions" msgstr "" @@ -1554,7 +1554,7 @@ msgid "Public pages" msgstr "" #: ../lib/Galette/Core/Galette.php:581 -#: ../lib/Galette/DynamicFields/DynamicField.php:566 +#: ../lib/Galette/DynamicFields/DynamicField.php:535 msgid "Transactions" msgstr "" @@ -1608,37 +1608,37 @@ msgstr "" msgid "Export as CSV" msgstr "" -#: ../lib/Galette/Core/Preferences.php:528 +#: ../lib/Galette/Core/Preferences.php:530 msgid "- You must indicate a sender name for emails!" msgstr "" -#: ../lib/Galette/Core/Preferences.php:534 +#: ../lib/Galette/Core/Preferences.php:536 msgid "- You must indicate an email address Galette should use to send emails!" msgstr "" -#: ../lib/Galette/Core/Preferences.php:541 +#: ../lib/Galette/Core/Preferences.php:543 msgid "- You must indicate the SMTP server you want to use!" msgstr "" -#: ../lib/Galette/Core/Preferences.php:553 +#: ../lib/Galette/Core/Preferences.php:555 msgid "- You must provide a login for SMTP authentication." msgstr "" -#: ../lib/Galette/Core/Preferences.php:559 +#: ../lib/Galette/Core/Preferences.php:561 msgid "- You must provide a password for SMTP authentication." msgstr "" -#: ../lib/Galette/Core/Preferences.php:571 +#: ../lib/Galette/Core/Preferences.php:573 msgid "" "- Default membership extention and beginning of membership are mutually " "exclusive." msgstr "" -#: ../lib/Galette/Core/Preferences.php:580 +#: ../lib/Galette/Core/Preferences.php:582 msgid "- Offering months is only compatible with beginning of membership." msgstr "" -#: ../lib/Galette/Core/Preferences.php:589 +#: ../lib/Galette/Core/Preferences.php:591 #: ../lib/Galette/Entity/Adherent.php:1209 #: ../lib/Galette/Entity/Transaction.php:389 #: ../lib/Galette/Entity/Contribution.php:520 @@ -1646,91 +1646,91 @@ msgstr "" msgid "- Mandatory field %field empty." msgstr "" -#: ../lib/Galette/Core/Preferences.php:597 ../webroot/installer.php:191 +#: ../lib/Galette/Core/Preferences.php:599 ../webroot/installer.php:191 msgid "Passwords mismatch" msgstr "" -#: ../lib/Galette/Core/Preferences.php:610 +#: ../lib/Galette/Core/Preferences.php:612 msgid "You have to select a staff member" msgstr "" -#: ../lib/Galette/Core/Preferences.php:664 +#: ../lib/Galette/Core/Preferences.php:666 #, php-format msgid "Invalid E-Mail address: %s" msgstr "" -#: ../lib/Galette/Core/Preferences.php:678 +#: ../lib/Galette/Core/Preferences.php:680 msgid "- The username must be composed of at least 4 characters!" msgstr "" -#: ../lib/Galette/Core/Preferences.php:682 +#: ../lib/Galette/Core/Preferences.php:684 msgid "- This username is already used by another member !" msgstr "" -#: ../lib/Galette/Core/Preferences.php:702 +#: ../lib/Galette/Core/Preferences.php:704 msgid "- The numbers and measures have to be integers!" msgstr "" -#: ../lib/Galette/Core/Preferences.php:736 +#: ../lib/Galette/Core/Preferences.php:738 msgid "- Invalid number of months of membership extension." msgstr "" -#: ../lib/Galette/Core/Preferences.php:742 +#: ../lib/Galette/Core/Preferences.php:744 msgid "- Invalid format of beginning of membership." msgstr "" -#: ../lib/Galette/Core/Preferences.php:746 +#: ../lib/Galette/Core/Preferences.php:748 msgid "- Invalid date for beginning of membership." msgstr "" -#: ../lib/Galette/Core/Preferences.php:752 +#: ../lib/Galette/Core/Preferences.php:754 msgid "- Invalid number of offered months." msgstr "" -#: ../lib/Galette/Core/Preferences.php:757 +#: ../lib/Galette/Core/Preferences.php:759 msgid "- Invalid year for cards." msgstr "" -#: ../lib/Galette/Core/Preferences.php:765 +#: ../lib/Galette/Core/Preferences.php:767 msgid "- Invalid website URL." msgstr "" -#: ../lib/Galette/Core/Preferences.php:879 +#: ../lib/Galette/Core/Preferences.php:881 msgid "%name association's %status" msgstr "" -#: ../lib/Galette/Core/Preferences.php:1115 +#: ../lib/Galette/Core/Preferences.php:1117 msgid "Please define constant \"GALETTE_URI\" with the path to your instance." msgstr "" -#: ../lib/Galette/Core/Preferences.php:1134 -#: ../lib/Galette/Core/Preferences.php:1150 ../lib/Galette/IO/Csv.php:97 +#: ../lib/Galette/Core/Preferences.php:1136 +#: ../lib/Galette/Core/Preferences.php:1152 ../lib/Galette/IO/Csv.php:97 #: ../lib/Galette/Entity/Texts.php:193 #: ../../tempcache/pages/history.html.twig:323 #: ../../tempcache/pages/mailings_list.html.twig:296 msgid "Y-m-d H:i:s" msgstr "" -#: ../lib/Galette/Core/Preferences.php:1136 +#: ../lib/Galette/Core/Preferences.php:1138 msgid "Never" msgstr "" -#: ../lib/Galette/Core/Preferences.php:1174 +#: ../lib/Galette/Core/Preferences.php:1176 msgid "Current cards configuration may exceed page width!" msgstr "" -#: ../lib/Galette/Core/Preferences.php:1185 +#: ../lib/Galette/Core/Preferences.php:1187 msgid "Current cards configuration may exceed page height!" msgstr "" -#: ../lib/Galette/Core/Preferences.php:1211 -#: ../lib/Galette/Features/Replacements.php:808 +#: ../lib/Galette/Core/Preferences.php:1213 +#: ../lib/Galette/Features/Replacements.php:809 msgid "Main information" msgstr "" -#: ../lib/Galette/Core/Preferences.php:1218 +#: ../lib/Galette/Core/Preferences.php:1220 #: ../../tempcache/elements/display_socials.html.twig:45 -#: ../../tempcache/elements/edit_socials.html.twig:56 +#: ../../tempcache/elements/edit_socials.html.twig:76 #: ../../tempcache/pages/preferences.html.twig:69 msgid "Social networks" msgstr "" @@ -1773,7 +1773,7 @@ msgstr "" msgid "File not found!" msgstr "" -#: ../lib/Galette/Core/Picture.php:1000 +#: ../lib/Galette/Core/Picture.php:972 msgid "An SQL error has occurred." msgstr "" @@ -1802,7 +1802,7 @@ msgstr "" #: ../lib/Galette/IO/ContributionsCsv.php:113 #: ../lib/Galette/IO/ContributionsCsv.php:125 #: ../lib/Galette/IO/ContributionsCsv.php:137 -#: ../lib/Galette/Features/Replacements.php:517 +#: ../lib/Galette/Features/Replacements.php:518 #: ../lib/Galette/Features/Dynamics.php:160 #: ../lib/Galette/Features/Dynamics.php:173 #: ../lib/Galette/Features/Dynamics.php:179 @@ -1812,7 +1812,7 @@ msgstr "" #: ../lib/Galette/Entity/Adherent.php:1287 #: ../lib/Galette/Entity/Adherent.php:1321 #: ../lib/Galette/Entity/Adherent.php:1327 -#: ../lib/Galette/Entity/Adherent.php:1820 +#: ../lib/Galette/Entity/Adherent.php:1826 #: ../lib/Galette/Entity/Transaction.php:319 #: ../lib/Galette/Entity/Transaction.php:332 #: ../lib/Galette/Entity/Transaction.php:338 @@ -1845,7 +1845,7 @@ msgstr "" #: ../lib/Galette/Filters/AdvancedMembersList.php:337 #: ../lib/Galette/Filters/AdvancedMembersList.php:455 #: ../lib/Galette/Filters/AdvancedMembersList.php:601 -#: ../../tempcache/pages/member_form.html.twig:891 +#: ../../tempcache/pages/member_form.html.twig:912 #: ../../tempcache/pages/advanced_search.html.twig:1385 msgid "Y-m-d" msgstr "" @@ -1899,134 +1899,91 @@ msgstr "" msgid "Photo has not been copied!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:548 -msgid "User, read/write" -msgstr "" - -#: ../lib/Galette/DynamicFields/DynamicField.php:549 -#: ../../tempcache/elements/ajax_members.html.twig:141 -#: ../../tempcache/elements/group_persons.html.twig:137 -#: ../../tempcache/elements/edit_core_fields.html.twig:171 -#: ../../tempcache/pages/members_list.html.twig:619 -#: ../../tempcache/pages/members_list.html.twig:769 -#: ../../tempcache/pages/status_list.html.twig:159 -#: ../../tempcache/pages/preferences.html.twig:392 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Staff member" -msgstr "" - -#: ../lib/Galette/DynamicFields/DynamicField.php:550 -#: ../../tempcache/elements/ajax_members.html.twig:130 -#: ../../tempcache/elements/group_persons.html.twig:126 -#: ../../tempcache/elements/edit_core_fields.html.twig:161 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Administrator" -msgstr "" - -#: ../lib/Galette/DynamicFields/DynamicField.php:551 -#: ../../tempcache/elements/ajax_members.html.twig:152 -#: ../../tempcache/elements/group_persons.html.twig:148 -#: ../../tempcache/elements/edit_core_fields.html.twig:181 -#: ../../tempcache/pages/members_list.html.twig:626 -#: ../../tempcache/pages/members_list.html.twig:780 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -#: ../../tempcache/pages/member_show.html.twig:551 -#: ../../tempcache/components/forms/groups.html.twig:149 -msgid "Group manager" -msgstr "" - -#: ../lib/Galette/DynamicFields/DynamicField.php:552 -msgid "User, read only" -msgstr "" - -#: ../lib/Galette/DynamicFields/DynamicField.php:640 +#: ../lib/Galette/DynamicFields/DynamicField.php:598 msgid "Missing required field name!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:649 +#: ../lib/Galette/DynamicFields/DynamicField.php:607 msgid "Missing required field permissions!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:654 +#: ../lib/Galette/DynamicFields/DynamicField.php:612 msgid "Unknown permission!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:660 +#: ../lib/Galette/DynamicFields/DynamicField.php:618 msgid "Missing required form!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:665 +#: ../lib/Galette/DynamicFields/DynamicField.php:623 msgid "Unknown form!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:675 +#: ../lib/Galette/DynamicFields/DynamicField.php:633 msgid "- Field name already used." msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:680 +#: ../lib/Galette/DynamicFields/DynamicField.php:638 msgid "- Width must be a positive integer!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:688 +#: ../lib/Galette/DynamicFields/DynamicField.php:646 msgid "- Height must be a positive integer!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:696 +#: ../lib/Galette/DynamicFields/DynamicField.php:654 msgid "- Size must be a positive integer!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:704 +#: ../lib/Galette/DynamicFields/DynamicField.php:662 msgid "- Min size must be a positive integer!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:717 +#: ../lib/Galette/DynamicFields/DynamicField.php:675 msgid "- Min size must be lower than size!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:723 +#: ../lib/Galette/DynamicFields/DynamicField.php:681 msgid "- Repeat must be an integer!" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:834 +#: ../lib/Galette/DynamicFields/DynamicField.php:792 msgid "An error occurred storing the field." msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:855 +#: ../lib/Galette/DynamicFields/DynamicField.php:813 msgid "An error occurred creating field values table" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:889 +#: ../lib/Galette/DynamicFields/DynamicField.php:847 msgid "An error occurred storing dynamic field values :(" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:1102 +#: ../lib/Galette/DynamicFields/DynamicField.php:1060 msgid "separator" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:1103 +#: ../lib/Galette/DynamicFields/DynamicField.php:1061 msgid "free text" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:1104 +#: ../lib/Galette/DynamicFields/DynamicField.php:1062 msgid "single line" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:1105 +#: ../lib/Galette/DynamicFields/DynamicField.php:1063 msgid "choice" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:1106 +#: ../lib/Galette/DynamicFields/DynamicField.php:1064 msgid "date" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:1107 +#: ../lib/Galette/DynamicFields/DynamicField.php:1065 msgid "boolean" msgstr "" -#: ../lib/Galette/DynamicFields/DynamicField.php:1108 +#: ../lib/Galette/DynamicFields/DynamicField.php:1066 msgid "file" msgstr "" @@ -2059,7 +2016,7 @@ msgstr "" #: ../lib/Galette/IO/PdfGroups.php:157 #: ../lib/Galette/IO/PdfAttendanceSheet.php:163 -#: ../lib/Galette/Features/Replacements.php:247 +#: ../lib/Galette/Features/Replacements.php:248 #: ../lib/Galette/Entity/PdfModel.php:444 #: ../lib/Galette/Filters/MembersList.php:274 #: ../includes/fields_defs/members_fields.php:315 @@ -2094,8 +2051,8 @@ msgid "Name" msgstr "" #: ../lib/Galette/IO/PdfGroups.php:158 -#: ../lib/Galette/Features/Replacements.php:311 -#: ../lib/Galette/Features/Replacements.php:359 +#: ../lib/Galette/Features/Replacements.php:312 +#: ../lib/Galette/Features/Replacements.php:360 #: ../../tempcache/elements/member_card.html.twig:147 #: ../../tempcache/pages/preferences.html.twig:2089 #: ../../tempcache/pages/members_public_list.html.twig:86 @@ -2104,14 +2061,14 @@ msgid "Email" msgstr "" #: ../lib/Galette/IO/PdfGroups.php:159 -#: ../lib/Galette/Features/Replacements.php:303 +#: ../lib/Galette/Features/Replacements.php:304 #: ../lib/Galette/Entity/ListsConfig.php:199 #: ../../tempcache/elements/member_card.html.twig:107 msgid "Phone" msgstr "" #: ../lib/Galette/IO/PdfGroups.php:160 -#: ../lib/Galette/Features/Replacements.php:307 +#: ../lib/Galette/Features/Replacements.php:308 msgid "GSM" msgstr "" @@ -2120,8 +2077,8 @@ msgid "filtered_memberslist" msgstr "" #: ../lib/Galette/IO/MembersCsv.php:207 -#: ../lib/Galette/Features/Replacements.php:628 -#: ../lib/Galette/Entity/Adherent.php:1780 +#: ../lib/Galette/Features/Replacements.php:629 +#: ../lib/Galette/Entity/Adherent.php:1786 #: ../../tempcache/modals/mass_change_members.html.twig:163 #: ../../tempcache/elements/ajax_members.html.twig:100 #: ../../tempcache/elements/group_persons.html.twig:98 @@ -2132,8 +2089,8 @@ msgid "Man" msgstr "" #: ../lib/Galette/IO/MembersCsv.php:210 -#: ../lib/Galette/Features/Replacements.php:630 -#: ../lib/Galette/Entity/Adherent.php:1782 +#: ../lib/Galette/Features/Replacements.php:631 +#: ../lib/Galette/Entity/Adherent.php:1788 #: ../../tempcache/modals/mass_change_members.html.twig:154 #: ../../tempcache/elements/ajax_members.html.twig:111 #: ../../tempcache/elements/group_persons.html.twig:109 @@ -2144,8 +2101,8 @@ msgid "Woman" msgstr "" #: ../lib/Galette/IO/MembersCsv.php:213 -#: ../lib/Galette/Features/Replacements.php:632 -#: ../lib/Galette/Entity/Adherent.php:1784 +#: ../lib/Galette/Features/Replacements.php:633 +#: ../lib/Galette/Entity/Adherent.php:1790 #: ../../tempcache/modals/mass_change_members.html.twig:145 #: ../../tempcache/pages/advanced_search.html.twig:1149 #: ../../tempcache/pages/advanced_search.html.twig:1668 @@ -2155,16 +2112,16 @@ msgstr "" #: ../lib/Galette/IO/MembersCsv.php:221 ../lib/Galette/IO/MembersCsv.php:225 #: ../lib/Galette/IO/MembersCsv.php:229 ../lib/Galette/IO/MembersCsv.php:233 -#: ../lib/Galette/Features/Replacements.php:753 -#: ../lib/Galette/Entity/Adherent.php:1746 -#: ../lib/Galette/Entity/Adherent.php:1748 -#: ../lib/Galette/Entity/Adherent.php:1750 +#: ../lib/Galette/Features/Replacements.php:754 #: ../lib/Galette/Entity/Adherent.php:1752 +#: ../lib/Galette/Entity/Adherent.php:1754 +#: ../lib/Galette/Entity/Adherent.php:1756 +#: ../lib/Galette/Entity/Adherent.php:1758 #: ../../tempcache/elements/edit_dynamic_fields.html.twig:127 #: ../../tempcache/elements/js/messages.js.twig:326 #: ../../tempcache/elements/display_dynamic_fields.html.twig:135 #: ../../tempcache/elements/messages_inline.html.twig:419 -#: ../../tempcache/elements/edit_core_fields.html.twig:224 +#: ../../tempcache/elements/edit_core_fields.html.twig:185 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:141 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:306 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:522 @@ -2179,16 +2136,16 @@ msgstr "" #: ../lib/Galette/IO/MembersCsv.php:221 ../lib/Galette/IO/MembersCsv.php:225 #: ../lib/Galette/IO/MembersCsv.php:229 ../lib/Galette/IO/MembersCsv.php:233 -#: ../lib/Galette/Features/Replacements.php:753 -#: ../lib/Galette/Entity/Adherent.php:1746 -#: ../lib/Galette/Entity/Adherent.php:1748 -#: ../lib/Galette/Entity/Adherent.php:1750 +#: ../lib/Galette/Features/Replacements.php:754 #: ../lib/Galette/Entity/Adherent.php:1752 +#: ../lib/Galette/Entity/Adherent.php:1754 +#: ../lib/Galette/Entity/Adherent.php:1756 +#: ../lib/Galette/Entity/Adherent.php:1758 #: ../../tempcache/elements/edit_dynamic_fields.html.twig:129 #: ../../tempcache/elements/js/messages.js.twig:344 #: ../../tempcache/elements/display_dynamic_fields.html.twig:141 #: ../../tempcache/elements/messages_inline.html.twig:423 -#: ../../tempcache/elements/edit_core_fields.html.twig:243 +#: ../../tempcache/elements/edit_core_fields.html.twig:204 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:133 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:298 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:514 @@ -2329,77 +2286,77 @@ msgstr "" msgid "Cards" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:465 +#: ../lib/Galette/IO/FileTrait.php:497 msgid "An error occurred." msgstr "" -#: ../lib/Galette/IO/FileTrait.php:469 +#: ../lib/Galette/IO/FileTrait.php:501 msgid "" "File name is invalid, it should not contain any special character or space." msgstr "" -#: ../lib/Galette/IO/FileTrait.php:475 +#: ../lib/Galette/IO/FileTrait.php:507 #, php-format msgid "File extension is not allowed, only %s files are." msgstr "" -#: ../lib/Galette/IO/FileTrait.php:482 ../lib/Galette/Features/Dynamics.php:279 +#: ../lib/Galette/IO/FileTrait.php:514 ../lib/Galette/Features/Dynamics.php:279 #, php-format msgid "File is too big. Maximum allowed size is %dKo" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:487 +#: ../lib/Galette/IO/FileTrait.php:519 #, php-format msgid "Image is too small. The minimum image side size allowed is %spx" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:493 +#: ../lib/Galette/IO/FileTrait.php:525 msgid "Mime-Type not allowed" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:496 +#: ../lib/Galette/IO/FileTrait.php:528 msgid "A file with that name already exists!" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:499 +#: ../lib/Galette/IO/FileTrait.php:531 msgid "File does not comply with requirements." msgstr "" -#: ../lib/Galette/IO/FileTrait.php:502 +#: ../lib/Galette/IO/FileTrait.php:534 msgid "Unable to write file or temporary file" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:532 +#: ../lib/Galette/IO/FileTrait.php:564 msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:534 +#: ../lib/Galette/IO/FileTrait.php:566 msgid "" "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in " "the HTML form" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:536 +#: ../lib/Galette/IO/FileTrait.php:568 msgid "The uploaded file was only partially uploaded" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:538 +#: ../lib/Galette/IO/FileTrait.php:570 msgid "No file was uploaded" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:540 +#: ../lib/Galette/IO/FileTrait.php:572 msgid "Missing a temporary folder" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:542 +#: ../lib/Galette/IO/FileTrait.php:574 msgid "Failed to write file to disk" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:544 +#: ../lib/Galette/IO/FileTrait.php:576 msgid "File upload stopped by extension" msgstr "" -#: ../lib/Galette/IO/FileTrait.php:546 +#: ../lib/Galette/IO/FileTrait.php:578 msgid "Unknown upload error" msgstr "" @@ -2415,6 +2372,50 @@ msgstr "" msgid "invoice" msgstr "" +#: ../lib/Galette/Features/Permissions.php:59 +msgid "Inaccessible" +msgstr "" + +#: ../lib/Galette/Features/Permissions.php:60 +msgid "User, read only" +msgstr "" + +#: ../lib/Galette/Features/Permissions.php:61 +msgid "User, read/write" +msgstr "" + +#: ../lib/Galette/Features/Permissions.php:62 +#: ../../tempcache/elements/ajax_members.html.twig:152 +#: ../../tempcache/elements/group_persons.html.twig:148 +#: ../../tempcache/pages/members_list.html.twig:626 +#: ../../tempcache/pages/members_list.html.twig:780 +#: ../../tempcache/pages/member_form.html.twig:698 +#: ../../tempcache/pages/member_show.html.twig:551 +#: ../../tempcache/components/forms/groups.html.twig:151 +msgid "Group manager" +msgstr "" + +#: ../lib/Galette/Features/Permissions.php:63 +#: ../../tempcache/elements/ajax_members.html.twig:141 +#: ../../tempcache/elements/group_persons.html.twig:137 +#: ../../tempcache/pages/members_list.html.twig:619 +#: ../../tempcache/pages/members_list.html.twig:769 +#: ../../tempcache/pages/status_list.html.twig:159 +#: ../../tempcache/pages/preferences.html.twig:392 +msgid "Staff member" +msgstr "" + +#: ../lib/Galette/Features/Permissions.php:64 +#: ../../tempcache/elements/ajax_members.html.twig:130 +#: ../../tempcache/elements/group_persons.html.twig:126 +msgid "Administrator" +msgstr "" + +#: ../lib/Galette/Features/Permissions.php:68 +#: ../lib/Galette/Entity/ListsConfig.php:202 +msgid "Public" +msgstr "" + #: ../lib/Galette/Features/I18n.php:115 #, php-format msgid "Unable to add dynamic translation for %field :(" @@ -2430,88 +2431,88 @@ msgstr "" msgid "Unable to remove old dynamic translation for %field :(" msgstr "" -#: ../lib/Galette/Features/Replacements.php:112 +#: ../lib/Galette/Features/Replacements.php:113 #, php-format msgid "Label for dynamic field \"%s\"" msgstr "" -#: ../lib/Galette/Features/Replacements.php:115 +#: ../lib/Galette/Features/Replacements.php:116 #, php-format msgid "Form entry for dynamic field \"%s\"" msgstr "" -#: ../lib/Galette/Features/Replacements.php:121 +#: ../lib/Galette/Features/Replacements.php:122 #, php-format msgid "Value for dynamic field \"%s\"" msgstr "" -#: ../lib/Galette/Features/Replacements.php:184 +#: ../lib/Galette/Features/Replacements.php:185 msgid "Your organisation name" msgstr "" -#: ../lib/Galette/Features/Replacements.php:188 +#: ../lib/Galette/Features/Replacements.php:189 msgid "Your organisation slogan" msgstr "" -#: ../lib/Galette/Features/Replacements.php:192 -#: ../lib/Galette/Features/Replacements.php:196 +#: ../lib/Galette/Features/Replacements.php:193 +#: ../lib/Galette/Features/Replacements.php:197 msgid "Your organisation address" msgstr "" -#: ../lib/Galette/Features/Replacements.php:196 -#: ../lib/Galette/Features/Replacements.php:287 +#: ../lib/Galette/Features/Replacements.php:197 +#: ../lib/Galette/Features/Replacements.php:288 msgid "with break lines" msgstr "" -#: ../lib/Galette/Features/Replacements.php:200 +#: ../lib/Galette/Features/Replacements.php:201 msgid "Your organisation website" msgstr "" -#: ../lib/Galette/Features/Replacements.php:204 +#: ../lib/Galette/Features/Replacements.php:205 msgid "Your organisation logo" msgstr "" -#: ../lib/Galette/Features/Replacements.php:208 +#: ../lib/Galette/Features/Replacements.php:209 msgid "Your organisation logo (print specific)" msgstr "" #. TRANS: see https://www.php.net/manual/datetime.format.php -#: ../lib/Galette/Features/Replacements.php:213 +#: ../lib/Galette/Features/Replacements.php:214 msgid "Current date (Y-m-d)" msgstr "" -#: ../lib/Galette/Features/Replacements.php:217 +#: ../lib/Galette/Features/Replacements.php:218 msgid "Galette's login URI" msgstr "" -#: ../lib/Galette/Features/Replacements.php:235 +#: ../lib/Galette/Features/Replacements.php:236 #: ../lib/Galette/Entity/PdfModel.php:453 #: ../../tempcache/modals/members_attendance_sheet.html.twig:110 #: ../../tempcache/elements/edit_pdf_models.html.twig:50 msgid "Title" msgstr "" -#: ../lib/Galette/Features/Replacements.php:239 +#: ../lib/Galette/Features/Replacements.php:240 msgid "Member's ID" msgstr "" -#: ../lib/Galette/Features/Replacements.php:243 +#: ../lib/Galette/Features/Replacements.php:244 #: ../lib/Galette/Filters/MembersList.php:275 #: ../../tempcache/pages/preferences.html.twig:2121 msgid "Member number" msgstr "" -#: ../lib/Galette/Features/Replacements.php:251 -#: ../lib/Galette/Features/Replacements.php:347 +#: ../lib/Galette/Features/Replacements.php:252 +#: ../lib/Galette/Features/Replacements.php:348 msgid "Last name" msgstr "" -#: ../lib/Galette/Features/Replacements.php:255 -#: ../lib/Galette/Features/Replacements.php:351 ../includes/i18n.inc.php:312 +#: ../lib/Galette/Features/Replacements.php:256 +#: ../lib/Galette/Features/Replacements.php:352 ../includes/i18n.inc.php:312 msgid "First name" msgstr "" -#: ../lib/Galette/Features/Replacements.php:259 +#: ../lib/Galette/Features/Replacements.php:260 #: ../../tempcache/elements/group_persons.html.twig:50 #: ../../tempcache/pages/preferences.html.twig:2105 #: ../../tempcache/pages/members_public_list.html.twig:78 @@ -2519,74 +2520,74 @@ msgstr "" msgid "Nickname" msgstr "" -#: ../lib/Galette/Features/Replacements.php:263 +#: ../lib/Galette/Features/Replacements.php:264 msgid "Gender" msgstr "" -#: ../lib/Galette/Features/Replacements.php:267 +#: ../lib/Galette/Features/Replacements.php:268 #: ../../tempcache/pages/advanced_search.html.twig:266 msgid "Birth date" msgstr "" -#: ../lib/Galette/Features/Replacements.php:271 +#: ../lib/Galette/Features/Replacements.php:272 msgid "Birth place" msgstr "" -#: ../lib/Galette/Features/Replacements.php:275 +#: ../lib/Galette/Features/Replacements.php:276 #: ../../tempcache/pages/preferences.html.twig:2113 msgid "Profession" msgstr "" -#: ../lib/Galette/Features/Replacements.php:279 -#: ../lib/Galette/Features/Replacements.php:343 +#: ../lib/Galette/Features/Replacements.php:280 +#: ../lib/Galette/Features/Replacements.php:344 #: ../lib/Galette/Filters/MembersList.php:276 msgid "Company name" msgstr "" -#: ../lib/Galette/Features/Replacements.php:283 -#: ../lib/Galette/Features/Replacements.php:287 +#: ../lib/Galette/Features/Replacements.php:284 +#: ../lib/Galette/Features/Replacements.php:288 #: ../lib/Galette/Filters/MembersList.php:277 #: ../../tempcache/pages/mailing_form.html.twig:124 msgid "Address" msgstr "" -#: ../lib/Galette/Features/Replacements.php:291 +#: ../lib/Galette/Features/Replacements.php:292 msgid "Zipcode" msgstr "" -#: ../lib/Galette/Features/Replacements.php:295 +#: ../lib/Galette/Features/Replacements.php:296 msgid "Town" msgstr "" -#: ../lib/Galette/Features/Replacements.php:299 ../includes/i18n.inc.php:309 +#: ../lib/Galette/Features/Replacements.php:300 ../includes/i18n.inc.php:309 msgid "Country" msgstr "" -#: ../lib/Galette/Features/Replacements.php:319 +#: ../lib/Galette/Features/Replacements.php:320 msgid "Member's main group" msgstr "" -#: ../lib/Galette/Features/Replacements.php:323 +#: ../lib/Galette/Features/Replacements.php:324 msgid "Member's groups (as list)" msgstr "" -#: ../lib/Galette/Features/Replacements.php:327 +#: ../lib/Galette/Features/Replacements.php:328 msgid "Member state of dues" msgstr "" -#: ../lib/Galette/Features/Replacements.php:331 +#: ../lib/Galette/Features/Replacements.php:332 msgid "Membership remaining days" msgstr "" -#: ../lib/Galette/Features/Replacements.php:335 +#: ../lib/Galette/Features/Replacements.php:336 msgid "Membership expired since" msgstr "" -#: ../lib/Galette/Features/Replacements.php:381 +#: ../lib/Galette/Features/Replacements.php:382 msgid "Contribution label" msgstr "" -#: ../lib/Galette/Features/Replacements.php:385 +#: ../lib/Galette/Features/Replacements.php:386 #: ../../tempcache/pages/transaction_form.html.twig:289 #: ../../tempcache/pages/contributions_list.html.twig:408 #: ../../tempcache/pages/contributions_list.html.twig:668 @@ -2600,38 +2601,38 @@ msgstr "" msgid "Amount" msgstr "" -#: ../lib/Galette/Features/Replacements.php:389 +#: ../lib/Galette/Features/Replacements.php:390 msgid "Amount (in letters)" msgstr "" -#: ../lib/Galette/Features/Replacements.php:393 +#: ../lib/Galette/Features/Replacements.php:394 msgid "Full date" msgstr "" -#: ../lib/Galette/Features/Replacements.php:397 +#: ../lib/Galette/Features/Replacements.php:398 msgid "Contribution year" msgstr "" -#: ../lib/Galette/Features/Replacements.php:401 +#: ../lib/Galette/Features/Replacements.php:402 msgid "Comment" msgstr "" -#: ../lib/Galette/Features/Replacements.php:405 +#: ../lib/Galette/Features/Replacements.php:406 #: ../../tempcache/pages/advanced_search.html.twig:703 msgid "Begin date" msgstr "" -#: ../lib/Galette/Features/Replacements.php:409 +#: ../lib/Galette/Features/Replacements.php:410 #: ../../tempcache/pages/advanced_search.html.twig:747 msgid "End date" msgstr "" -#: ../lib/Galette/Features/Replacements.php:413 +#: ../lib/Galette/Features/Replacements.php:414 #: ../lib/Galette/Entity/Contribution.php:144 msgid "Contribution id" msgstr "" -#: ../lib/Galette/Features/Replacements.php:417 +#: ../lib/Galette/Features/Replacements.php:418 #: ../../tempcache/pages/contributions_list.html.twig:408 #: ../../tempcache/pages/contributions_list.html.twig:674 #: ../../tempcache/pages/transactions_list.html.twig:294 @@ -2641,15 +2642,15 @@ msgstr "" msgid "Payment type" msgstr "" -#: ../lib/Galette/Features/Replacements.php:421 +#: ../lib/Galette/Features/Replacements.php:422 #: ../lib/Galette/Entity/Contribution.php:1092 #: ../lib/Galette/Entity/Texts.php:611 #: ../lib/Galette/Entity/PdfContribution.php:65 msgid "Contribution information" msgstr "" -#: ../lib/Galette/Features/Replacements.php:636 #: ../lib/Galette/Features/Replacements.php:637 +#: ../lib/Galette/Features/Replacements.php:638 #: ../../tempcache/elements/group.html.twig:202 #: ../../tempcache/elements/group.html.twig:245 #: ../../tempcache/pages/transaction_form.html.twig:210 @@ -2657,7 +2658,7 @@ msgstr "" msgid "None" msgstr "" -#: ../lib/Galette/Features/Replacements.php:813 +#: ../lib/Galette/Features/Replacements.php:814 msgid "Member information" msgstr "" @@ -2686,10 +2687,6 @@ msgstr "" msgid "Modified" msgstr "" -#: ../lib/Galette/Entity/ListsConfig.php:202 -msgid "Public" -msgstr "" - #: ../lib/Galette/Entity/Reminder.php:250 msgid "%name <%mail> (%days days)" msgstr "" @@ -2809,40 +2806,44 @@ msgstr "" msgid "Gender %gender does not exists!" msgstr "" -#: ../lib/Galette/Entity/Adherent.php:1591 -msgid "Self_subscription as a member: " +#: ../lib/Galette/Entity/Adherent.php:1483 +msgid "A member cannot be its own parent!" msgstr "" #: ../lib/Galette/Entity/Adherent.php:1597 +msgid "Self_subscription as a member: " +msgstr "" + +#: ../lib/Galette/Entity/Adherent.php:1603 msgid "Member card added" msgstr "" -#: ../lib/Galette/Entity/Adherent.php:1604 +#: ../lib/Galette/Entity/Adherent.php:1610 msgid "Fail to add new member." msgstr "" -#: ../lib/Galette/Entity/Adherent.php:1634 +#: ../lib/Galette/Entity/Adherent.php:1640 msgid "Member card updated" msgstr "" -#: ../lib/Galette/Entity/Adherent.php:1754 +#: ../lib/Galette/Entity/Adherent.php:1760 #: ../../tempcache/components/forms/account.html.twig:64 msgid "Active" msgstr "" -#: ../lib/Galette/Entity/Adherent.php:1754 +#: ../lib/Galette/Entity/Adherent.php:1760 #: ../../tempcache/pages/contributions_list.html.twig:231 #: ../../tempcache/pages/transactions_list.html.twig:180 #: ../../tempcache/components/forms/account.html.twig:72 msgid "Inactive" msgstr "" -#: ../lib/Galette/Entity/Adherent.php:2056 -#: ../../tempcache/pages/member_form.html.twig:905 +#: ../lib/Galette/Entity/Adherent.php:2062 +#: ../../tempcache/pages/member_form.html.twig:926 msgid " (%age years old)" msgstr "" -#: ../lib/Galette/Entity/Adherent.php:2134 +#: ../lib/Galette/Entity/Adherent.php:2140 msgid "Duplicated from %name (%id)" msgstr "" @@ -4855,7 +4856,7 @@ msgid "Switch locale to '%locale'" msgstr "" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:48 -#: ../../tempcache/elements/edit_socials.html.twig:162 +#: ../../tempcache/elements/edit_socials.html.twig:182 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:540 #: ../../tempcache/pages/configuration_titles.html.twig:113 #: ../../tempcache/pages/contributions_types_list.html.twig:132 @@ -4893,8 +4894,8 @@ msgstr "" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:71 #: ../../tempcache/elements/edit_dynamic_fields.html.twig:119 #: ../../tempcache/elements/edit_core_fields.html.twig:52 -#: ../../tempcache/elements/edit_core_fields.html.twig:208 -#: ../../tempcache/elements/edit_core_fields.html.twig:212 +#: ../../tempcache/elements/edit_core_fields.html.twig:169 +#: ../../tempcache/elements/edit_core_fields.html.twig:173 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:505 msgid "Required" msgstr "" @@ -4902,8 +4903,8 @@ msgstr "" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:78 #: ../../tempcache/elements/edit_dynamic_fields.html.twig:141 #: ../../tempcache/elements/edit_core_fields.html.twig:59 -#: ../../tempcache/elements/edit_core_fields.html.twig:265 -#: ../../tempcache/elements/edit_core_fields.html.twig:269 +#: ../../tempcache/elements/edit_core_fields.html.twig:226 +#: ../../tempcache/elements/edit_core_fields.html.twig:230 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:317 msgid "Width in forms" msgstr "" @@ -4922,19 +4923,19 @@ msgid "Actions" msgstr "" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:148 -#: ../../tempcache/elements/edit_core_fields.html.twig:304 +#: ../../tempcache/elements/edit_core_fields.html.twig:265 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:345 msgid "Half" msgstr "" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:155 -#: ../../tempcache/elements/edit_core_fields.html.twig:293 +#: ../../tempcache/elements/edit_core_fields.html.twig:254 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:334 msgid "Full" msgstr "" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:161 -#: ../../tempcache/elements/edit_core_fields.html.twig:285 +#: ../../tempcache/elements/edit_core_fields.html.twig:246 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:326 msgid "Default" msgstr "" @@ -4988,7 +4989,7 @@ msgid "Menu" msgstr "" #: ../../tempcache/elements/navigation/navigation_aside.html.twig:69 -#: ../../tempcache/elements/logged_user.html.twig:265 +#: ../../tempcache/elements/logged_user.html.twig:267 #: ../../tempcache/elements/display_dynamic_fields.html.twig:170 #: ../../tempcache/public_page.html.twig:134 ../../tempcache/page.html.twig:125 #, php-format @@ -5013,8 +5014,8 @@ msgstr "" #: ../../tempcache/elements/logged_user.html.twig:82 #: ../../tempcache/elements/logged_user.html.twig:156 #: ../../tempcache/elements/logged_user.html.twig:166 -#: ../../tempcache/elements/logged_user.html.twig:322 -#: ../../tempcache/elements/logged_user.html.twig:333 +#: ../../tempcache/elements/logged_user.html.twig:324 +#: ../../tempcache/elements/logged_user.html.twig:335 msgid "Disable dark mode" msgstr "" @@ -5023,21 +5024,21 @@ msgstr "" #: ../../tempcache/elements/logged_user.html.twig:84 #: ../../tempcache/elements/logged_user.html.twig:158 #: ../../tempcache/elements/logged_user.html.twig:168 -#: ../../tempcache/elements/logged_user.html.twig:324 -#: ../../tempcache/elements/logged_user.html.twig:335 +#: ../../tempcache/elements/logged_user.html.twig:326 +#: ../../tempcache/elements/logged_user.html.twig:337 msgid "Enable dark mode" msgstr "" #: ../../tempcache/elements/logged_user.html.twig:117 #: ../../tempcache/elements/logged_user.html.twig:192 #: ../../tempcache/elements/logged_user.html.twig:210 -#: ../../tempcache/elements/logged_user.html.twig:359 -#: ../../tempcache/elements/logged_user.html.twig:377 +#: ../../tempcache/elements/logged_user.html.twig:361 +#: ../../tempcache/elements/logged_user.html.twig:379 msgid "Unimpersonate" msgstr "" #: ../../tempcache/elements/logged_user.html.twig:133 -#: ../../tempcache/elements/logged_user.html.twig:233 +#: ../../tempcache/elements/logged_user.html.twig:235 msgid "User menu" msgstr "" @@ -5470,35 +5471,17 @@ msgstr "" msgid "Change '%field' permissions" msgstr "" -#: ../../tempcache/elements/edit_core_fields.html.twig:151 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Inaccessible" -msgstr "" - -#: ../../tempcache/elements/edit_core_fields.html.twig:191 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Read only" -msgstr "" - -#: ../../tempcache/elements/edit_core_fields.html.twig:201 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Read/Write" -msgstr "" - -#: ../../tempcache/elements/edit_core_fields.html.twig:215 +#: ../../tempcache/elements/edit_core_fields.html.twig:176 #, php-format msgid "Field '%field' cannot be set as required." msgstr "" -#: ../../tempcache/elements/edit_core_fields.html.twig:217 +#: ../../tempcache/elements/edit_core_fields.html.twig:178 #, php-format msgid "Mark '%field' as (not) required" msgstr "" -#: ../../tempcache/elements/edit_core_fields.html.twig:271 +#: ../../tempcache/elements/edit_core_fields.html.twig:232 msgid "Change field's width with in forms" msgstr "" @@ -5542,16 +5525,20 @@ msgid "" "generate envelope labels to contact them by snail mail." msgstr "" -#: ../../tempcache/elements/edit_socials.html.twig:98 -#: ../../tempcache/elements/edit_socials.html.twig:103 +#: ../../tempcache/elements/edit_socials.html.twig:61 +msgid "Disable social networks on member form" +msgstr "" + +#: ../../tempcache/elements/edit_socials.html.twig:118 +#: ../../tempcache/elements/edit_socials.html.twig:123 msgid "Remove %type" msgstr "" -#: ../../tempcache/elements/edit_socials.html.twig:122 +#: ../../tempcache/elements/edit_socials.html.twig:142 msgid "Add new social network" msgstr "" -#: ../../tempcache/elements/edit_socials.html.twig:131 +#: ../../tempcache/elements/edit_socials.html.twig:151 msgid "Choose or enter your own..." msgstr "" @@ -6551,6 +6538,7 @@ msgid "Group managers selection" msgstr "" #: ../../tempcache/pages/groups_list.html.twig:346 +#: ../../tempcache/pages/member_form.html.twig:714 msgid "" "Items in this list have been modified. Don't forget to save your changes." msgstr "" @@ -7779,15 +7767,14 @@ msgstr "" msgid "Managed groups selection" msgstr "" -#: ../../tempcache/pages/member_form.html.twig:673 -msgid "Manager for:" -msgstr "" - -#: ../../tempcache/pages/member_form.html.twig:678 -msgid "Member of:" +#: ../../tempcache/pages/member_form.html.twig:704 +#: ../../tempcache/pages/member_show.html.twig:542 +#: ../../tempcache/pages/advanced_search.html.twig:166 +#: ../../tempcache/components/forms/groups.html.twig:140 +msgid "Member of group" msgstr "" -#: ../../tempcache/pages/member_form.html.twig:737 +#: ../../tempcache/pages/member_form.html.twig:758 msgid "Click on a row to select a group" msgstr "" @@ -7831,12 +7818,6 @@ msgstr "" msgid "Groups:" msgstr "" -#: ../../tempcache/pages/member_show.html.twig:542 -#: ../../tempcache/pages/advanced_search.html.twig:166 -#: ../../tempcache/components/forms/groups.html.twig:140 -msgid "Member of group" -msgstr "" - #: ../../tempcache/pages/member_show.html.twig:714 msgid "Not managed group" msgstr "" @@ -8257,11 +8238,11 @@ msgstr "" msgid "Password confirmation:" msgstr "" -#: ../../tempcache/components/forms/groups.html.twig:178 +#: ../../tempcache/components/forms/groups.html.twig:180 msgid "Manage user's groups" msgstr "" -#: ../../tempcache/components/forms/groups.html.twig:191 +#: ../../tempcache/components/forms/groups.html.twig:193 msgid "Manage user's managed groups" msgstr "" diff --git a/galette/lang/galette_en_US.po b/galette/lang/galette_en_US.po index e34747877..7d2b553ff 100644 --- a/galette/lang/galette_en_US.po +++ b/galette/lang/galette_en_US.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-02 08:18+0100\n" -"PO-Revision-Date: 2024-03-02 08:18+0100\n" +"POT-Creation-Date: 2024-03-17 19:30+0100\n" +"PO-Revision-Date: 2024-03-17 19:30+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en_US\n" @@ -212,7 +212,7 @@ msgid "An error occurred adding dynamic field :(" msgstr "An error occurred adding dynamic field :(" #: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:131 -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:485 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:492 msgid "Dynamic field has been successfully stored!" msgstr "Dynamic field has been successfully stored!" @@ -233,34 +233,34 @@ msgstr "You do not have permission for requested URL." msgid "The file does not exists or cannot be read :(" msgstr "The file does not exists or cannot be read :(" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:399 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:406 msgid "Unable to retrieve field information." msgstr "Unable to retrieve field information." -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:408 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:415 #: ../../tempcache/pages/configuration_dynamic_fields.html.twig:207 msgid "Edit field" msgstr "Edit field" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:470 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:477 msgid "An error occurred editing dynamic field :(" msgstr "An error occurred editing dynamic field :(" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:571 -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:573 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:578 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:580 msgid "Requested field does not exists!" msgstr "Requested field does not exists!" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:577 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:584 #, php-format msgid "Remove dynamic field %1$s" msgstr "Remove dynamic field %1$s" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:622 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:629 msgid "Field has been successfully moved" msgstr "Field has been successfully moved" -#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:627 +#: ../lib/Galette/Controllers/Crud/DynamicFieldsController.php:634 msgid "An error occurred moving field :(" msgstr "An error occurred moving field :(" @@ -367,8 +367,8 @@ msgid "An error occurred adding member to its groups as manager." msgstr "An error occurred adding member to its groups as manager." #: ../lib/Galette/Controllers/Crud/MembersController.php:1563 -#: ../lib/Galette/Controllers/GaletteController.php:301 -#: ../lib/Galette/Controllers/GaletteController.php:333 +#: ../lib/Galette/Controllers/GaletteController.php:302 +#: ../lib/Galette/Controllers/GaletteController.php:334 msgid "Delete failed" msgstr "Delete failed" @@ -561,39 +561,39 @@ msgstr "Saved search loaded" msgid "An SQL error has occurred while loading search." msgstr "An SQL error has occurred while loading search." -#: ../lib/Galette/Controllers/GaletteController.php:86 +#: ../lib/Galette/Controllers/GaletteController.php:87 #: ../../tempcache/elements/footer.html.twig:113 msgid "System information" msgstr "System information" -#: ../lib/Galette/Controllers/GaletteController.php:106 +#: ../lib/Galette/Controllers/GaletteController.php:107 #: ../../tempcache/elements/navigation/navigation_items.html.twig:71 #: ../../tempcache/elements/navigation/navigation_items.html.twig:86 msgid "Dashboard" msgstr "Dashboard" -#: ../lib/Galette/Controllers/GaletteController.php:221 +#: ../lib/Galette/Controllers/GaletteController.php:222 #: ../lib/Galette/Core/Install.php:1162 ../lib/Galette/Core/Galette.php:328 #: ../lib/Galette/Core/Galette.php:606 msgid "Settings" msgstr "Settings" -#: ../lib/Galette/Controllers/GaletteController.php:236 +#: ../lib/Galette/Controllers/GaletteController.php:237 #: ../lib/Galette/Filters/MembersList.php:309 msgid "All accounts" msgstr "All accounts" -#: ../lib/Galette/Controllers/GaletteController.php:237 +#: ../lib/Galette/Controllers/GaletteController.php:238 #: ../lib/Galette/Filters/MembersList.php:310 msgid "Active accounts" msgstr "Active accounts" -#: ../lib/Galette/Controllers/GaletteController.php:238 +#: ../lib/Galette/Controllers/GaletteController.php:239 #: ../lib/Galette/Filters/MembersList.php:311 msgid "Inactive accounts" msgstr "Inactive accounts" -#: ../lib/Galette/Controllers/GaletteController.php:266 +#: ../lib/Galette/Controllers/GaletteController.php:267 msgid "" "An SQL error has occurred while storing preferences. Please try again, and " "contact the administrator if the problem persists." @@ -601,11 +601,11 @@ msgstr "" "An SQL error has occurred while storing preferences. Please try again, and " "contact the administrator if the problem persists." -#: ../lib/Galette/Controllers/GaletteController.php:270 +#: ../lib/Galette/Controllers/GaletteController.php:271 msgid "Preferences has been saved." msgstr "Preferences has been saved." -#: ../lib/Galette/Controllers/GaletteController.php:387 +#: ../lib/Galette/Controllers/GaletteController.php:388 msgid "" "You asked Galette to send a test email, but email has been disabled in the " "preferences." @@ -613,83 +613,83 @@ msgstr "" "You asked Galette to send a test email, but email has been disabled in the " "preferences." -#: ../lib/Galette/Controllers/GaletteController.php:394 +#: ../lib/Galette/Controllers/GaletteController.php:395 msgid "Test message" msgstr "Test message" -#: ../lib/Galette/Controllers/GaletteController.php:397 +#: ../lib/Galette/Controllers/GaletteController.php:398 msgid "Galette admin" msgstr "Galette admin" -#: ../lib/Galette/Controllers/GaletteController.php:400 +#: ../lib/Galette/Controllers/GaletteController.php:401 msgid "Test message." msgstr "Test message." -#: ../lib/Galette/Controllers/GaletteController.php:409 +#: ../lib/Galette/Controllers/GaletteController.php:410 #, php-format msgid "An email has been sent to %email" msgstr "An email has been sent to %email" -#: ../lib/Galette/Controllers/GaletteController.php:418 +#: ../lib/Galette/Controllers/GaletteController.php:419 #, php-format msgid "No email sent to %email" msgstr "No email sent to %email" -#: ../lib/Galette/Controllers/GaletteController.php:425 +#: ../lib/Galette/Controllers/GaletteController.php:426 msgid "Invalid email adress!" msgstr "Invalid email adress!" -#: ../lib/Galette/Controllers/GaletteController.php:469 +#: ../lib/Galette/Controllers/GaletteController.php:470 #: ../lib/Galette/Core/Galette.php:313 msgid "Charts" msgstr "Charts" -#: ../lib/Galette/Controllers/GaletteController.php:490 +#: ../lib/Galette/Controllers/GaletteController.php:491 msgid "Fields configuration" msgstr "Fields configuration" -#: ../lib/Galette/Controllers/GaletteController.php:554 +#: ../lib/Galette/Controllers/GaletteController.php:556 msgid "Fields configuration has been successfully stored" msgstr "Fields configuration has been successfully stored" -#: ../lib/Galette/Controllers/GaletteController.php:559 +#: ../lib/Galette/Controllers/GaletteController.php:561 msgid "An error occurred while storing fields configuration :(" msgstr "An error occurred while storing fields configuration :(" -#: ../lib/Galette/Controllers/GaletteController.php:584 +#: ../lib/Galette/Controllers/GaletteController.php:586 msgid "Lists configuration" msgstr "Lists configuration" -#: ../lib/Galette/Controllers/GaletteController.php:622 +#: ../lib/Galette/Controllers/GaletteController.php:625 msgid "List configuration has been successfully stored" msgstr "List configuration has been successfully stored" -#: ../lib/Galette/Controllers/GaletteController.php:627 +#: ../lib/Galette/Controllers/GaletteController.php:630 msgid "An error occurred while storing list configuration :(" msgstr "An error occurred while storing list configuration :(" -#: ../lib/Galette/Controllers/GaletteController.php:661 +#: ../lib/Galette/Controllers/GaletteController.php:664 #: ../lib/Galette/Core/Galette.php:256 ../lib/Galette/Core/Galette.php:590 msgid "Reminders" msgstr "Reminders" -#: ../lib/Galette/Controllers/GaletteController.php:702 +#: ../lib/Galette/Controllers/GaletteController.php:705 msgid "No reminder to send for now." msgstr "No reminder to send for now." -#: ../lib/Galette/Controllers/GaletteController.php:739 +#: ../lib/Galette/Controllers/GaletteController.php:742 msgid "There are no member to proceed." msgstr "There are no member to proceed." -#: ../lib/Galette/Controllers/GaletteController.php:746 +#: ../lib/Galette/Controllers/GaletteController.php:749 msgid "Reminder has not been sent:" msgstr "Reminder has not been sent:" -#: ../lib/Galette/Controllers/GaletteController.php:753 +#: ../lib/Galette/Controllers/GaletteController.php:756 msgid "Sent reminders:" msgstr "Sent reminders:" -#: ../lib/Galette/Controllers/GaletteController.php:829 +#: ../lib/Galette/Controllers/GaletteController.php:832 msgid "Download document" msgstr "Download document" @@ -783,8 +783,8 @@ msgstr "Invalid link!" #: ../lib/Galette/Controllers/AuthController.php:68 #: ../lib/Galette/Controllers/AuthController.php:172 -#: ../lib/Galette/Features/Replacements.php:315 -#: ../lib/Galette/Features/Replacements.php:355 +#: ../lib/Galette/Features/Replacements.php:316 +#: ../lib/Galette/Features/Replacements.php:356 #: ../../tempcache/elements/navigation/public_pages.html.twig:96 #: ../../tempcache/pages/index.html.twig:99 msgid "Login" @@ -822,8 +822,8 @@ msgstr "Authentication failed" #: ../../tempcache/elements/logged_user.html.twig:119 #: ../../tempcache/elements/logged_user.html.twig:194 #: ../../tempcache/elements/logged_user.html.twig:212 -#: ../../tempcache/elements/logged_user.html.twig:361 -#: ../../tempcache/elements/logged_user.html.twig:379 +#: ../../tempcache/elements/logged_user.html.twig:363 +#: ../../tempcache/elements/logged_user.html.twig:381 msgid "Log off" msgstr "Log off" @@ -1300,7 +1300,7 @@ msgstr "Last page (%i)" msgid "All" msgstr "All" -#: ../lib/Galette/Core/Authentication.php:283 +#: ../lib/Galette/Core/Authentication.php:284 #, php-format msgid "Logged in as:
%login" msgstr "Logged in as:
%login" @@ -1346,7 +1346,7 @@ msgid "Add new child member in database" msgstr "Add new child member in database" #: ../lib/Galette/Core/Galette.php:164 ../lib/Galette/Core/Galette.php:540 -#: ../lib/Galette/DynamicFields/DynamicField.php:564 +#: ../lib/Galette/DynamicFields/DynamicField.php:533 #: ../../tempcache/elements/group.html.twig:95 msgid "Members" msgstr "Members" @@ -1373,7 +1373,7 @@ msgid "Add new member in database" msgstr "Add new member in database" #: ../lib/Galette/Core/Galette.php:211 ../lib/Galette/Core/Galette.php:572 -#: ../lib/Galette/DynamicFields/DynamicField.php:565 +#: ../lib/Galette/DynamicFields/DynamicField.php:534 #: ../../tempcache/pages/members_list.html.twig:561 msgid "Contributions" msgstr "Contributions" @@ -1573,7 +1573,7 @@ msgid "Public pages" msgstr "Public pages" #: ../lib/Galette/Core/Galette.php:581 -#: ../lib/Galette/DynamicFields/DynamicField.php:566 +#: ../lib/Galette/DynamicFields/DynamicField.php:535 msgid "Transactions" msgstr "Transactions" @@ -1627,28 +1627,28 @@ msgstr "Generate Member Cards" msgid "Export as CSV" msgstr "Export as CSV" -#: ../lib/Galette/Core/Preferences.php:528 +#: ../lib/Galette/Core/Preferences.php:530 msgid "- You must indicate a sender name for emails!" msgstr "- You must indicate a sender name for emails!" -#: ../lib/Galette/Core/Preferences.php:534 +#: ../lib/Galette/Core/Preferences.php:536 msgid "- You must indicate an email address Galette should use to send emails!" msgstr "" "- You must indicate an email address Galette should use to send emails!" -#: ../lib/Galette/Core/Preferences.php:541 +#: ../lib/Galette/Core/Preferences.php:543 msgid "- You must indicate the SMTP server you want to use!" msgstr "- You must indicate the SMTP server you want to use!" -#: ../lib/Galette/Core/Preferences.php:553 +#: ../lib/Galette/Core/Preferences.php:555 msgid "- You must provide a login for SMTP authentication." msgstr "- You must provide a login for SMTP authentication." -#: ../lib/Galette/Core/Preferences.php:559 +#: ../lib/Galette/Core/Preferences.php:561 msgid "- You must provide a password for SMTP authentication." msgstr "- You must provide a password for SMTP authentication." -#: ../lib/Galette/Core/Preferences.php:571 +#: ../lib/Galette/Core/Preferences.php:573 msgid "" "- Default membership extention and beginning of membership are mutually " "exclusive." @@ -1656,11 +1656,11 @@ msgstr "" "- Default membership extention and beginning of membership are mutually " "exclusive." -#: ../lib/Galette/Core/Preferences.php:580 +#: ../lib/Galette/Core/Preferences.php:582 msgid "- Offering months is only compatible with beginning of membership." msgstr "- Offering months is only compatible with beginning of membership." -#: ../lib/Galette/Core/Preferences.php:589 +#: ../lib/Galette/Core/Preferences.php:591 #: ../lib/Galette/Entity/Adherent.php:1209 #: ../lib/Galette/Entity/Transaction.php:389 #: ../lib/Galette/Entity/Contribution.php:520 @@ -1668,91 +1668,91 @@ msgstr "- Offering months is only compatible with beginning of membership." msgid "- Mandatory field %field empty." msgstr "- Mandatory field %field empty." -#: ../lib/Galette/Core/Preferences.php:597 ../webroot/installer.php:191 +#: ../lib/Galette/Core/Preferences.php:599 ../webroot/installer.php:191 msgid "Passwords mismatch" msgstr "Passwords mismatch" -#: ../lib/Galette/Core/Preferences.php:610 +#: ../lib/Galette/Core/Preferences.php:612 msgid "You have to select a staff member" msgstr "You have to select a staff member" -#: ../lib/Galette/Core/Preferences.php:664 +#: ../lib/Galette/Core/Preferences.php:666 #, php-format msgid "Invalid E-Mail address: %s" msgstr "Invalid E-Mail address: %s" -#: ../lib/Galette/Core/Preferences.php:678 +#: ../lib/Galette/Core/Preferences.php:680 msgid "- The username must be composed of at least 4 characters!" msgstr "- The username must be composed of at least 4 characters!" -#: ../lib/Galette/Core/Preferences.php:682 +#: ../lib/Galette/Core/Preferences.php:684 msgid "- This username is already used by another member !" msgstr "- This username is already used by another member !" -#: ../lib/Galette/Core/Preferences.php:702 +#: ../lib/Galette/Core/Preferences.php:704 msgid "- The numbers and measures have to be integers!" msgstr "- The numbers and measures have to be integers!" -#: ../lib/Galette/Core/Preferences.php:736 +#: ../lib/Galette/Core/Preferences.php:738 msgid "- Invalid number of months of membership extension." msgstr "- Invalid number of months of membership extension." -#: ../lib/Galette/Core/Preferences.php:742 +#: ../lib/Galette/Core/Preferences.php:744 msgid "- Invalid format of beginning of membership." msgstr "- Invalid format of beginning of membership." -#: ../lib/Galette/Core/Preferences.php:746 +#: ../lib/Galette/Core/Preferences.php:748 msgid "- Invalid date for beginning of membership." msgstr "- Invalid date for beginning of membership." -#: ../lib/Galette/Core/Preferences.php:752 +#: ../lib/Galette/Core/Preferences.php:754 msgid "- Invalid number of offered months." msgstr "- Invalid number of offered months." -#: ../lib/Galette/Core/Preferences.php:757 +#: ../lib/Galette/Core/Preferences.php:759 msgid "- Invalid year for cards." msgstr "- Invalid year for cards." -#: ../lib/Galette/Core/Preferences.php:765 +#: ../lib/Galette/Core/Preferences.php:767 msgid "- Invalid website URL." msgstr "- Invalid website URL." -#: ../lib/Galette/Core/Preferences.php:879 +#: ../lib/Galette/Core/Preferences.php:881 msgid "%name association's %status" msgstr "%name association's %status" -#: ../lib/Galette/Core/Preferences.php:1115 +#: ../lib/Galette/Core/Preferences.php:1117 msgid "Please define constant \"GALETTE_URI\" with the path to your instance." msgstr "Please define constant \"GALETTE_URI\" with the path to your instance." -#: ../lib/Galette/Core/Preferences.php:1134 -#: ../lib/Galette/Core/Preferences.php:1150 ../lib/Galette/IO/Csv.php:97 +#: ../lib/Galette/Core/Preferences.php:1136 +#: ../lib/Galette/Core/Preferences.php:1152 ../lib/Galette/IO/Csv.php:97 #: ../lib/Galette/Entity/Texts.php:193 #: ../../tempcache/pages/history.html.twig:323 #: ../../tempcache/pages/mailings_list.html.twig:296 msgid "Y-m-d H:i:s" msgstr "Y-m-d H:i:s" -#: ../lib/Galette/Core/Preferences.php:1136 +#: ../lib/Galette/Core/Preferences.php:1138 msgid "Never" msgstr "Never" -#: ../lib/Galette/Core/Preferences.php:1174 +#: ../lib/Galette/Core/Preferences.php:1176 msgid "Current cards configuration may exceed page width!" msgstr "Current cards configuration may exceed page width!" -#: ../lib/Galette/Core/Preferences.php:1185 +#: ../lib/Galette/Core/Preferences.php:1187 msgid "Current cards configuration may exceed page height!" msgstr "Current cards configuration may exceed page height!" -#: ../lib/Galette/Core/Preferences.php:1211 -#: ../lib/Galette/Features/Replacements.php:808 +#: ../lib/Galette/Core/Preferences.php:1213 +#: ../lib/Galette/Features/Replacements.php:809 msgid "Main information" msgstr "Main information" -#: ../lib/Galette/Core/Preferences.php:1218 +#: ../lib/Galette/Core/Preferences.php:1220 #: ../../tempcache/elements/display_socials.html.twig:45 -#: ../../tempcache/elements/edit_socials.html.twig:56 +#: ../../tempcache/elements/edit_socials.html.twig:76 #: ../../tempcache/pages/preferences.html.twig:69 msgid "Social networks" msgstr "Social networks" @@ -1795,7 +1795,7 @@ msgstr "Module does not exists!" msgid "File not found!" msgstr "File not found!" -#: ../lib/Galette/Core/Picture.php:1000 +#: ../lib/Galette/Core/Picture.php:972 msgid "An SQL error has occurred." msgstr "An SQL error has occurred." @@ -1824,7 +1824,7 @@ msgstr "Cannot remove a member who still have dependencies (mailings, ...)" #: ../lib/Galette/IO/ContributionsCsv.php:113 #: ../lib/Galette/IO/ContributionsCsv.php:125 #: ../lib/Galette/IO/ContributionsCsv.php:137 -#: ../lib/Galette/Features/Replacements.php:517 +#: ../lib/Galette/Features/Replacements.php:518 #: ../lib/Galette/Features/Dynamics.php:160 #: ../lib/Galette/Features/Dynamics.php:173 #: ../lib/Galette/Features/Dynamics.php:179 @@ -1834,7 +1834,7 @@ msgstr "Cannot remove a member who still have dependencies (mailings, ...)" #: ../lib/Galette/Entity/Adherent.php:1287 #: ../lib/Galette/Entity/Adherent.php:1321 #: ../lib/Galette/Entity/Adherent.php:1327 -#: ../lib/Galette/Entity/Adherent.php:1820 +#: ../lib/Galette/Entity/Adherent.php:1826 #: ../lib/Galette/Entity/Transaction.php:319 #: ../lib/Galette/Entity/Transaction.php:332 #: ../lib/Galette/Entity/Transaction.php:338 @@ -1867,7 +1867,7 @@ msgstr "Cannot remove a member who still have dependencies (mailings, ...)" #: ../lib/Galette/Filters/AdvancedMembersList.php:337 #: ../lib/Galette/Filters/AdvancedMembersList.php:455 #: ../lib/Galette/Filters/AdvancedMembersList.php:601 -#: ../../tempcache/pages/member_form.html.twig:891 +#: ../../tempcache/pages/member_form.html.twig:912 #: ../../tempcache/pages/advanced_search.html.twig:1385 msgid "Y-m-d" msgstr "Y-m-d" @@ -1921,134 +1921,91 @@ msgstr "Photo has not been stored!" msgid "Photo has not been copied!" msgstr "Photo has not been copied!" -#: ../lib/Galette/DynamicFields/DynamicField.php:548 -msgid "User, read/write" -msgstr "User, read/write" - -#: ../lib/Galette/DynamicFields/DynamicField.php:549 -#: ../../tempcache/elements/ajax_members.html.twig:141 -#: ../../tempcache/elements/group_persons.html.twig:137 -#: ../../tempcache/elements/edit_core_fields.html.twig:171 -#: ../../tempcache/pages/members_list.html.twig:619 -#: ../../tempcache/pages/members_list.html.twig:769 -#: ../../tempcache/pages/status_list.html.twig:159 -#: ../../tempcache/pages/preferences.html.twig:392 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Staff member" -msgstr "Staff member" - -#: ../lib/Galette/DynamicFields/DynamicField.php:550 -#: ../../tempcache/elements/ajax_members.html.twig:130 -#: ../../tempcache/elements/group_persons.html.twig:126 -#: ../../tempcache/elements/edit_core_fields.html.twig:161 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Administrator" -msgstr "Administrator" - -#: ../lib/Galette/DynamicFields/DynamicField.php:551 -#: ../../tempcache/elements/ajax_members.html.twig:152 -#: ../../tempcache/elements/group_persons.html.twig:148 -#: ../../tempcache/elements/edit_core_fields.html.twig:181 -#: ../../tempcache/pages/members_list.html.twig:626 -#: ../../tempcache/pages/members_list.html.twig:780 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -#: ../../tempcache/pages/member_show.html.twig:551 -#: ../../tempcache/components/forms/groups.html.twig:149 -msgid "Group manager" -msgstr "Group manager" - -#: ../lib/Galette/DynamicFields/DynamicField.php:552 -msgid "User, read only" -msgstr "User, read only" - -#: ../lib/Galette/DynamicFields/DynamicField.php:640 +#: ../lib/Galette/DynamicFields/DynamicField.php:598 msgid "Missing required field name!" msgstr "Missing required field name!" -#: ../lib/Galette/DynamicFields/DynamicField.php:649 +#: ../lib/Galette/DynamicFields/DynamicField.php:607 msgid "Missing required field permissions!" msgstr "Missing required field permissions!" -#: ../lib/Galette/DynamicFields/DynamicField.php:654 +#: ../lib/Galette/DynamicFields/DynamicField.php:612 msgid "Unknown permission!" msgstr "Unknown permission!" -#: ../lib/Galette/DynamicFields/DynamicField.php:660 +#: ../lib/Galette/DynamicFields/DynamicField.php:618 msgid "Missing required form!" msgstr "Missing required form!" -#: ../lib/Galette/DynamicFields/DynamicField.php:665 +#: ../lib/Galette/DynamicFields/DynamicField.php:623 msgid "Unknown form!" msgstr "Unknown form!" -#: ../lib/Galette/DynamicFields/DynamicField.php:675 +#: ../lib/Galette/DynamicFields/DynamicField.php:633 msgid "- Field name already used." msgstr "- Field name already used." -#: ../lib/Galette/DynamicFields/DynamicField.php:680 +#: ../lib/Galette/DynamicFields/DynamicField.php:638 msgid "- Width must be a positive integer!" msgstr "- Width must be a positive integer!" -#: ../lib/Galette/DynamicFields/DynamicField.php:688 +#: ../lib/Galette/DynamicFields/DynamicField.php:646 msgid "- Height must be a positive integer!" msgstr "- Height must be a positive integer!" -#: ../lib/Galette/DynamicFields/DynamicField.php:696 +#: ../lib/Galette/DynamicFields/DynamicField.php:654 msgid "- Size must be a positive integer!" msgstr "- Size must be a positive integer!" -#: ../lib/Galette/DynamicFields/DynamicField.php:704 +#: ../lib/Galette/DynamicFields/DynamicField.php:662 msgid "- Min size must be a positive integer!" msgstr "- Min size must be a positive integer!" -#: ../lib/Galette/DynamicFields/DynamicField.php:717 +#: ../lib/Galette/DynamicFields/DynamicField.php:675 msgid "- Min size must be lower than size!" msgstr "- Min size must be lower than size!" -#: ../lib/Galette/DynamicFields/DynamicField.php:723 +#: ../lib/Galette/DynamicFields/DynamicField.php:681 msgid "- Repeat must be an integer!" msgstr "- Repeat must be an integer!" -#: ../lib/Galette/DynamicFields/DynamicField.php:834 +#: ../lib/Galette/DynamicFields/DynamicField.php:792 msgid "An error occurred storing the field." msgstr "An error occurred storing the field." -#: ../lib/Galette/DynamicFields/DynamicField.php:855 +#: ../lib/Galette/DynamicFields/DynamicField.php:813 msgid "An error occurred creating field values table" msgstr "An error occurred creating field values table" -#: ../lib/Galette/DynamicFields/DynamicField.php:889 +#: ../lib/Galette/DynamicFields/DynamicField.php:847 msgid "An error occurred storing dynamic field values :(" msgstr "An error occurred storing dynamic field values :(" -#: ../lib/Galette/DynamicFields/DynamicField.php:1102 +#: ../lib/Galette/DynamicFields/DynamicField.php:1060 msgid "separator" msgstr "separator" -#: ../lib/Galette/DynamicFields/DynamicField.php:1103 +#: ../lib/Galette/DynamicFields/DynamicField.php:1061 msgid "free text" msgstr "free text" -#: ../lib/Galette/DynamicFields/DynamicField.php:1104 +#: ../lib/Galette/DynamicFields/DynamicField.php:1062 msgid "single line" msgstr "single line" -#: ../lib/Galette/DynamicFields/DynamicField.php:1105 +#: ../lib/Galette/DynamicFields/DynamicField.php:1063 msgid "choice" msgstr "choice" -#: ../lib/Galette/DynamicFields/DynamicField.php:1106 +#: ../lib/Galette/DynamicFields/DynamicField.php:1064 msgid "date" msgstr "date" -#: ../lib/Galette/DynamicFields/DynamicField.php:1107 +#: ../lib/Galette/DynamicFields/DynamicField.php:1065 msgid "boolean" msgstr "boolean" -#: ../lib/Galette/DynamicFields/DynamicField.php:1108 +#: ../lib/Galette/DynamicFields/DynamicField.php:1066 msgid "file" msgstr "file" @@ -2081,7 +2038,7 @@ msgstr "Managers:" #: ../lib/Galette/IO/PdfGroups.php:157 #: ../lib/Galette/IO/PdfAttendanceSheet.php:163 -#: ../lib/Galette/Features/Replacements.php:247 +#: ../lib/Galette/Features/Replacements.php:248 #: ../lib/Galette/Entity/PdfModel.php:444 #: ../lib/Galette/Filters/MembersList.php:274 #: ../includes/fields_defs/members_fields.php:315 @@ -2116,8 +2073,8 @@ msgid "Name" msgstr "Name" #: ../lib/Galette/IO/PdfGroups.php:158 -#: ../lib/Galette/Features/Replacements.php:311 -#: ../lib/Galette/Features/Replacements.php:359 +#: ../lib/Galette/Features/Replacements.php:312 +#: ../lib/Galette/Features/Replacements.php:360 #: ../../tempcache/elements/member_card.html.twig:147 #: ../../tempcache/pages/preferences.html.twig:2089 #: ../../tempcache/pages/members_public_list.html.twig:86 @@ -2126,14 +2083,14 @@ msgid "Email" msgstr "Email" #: ../lib/Galette/IO/PdfGroups.php:159 -#: ../lib/Galette/Features/Replacements.php:303 +#: ../lib/Galette/Features/Replacements.php:304 #: ../lib/Galette/Entity/ListsConfig.php:199 #: ../../tempcache/elements/member_card.html.twig:107 msgid "Phone" msgstr "Phone" #: ../lib/Galette/IO/PdfGroups.php:160 -#: ../lib/Galette/Features/Replacements.php:307 +#: ../lib/Galette/Features/Replacements.php:308 msgid "GSM" msgstr "GSM" @@ -2142,8 +2099,8 @@ msgid "filtered_memberslist" msgstr "filtered_memberslist" #: ../lib/Galette/IO/MembersCsv.php:207 -#: ../lib/Galette/Features/Replacements.php:628 -#: ../lib/Galette/Entity/Adherent.php:1780 +#: ../lib/Galette/Features/Replacements.php:629 +#: ../lib/Galette/Entity/Adherent.php:1786 #: ../../tempcache/modals/mass_change_members.html.twig:163 #: ../../tempcache/elements/ajax_members.html.twig:100 #: ../../tempcache/elements/group_persons.html.twig:98 @@ -2154,8 +2111,8 @@ msgid "Man" msgstr "Man" #: ../lib/Galette/IO/MembersCsv.php:210 -#: ../lib/Galette/Features/Replacements.php:630 -#: ../lib/Galette/Entity/Adherent.php:1782 +#: ../lib/Galette/Features/Replacements.php:631 +#: ../lib/Galette/Entity/Adherent.php:1788 #: ../../tempcache/modals/mass_change_members.html.twig:154 #: ../../tempcache/elements/ajax_members.html.twig:111 #: ../../tempcache/elements/group_persons.html.twig:109 @@ -2166,8 +2123,8 @@ msgid "Woman" msgstr "Woman" #: ../lib/Galette/IO/MembersCsv.php:213 -#: ../lib/Galette/Features/Replacements.php:632 -#: ../lib/Galette/Entity/Adherent.php:1784 +#: ../lib/Galette/Features/Replacements.php:633 +#: ../lib/Galette/Entity/Adherent.php:1790 #: ../../tempcache/modals/mass_change_members.html.twig:145 #: ../../tempcache/pages/advanced_search.html.twig:1149 #: ../../tempcache/pages/advanced_search.html.twig:1668 @@ -2177,16 +2134,16 @@ msgstr "Unspecified" #: ../lib/Galette/IO/MembersCsv.php:221 ../lib/Galette/IO/MembersCsv.php:225 #: ../lib/Galette/IO/MembersCsv.php:229 ../lib/Galette/IO/MembersCsv.php:233 -#: ../lib/Galette/Features/Replacements.php:753 -#: ../lib/Galette/Entity/Adherent.php:1746 -#: ../lib/Galette/Entity/Adherent.php:1748 -#: ../lib/Galette/Entity/Adherent.php:1750 +#: ../lib/Galette/Features/Replacements.php:754 #: ../lib/Galette/Entity/Adherent.php:1752 +#: ../lib/Galette/Entity/Adherent.php:1754 +#: ../lib/Galette/Entity/Adherent.php:1756 +#: ../lib/Galette/Entity/Adherent.php:1758 #: ../../tempcache/elements/edit_dynamic_fields.html.twig:127 #: ../../tempcache/elements/js/messages.js.twig:326 #: ../../tempcache/elements/display_dynamic_fields.html.twig:135 #: ../../tempcache/elements/messages_inline.html.twig:419 -#: ../../tempcache/elements/edit_core_fields.html.twig:224 +#: ../../tempcache/elements/edit_core_fields.html.twig:185 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:141 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:306 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:522 @@ -2201,16 +2158,16 @@ msgstr "Yes" #: ../lib/Galette/IO/MembersCsv.php:221 ../lib/Galette/IO/MembersCsv.php:225 #: ../lib/Galette/IO/MembersCsv.php:229 ../lib/Galette/IO/MembersCsv.php:233 -#: ../lib/Galette/Features/Replacements.php:753 -#: ../lib/Galette/Entity/Adherent.php:1746 -#: ../lib/Galette/Entity/Adherent.php:1748 -#: ../lib/Galette/Entity/Adherent.php:1750 +#: ../lib/Galette/Features/Replacements.php:754 #: ../lib/Galette/Entity/Adherent.php:1752 +#: ../lib/Galette/Entity/Adherent.php:1754 +#: ../lib/Galette/Entity/Adherent.php:1756 +#: ../lib/Galette/Entity/Adherent.php:1758 #: ../../tempcache/elements/edit_dynamic_fields.html.twig:129 #: ../../tempcache/elements/js/messages.js.twig:344 #: ../../tempcache/elements/display_dynamic_fields.html.twig:141 #: ../../tempcache/elements/messages_inline.html.twig:423 -#: ../../tempcache/elements/edit_core_fields.html.twig:243 +#: ../../tempcache/elements/edit_core_fields.html.twig:204 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:133 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:298 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:514 @@ -2353,52 +2310,52 @@ msgstr "Member's Cards" msgid "Cards" msgstr "Cards" -#: ../lib/Galette/IO/FileTrait.php:465 +#: ../lib/Galette/IO/FileTrait.php:497 msgid "An error occurred." msgstr "An error occurred." -#: ../lib/Galette/IO/FileTrait.php:469 +#: ../lib/Galette/IO/FileTrait.php:501 msgid "" "File name is invalid, it should not contain any special character or space." msgstr "" "File name is invalid, it should not contain any special character or space." -#: ../lib/Galette/IO/FileTrait.php:475 +#: ../lib/Galette/IO/FileTrait.php:507 #, php-format msgid "File extension is not allowed, only %s files are." msgstr "File extension is not allowed, only %s files are." -#: ../lib/Galette/IO/FileTrait.php:482 ../lib/Galette/Features/Dynamics.php:279 +#: ../lib/Galette/IO/FileTrait.php:514 ../lib/Galette/Features/Dynamics.php:279 #, php-format msgid "File is too big. Maximum allowed size is %dKo" msgstr "File is too big. Maximum allowed size is %dKo" -#: ../lib/Galette/IO/FileTrait.php:487 +#: ../lib/Galette/IO/FileTrait.php:519 #, php-format msgid "Image is too small. The minimum image side size allowed is %spx" msgstr "Image is too small. The minimum image side size allowed is %spx" -#: ../lib/Galette/IO/FileTrait.php:493 +#: ../lib/Galette/IO/FileTrait.php:525 msgid "Mime-Type not allowed" msgstr "Mime-Type not allowed" -#: ../lib/Galette/IO/FileTrait.php:496 +#: ../lib/Galette/IO/FileTrait.php:528 msgid "A file with that name already exists!" msgstr "A file with that name already exists!" -#: ../lib/Galette/IO/FileTrait.php:499 +#: ../lib/Galette/IO/FileTrait.php:531 msgid "File does not comply with requirements." msgstr "File does not comply with requirements." -#: ../lib/Galette/IO/FileTrait.php:502 +#: ../lib/Galette/IO/FileTrait.php:534 msgid "Unable to write file or temporary file" msgstr "Unable to write file or temporary file" -#: ../lib/Galette/IO/FileTrait.php:532 +#: ../lib/Galette/IO/FileTrait.php:564 msgid "The uploaded file exceeds the upload_max_filesize directive in php.ini" msgstr "The uploaded file exceeds the upload_max_filesize directive in php.ini" -#: ../lib/Galette/IO/FileTrait.php:534 +#: ../lib/Galette/IO/FileTrait.php:566 msgid "" "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in " "the HTML form" @@ -2406,27 +2363,27 @@ msgstr "" "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in " "the HTML form" -#: ../lib/Galette/IO/FileTrait.php:536 +#: ../lib/Galette/IO/FileTrait.php:568 msgid "The uploaded file was only partially uploaded" msgstr "The uploaded file was only partially uploaded" -#: ../lib/Galette/IO/FileTrait.php:538 +#: ../lib/Galette/IO/FileTrait.php:570 msgid "No file was uploaded" msgstr "No file was uploaded" -#: ../lib/Galette/IO/FileTrait.php:540 +#: ../lib/Galette/IO/FileTrait.php:572 msgid "Missing a temporary folder" msgstr "Missing a temporary folder" -#: ../lib/Galette/IO/FileTrait.php:542 +#: ../lib/Galette/IO/FileTrait.php:574 msgid "Failed to write file to disk" msgstr "Failed to write file to disk" -#: ../lib/Galette/IO/FileTrait.php:544 +#: ../lib/Galette/IO/FileTrait.php:576 msgid "File upload stopped by extension" msgstr "File upload stopped by extension" -#: ../lib/Galette/IO/FileTrait.php:546 +#: ../lib/Galette/IO/FileTrait.php:578 msgid "Unknown upload error" msgstr "Unknown upload error" @@ -2442,6 +2399,50 @@ msgstr "receipt" msgid "invoice" msgstr "invoice" +#: ../lib/Galette/Features/Permissions.php:59 +msgid "Inaccessible" +msgstr "Inaccessible" + +#: ../lib/Galette/Features/Permissions.php:60 +msgid "User, read only" +msgstr "User, read only" + +#: ../lib/Galette/Features/Permissions.php:61 +msgid "User, read/write" +msgstr "User, read/write" + +#: ../lib/Galette/Features/Permissions.php:62 +#: ../../tempcache/elements/ajax_members.html.twig:152 +#: ../../tempcache/elements/group_persons.html.twig:148 +#: ../../tempcache/pages/members_list.html.twig:626 +#: ../../tempcache/pages/members_list.html.twig:780 +#: ../../tempcache/pages/member_form.html.twig:698 +#: ../../tempcache/pages/member_show.html.twig:551 +#: ../../tempcache/components/forms/groups.html.twig:151 +msgid "Group manager" +msgstr "Group manager" + +#: ../lib/Galette/Features/Permissions.php:63 +#: ../../tempcache/elements/ajax_members.html.twig:141 +#: ../../tempcache/elements/group_persons.html.twig:137 +#: ../../tempcache/pages/members_list.html.twig:619 +#: ../../tempcache/pages/members_list.html.twig:769 +#: ../../tempcache/pages/status_list.html.twig:159 +#: ../../tempcache/pages/preferences.html.twig:392 +msgid "Staff member" +msgstr "Staff member" + +#: ../lib/Galette/Features/Permissions.php:64 +#: ../../tempcache/elements/ajax_members.html.twig:130 +#: ../../tempcache/elements/group_persons.html.twig:126 +msgid "Administrator" +msgstr "Administrator" + +#: ../lib/Galette/Features/Permissions.php:68 +#: ../lib/Galette/Entity/ListsConfig.php:202 +msgid "Public" +msgstr "Public" + #: ../lib/Galette/Features/I18n.php:115 #, php-format msgid "Unable to add dynamic translation for %field :(" @@ -2457,88 +2458,88 @@ msgstr "Unable to update dynamic translation for %field :(" msgid "Unable to remove old dynamic translation for %field :(" msgstr "Unable to remove old dynamic translation for %field :(" -#: ../lib/Galette/Features/Replacements.php:112 +#: ../lib/Galette/Features/Replacements.php:113 #, php-format msgid "Label for dynamic field \"%s\"" msgstr "Label for dynamic field \"%s\"" -#: ../lib/Galette/Features/Replacements.php:115 +#: ../lib/Galette/Features/Replacements.php:116 #, php-format msgid "Form entry for dynamic field \"%s\"" msgstr "Form entry for dynamic field \"%s\"" -#: ../lib/Galette/Features/Replacements.php:121 +#: ../lib/Galette/Features/Replacements.php:122 #, php-format msgid "Value for dynamic field \"%s\"" msgstr "Value for dynamic field \"%s\"" -#: ../lib/Galette/Features/Replacements.php:184 +#: ../lib/Galette/Features/Replacements.php:185 msgid "Your organisation name" msgstr "Your organisation name" -#: ../lib/Galette/Features/Replacements.php:188 +#: ../lib/Galette/Features/Replacements.php:189 msgid "Your organisation slogan" msgstr "Your organisation slogan" -#: ../lib/Galette/Features/Replacements.php:192 -#: ../lib/Galette/Features/Replacements.php:196 +#: ../lib/Galette/Features/Replacements.php:193 +#: ../lib/Galette/Features/Replacements.php:197 msgid "Your organisation address" msgstr "Your organisation address" -#: ../lib/Galette/Features/Replacements.php:196 -#: ../lib/Galette/Features/Replacements.php:287 +#: ../lib/Galette/Features/Replacements.php:197 +#: ../lib/Galette/Features/Replacements.php:288 msgid "with break lines" msgstr "with break lines" -#: ../lib/Galette/Features/Replacements.php:200 +#: ../lib/Galette/Features/Replacements.php:201 msgid "Your organisation website" msgstr "Your organisation website" -#: ../lib/Galette/Features/Replacements.php:204 +#: ../lib/Galette/Features/Replacements.php:205 msgid "Your organisation logo" msgstr "Your organisation logo" -#: ../lib/Galette/Features/Replacements.php:208 +#: ../lib/Galette/Features/Replacements.php:209 msgid "Your organisation logo (print specific)" msgstr "Your organisation logo (print specific)" #. TRANS: see https://www.php.net/manual/datetime.format.php -#: ../lib/Galette/Features/Replacements.php:213 +#: ../lib/Galette/Features/Replacements.php:214 msgid "Current date (Y-m-d)" msgstr "Current date (Y-m-d)" -#: ../lib/Galette/Features/Replacements.php:217 +#: ../lib/Galette/Features/Replacements.php:218 msgid "Galette's login URI" msgstr "Galette's login URI" -#: ../lib/Galette/Features/Replacements.php:235 +#: ../lib/Galette/Features/Replacements.php:236 #: ../lib/Galette/Entity/PdfModel.php:453 #: ../../tempcache/modals/members_attendance_sheet.html.twig:110 #: ../../tempcache/elements/edit_pdf_models.html.twig:50 msgid "Title" msgstr "Title" -#: ../lib/Galette/Features/Replacements.php:239 +#: ../lib/Galette/Features/Replacements.php:240 msgid "Member's ID" msgstr "Member's ID" -#: ../lib/Galette/Features/Replacements.php:243 +#: ../lib/Galette/Features/Replacements.php:244 #: ../lib/Galette/Filters/MembersList.php:275 #: ../../tempcache/pages/preferences.html.twig:2121 msgid "Member number" msgstr "Member number" -#: ../lib/Galette/Features/Replacements.php:251 -#: ../lib/Galette/Features/Replacements.php:347 +#: ../lib/Galette/Features/Replacements.php:252 +#: ../lib/Galette/Features/Replacements.php:348 msgid "Last name" msgstr "Last name" -#: ../lib/Galette/Features/Replacements.php:255 -#: ../lib/Galette/Features/Replacements.php:351 ../includes/i18n.inc.php:312 +#: ../lib/Galette/Features/Replacements.php:256 +#: ../lib/Galette/Features/Replacements.php:352 ../includes/i18n.inc.php:312 msgid "First name" msgstr "First name" -#: ../lib/Galette/Features/Replacements.php:259 +#: ../lib/Galette/Features/Replacements.php:260 #: ../../tempcache/elements/group_persons.html.twig:50 #: ../../tempcache/pages/preferences.html.twig:2105 #: ../../tempcache/pages/members_public_list.html.twig:78 @@ -2546,74 +2547,74 @@ msgstr "First name" msgid "Nickname" msgstr "Nickname" -#: ../lib/Galette/Features/Replacements.php:263 +#: ../lib/Galette/Features/Replacements.php:264 msgid "Gender" msgstr "Gender" -#: ../lib/Galette/Features/Replacements.php:267 +#: ../lib/Galette/Features/Replacements.php:268 #: ../../tempcache/pages/advanced_search.html.twig:266 msgid "Birth date" msgstr "Birth date" -#: ../lib/Galette/Features/Replacements.php:271 +#: ../lib/Galette/Features/Replacements.php:272 msgid "Birth place" msgstr "Birth place" -#: ../lib/Galette/Features/Replacements.php:275 +#: ../lib/Galette/Features/Replacements.php:276 #: ../../tempcache/pages/preferences.html.twig:2113 msgid "Profession" msgstr "Profession" -#: ../lib/Galette/Features/Replacements.php:279 -#: ../lib/Galette/Features/Replacements.php:343 +#: ../lib/Galette/Features/Replacements.php:280 +#: ../lib/Galette/Features/Replacements.php:344 #: ../lib/Galette/Filters/MembersList.php:276 msgid "Company name" msgstr "Company name" -#: ../lib/Galette/Features/Replacements.php:283 -#: ../lib/Galette/Features/Replacements.php:287 +#: ../lib/Galette/Features/Replacements.php:284 +#: ../lib/Galette/Features/Replacements.php:288 #: ../lib/Galette/Filters/MembersList.php:277 #: ../../tempcache/pages/mailing_form.html.twig:124 msgid "Address" msgstr "Address" -#: ../lib/Galette/Features/Replacements.php:291 +#: ../lib/Galette/Features/Replacements.php:292 msgid "Zipcode" msgstr "Zipcode" -#: ../lib/Galette/Features/Replacements.php:295 +#: ../lib/Galette/Features/Replacements.php:296 msgid "Town" msgstr "Town" -#: ../lib/Galette/Features/Replacements.php:299 ../includes/i18n.inc.php:309 +#: ../lib/Galette/Features/Replacements.php:300 ../includes/i18n.inc.php:309 msgid "Country" msgstr "Country" -#: ../lib/Galette/Features/Replacements.php:319 +#: ../lib/Galette/Features/Replacements.php:320 msgid "Member's main group" msgstr "Member's main group" -#: ../lib/Galette/Features/Replacements.php:323 +#: ../lib/Galette/Features/Replacements.php:324 msgid "Member's groups (as list)" msgstr "Member's groups (as list)" -#: ../lib/Galette/Features/Replacements.php:327 +#: ../lib/Galette/Features/Replacements.php:328 msgid "Member state of dues" msgstr "Member state of dues" -#: ../lib/Galette/Features/Replacements.php:331 +#: ../lib/Galette/Features/Replacements.php:332 msgid "Membership remaining days" msgstr "Membership remaining days" -#: ../lib/Galette/Features/Replacements.php:335 +#: ../lib/Galette/Features/Replacements.php:336 msgid "Membership expired since" msgstr "Membership expired since" -#: ../lib/Galette/Features/Replacements.php:381 +#: ../lib/Galette/Features/Replacements.php:382 msgid "Contribution label" msgstr "Contribution label" -#: ../lib/Galette/Features/Replacements.php:385 +#: ../lib/Galette/Features/Replacements.php:386 #: ../../tempcache/pages/transaction_form.html.twig:289 #: ../../tempcache/pages/contributions_list.html.twig:408 #: ../../tempcache/pages/contributions_list.html.twig:668 @@ -2627,38 +2628,38 @@ msgstr "Contribution label" msgid "Amount" msgstr "Amount" -#: ../lib/Galette/Features/Replacements.php:389 +#: ../lib/Galette/Features/Replacements.php:390 msgid "Amount (in letters)" msgstr "Amount (in letters)" -#: ../lib/Galette/Features/Replacements.php:393 +#: ../lib/Galette/Features/Replacements.php:394 msgid "Full date" msgstr "Full date" -#: ../lib/Galette/Features/Replacements.php:397 +#: ../lib/Galette/Features/Replacements.php:398 msgid "Contribution year" msgstr "Contribution year" -#: ../lib/Galette/Features/Replacements.php:401 +#: ../lib/Galette/Features/Replacements.php:402 msgid "Comment" msgstr "Comment" -#: ../lib/Galette/Features/Replacements.php:405 +#: ../lib/Galette/Features/Replacements.php:406 #: ../../tempcache/pages/advanced_search.html.twig:703 msgid "Begin date" msgstr "Begin date" -#: ../lib/Galette/Features/Replacements.php:409 +#: ../lib/Galette/Features/Replacements.php:410 #: ../../tempcache/pages/advanced_search.html.twig:747 msgid "End date" msgstr "End date" -#: ../lib/Galette/Features/Replacements.php:413 +#: ../lib/Galette/Features/Replacements.php:414 #: ../lib/Galette/Entity/Contribution.php:144 msgid "Contribution id" msgstr "Contribution id" -#: ../lib/Galette/Features/Replacements.php:417 +#: ../lib/Galette/Features/Replacements.php:418 #: ../../tempcache/pages/contributions_list.html.twig:408 #: ../../tempcache/pages/contributions_list.html.twig:674 #: ../../tempcache/pages/transactions_list.html.twig:294 @@ -2668,15 +2669,15 @@ msgstr "Contribution id" msgid "Payment type" msgstr "Payment type" -#: ../lib/Galette/Features/Replacements.php:421 +#: ../lib/Galette/Features/Replacements.php:422 #: ../lib/Galette/Entity/Contribution.php:1092 #: ../lib/Galette/Entity/Texts.php:611 #: ../lib/Galette/Entity/PdfContribution.php:65 msgid "Contribution information" msgstr "Contribution information" -#: ../lib/Galette/Features/Replacements.php:636 #: ../lib/Galette/Features/Replacements.php:637 +#: ../lib/Galette/Features/Replacements.php:638 #: ../../tempcache/elements/group.html.twig:202 #: ../../tempcache/elements/group.html.twig:245 #: ../../tempcache/pages/transaction_form.html.twig:210 @@ -2684,7 +2685,7 @@ msgstr "Contribution information" msgid "None" msgstr "None" -#: ../lib/Galette/Features/Replacements.php:813 +#: ../lib/Galette/Features/Replacements.php:814 msgid "Member information" msgstr "Member information" @@ -2713,10 +2714,6 @@ msgstr "Is admin" msgid "Modified" msgstr "Modified" -#: ../lib/Galette/Entity/ListsConfig.php:202 -msgid "Public" -msgstr "Public" - #: ../lib/Galette/Entity/Reminder.php:250 msgid "%name <%mail> (%days days)" msgstr "%name <%mail> (%days days)" @@ -2836,40 +2833,44 @@ msgstr "An error has occurred while looking if status does exists." msgid "Gender %gender does not exists!" msgstr "Gender %gender does not exists!" -#: ../lib/Galette/Entity/Adherent.php:1591 +#: ../lib/Galette/Entity/Adherent.php:1483 +msgid "A member cannot be its own parent!" +msgstr "A member cannot be its own parent!" + +#: ../lib/Galette/Entity/Adherent.php:1597 msgid "Self_subscription as a member: " msgstr "Self_subscription as a member: " -#: ../lib/Galette/Entity/Adherent.php:1597 +#: ../lib/Galette/Entity/Adherent.php:1603 msgid "Member card added" msgstr "Member card added" -#: ../lib/Galette/Entity/Adherent.php:1604 +#: ../lib/Galette/Entity/Adherent.php:1610 msgid "Fail to add new member." msgstr "Fail to add new member." -#: ../lib/Galette/Entity/Adherent.php:1634 +#: ../lib/Galette/Entity/Adherent.php:1640 msgid "Member card updated" msgstr "Member card updated" -#: ../lib/Galette/Entity/Adherent.php:1754 +#: ../lib/Galette/Entity/Adherent.php:1760 #: ../../tempcache/components/forms/account.html.twig:64 msgid "Active" msgstr "Active" -#: ../lib/Galette/Entity/Adherent.php:1754 +#: ../lib/Galette/Entity/Adherent.php:1760 #: ../../tempcache/pages/contributions_list.html.twig:231 #: ../../tempcache/pages/transactions_list.html.twig:180 #: ../../tempcache/components/forms/account.html.twig:72 msgid "Inactive" msgstr "Inactive" -#: ../lib/Galette/Entity/Adherent.php:2056 -#: ../../tempcache/pages/member_form.html.twig:905 +#: ../lib/Galette/Entity/Adherent.php:2062 +#: ../../tempcache/pages/member_form.html.twig:926 msgid " (%age years old)" msgstr " (%age years old)" -#: ../lib/Galette/Entity/Adherent.php:2134 +#: ../lib/Galette/Entity/Adherent.php:2140 msgid "Duplicated from %name (%id)" msgstr "Duplicated from %name (%id)" @@ -4974,7 +4975,7 @@ msgid "Switch locale to '%locale'" msgstr "Switch locale to '%locale'" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:48 -#: ../../tempcache/elements/edit_socials.html.twig:162 +#: ../../tempcache/elements/edit_socials.html.twig:182 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:540 #: ../../tempcache/pages/configuration_titles.html.twig:113 #: ../../tempcache/pages/contributions_types_list.html.twig:132 @@ -5012,8 +5013,8 @@ msgstr "Type" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:71 #: ../../tempcache/elements/edit_dynamic_fields.html.twig:119 #: ../../tempcache/elements/edit_core_fields.html.twig:52 -#: ../../tempcache/elements/edit_core_fields.html.twig:208 -#: ../../tempcache/elements/edit_core_fields.html.twig:212 +#: ../../tempcache/elements/edit_core_fields.html.twig:169 +#: ../../tempcache/elements/edit_core_fields.html.twig:173 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:505 msgid "Required" msgstr "Required" @@ -5021,8 +5022,8 @@ msgstr "Required" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:78 #: ../../tempcache/elements/edit_dynamic_fields.html.twig:141 #: ../../tempcache/elements/edit_core_fields.html.twig:59 -#: ../../tempcache/elements/edit_core_fields.html.twig:265 -#: ../../tempcache/elements/edit_core_fields.html.twig:269 +#: ../../tempcache/elements/edit_core_fields.html.twig:226 +#: ../../tempcache/elements/edit_core_fields.html.twig:230 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:317 msgid "Width in forms" msgstr "Width in forms" @@ -5041,19 +5042,19 @@ msgid "Actions" msgstr "Actions" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:148 -#: ../../tempcache/elements/edit_core_fields.html.twig:304 +#: ../../tempcache/elements/edit_core_fields.html.twig:265 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:345 msgid "Half" msgstr "Half" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:155 -#: ../../tempcache/elements/edit_core_fields.html.twig:293 +#: ../../tempcache/elements/edit_core_fields.html.twig:254 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:334 msgid "Full" msgstr "Full" #: ../../tempcache/elements/edit_dynamic_fields.html.twig:161 -#: ../../tempcache/elements/edit_core_fields.html.twig:285 +#: ../../tempcache/elements/edit_core_fields.html.twig:246 #: ../../tempcache/pages/configuration_dynamic_field_form.html.twig:326 msgid "Default" msgstr "Default" @@ -5107,7 +5108,7 @@ msgid "Menu" msgstr "Menu" #: ../../tempcache/elements/navigation/navigation_aside.html.twig:69 -#: ../../tempcache/elements/logged_user.html.twig:265 +#: ../../tempcache/elements/logged_user.html.twig:267 #: ../../tempcache/elements/display_dynamic_fields.html.twig:170 #: ../../tempcache/public_page.html.twig:134 ../../tempcache/page.html.twig:125 #, php-format @@ -5132,8 +5133,8 @@ msgstr "Subscribe" #: ../../tempcache/elements/logged_user.html.twig:82 #: ../../tempcache/elements/logged_user.html.twig:156 #: ../../tempcache/elements/logged_user.html.twig:166 -#: ../../tempcache/elements/logged_user.html.twig:322 -#: ../../tempcache/elements/logged_user.html.twig:333 +#: ../../tempcache/elements/logged_user.html.twig:324 +#: ../../tempcache/elements/logged_user.html.twig:335 msgid "Disable dark mode" msgstr "Disable dark mode" @@ -5142,21 +5143,21 @@ msgstr "Disable dark mode" #: ../../tempcache/elements/logged_user.html.twig:84 #: ../../tempcache/elements/logged_user.html.twig:158 #: ../../tempcache/elements/logged_user.html.twig:168 -#: ../../tempcache/elements/logged_user.html.twig:324 -#: ../../tempcache/elements/logged_user.html.twig:335 +#: ../../tempcache/elements/logged_user.html.twig:326 +#: ../../tempcache/elements/logged_user.html.twig:337 msgid "Enable dark mode" msgstr "Enable dark mode" #: ../../tempcache/elements/logged_user.html.twig:117 #: ../../tempcache/elements/logged_user.html.twig:192 #: ../../tempcache/elements/logged_user.html.twig:210 -#: ../../tempcache/elements/logged_user.html.twig:359 -#: ../../tempcache/elements/logged_user.html.twig:377 +#: ../../tempcache/elements/logged_user.html.twig:361 +#: ../../tempcache/elements/logged_user.html.twig:379 msgid "Unimpersonate" msgstr "Unimpersonate" #: ../../tempcache/elements/logged_user.html.twig:133 -#: ../../tempcache/elements/logged_user.html.twig:233 +#: ../../tempcache/elements/logged_user.html.twig:235 msgid "User menu" msgstr "User menu" @@ -5594,35 +5595,17 @@ msgstr "No manager attached" msgid "Change '%field' permissions" msgstr "Change '%field' permissions" -#: ../../tempcache/elements/edit_core_fields.html.twig:151 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Inaccessible" -msgstr "Inaccessible" - -#: ../../tempcache/elements/edit_core_fields.html.twig:191 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Read only" -msgstr "Read only" - -#: ../../tempcache/elements/edit_core_fields.html.twig:201 -#: ../../tempcache/pages/configuration_core_lists.html.twig:106 -#: ../../tempcache/pages/configuration_core_lists.html.twig:159 -msgid "Read/Write" -msgstr "Read/Write" - -#: ../../tempcache/elements/edit_core_fields.html.twig:215 +#: ../../tempcache/elements/edit_core_fields.html.twig:176 #, php-format msgid "Field '%field' cannot be set as required." msgstr "Field '%field' cannot be set as required." -#: ../../tempcache/elements/edit_core_fields.html.twig:217 +#: ../../tempcache/elements/edit_core_fields.html.twig:178 #, php-format msgid "Mark '%field' as (not) required" msgstr "Mark '%field' as (not) required" -#: ../../tempcache/elements/edit_core_fields.html.twig:271 +#: ../../tempcache/elements/edit_core_fields.html.twig:232 msgid "Change field's width with in forms" msgstr "Change field's width with in forms" @@ -5668,16 +5651,20 @@ msgstr "" "Some members you have selected have no e-mail address. However, you can " "generate envelope labels to contact them by snail mail." -#: ../../tempcache/elements/edit_socials.html.twig:98 -#: ../../tempcache/elements/edit_socials.html.twig:103 +#: ../../tempcache/elements/edit_socials.html.twig:61 +msgid "Disable social networks on member form" +msgstr "Disable social networks on member form" + +#: ../../tempcache/elements/edit_socials.html.twig:118 +#: ../../tempcache/elements/edit_socials.html.twig:123 msgid "Remove %type" msgstr "Remove %type" -#: ../../tempcache/elements/edit_socials.html.twig:122 +#: ../../tempcache/elements/edit_socials.html.twig:142 msgid "Add new social network" msgstr "Add new social network" -#: ../../tempcache/elements/edit_socials.html.twig:131 +#: ../../tempcache/elements/edit_socials.html.twig:151 msgid "Choose or enter your own..." msgstr "Choose or enter your own..." @@ -6693,6 +6680,7 @@ msgid "Group managers selection" msgstr "Group managers selection" #: ../../tempcache/pages/groups_list.html.twig:346 +#: ../../tempcache/pages/member_form.html.twig:714 msgid "" "Items in this list have been modified. Don't forget to save your changes." msgstr "" @@ -7982,15 +7970,14 @@ msgstr "Groups selection" msgid "Managed groups selection" msgstr "Managed groups selection" -#: ../../tempcache/pages/member_form.html.twig:673 -msgid "Manager for:" -msgstr "Manager for:" - -#: ../../tempcache/pages/member_form.html.twig:678 -msgid "Member of:" -msgstr "Member of:" +#: ../../tempcache/pages/member_form.html.twig:704 +#: ../../tempcache/pages/member_show.html.twig:542 +#: ../../tempcache/pages/advanced_search.html.twig:166 +#: ../../tempcache/components/forms/groups.html.twig:140 +msgid "Member of group" +msgstr "Member of group" -#: ../../tempcache/pages/member_form.html.twig:737 +#: ../../tempcache/pages/member_form.html.twig:758 msgid "Click on a row to select a group" msgstr "Click on a row to select a group" @@ -8036,12 +8023,6 @@ msgstr "Family" msgid "Groups:" msgstr "Groups:" -#: ../../tempcache/pages/member_show.html.twig:542 -#: ../../tempcache/pages/advanced_search.html.twig:166 -#: ../../tempcache/components/forms/groups.html.twig:140 -msgid "Member of group" -msgstr "Member of group" - #: ../../tempcache/pages/member_show.html.twig:714 msgid "Not managed group" msgstr "Not managed group" @@ -8477,11 +8458,11 @@ msgstr "(at least %i characters)" msgid "Password confirmation:" msgstr "Password confirmation:" -#: ../../tempcache/components/forms/groups.html.twig:178 +#: ../../tempcache/components/forms/groups.html.twig:180 msgid "Manage user's groups" msgstr "Manage user's groups" -#: ../../tempcache/components/forms/groups.html.twig:191 +#: ../../tempcache/components/forms/groups.html.twig:193 msgid "Manage user's managed groups" msgstr "Manage user's managed groups" diff --git a/galette/lib/Galette/Controllers/GaletteController.php b/galette/lib/Galette/Controllers/GaletteController.php index 074d1f723..dd6c85860 100644 --- a/galette/lib/Galette/Controllers/GaletteController.php +++ b/galette/lib/Galette/Controllers/GaletteController.php @@ -587,7 +587,8 @@ class GaletteController extends AbstractController 'table' => $table, 'time' => time(), 'listed_fields' => $lc->getListedFields(), - 'remaining_fields' => $lc->getRemainingFields() + 'remaining_fields' => $lc->getRemainingFields(), + 'permissions' => $lc::getPermissionsList() ]; // display page diff --git a/galette/lib/Galette/Features/Permissions.php b/galette/lib/Galette/Features/Permissions.php index 9580a3442..706c8fe35 100644 --- a/galette/lib/Galette/Features/Permissions.php +++ b/galette/lib/Galette/Features/Permissions.php @@ -57,8 +57,8 @@ trait Permissions { $list = [ FieldsConfig::NOBODY => _T("Inaccessible"), - FieldsConfig::USER_READ => _T("Read only"), - FieldsConfig::USER_WRITE => _T("Read/Write"), + FieldsConfig::USER_READ => _T("User, read only"), + FieldsConfig::USER_WRITE => _T("User, read/write"), FieldsConfig::MANAGER => _T("Group manager"), FieldsConfig::STAFF => _T("Staff member"), FieldsConfig::ADMIN => _T("Administrator"), diff --git a/galette/templates/default/pages/configuration_core_lists.html.twig b/galette/templates/default/pages/configuration_core_lists.html.twig index 5ace50b55..f9a10fa66 100644 --- a/galette/templates/default/pages/configuration_core_lists.html.twig +++ b/galette/templates/default/pages/configuration_core_lists.html.twig @@ -47,7 +47,7 @@