Changeset 3489900
- Timestamp:
- 03/24/2026 11:08:15 AM (4 days ago)
- Location:
- dfx-parish-retreat-letters/trunk
- Files:
-
- 4 edited
-
dfx-parish-retreat-letters.php (modified) (2 diffs)
-
includes/class-admin.php (modified) (1 diff)
-
languages/dfx-parish-retreat-letters.pot (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dfx-parish-retreat-letters/trunk/dfx-parish-retreat-letters.php
r3489012 r3489900 4 4 * Plugin URI: https://github.com/davefx/dfx-parish-retreat-letters 5 5 * Description: A WordPress plugin for managing parish retreat letters. 6 * Version: 26.03.2 3.16 * Version: 26.03.24 7 7 * Author: David Marín Carreño 8 8 * Author URI: https://davefx.com … … 28 28 */ 29 29 if ( ! defined( 'DFXPRL_VERSION' ) ) { 30 define( 'DFXPRL_VERSION', '26.03.2 3.1' );30 define( 'DFXPRL_VERSION', '26.03.24' ); 31 31 } 32 32 -
dfx-parish-retreat-letters/trunk/includes/class-admin.php
r3488281 r3489900 2005 2005 // Define field mappings for English and Spanish 2006 2006 $field_mappings = array( 2007 /* translators: JSON string with list of allowed headers for field name. */ 2007 /* translators: JSON array of CSV column headers that map to the "name" field when importing attendants. 2008 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2009 Example for Spanish: ["nombre", "nombre de pila"] */ 2008 2010 'name' => json_decode( __('["name", "first name"]', 'dfx-parish-retreat-letters' ), true ), 2009 /* translators: JSON string with list of allowed headers for field surname */ 2011 /* translators: JSON array of CSV column headers that map to the "surnames" field when importing attendants. 2012 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2013 Example for Spanish: ["apellido", "apellidos"] */ 2010 2014 'surnames' => json_decode( __('["surname", "surnames", "last name"]', 'dfx-parish-retreat-letters' ), true ), 2011 /* translators: JSON string with list of allowed headers for field date_of_birth */ 2015 /* translators: JSON array of CSV column headers that map to the "date of birth" field when importing attendants. 2016 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2017 Example for Spanish: ["fecha de nacimiento", "nacimiento"] */ 2012 2018 'date_of_birth' => json_decode( __('["date of birth", "birth date", "dob", "birthdate"]', 'dfx-parish-retreat-letters' ), true ), 2013 /* translators: JSON string with list of allowed headers for field emergency_contact_name */ 2019 /* translators: JSON array of CSV column headers that map to the "emergency contact name" field when importing attendants. 2020 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2021 Example for Spanish: ["nombre del contacto de emergencia", "nombre de emergencia", "nombre del contacto"] */ 2014 2022 'emergency_contact_name' => json_decode( __('["emergency contact name", "emergency name", "contact name","emergency contact first name", "emergency first name", "contact first name"]', 'dfx-parish-retreat-letters' ), true ), 2015 /* translators: JSON string with list of allowed headers for field emergency_contact_surname */ 2023 /* translators: JSON array of CSV column headers that map to the "emergency contact surname" field when importing attendants. 2024 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2025 Example for Spanish: ["apellido del contacto de emergencia", "apellido de emergencia", "apellido del contacto"] */ 2016 2026 'emergency_contact_surname' => json_decode( __('["emergency contact surname", "emergency surname", "contact surname", "emergency contact last name", "emergency last name", "contact last name"]', 'dfx-parish-retreat-letters' ), true ), 2017 /* translators: JSON string with list of allowed headers for field emergency_contact_phone */ 2027 /* translators: JSON array of CSV column headers that map to the "emergency contact phone" field when importing attendants. 2028 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2029 Example for Spanish: ["teléfono de emergencia", "teléfono del contacto", "teléfono"] */ 2018 2030 'emergency_contact_phone' => json_decode( __('["emergency contact phone", "emergency phone", "contact phone", "phone"]', 'dfx-parish-retreat-letters' ), true ), 2019 /* translators: JSON string with list of allowed headers for field emergency_contact_email */ 2031 /* translators: JSON array of CSV column headers that map to the "emergency contact email" field when importing attendants. 2032 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2033 Example for Spanish: ["email de emergencia", "email del contacto", "email"] */ 2020 2034 'emergency_contact_email' => json_decode( __('["emergency contact email", "emergency email", "contact email", "email"]', 'dfx-parish-retreat-letters' ), true ), 2021 /* translators: JSON string with list of allowed headers for field emergency_contact_relationship */ 2035 /* translators: JSON array of CSV column headers that map to the "emergency contact relationship" field when importing attendants. 2036 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2037 Example for Spanish: ["parentesco del contacto de emergencia", "parentesco", "relación"] */ 2022 2038 'emergency_contact_relationship' => json_decode( __('["emergency contact relationship", "relationship", "contact relationship"]', 'dfx-parish-retreat-letters' ), true ), 2023 /* translators: JSON string with list of allowed headers for field invited_by */ 2039 /* translators: JSON array of CSV column headers that map to the "invited by" field when importing attendants. 2040 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2041 Example for Spanish: ["invitado por", "invitador"] */ 2024 2042 'invited_by' => json_decode( __('["invited by", "invited", "inviter"]', 'dfx-parish-retreat-letters' ), true ), 2025 /* translators: JSON string with list of allowed headers for field incompatibilities */ 2043 /* translators: JSON array of CSV column headers that map to the "incompatibilities" field when importing attendants. 2044 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2045 Example for Spanish: ["incompatibilidades", "incompatibilidad", "no puede estar con"] */ 2026 2046 'incompatibilities' => json_decode( __('["incompatibilities", "incompatibility", "cannot be placed with"]', 'dfx-parish-retreat-letters' ), true ), 2027 /* translators: JSON string with list of allowed headers for field notes */ 2047 /* translators: JSON array of CSV column headers that map to the "notes" field when importing attendants. 2048 Translate each value to the equivalent column header in your language. Keep the JSON format: ["value1", "value2"]. 2049 Example for Spanish: ["notas", "nota", "comentarios", "comentario"] */ 2028 2050 'notes' => json_decode( __('["notes", "note", "comments", "comment"]', 'dfx-parish-retreat-letters' ), true ), 2029 2051 ); -
dfx-parish-retreat-letters/trunk/languages/dfx-parish-retreat-letters.pot
r3489012 r3489900 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: DFX Parish Retreat Letters 26.03.2 3.1\n"5 "Project-Id-Version: DFX Parish Retreat Letters 26.03.24\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/dfx-parish-retreat-letters\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
dfx-parish-retreat-letters/trunk/readme.txt
r3489012 r3489900 4 4 Requires at least: 5.0 5 5 Tested up to: 6.9 6 Stable tag: 26.03.2 3.16 Stable tag: 26.03.24 7 7 Requires PHP: 7.4 8 8 License: GPLv3 or later … … 174 174 175 175 ## Changelog 176 177 ### 26.03.24 178 179 - Improvement: added detailed translator comments for JSON-encoded CSV column header mappings used in attendant import, with format instructions and Spanish examples. 180 - Fix: the "Remove Database Key and Use wp-config.php Key" button now works. Script was previously never output because it was registered during the admin_notices hook, which fires after wp_print_scripts. Now uses admin_enqueue_scripts with a proper inline-only script handle and wp_localize_script. 181 - Fix: the remove-database-key AJAX handler now also accepts the legacy DFX_PARISH_RETREAT_LETTERS_ENCRYPTION_KEY constant, matching the backward-compatibility logic of the rest of the encryption layer. 182 - Fix: tab buttons in the Access Management section are now visually connected to their content panel. 176 183 177 184 ### 26.03.23.1
Note: See TracChangeset
for help on using the changeset viewer.