Plugin Directory

Changeset 3315590


Ignore:
Timestamp:
06/21/2025 08:15:27 AM (9 months ago)
Author:
ndevfr
Message:

Update Lockee Plugin to 3.1.3

Location:
lockee
Files:
3 deleted
8 edited
44 copied

Legend:

Unmodified
Added
Removed
  • lockee/tags/3.1.3/inc/class-lockee-migration.php

    r3314201 r3315590  
    7272    update_option('lockee_settings_visited', true);
    7373    $this->delete_log_file();
    74     $this->import_log_file();
    7574    settings_errors('lockee_messages');
    7675    $migration_status = $this->count_posts_to_migrate();
     
    105104      </div>
    106105      <div id="lockee-migration-log" style="margin-top: 10px;">
    107         <h2><?php _e('Migrations Log', 'lockee'); ?></h2>
     106        <h2><?php _e('Migrations History', 'lockee'); ?></h2>
    108107        <p><?php _e('Below, you can find the logs of previous migrations. You can restore a migration by clicking on the "Restore" button next to each log entry.', 'lockee'); ?> <?php _e('This will restore the migrated locks to their previous state.', 'lockee'); ?> <?php _e('Use this feature with precaution.', 'lockee'); ?></p>
    109108        <div id="lockee-migration-log-content" class="infobar" style="display: flex; flex-direction: column;">
  • lockee/tags/3.1.3/languages/lockee-es.po

    r3314201 r3315590  
    55"Project-Id-Version: Lockee 2.2.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n"
    7 "POT-Creation-Date: 2025-06-18T21:12:08+00:00\n"
    8 "PO-Revision-Date: 2025-06-18 23:21+0200\n"
     7"POT-Creation-Date: 2025-06-21T07:59:27+00:00\n"
     8"PO-Revision-Date: 2025-06-21 10:01+0200\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    9696
    9797#: inc/class-lockee-migration.php:31 inc/class-lockee-migration.php:32
    98 #: inc/class-lockee-migration.php:56 inc/class-lockee-migration.php:80
     98#: inc/class-lockee-migration.php:56 inc/class-lockee-migration.php:79
    9999msgid "Locks migration"
    100100msgstr "Migración de candados"
     
    133133msgstr "Lockee ajustes"
    134134
    135 #: inc/class-lockee-migration.php:70 inc/class-lockee-migration.php:236
    136 #: inc/class-lockee-migration.php:345
     135#: inc/class-lockee-migration.php:70 inc/class-lockee-migration.php:235
     136#: inc/class-lockee-migration.php:344
    137137msgid "You do not have permission to launch migration."
    138138msgstr "No tienes permisos para iniciar la migración."
    139139
    140 #: inc/class-lockee-migration.php:81
     140#: inc/class-lockee-migration.php:80
    141141msgid ""
    142142"This page allows you to migrate old locks created directly in posts or pages "
     
    146146"entradas o páginas al nuevo tipo de contenido de Lockee «Candados»."
    147147
    148 #: inc/class-lockee-migration.php:82
     148#: inc/class-lockee-migration.php:81
    149149msgid ""
    150150"Migrating old locks allows you to group them all in one place for easier "
     
    154154"lugar para facilitar la gestión."
    155155
    156 #: inc/class-lockee-migration.php:82
     156#: inc/class-lockee-migration.php:81
    157157msgid ""
    158158"Locks created directly in pages or posts cannot be added elsewhere with the "
     
    163163"shortcode)."
    164164
    165 #: inc/class-lockee-migration.php:85
     165#: inc/class-lockee-migration.php:84
    166166#, php-format
    167167msgid "%d lock could be migrated"
     
    170170msgstr[1] "%d candados podrían migrarse"
    171171
    172 #: inc/class-lockee-migration.php:85
     172#: inc/class-lockee-migration.php:84
    173173msgid "No lock could be migrated"
    174174msgstr "No se pudo migrar ninguno candado"
    175175
    176 #: inc/class-lockee-migration.php:96
     176#: inc/class-lockee-migration.php:95
    177177msgid "Start Migration"
    178178msgstr "Iniciar migración"
    179179
     180#: inc/class-lockee-migration.php:106
     181msgid "Migrations History"
     182msgstr "Historial de migraciones"
     183
    180184#: inc/class-lockee-migration.php:107
    181 msgid "Migrations Log"
    182 msgstr "Registro de migraciones"
    183 
    184 #: inc/class-lockee-migration.php:108
    185185msgid ""
    186186"Below, you can find the logs of previous migrations. You can restore a "
     
    191191"cada entrada de registro."
    192192
    193 #: inc/class-lockee-migration.php:108
     193#: inc/class-lockee-migration.php:107
    194194msgid "This will restore the migrated locks to their previous state."
    195195msgstr "Esto restaurará los candados migrados a su estado anterior."
    196196
    197 #: inc/class-lockee-migration.php:108
     197#: inc/class-lockee-migration.php:107
    198198msgid "Use this feature with precaution."
    199199msgstr "Utilice esta característica con precaución."
    200200
    201 #: inc/class-lockee-migration.php:119
     201#: inc/class-lockee-migration.php:118
    202202msgid "already restored"
    203203msgstr "ya restaurado"
    204204
    205 #: inc/class-lockee-migration.php:133
     205#: inc/class-lockee-migration.php:132
    206206#, php-format
    207207msgid "Migration of %s at %s"
    208208msgstr "Migración de %s a %s"
    209209
    210 #: inc/class-lockee-migration.php:133
     210#: inc/class-lockee-migration.php:132
    211211#, php-format
    212212msgid "%s lock"
     
    215215msgstr[1] "%s candados"
    216216
    217 #: inc/class-lockee-migration.php:139 inc/class-lockee-migration.php:142
     217#: inc/class-lockee-migration.php:138 inc/class-lockee-migration.php:141
    218218msgid "Restore"
    219219msgstr "Restaurar"
    220220
    221 #: inc/class-lockee-migration.php:144
     221#: inc/class-lockee-migration.php:143
    222222msgid "Download"
    223223msgstr "Descargar"
    224224
    225 #: inc/class-lockee-migration.php:150
     225#: inc/class-lockee-migration.php:149
    226226msgid "No migration log available."
    227227msgstr "No hay registro de migración disponible."
    228228
    229 #: inc/class-lockee-migration.php:173
     229#: inc/class-lockee-migration.php:172
    230230msgid ""
    231231"Are you sure you want to delete this log file? Be careful, this action is "
     
    235235"cuidado, esta acción es irreversible."
    236236
    237 #: inc/class-lockee-migration.php:173
     237#: inc/class-lockee-migration.php:172
    238238msgid "Delete"
    239239msgstr "Eliminar"
    240240
    241 #: inc/class-lockee-migration.php:221 inc/class-lockee-migration.php:267
     241#: inc/class-lockee-migration.php:220 inc/class-lockee-migration.php:266
    242242msgid "Migration in progress..."
    243243msgstr "Migración en curso…"
    244244
    245 #: inc/class-lockee-migration.php:222
     245#: inc/class-lockee-migration.php:221
    246246msgid "An error occurred during migration."
    247247msgstr "Se ha producido un error durante la migración."
    248248
    249 #: inc/class-lockee-migration.php:223 inc/class-lockee-migration.php:252
     249#: inc/class-lockee-migration.php:222 inc/class-lockee-migration.php:251
    250250msgid "Migration completed successfully."
    251251msgstr "Migración completada correctamente."
    252252
    253 #: inc/class-lockee-migration.php:260
     253#: inc/class-lockee-migration.php:259
    254254msgid "Migration not started yet."
    255255msgstr "La migración aún no ha comenzado."
    256256
    257 #: inc/class-lockee-migration.php:289
     257#: inc/class-lockee-migration.php:288
    258258msgid "Starting migration..."
    259259msgstr "Iniciando la migración…"
    260260
    261 #: inc/class-lockee-migration.php:290
     261#: inc/class-lockee-migration.php:289
    262262#, php-format
    263263msgid "Converting old locks (%d/%d)"
    264264msgstr "Conversión de candados antiguos (%d/%d)"
    265265
    266 #: inc/class-lockee-migration.php:291
     266#: inc/class-lockee-migration.php:290
    267267msgid "Migration of old lock completed successfully."
    268268msgstr "Migración de candados antiguos se completó correctamente."
    269269
    270 #: inc/class-lockee-migration.php:292
     270#: inc/class-lockee-migration.php:291
    271271msgid "Starting restoration..."
    272272msgstr "Iniciando la restauración…"
    273273
    274 #: inc/class-lockee-migration.php:293
     274#: inc/class-lockee-migration.php:292
    275275#, php-format
    276276msgid "Restorating old locks (%d/%d)"
    277277msgstr "Restauración de candados antiguos (%d/%d)"
    278278
    279 #: inc/class-lockee-migration.php:294
     279#: inc/class-lockee-migration.php:293
    280280msgid "Restoration of old lock completed successfully."
    281281msgstr "Restauración de candados antiguos se completó correctamente."
    282282
    283 #: inc/class-lockee-migration.php:298
     283#: inc/class-lockee-migration.php:297
    284284msgid "In progress..."
    285285msgstr "En curso…"
    286286
    287 #: inc/class-lockee-migration.php:340
     287#: inc/class-lockee-migration.php:339
    288288msgid "Unauthorized action."
    289289msgstr "Acción no autorizada."
    290290
    291 #: inc/class-lockee-migration.php:350
     291#: inc/class-lockee-migration.php:349
    292292msgid "A migration is already in progress. Please wait."
    293293msgstr "Una migración ya está en curso. Por favor, espere."
    294294
    295 #: inc/class-lockee-migration.php:360
     295#: inc/class-lockee-migration.php:359
    296296msgid "No migration needed."
    297297msgstr "No se necesita migración."
    298298
    299 #: inc/class-lockee-migration.php:371
     299#: inc/class-lockee-migration.php:370
    300300msgid "No log file specified for restoration."
    301301msgstr "No se ha especificado un archivo de registro para su restauración."
    302302
    303 #: inc/class-lockee-migration.php:719
     303#: inc/class-lockee-migration.php:718
    304304msgid "No log file specified for deletion."
    305305msgstr "No se ha especificado un archivo de registro para su eliminación."
    306306
    307 #: inc/class-lockee-migration.php:725
     307#: inc/class-lockee-migration.php:724
    308308msgid "Log file does not exist."
    309309msgstr "El archivo de registro no existe."
    310310
    311 #: inc/class-lockee-migration.php:730
     311#: inc/class-lockee-migration.php:729
    312312msgid "Log file deleted successfully."
    313313msgstr "Archivo de registro eliminado correctamente."
    314314
    315 #: inc/class-lockee-migration.php:732
     315#: inc/class-lockee-migration.php:731
    316316msgid "Failed to delete log file."
    317317msgstr "Error al eliminar el archivo de registro."
  • lockee/tags/3.1.3/languages/lockee-fr_FR.po

    r3314201 r3315590  
    55"Project-Id-Version: Lockee 2.2.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n"
    7 "POT-Creation-Date: 2025-06-18T21:12:08+00:00\n"
    8 "PO-Revision-Date: 2025-06-18 23:22+0200\n"
     7"POT-Creation-Date: 2025-06-21T07:59:27+00:00\n"
     8"PO-Revision-Date: 2025-06-21 10:00+0200\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    9696
    9797#: inc/class-lockee-migration.php:31 inc/class-lockee-migration.php:32
    98 #: inc/class-lockee-migration.php:56 inc/class-lockee-migration.php:80
     98#: inc/class-lockee-migration.php:56 inc/class-lockee-migration.php:79
    9999msgid "Locks migration"
    100100msgstr "Migration de cadenas"
     
    135135msgstr "Réglages de Lockee"
    136136
    137 #: inc/class-lockee-migration.php:70 inc/class-lockee-migration.php:236
    138 #: inc/class-lockee-migration.php:345
     137#: inc/class-lockee-migration.php:70 inc/class-lockee-migration.php:235
     138#: inc/class-lockee-migration.php:344
    139139msgid "You do not have permission to launch migration."
    140140msgstr "Vous n’avez pas les droits pour lancer la migration."
    141141
    142 #: inc/class-lockee-migration.php:81
     142#: inc/class-lockee-migration.php:80
    143143msgid ""
    144144"This page allows you to migrate old locks created directly in posts or pages "
     
    149149"Lockee."
    150150
    151 #: inc/class-lockee-migration.php:82
     151#: inc/class-lockee-migration.php:81
    152152msgid ""
    153153"Migrating old locks allows you to group them all in one place for easier "
     
    157157"endroit pour une gestion plus facile."
    158158
    159 #: inc/class-lockee-migration.php:82
     159#: inc/class-lockee-migration.php:81
    160160msgid ""
    161161"Locks created directly in pages or posts cannot be added elsewhere with the "
     
    166166"possible avec le code court)."
    167167
    168 #: inc/class-lockee-migration.php:85
     168#: inc/class-lockee-migration.php:84
    169169#, php-format
    170170msgid "%d lock could be migrated"
     
    173173msgstr[1] "%d cadenas pouvant être migrés"
    174174
    175 #: inc/class-lockee-migration.php:85
     175#: inc/class-lockee-migration.php:84
    176176msgid "No lock could be migrated"
    177177msgstr "Aucun cadenas pouvant être migré"
    178178
    179 #: inc/class-lockee-migration.php:96
     179#: inc/class-lockee-migration.php:95
    180180msgid "Start Migration"
    181181msgstr "Commencer la migration"
    182182
     183#: inc/class-lockee-migration.php:106
     184msgid "Migrations History"
     185msgstr "Historique des migrations"
     186
    183187#: inc/class-lockee-migration.php:107
    184 msgid "Migrations Log"
    185 msgstr "Journaux des migrations"
    186 
    187 #: inc/class-lockee-migration.php:108
    188188msgid ""
    189189"Below, you can find the logs of previous migrations. You can restore a "
     
    194194"côté de chaque entrée de journal."
    195195
    196 #: inc/class-lockee-migration.php:108
     196#: inc/class-lockee-migration.php:107
    197197msgid "This will restore the migrated locks to their previous state."
    198198msgstr "Cela restaurera les cadenas migrés à leur état précédent."
    199199
    200 #: inc/class-lockee-migration.php:108
     200#: inc/class-lockee-migration.php:107
    201201msgid "Use this feature with precaution."
    202202msgstr "Utilisez cette fonctionnalité avec précaution."
    203203
    204 #: inc/class-lockee-migration.php:119
     204#: inc/class-lockee-migration.php:118
    205205msgid "already restored"
    206206msgstr "déjà restauré"
    207207
    208 #: inc/class-lockee-migration.php:133
     208#: inc/class-lockee-migration.php:132
    209209#, php-format
    210210msgid "Migration of %s at %s"
    211211msgstr "Migration du %s à %s"
    212212
    213 #: inc/class-lockee-migration.php:133
     213#: inc/class-lockee-migration.php:132
    214214#, php-format
    215215msgid "%s lock"
     
    218218msgstr[1] "%s cadenas"
    219219
    220 #: inc/class-lockee-migration.php:139 inc/class-lockee-migration.php:142
     220#: inc/class-lockee-migration.php:138 inc/class-lockee-migration.php:141
    221221msgid "Restore"
    222222msgstr "Restaurer"
    223223
    224 #: inc/class-lockee-migration.php:144
     224#: inc/class-lockee-migration.php:143
    225225msgid "Download"
    226226msgstr "Télécharger"
    227227
    228 #: inc/class-lockee-migration.php:150
     228#: inc/class-lockee-migration.php:149
    229229msgid "No migration log available."
    230230msgstr "Aucun journal de migration disponible."
    231231
    232 #: inc/class-lockee-migration.php:173
     232#: inc/class-lockee-migration.php:172
    233233msgid ""
    234234"Are you sure you want to delete this log file? Be careful, this action is "
     
    238238"action est irréversible."
    239239
    240 #: inc/class-lockee-migration.php:173
     240#: inc/class-lockee-migration.php:172
    241241msgid "Delete"
    242242msgstr "Supprimer"
    243243
    244 #: inc/class-lockee-migration.php:221 inc/class-lockee-migration.php:267
     244#: inc/class-lockee-migration.php:220 inc/class-lockee-migration.php:266
    245245msgid "Migration in progress..."
    246246msgstr "Migration en cours…"
    247247
    248 #: inc/class-lockee-migration.php:222
     248#: inc/class-lockee-migration.php:221
    249249msgid "An error occurred during migration."
    250250msgstr "Une erreur s’est produite durant la migration."
    251251
    252 #: inc/class-lockee-migration.php:223 inc/class-lockee-migration.php:252
     252#: inc/class-lockee-migration.php:222 inc/class-lockee-migration.php:251
    253253msgid "Migration completed successfully."
    254254msgstr "Migration terminée avec succès."
    255255
    256 #: inc/class-lockee-migration.php:260
     256#: inc/class-lockee-migration.php:259
    257257msgid "Migration not started yet."
    258258msgstr "La migration n’a pas encore débutée."
    259259
    260 #: inc/class-lockee-migration.php:289
     260#: inc/class-lockee-migration.php:288
    261261msgid "Starting migration..."
    262262msgstr "Début de la migration…"
    263263
    264 #: inc/class-lockee-migration.php:290
     264#: inc/class-lockee-migration.php:289
    265265#, php-format
    266266msgid "Converting old locks (%d/%d)"
    267267msgstr "Conversion des anciens cadenas (%d/%d)"
    268268
    269 #: inc/class-lockee-migration.php:291
     269#: inc/class-lockee-migration.php:290
    270270msgid "Migration of old lock completed successfully."
    271271msgstr "Migration des anciens cadenas terminée avec succès."
    272272
    273 #: inc/class-lockee-migration.php:292
     273#: inc/class-lockee-migration.php:291
    274274msgid "Starting restoration..."
    275275msgstr "Début de la restauration…"
    276276
    277 #: inc/class-lockee-migration.php:293
     277#: inc/class-lockee-migration.php:292
    278278#, php-format
    279279msgid "Restorating old locks (%d/%d)"
    280280msgstr "Restauration des anciens cadenas (%d/%d)"
    281281
    282 #: inc/class-lockee-migration.php:294
     282#: inc/class-lockee-migration.php:293
    283283msgid "Restoration of old lock completed successfully."
    284284msgstr "Restauration des anciens cadenas terminée avec succès."
    285285
    286 #: inc/class-lockee-migration.php:298
     286#: inc/class-lockee-migration.php:297
    287287msgid "In progress..."
    288288msgstr "En cours…"
    289289
    290 #: inc/class-lockee-migration.php:340
     290#: inc/class-lockee-migration.php:339
    291291msgid "Unauthorized action."
    292292msgstr "Action non autorisée."
    293293
    294 #: inc/class-lockee-migration.php:350
     294#: inc/class-lockee-migration.php:349
    295295msgid "A migration is already in progress. Please wait."
    296296msgstr "Une migration est déjà en cours. Merci de patienter."
    297297
    298 #: inc/class-lockee-migration.php:360
     298#: inc/class-lockee-migration.php:359
    299299msgid "No migration needed."
    300300msgstr "Aucune migration nécessaire."
    301301
    302 #: inc/class-lockee-migration.php:371
     302#: inc/class-lockee-migration.php:370
    303303msgid "No log file specified for restoration."
    304304msgstr "Aucun fichier journal spécifié pour la restauration."
    305305
    306 #: inc/class-lockee-migration.php:719
     306#: inc/class-lockee-migration.php:718
    307307msgid "No log file specified for deletion."
    308308msgstr "Aucun fichier journal spécifié pour la suppression."
    309309
    310 #: inc/class-lockee-migration.php:725
     310#: inc/class-lockee-migration.php:724
    311311msgid "Log file does not exist."
    312312msgstr "Le fichier journal n’existe pas."
    313313
    314 #: inc/class-lockee-migration.php:730
     314#: inc/class-lockee-migration.php:729
    315315msgid "Log file deleted successfully."
    316316msgstr "Fichier journal supprimé avec succès."
    317317
    318 #: inc/class-lockee-migration.php:732
     318#: inc/class-lockee-migration.php:731
    319319msgid "Failed to delete log file."
    320320msgstr "Échec de la suppression du fichier journal."
  • lockee/tags/3.1.3/languages/lockee.pot

    r3314201 r3315590  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Lockee 3.1.1\n"
     5"Project-Id-Version: Lockee 3.1.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-18T21:12:08+00:00\n"
     12"POT-Creation-Date: 2025-06-21T07:59:27+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
     
    9595#: inc/class-lockee-migration.php:32
    9696#: inc/class-lockee-migration.php:56
    97 #: inc/class-lockee-migration.php:80
     97#: inc/class-lockee-migration.php:79
    9898msgid "Locks migration"
    9999msgstr ""
     
    122122
    123123#: inc/class-lockee-migration.php:70
    124 #: inc/class-lockee-migration.php:236
    125 #: inc/class-lockee-migration.php:345
     124#: inc/class-lockee-migration.php:235
     125#: inc/class-lockee-migration.php:344
    126126msgid "You do not have permission to launch migration."
    127127msgstr ""
    128128
     129#: inc/class-lockee-migration.php:80
     130msgid "This page allows you to migrate old locks created directly in posts or pages to the new Lockee post type \"Locks\"."
     131msgstr ""
     132
    129133#: inc/class-lockee-migration.php:81
    130 msgid "This page allows you to migrate old locks created directly in posts or pages to the new Lockee post type \"Locks\"."
    131 msgstr ""
    132 
    133 #: inc/class-lockee-migration.php:82
    134134msgid "Migrating old locks allows you to group them all in one place for easier management."
    135135msgstr ""
    136136
    137 #: inc/class-lockee-migration.php:82
     137#: inc/class-lockee-migration.php:81
    138138msgid "Locks created directly in pages or posts cannot be added elsewhere with the new Gutenberg block (but it is still possible with the shortcode)."
    139139msgstr ""
    140140
    141 #: inc/class-lockee-migration.php:85
     141#: inc/class-lockee-migration.php:84
    142142#, php-format
    143143msgid "%d lock could be migrated"
     
    146146msgstr[1] ""
    147147
    148 #: inc/class-lockee-migration.php:85
     148#: inc/class-lockee-migration.php:84
    149149msgid "No lock could be migrated"
    150150msgstr ""
    151151
    152 #: inc/class-lockee-migration.php:96
     152#: inc/class-lockee-migration.php:95
    153153msgid "Start Migration"
    154154msgstr ""
    155155
     156#: inc/class-lockee-migration.php:106
     157msgid "Migrations History"
     158msgstr ""
     159
    156160#: inc/class-lockee-migration.php:107
    157 msgid "Migrations Log"
    158 msgstr ""
    159 
    160 #: inc/class-lockee-migration.php:108
    161161msgid "Below, you can find the logs of previous migrations. You can restore a migration by clicking on the \"Restore\" button next to each log entry."
    162162msgstr ""
    163163
    164 #: inc/class-lockee-migration.php:108
     164#: inc/class-lockee-migration.php:107
    165165msgid "This will restore the migrated locks to their previous state."
    166166msgstr ""
    167167
    168 #: inc/class-lockee-migration.php:108
     168#: inc/class-lockee-migration.php:107
    169169msgid "Use this feature with precaution."
    170170msgstr ""
    171171
    172 #: inc/class-lockee-migration.php:119
     172#: inc/class-lockee-migration.php:118
    173173msgid "already restored"
    174174msgstr ""
    175175
    176 #: inc/class-lockee-migration.php:133
     176#: inc/class-lockee-migration.php:132
    177177#, php-format
    178178msgid "Migration of %s at %s"
    179179msgstr ""
    180180
    181 #: inc/class-lockee-migration.php:133
     181#: inc/class-lockee-migration.php:132
    182182#, php-format
    183183msgid "%s lock"
     
    186186msgstr[1] ""
    187187
    188 #: inc/class-lockee-migration.php:139
    189 #: inc/class-lockee-migration.php:142
     188#: inc/class-lockee-migration.php:138
     189#: inc/class-lockee-migration.php:141
    190190msgid "Restore"
    191191msgstr ""
    192192
    193 #: inc/class-lockee-migration.php:144
     193#: inc/class-lockee-migration.php:143
    194194msgid "Download"
    195195msgstr ""
    196196
    197 #: inc/class-lockee-migration.php:150
     197#: inc/class-lockee-migration.php:149
    198198msgid "No migration log available."
    199199msgstr ""
    200200
    201 #: inc/class-lockee-migration.php:173
     201#: inc/class-lockee-migration.php:172
    202202msgid "Are you sure you want to delete this log file? Be careful, this action is irreversible."
    203203msgstr ""
    204204
    205 #: inc/class-lockee-migration.php:173
     205#: inc/class-lockee-migration.php:172
    206206msgid "Delete"
    207207msgstr ""
    208208
     209#: inc/class-lockee-migration.php:220
     210#: inc/class-lockee-migration.php:266
     211msgid "Migration in progress..."
     212msgstr ""
     213
    209214#: inc/class-lockee-migration.php:221
    210 #: inc/class-lockee-migration.php:267
    211 msgid "Migration in progress..."
     215msgid "An error occurred during migration."
    212216msgstr ""
    213217
    214218#: inc/class-lockee-migration.php:222
    215 msgid "An error occurred during migration."
    216 msgstr ""
    217 
    218 #: inc/class-lockee-migration.php:223
    219 #: inc/class-lockee-migration.php:252
     219#: inc/class-lockee-migration.php:251
    220220msgid "Migration completed successfully."
    221221msgstr ""
    222222
    223 #: inc/class-lockee-migration.php:260
     223#: inc/class-lockee-migration.php:259
    224224msgid "Migration not started yet."
    225225msgstr ""
    226226
     227#: inc/class-lockee-migration.php:288
     228msgid "Starting migration..."
     229msgstr ""
     230
    227231#: inc/class-lockee-migration.php:289
    228 msgid "Starting migration..."
    229 msgstr ""
    230 
    231 #: inc/class-lockee-migration.php:290
    232232#, php-format
    233233msgid "Converting old locks (%d/%d)"
    234234msgstr ""
    235235
     236#: inc/class-lockee-migration.php:290
     237msgid "Migration of old lock completed successfully."
     238msgstr ""
     239
    236240#: inc/class-lockee-migration.php:291
    237 msgid "Migration of old lock completed successfully."
     241msgid "Starting restoration..."
    238242msgstr ""
    239243
    240244#: inc/class-lockee-migration.php:292
    241 msgid "Starting restoration..."
    242 msgstr ""
    243 
    244 #: inc/class-lockee-migration.php:293
    245245#, php-format
    246246msgid "Restorating old locks (%d/%d)"
    247247msgstr ""
    248248
    249 #: inc/class-lockee-migration.php:294
     249#: inc/class-lockee-migration.php:293
    250250msgid "Restoration of old lock completed successfully."
    251251msgstr ""
    252252
    253 #: inc/class-lockee-migration.php:298
     253#: inc/class-lockee-migration.php:297
    254254msgid "In progress..."
    255255msgstr ""
    256256
    257 #: inc/class-lockee-migration.php:340
     257#: inc/class-lockee-migration.php:339
    258258msgid "Unauthorized action."
    259259msgstr ""
    260260
    261 #: inc/class-lockee-migration.php:350
     261#: inc/class-lockee-migration.php:349
    262262msgid "A migration is already in progress. Please wait."
    263263msgstr ""
    264264
    265 #: inc/class-lockee-migration.php:360
     265#: inc/class-lockee-migration.php:359
    266266msgid "No migration needed."
    267267msgstr ""
    268268
    269 #: inc/class-lockee-migration.php:371
     269#: inc/class-lockee-migration.php:370
    270270msgid "No log file specified for restoration."
    271271msgstr ""
    272272
    273 #: inc/class-lockee-migration.php:719
     273#: inc/class-lockee-migration.php:718
    274274msgid "No log file specified for deletion."
    275275msgstr ""
    276276
    277 #: inc/class-lockee-migration.php:725
     277#: inc/class-lockee-migration.php:724
    278278msgid "Log file does not exist."
    279279msgstr ""
    280280
    281 #: inc/class-lockee-migration.php:730
     281#: inc/class-lockee-migration.php:729
    282282msgid "Log file deleted successfully."
    283283msgstr ""
    284284
    285 #: inc/class-lockee-migration.php:732
     285#: inc/class-lockee-migration.php:731
    286286msgid "Failed to delete log file."
    287287msgstr ""
  • lockee/tags/3.1.3/lockee.php

    r3314201 r3315590  
    55 * Plugin URI:        https://wordpress.lockee.fr/
    66 * Description:       Add Lockee locks to your WordPress site to gamify your content and engage your visitors in a completely autonomous way.
    7  * Version:           3.1.2
     7 * Version:           3.1.3
    88 * Author:            Nicolas Desmarets
    99 * Author URI:        https://ndev.fr/
     
    1818}
    1919
    20 define('LOCKEE_VERSION', '3.1.2');
     20define('LOCKEE_VERSION', '3.1.3');
    2121
    2222require_once plugin_dir_path(__FILE__) . 'inc/class-lockee-singleton.php';
  • lockee/tags/3.1.3/readme.txt

    r3314201 r3315590  
    55Requires at least: 5.3
    66Tested up to: 6.8.1
    7 Stable tag: 3.1.2
     7Stable tag: 3.1.3
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    1414== Changelog ==
    1515
     16= 3.1.3 =
     17* Fixed some translations.
     18* Fixed bug in the "Locks Migration" page (using a non-existing function).
     19
    1620= 3.1.2 =
    1721* Fixed some translations.
    1822
    1923= 3.1.1 =
    20 * In posts and pages, if lockee_content is empty, the post content is used instead (to keep compatibility with the oldest lock format).
     24* In posts and pages, if "lockee_content" is empty, the post content is used instead (to keep compatibility with the oldest lock format).
    2125
    2226= 3.1.0 =
     
    2832
    2933= 3.0.13 =
    30 * Fixed bug with the lock selecting ion in the Gutenberg editor.
     34* Fixed bug with the lock selecting option in the Gutenberg editor.
    3135
    3236= 3.0.12 =
     
    171175To do this, you can create a lock in the dashboard, choose the type of lock (e.g. numbers, colors, piano keys, etc.), and define the valid codes to enter to unlock the content. Once the lock is opened, the content is displayed.
    172176
    173 These locks can be displayed in your posts or pages using a shortcode or a block in the Gutenberg editor. You can also customize the appearance of the lock in the Lockee's settings, where you can choose themes and colors to match your site's design.
     177These locks can be displayed in your posts or pages using a shortcode or a block in the Gutenberg editor. You can also customize the appearance of the lock in the "Lockee settings" page, where you can choose themes and colors to match your site's design.
    174178
    175179You can also embed the lock on other websites using the provided iframe code, allowing you to share your locks with a wider audience.
     
    184188
    1851891. Download the plugin from the WordPress repository or upload it directly to your WordPress installation.
    186 2. Activate the plugin through the 'Plugins' menu in WordPress.
    187 3. A new post type "Locks" will appear in the dashboard. Create new locks by filling in the required fields, including the lock type and code.
     1902. Activate the plugin through the "Plugins" menu in WordPress.
     1913. A new tab "Lockee" will appear in the dashboard, adding the new post type "Lock". Create new locks by filling in the required fields, including the lock type and code.
    1881924. You can display the lock in your posts or pages using a shortcode or a block in the Gutenberg editor.
    189 5. Customize the lock appearance in the Lockee settings, where you can choose themes and colors.
    190 6. If you have used this plugin before, you can migrate your existing locks to the new post type (in the Locks migration page) or choose to continue using the metabox "Lock" in posts and pages (in the Lockee settings page).
     1935. Customize the lock appearance in the "Lockee settings" page, where you can choose themes and colors.
     1946. If you have used this plugin before, you can migrate your existing locks to the new post type (in the "Locks Migration" page) or choose to continue using the metabox "Lock" in posts and pages (in the "Lockee settings" page).
    191195
    192196== Screenshots ==
    193197
    194 1. This plugin add a new type of post (Locks) in the dashboard, allowing you to add a Lockee lock and content to display when the lock is opened.
     1981. This plugin add a new post type "Lock" in the dashboard, allowing you to add a Lockee lock and content to display when the lock is opened.
    1951992. The lock can be displayed in the post or page content with a shortcode ot with a block in the Gutenberg editor.
    1962003. In the settings, you can customize the lock appearance with various options, including theme and colors.
     
    205209= Can I customize the appearance of the lock? =
    206210
    207 Yes, you can customize the lock's appearance in the Lockee settings. You can choose different themes and colors to match your site's design.
     211Yes, you can customize the lock's appearance in the "Lockee settings" page. You can choose different themes and colors to match your site's design.
    208212
    209213= Can I embed the lock on other websites? =
     
    213217= What happens if I have used this plugin before? =
    214218
    215 If you have used this plugin before, you can migrate your existing locks to the new post type (in the Locks migration page) or choose to continue using the metabox "Lock" in posts and pages (in the Lockee settings page).
     219If you have used this plugin before, you can migrate your existing locks to the new post type (in the "Locks Migration" page) or choose to continue using the metabox "Lock" in posts and pages (in the "Lockee settings" page).
    216220
    217221= Is there a way to track how many times a lock has been opened? =
    218222
    219 Yes, the plugin includes a statistics feature that tracks how many times each lock has been opened. You can view these statistics in the Lock edition panel under the "Lock stats" section.
     223Yes, the plugin includes a statistics feature that tracks how many times each lock has been opened. You can view these statistics in the publication edition panel under the "Lock stats" section.
    220224
    221225= What is the migration process? =
    222226
    223 The migration process is an operation that converts your existing locks to the post type "Lock". It creates a new post type "Lock" for each lock set up in post or page and add this new lock to the original post or page (with a Gutenberg block). Also, it updates shortcodes using the old ID to the new one.
     227The migration process is an operation that converts your existing locks to the post type "Lock". It creates a new post type "Lock" for each lock set up in post or page and add this new lock to the original post or page (with a Gutenberg block). Also, it updates shortcodes replacing the old ID to the new one.
    224228
    225229= What happens if I don't start the migration process? =
    226230
    227 If you don't start the migration process, your existing locks will continue to work as they did before. However, you must activate the option to display the metabox "Lock" in posts and pages in the Lockee settings page. This will allow you to continue using the old format without converting your locks to the new post type.
     231If you don't start the migration process, your existing locks will continue to work as they did before. However, you must activate the option to display the metabox "Lock" in posts and pages in the "Lockee settings" page. This will allow you to continue using the old format without converting your locks to the new post type.
    228232
    229233= Can I use this plugin free, even for commercial purposes? =
  • lockee/trunk/inc/class-lockee-migration.php

    r3314201 r3315590  
    7272    update_option('lockee_settings_visited', true);
    7373    $this->delete_log_file();
    74     $this->import_log_file();
    7574    settings_errors('lockee_messages');
    7675    $migration_status = $this->count_posts_to_migrate();
     
    105104      </div>
    106105      <div id="lockee-migration-log" style="margin-top: 10px;">
    107         <h2><?php _e('Migrations Log', 'lockee'); ?></h2>
     106        <h2><?php _e('Migrations History', 'lockee'); ?></h2>
    108107        <p><?php _e('Below, you can find the logs of previous migrations. You can restore a migration by clicking on the "Restore" button next to each log entry.', 'lockee'); ?> <?php _e('This will restore the migrated locks to their previous state.', 'lockee'); ?> <?php _e('Use this feature with precaution.', 'lockee'); ?></p>
    109108        <div id="lockee-migration-log-content" class="infobar" style="display: flex; flex-direction: column;">
  • lockee/trunk/languages/lockee-es.po

    r3314201 r3315590  
    55"Project-Id-Version: Lockee 2.2.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n"
    7 "POT-Creation-Date: 2025-06-18T21:12:08+00:00\n"
    8 "PO-Revision-Date: 2025-06-18 23:21+0200\n"
     7"POT-Creation-Date: 2025-06-21T07:59:27+00:00\n"
     8"PO-Revision-Date: 2025-06-21 10:01+0200\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    9696
    9797#: inc/class-lockee-migration.php:31 inc/class-lockee-migration.php:32
    98 #: inc/class-lockee-migration.php:56 inc/class-lockee-migration.php:80
     98#: inc/class-lockee-migration.php:56 inc/class-lockee-migration.php:79
    9999msgid "Locks migration"
    100100msgstr "Migración de candados"
     
    133133msgstr "Lockee ajustes"
    134134
    135 #: inc/class-lockee-migration.php:70 inc/class-lockee-migration.php:236
    136 #: inc/class-lockee-migration.php:345
     135#: inc/class-lockee-migration.php:70 inc/class-lockee-migration.php:235
     136#: inc/class-lockee-migration.php:344
    137137msgid "You do not have permission to launch migration."
    138138msgstr "No tienes permisos para iniciar la migración."
    139139
    140 #: inc/class-lockee-migration.php:81
     140#: inc/class-lockee-migration.php:80
    141141msgid ""
    142142"This page allows you to migrate old locks created directly in posts or pages "
     
    146146"entradas o páginas al nuevo tipo de contenido de Lockee «Candados»."
    147147
    148 #: inc/class-lockee-migration.php:82
     148#: inc/class-lockee-migration.php:81
    149149msgid ""
    150150"Migrating old locks allows you to group them all in one place for easier "
     
    154154"lugar para facilitar la gestión."
    155155
    156 #: inc/class-lockee-migration.php:82
     156#: inc/class-lockee-migration.php:81
    157157msgid ""
    158158"Locks created directly in pages or posts cannot be added elsewhere with the "
     
    163163"shortcode)."
    164164
    165 #: inc/class-lockee-migration.php:85
     165#: inc/class-lockee-migration.php:84
    166166#, php-format
    167167msgid "%d lock could be migrated"
     
    170170msgstr[1] "%d candados podrían migrarse"
    171171
    172 #: inc/class-lockee-migration.php:85
     172#: inc/class-lockee-migration.php:84
    173173msgid "No lock could be migrated"
    174174msgstr "No se pudo migrar ninguno candado"
    175175
    176 #: inc/class-lockee-migration.php:96
     176#: inc/class-lockee-migration.php:95
    177177msgid "Start Migration"
    178178msgstr "Iniciar migración"
    179179
     180#: inc/class-lockee-migration.php:106
     181msgid "Migrations History"
     182msgstr "Historial de migraciones"
     183
    180184#: inc/class-lockee-migration.php:107
    181 msgid "Migrations Log"
    182 msgstr "Registro de migraciones"
    183 
    184 #: inc/class-lockee-migration.php:108
    185185msgid ""
    186186"Below, you can find the logs of previous migrations. You can restore a "
     
    191191"cada entrada de registro."
    192192
    193 #: inc/class-lockee-migration.php:108
     193#: inc/class-lockee-migration.php:107
    194194msgid "This will restore the migrated locks to their previous state."
    195195msgstr "Esto restaurará los candados migrados a su estado anterior."
    196196
    197 #: inc/class-lockee-migration.php:108
     197#: inc/class-lockee-migration.php:107
    198198msgid "Use this feature with precaution."
    199199msgstr "Utilice esta característica con precaución."
    200200
    201 #: inc/class-lockee-migration.php:119
     201#: inc/class-lockee-migration.php:118
    202202msgid "already restored"
    203203msgstr "ya restaurado"
    204204
    205 #: inc/class-lockee-migration.php:133
     205#: inc/class-lockee-migration.php:132
    206206#, php-format
    207207msgid "Migration of %s at %s"
    208208msgstr "Migración de %s a %s"
    209209
    210 #: inc/class-lockee-migration.php:133
     210#: inc/class-lockee-migration.php:132
    211211#, php-format
    212212msgid "%s lock"
     
    215215msgstr[1] "%s candados"
    216216
    217 #: inc/class-lockee-migration.php:139 inc/class-lockee-migration.php:142
     217#: inc/class-lockee-migration.php:138 inc/class-lockee-migration.php:141
    218218msgid "Restore"
    219219msgstr "Restaurar"
    220220
    221 #: inc/class-lockee-migration.php:144
     221#: inc/class-lockee-migration.php:143
    222222msgid "Download"
    223223msgstr "Descargar"
    224224
    225 #: inc/class-lockee-migration.php:150
     225#: inc/class-lockee-migration.php:149
    226226msgid "No migration log available."
    227227msgstr "No hay registro de migración disponible."
    228228
    229 #: inc/class-lockee-migration.php:173
     229#: inc/class-lockee-migration.php:172
    230230msgid ""
    231231"Are you sure you want to delete this log file? Be careful, this action is "
     
    235235"cuidado, esta acción es irreversible."
    236236
    237 #: inc/class-lockee-migration.php:173
     237#: inc/class-lockee-migration.php:172
    238238msgid "Delete"
    239239msgstr "Eliminar"
    240240
    241 #: inc/class-lockee-migration.php:221 inc/class-lockee-migration.php:267
     241#: inc/class-lockee-migration.php:220 inc/class-lockee-migration.php:266
    242242msgid "Migration in progress..."
    243243msgstr "Migración en curso…"
    244244
    245 #: inc/class-lockee-migration.php:222
     245#: inc/class-lockee-migration.php:221
    246246msgid "An error occurred during migration."
    247247msgstr "Se ha producido un error durante la migración."
    248248
    249 #: inc/class-lockee-migration.php:223 inc/class-lockee-migration.php:252
     249#: inc/class-lockee-migration.php:222 inc/class-lockee-migration.php:251
    250250msgid "Migration completed successfully."
    251251msgstr "Migración completada correctamente."
    252252
    253 #: inc/class-lockee-migration.php:260
     253#: inc/class-lockee-migration.php:259
    254254msgid "Migration not started yet."
    255255msgstr "La migración aún no ha comenzado."
    256256
    257 #: inc/class-lockee-migration.php:289
     257#: inc/class-lockee-migration.php:288
    258258msgid "Starting migration..."
    259259msgstr "Iniciando la migración…"
    260260
    261 #: inc/class-lockee-migration.php:290
     261#: inc/class-lockee-migration.php:289
    262262#, php-format
    263263msgid "Converting old locks (%d/%d)"
    264264msgstr "Conversión de candados antiguos (%d/%d)"
    265265
    266 #: inc/class-lockee-migration.php:291
     266#: inc/class-lockee-migration.php:290
    267267msgid "Migration of old lock completed successfully."
    268268msgstr "Migración de candados antiguos se completó correctamente."
    269269
    270 #: inc/class-lockee-migration.php:292
     270#: inc/class-lockee-migration.php:291
    271271msgid "Starting restoration..."
    272272msgstr "Iniciando la restauración…"
    273273
    274 #: inc/class-lockee-migration.php:293
     274#: inc/class-lockee-migration.php:292
    275275#, php-format
    276276msgid "Restorating old locks (%d/%d)"
    277277msgstr "Restauración de candados antiguos (%d/%d)"
    278278
    279 #: inc/class-lockee-migration.php:294
     279#: inc/class-lockee-migration.php:293
    280280msgid "Restoration of old lock completed successfully."
    281281msgstr "Restauración de candados antiguos se completó correctamente."
    282282
    283 #: inc/class-lockee-migration.php:298
     283#: inc/class-lockee-migration.php:297
    284284msgid "In progress..."
    285285msgstr "En curso…"
    286286
    287 #: inc/class-lockee-migration.php:340
     287#: inc/class-lockee-migration.php:339
    288288msgid "Unauthorized action."
    289289msgstr "Acción no autorizada."
    290290
    291 #: inc/class-lockee-migration.php:350
     291#: inc/class-lockee-migration.php:349
    292292msgid "A migration is already in progress. Please wait."
    293293msgstr "Una migración ya está en curso. Por favor, espere."
    294294
    295 #: inc/class-lockee-migration.php:360
     295#: inc/class-lockee-migration.php:359
    296296msgid "No migration needed."
    297297msgstr "No se necesita migración."
    298298
    299 #: inc/class-lockee-migration.php:371
     299#: inc/class-lockee-migration.php:370
    300300msgid "No log file specified for restoration."
    301301msgstr "No se ha especificado un archivo de registro para su restauración."
    302302
    303 #: inc/class-lockee-migration.php:719
     303#: inc/class-lockee-migration.php:718
    304304msgid "No log file specified for deletion."
    305305msgstr "No se ha especificado un archivo de registro para su eliminación."
    306306
    307 #: inc/class-lockee-migration.php:725
     307#: inc/class-lockee-migration.php:724
    308308msgid "Log file does not exist."
    309309msgstr "El archivo de registro no existe."
    310310
    311 #: inc/class-lockee-migration.php:730
     311#: inc/class-lockee-migration.php:729
    312312msgid "Log file deleted successfully."
    313313msgstr "Archivo de registro eliminado correctamente."
    314314
    315 #: inc/class-lockee-migration.php:732
     315#: inc/class-lockee-migration.php:731
    316316msgid "Failed to delete log file."
    317317msgstr "Error al eliminar el archivo de registro."
  • lockee/trunk/languages/lockee-fr_FR.po

    r3314201 r3315590  
    55"Project-Id-Version: Lockee 2.2.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n"
    7 "POT-Creation-Date: 2025-06-18T21:12:08+00:00\n"
    8 "PO-Revision-Date: 2025-06-18 23:22+0200\n"
     7"POT-Creation-Date: 2025-06-21T07:59:27+00:00\n"
     8"PO-Revision-Date: 2025-06-21 10:00+0200\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    9696
    9797#: inc/class-lockee-migration.php:31 inc/class-lockee-migration.php:32
    98 #: inc/class-lockee-migration.php:56 inc/class-lockee-migration.php:80
     98#: inc/class-lockee-migration.php:56 inc/class-lockee-migration.php:79
    9999msgid "Locks migration"
    100100msgstr "Migration de cadenas"
     
    135135msgstr "Réglages de Lockee"
    136136
    137 #: inc/class-lockee-migration.php:70 inc/class-lockee-migration.php:236
    138 #: inc/class-lockee-migration.php:345
     137#: inc/class-lockee-migration.php:70 inc/class-lockee-migration.php:235
     138#: inc/class-lockee-migration.php:344
    139139msgid "You do not have permission to launch migration."
    140140msgstr "Vous n’avez pas les droits pour lancer la migration."
    141141
    142 #: inc/class-lockee-migration.php:81
     142#: inc/class-lockee-migration.php:80
    143143msgid ""
    144144"This page allows you to migrate old locks created directly in posts or pages "
     
    149149"Lockee."
    150150
    151 #: inc/class-lockee-migration.php:82
     151#: inc/class-lockee-migration.php:81
    152152msgid ""
    153153"Migrating old locks allows you to group them all in one place for easier "
     
    157157"endroit pour une gestion plus facile."
    158158
    159 #: inc/class-lockee-migration.php:82
     159#: inc/class-lockee-migration.php:81
    160160msgid ""
    161161"Locks created directly in pages or posts cannot be added elsewhere with the "
     
    166166"possible avec le code court)."
    167167
    168 #: inc/class-lockee-migration.php:85
     168#: inc/class-lockee-migration.php:84
    169169#, php-format
    170170msgid "%d lock could be migrated"
     
    173173msgstr[1] "%d cadenas pouvant être migrés"
    174174
    175 #: inc/class-lockee-migration.php:85
     175#: inc/class-lockee-migration.php:84
    176176msgid "No lock could be migrated"
    177177msgstr "Aucun cadenas pouvant être migré"
    178178
    179 #: inc/class-lockee-migration.php:96
     179#: inc/class-lockee-migration.php:95
    180180msgid "Start Migration"
    181181msgstr "Commencer la migration"
    182182
     183#: inc/class-lockee-migration.php:106
     184msgid "Migrations History"
     185msgstr "Historique des migrations"
     186
    183187#: inc/class-lockee-migration.php:107
    184 msgid "Migrations Log"
    185 msgstr "Journaux des migrations"
    186 
    187 #: inc/class-lockee-migration.php:108
    188188msgid ""
    189189"Below, you can find the logs of previous migrations. You can restore a "
     
    194194"côté de chaque entrée de journal."
    195195
    196 #: inc/class-lockee-migration.php:108
     196#: inc/class-lockee-migration.php:107
    197197msgid "This will restore the migrated locks to their previous state."
    198198msgstr "Cela restaurera les cadenas migrés à leur état précédent."
    199199
    200 #: inc/class-lockee-migration.php:108
     200#: inc/class-lockee-migration.php:107
    201201msgid "Use this feature with precaution."
    202202msgstr "Utilisez cette fonctionnalité avec précaution."
    203203
    204 #: inc/class-lockee-migration.php:119
     204#: inc/class-lockee-migration.php:118
    205205msgid "already restored"
    206206msgstr "déjà restauré"
    207207
    208 #: inc/class-lockee-migration.php:133
     208#: inc/class-lockee-migration.php:132
    209209#, php-format
    210210msgid "Migration of %s at %s"
    211211msgstr "Migration du %s à %s"
    212212
    213 #: inc/class-lockee-migration.php:133
     213#: inc/class-lockee-migration.php:132
    214214#, php-format
    215215msgid "%s lock"
     
    218218msgstr[1] "%s cadenas"
    219219
    220 #: inc/class-lockee-migration.php:139 inc/class-lockee-migration.php:142
     220#: inc/class-lockee-migration.php:138 inc/class-lockee-migration.php:141
    221221msgid "Restore"
    222222msgstr "Restaurer"
    223223
    224 #: inc/class-lockee-migration.php:144
     224#: inc/class-lockee-migration.php:143
    225225msgid "Download"
    226226msgstr "Télécharger"
    227227
    228 #: inc/class-lockee-migration.php:150
     228#: inc/class-lockee-migration.php:149
    229229msgid "No migration log available."
    230230msgstr "Aucun journal de migration disponible."
    231231
    232 #: inc/class-lockee-migration.php:173
     232#: inc/class-lockee-migration.php:172
    233233msgid ""
    234234"Are you sure you want to delete this log file? Be careful, this action is "
     
    238238"action est irréversible."
    239239
    240 #: inc/class-lockee-migration.php:173
     240#: inc/class-lockee-migration.php:172
    241241msgid "Delete"
    242242msgstr "Supprimer"
    243243
    244 #: inc/class-lockee-migration.php:221 inc/class-lockee-migration.php:267
     244#: inc/class-lockee-migration.php:220 inc/class-lockee-migration.php:266
    245245msgid "Migration in progress..."
    246246msgstr "Migration en cours…"
    247247
    248 #: inc/class-lockee-migration.php:222
     248#: inc/class-lockee-migration.php:221
    249249msgid "An error occurred during migration."
    250250msgstr "Une erreur s’est produite durant la migration."
    251251
    252 #: inc/class-lockee-migration.php:223 inc/class-lockee-migration.php:252
     252#: inc/class-lockee-migration.php:222 inc/class-lockee-migration.php:251
    253253msgid "Migration completed successfully."
    254254msgstr "Migration terminée avec succès."
    255255
    256 #: inc/class-lockee-migration.php:260
     256#: inc/class-lockee-migration.php:259
    257257msgid "Migration not started yet."
    258258msgstr "La migration n’a pas encore débutée."
    259259
    260 #: inc/class-lockee-migration.php:289
     260#: inc/class-lockee-migration.php:288
    261261msgid "Starting migration..."
    262262msgstr "Début de la migration…"
    263263
    264 #: inc/class-lockee-migration.php:290
     264#: inc/class-lockee-migration.php:289
    265265#, php-format
    266266msgid "Converting old locks (%d/%d)"
    267267msgstr "Conversion des anciens cadenas (%d/%d)"
    268268
    269 #: inc/class-lockee-migration.php:291
     269#: inc/class-lockee-migration.php:290
    270270msgid "Migration of old lock completed successfully."
    271271msgstr "Migration des anciens cadenas terminée avec succès."
    272272
    273 #: inc/class-lockee-migration.php:292
     273#: inc/class-lockee-migration.php:291
    274274msgid "Starting restoration..."
    275275msgstr "Début de la restauration…"
    276276
    277 #: inc/class-lockee-migration.php:293
     277#: inc/class-lockee-migration.php:292
    278278#, php-format
    279279msgid "Restorating old locks (%d/%d)"
    280280msgstr "Restauration des anciens cadenas (%d/%d)"
    281281
    282 #: inc/class-lockee-migration.php:294
     282#: inc/class-lockee-migration.php:293
    283283msgid "Restoration of old lock completed successfully."
    284284msgstr "Restauration des anciens cadenas terminée avec succès."
    285285
    286 #: inc/class-lockee-migration.php:298
     286#: inc/class-lockee-migration.php:297
    287287msgid "In progress..."
    288288msgstr "En cours…"
    289289
    290 #: inc/class-lockee-migration.php:340
     290#: inc/class-lockee-migration.php:339
    291291msgid "Unauthorized action."
    292292msgstr "Action non autorisée."
    293293
    294 #: inc/class-lockee-migration.php:350
     294#: inc/class-lockee-migration.php:349
    295295msgid "A migration is already in progress. Please wait."
    296296msgstr "Une migration est déjà en cours. Merci de patienter."
    297297
    298 #: inc/class-lockee-migration.php:360
     298#: inc/class-lockee-migration.php:359
    299299msgid "No migration needed."
    300300msgstr "Aucune migration nécessaire."
    301301
    302 #: inc/class-lockee-migration.php:371
     302#: inc/class-lockee-migration.php:370
    303303msgid "No log file specified for restoration."
    304304msgstr "Aucun fichier journal spécifié pour la restauration."
    305305
    306 #: inc/class-lockee-migration.php:719
     306#: inc/class-lockee-migration.php:718
    307307msgid "No log file specified for deletion."
    308308msgstr "Aucun fichier journal spécifié pour la suppression."
    309309
    310 #: inc/class-lockee-migration.php:725
     310#: inc/class-lockee-migration.php:724
    311311msgid "Log file does not exist."
    312312msgstr "Le fichier journal n’existe pas."
    313313
    314 #: inc/class-lockee-migration.php:730
     314#: inc/class-lockee-migration.php:729
    315315msgid "Log file deleted successfully."
    316316msgstr "Fichier journal supprimé avec succès."
    317317
    318 #: inc/class-lockee-migration.php:732
     318#: inc/class-lockee-migration.php:731
    319319msgid "Failed to delete log file."
    320320msgstr "Échec de la suppression du fichier journal."
  • lockee/trunk/languages/lockee.pot

    r3314201 r3315590  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Lockee 3.1.1\n"
     5"Project-Id-Version: Lockee 3.1.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-18T21:12:08+00:00\n"
     12"POT-Creation-Date: 2025-06-21T07:59:27+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
     
    9595#: inc/class-lockee-migration.php:32
    9696#: inc/class-lockee-migration.php:56
    97 #: inc/class-lockee-migration.php:80
     97#: inc/class-lockee-migration.php:79
    9898msgid "Locks migration"
    9999msgstr ""
     
    122122
    123123#: inc/class-lockee-migration.php:70
    124 #: inc/class-lockee-migration.php:236
    125 #: inc/class-lockee-migration.php:345
     124#: inc/class-lockee-migration.php:235
     125#: inc/class-lockee-migration.php:344
    126126msgid "You do not have permission to launch migration."
    127127msgstr ""
    128128
     129#: inc/class-lockee-migration.php:80
     130msgid "This page allows you to migrate old locks created directly in posts or pages to the new Lockee post type \"Locks\"."
     131msgstr ""
     132
    129133#: inc/class-lockee-migration.php:81
    130 msgid "This page allows you to migrate old locks created directly in posts or pages to the new Lockee post type \"Locks\"."
    131 msgstr ""
    132 
    133 #: inc/class-lockee-migration.php:82
    134134msgid "Migrating old locks allows you to group them all in one place for easier management."
    135135msgstr ""
    136136
    137 #: inc/class-lockee-migration.php:82
     137#: inc/class-lockee-migration.php:81
    138138msgid "Locks created directly in pages or posts cannot be added elsewhere with the new Gutenberg block (but it is still possible with the shortcode)."
    139139msgstr ""
    140140
    141 #: inc/class-lockee-migration.php:85
     141#: inc/class-lockee-migration.php:84
    142142#, php-format
    143143msgid "%d lock could be migrated"
     
    146146msgstr[1] ""
    147147
    148 #: inc/class-lockee-migration.php:85
     148#: inc/class-lockee-migration.php:84
    149149msgid "No lock could be migrated"
    150150msgstr ""
    151151
    152 #: inc/class-lockee-migration.php:96
     152#: inc/class-lockee-migration.php:95
    153153msgid "Start Migration"
    154154msgstr ""
    155155
     156#: inc/class-lockee-migration.php:106
     157msgid "Migrations History"
     158msgstr ""
     159
    156160#: inc/class-lockee-migration.php:107
    157 msgid "Migrations Log"
    158 msgstr ""
    159 
    160 #: inc/class-lockee-migration.php:108
    161161msgid "Below, you can find the logs of previous migrations. You can restore a migration by clicking on the \"Restore\" button next to each log entry."
    162162msgstr ""
    163163
    164 #: inc/class-lockee-migration.php:108
     164#: inc/class-lockee-migration.php:107
    165165msgid "This will restore the migrated locks to their previous state."
    166166msgstr ""
    167167
    168 #: inc/class-lockee-migration.php:108
     168#: inc/class-lockee-migration.php:107
    169169msgid "Use this feature with precaution."
    170170msgstr ""
    171171
    172 #: inc/class-lockee-migration.php:119
     172#: inc/class-lockee-migration.php:118
    173173msgid "already restored"
    174174msgstr ""
    175175
    176 #: inc/class-lockee-migration.php:133
     176#: inc/class-lockee-migration.php:132
    177177#, php-format
    178178msgid "Migration of %s at %s"
    179179msgstr ""
    180180
    181 #: inc/class-lockee-migration.php:133
     181#: inc/class-lockee-migration.php:132
    182182#, php-format
    183183msgid "%s lock"
     
    186186msgstr[1] ""
    187187
    188 #: inc/class-lockee-migration.php:139
    189 #: inc/class-lockee-migration.php:142
     188#: inc/class-lockee-migration.php:138
     189#: inc/class-lockee-migration.php:141
    190190msgid "Restore"
    191191msgstr ""
    192192
    193 #: inc/class-lockee-migration.php:144
     193#: inc/class-lockee-migration.php:143
    194194msgid "Download"
    195195msgstr ""
    196196
    197 #: inc/class-lockee-migration.php:150
     197#: inc/class-lockee-migration.php:149
    198198msgid "No migration log available."
    199199msgstr ""
    200200
    201 #: inc/class-lockee-migration.php:173
     201#: inc/class-lockee-migration.php:172
    202202msgid "Are you sure you want to delete this log file? Be careful, this action is irreversible."
    203203msgstr ""
    204204
    205 #: inc/class-lockee-migration.php:173
     205#: inc/class-lockee-migration.php:172
    206206msgid "Delete"
    207207msgstr ""
    208208
     209#: inc/class-lockee-migration.php:220
     210#: inc/class-lockee-migration.php:266
     211msgid "Migration in progress..."
     212msgstr ""
     213
    209214#: inc/class-lockee-migration.php:221
    210 #: inc/class-lockee-migration.php:267
    211 msgid "Migration in progress..."
     215msgid "An error occurred during migration."
    212216msgstr ""
    213217
    214218#: inc/class-lockee-migration.php:222
    215 msgid "An error occurred during migration."
    216 msgstr ""
    217 
    218 #: inc/class-lockee-migration.php:223
    219 #: inc/class-lockee-migration.php:252
     219#: inc/class-lockee-migration.php:251
    220220msgid "Migration completed successfully."
    221221msgstr ""
    222222
    223 #: inc/class-lockee-migration.php:260
     223#: inc/class-lockee-migration.php:259
    224224msgid "Migration not started yet."
    225225msgstr ""
    226226
     227#: inc/class-lockee-migration.php:288
     228msgid "Starting migration..."
     229msgstr ""
     230
    227231#: inc/class-lockee-migration.php:289
    228 msgid "Starting migration..."
    229 msgstr ""
    230 
    231 #: inc/class-lockee-migration.php:290
    232232#, php-format
    233233msgid "Converting old locks (%d/%d)"
    234234msgstr ""
    235235
     236#: inc/class-lockee-migration.php:290
     237msgid "Migration of old lock completed successfully."
     238msgstr ""
     239
    236240#: inc/class-lockee-migration.php:291
    237 msgid "Migration of old lock completed successfully."
     241msgid "Starting restoration..."
    238242msgstr ""
    239243
    240244#: inc/class-lockee-migration.php:292
    241 msgid "Starting restoration..."
    242 msgstr ""
    243 
    244 #: inc/class-lockee-migration.php:293
    245245#, php-format
    246246msgid "Restorating old locks (%d/%d)"
    247247msgstr ""
    248248
    249 #: inc/class-lockee-migration.php:294
     249#: inc/class-lockee-migration.php:293
    250250msgid "Restoration of old lock completed successfully."
    251251msgstr ""
    252252
    253 #: inc/class-lockee-migration.php:298
     253#: inc/class-lockee-migration.php:297
    254254msgid "In progress..."
    255255msgstr ""
    256256
    257 #: inc/class-lockee-migration.php:340
     257#: inc/class-lockee-migration.php:339
    258258msgid "Unauthorized action."
    259259msgstr ""
    260260
    261 #: inc/class-lockee-migration.php:350
     261#: inc/class-lockee-migration.php:349
    262262msgid "A migration is already in progress. Please wait."
    263263msgstr ""
    264264
    265 #: inc/class-lockee-migration.php:360
     265#: inc/class-lockee-migration.php:359
    266266msgid "No migration needed."
    267267msgstr ""
    268268
    269 #: inc/class-lockee-migration.php:371
     269#: inc/class-lockee-migration.php:370
    270270msgid "No log file specified for restoration."
    271271msgstr ""
    272272
    273 #: inc/class-lockee-migration.php:719
     273#: inc/class-lockee-migration.php:718
    274274msgid "No log file specified for deletion."
    275275msgstr ""
    276276
    277 #: inc/class-lockee-migration.php:725
     277#: inc/class-lockee-migration.php:724
    278278msgid "Log file does not exist."
    279279msgstr ""
    280280
    281 #: inc/class-lockee-migration.php:730
     281#: inc/class-lockee-migration.php:729
    282282msgid "Log file deleted successfully."
    283283msgstr ""
    284284
    285 #: inc/class-lockee-migration.php:732
     285#: inc/class-lockee-migration.php:731
    286286msgid "Failed to delete log file."
    287287msgstr ""
  • lockee/trunk/lockee.php

    r3314201 r3315590  
    55 * Plugin URI:        https://wordpress.lockee.fr/
    66 * Description:       Add Lockee locks to your WordPress site to gamify your content and engage your visitors in a completely autonomous way.
    7  * Version:           3.1.2
     7 * Version:           3.1.3
    88 * Author:            Nicolas Desmarets
    99 * Author URI:        https://ndev.fr/
     
    1818}
    1919
    20 define('LOCKEE_VERSION', '3.1.2');
     20define('LOCKEE_VERSION', '3.1.3');
    2121
    2222require_once plugin_dir_path(__FILE__) . 'inc/class-lockee-singleton.php';
  • lockee/trunk/readme.txt

    r3314201 r3315590  
    55Requires at least: 5.3
    66Tested up to: 6.8.1
    7 Stable tag: 3.1.2
     7Stable tag: 3.1.3
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    1414== Changelog ==
    1515
     16= 3.1.3 =
     17* Fixed some translations.
     18* Fixed bug in the "Locks Migration" page (using a non-existing function).
     19
    1620= 3.1.2 =
    1721* Fixed some translations.
    1822
    1923= 3.1.1 =
    20 * In posts and pages, if lockee_content is empty, the post content is used instead (to keep compatibility with the oldest lock format).
     24* In posts and pages, if "lockee_content" is empty, the post content is used instead (to keep compatibility with the oldest lock format).
    2125
    2226= 3.1.0 =
     
    2832
    2933= 3.0.13 =
    30 * Fixed bug with the lock selecting ion in the Gutenberg editor.
     34* Fixed bug with the lock selecting option in the Gutenberg editor.
    3135
    3236= 3.0.12 =
     
    171175To do this, you can create a lock in the dashboard, choose the type of lock (e.g. numbers, colors, piano keys, etc.), and define the valid codes to enter to unlock the content. Once the lock is opened, the content is displayed.
    172176
    173 These locks can be displayed in your posts or pages using a shortcode or a block in the Gutenberg editor. You can also customize the appearance of the lock in the Lockee's settings, where you can choose themes and colors to match your site's design.
     177These locks can be displayed in your posts or pages using a shortcode or a block in the Gutenberg editor. You can also customize the appearance of the lock in the "Lockee settings" page, where you can choose themes and colors to match your site's design.
    174178
    175179You can also embed the lock on other websites using the provided iframe code, allowing you to share your locks with a wider audience.
     
    184188
    1851891. Download the plugin from the WordPress repository or upload it directly to your WordPress installation.
    186 2. Activate the plugin through the 'Plugins' menu in WordPress.
    187 3. A new post type "Locks" will appear in the dashboard. Create new locks by filling in the required fields, including the lock type and code.
     1902. Activate the plugin through the "Plugins" menu in WordPress.
     1913. A new tab "Lockee" will appear in the dashboard, adding the new post type "Lock". Create new locks by filling in the required fields, including the lock type and code.
    1881924. You can display the lock in your posts or pages using a shortcode or a block in the Gutenberg editor.
    189 5. Customize the lock appearance in the Lockee settings, where you can choose themes and colors.
    190 6. If you have used this plugin before, you can migrate your existing locks to the new post type (in the Locks migration page) or choose to continue using the metabox "Lock" in posts and pages (in the Lockee settings page).
     1935. Customize the lock appearance in the "Lockee settings" page, where you can choose themes and colors.
     1946. If you have used this plugin before, you can migrate your existing locks to the new post type (in the "Locks Migration" page) or choose to continue using the metabox "Lock" in posts and pages (in the "Lockee settings" page).
    191195
    192196== Screenshots ==
    193197
    194 1. This plugin add a new type of post (Locks) in the dashboard, allowing you to add a Lockee lock and content to display when the lock is opened.
     1981. This plugin add a new post type "Lock" in the dashboard, allowing you to add a Lockee lock and content to display when the lock is opened.
    1951992. The lock can be displayed in the post or page content with a shortcode ot with a block in the Gutenberg editor.
    1962003. In the settings, you can customize the lock appearance with various options, including theme and colors.
     
    205209= Can I customize the appearance of the lock? =
    206210
    207 Yes, you can customize the lock's appearance in the Lockee settings. You can choose different themes and colors to match your site's design.
     211Yes, you can customize the lock's appearance in the "Lockee settings" page. You can choose different themes and colors to match your site's design.
    208212
    209213= Can I embed the lock on other websites? =
     
    213217= What happens if I have used this plugin before? =
    214218
    215 If you have used this plugin before, you can migrate your existing locks to the new post type (in the Locks migration page) or choose to continue using the metabox "Lock" in posts and pages (in the Lockee settings page).
     219If you have used this plugin before, you can migrate your existing locks to the new post type (in the "Locks Migration" page) or choose to continue using the metabox "Lock" in posts and pages (in the "Lockee settings" page).
    216220
    217221= Is there a way to track how many times a lock has been opened? =
    218222
    219 Yes, the plugin includes a statistics feature that tracks how many times each lock has been opened. You can view these statistics in the Lock edition panel under the "Lock stats" section.
     223Yes, the plugin includes a statistics feature that tracks how many times each lock has been opened. You can view these statistics in the publication edition panel under the "Lock stats" section.
    220224
    221225= What is the migration process? =
    222226
    223 The migration process is an operation that converts your existing locks to the post type "Lock". It creates a new post type "Lock" for each lock set up in post or page and add this new lock to the original post or page (with a Gutenberg block). Also, it updates shortcodes using the old ID to the new one.
     227The migration process is an operation that converts your existing locks to the post type "Lock". It creates a new post type "Lock" for each lock set up in post or page and add this new lock to the original post or page (with a Gutenberg block). Also, it updates shortcodes replacing the old ID to the new one.
    224228
    225229= What happens if I don't start the migration process? =
    226230
    227 If you don't start the migration process, your existing locks will continue to work as they did before. However, you must activate the option to display the metabox "Lock" in posts and pages in the Lockee settings page. This will allow you to continue using the old format without converting your locks to the new post type.
     231If you don't start the migration process, your existing locks will continue to work as they did before. However, you must activate the option to display the metabox "Lock" in posts and pages in the "Lockee settings" page. This will allow you to continue using the old format without converting your locks to the new post type.
    228232
    229233= Can I use this plugin free, even for commercial purposes? =
Note: See TracChangeset for help on using the changeset viewer.