Changeset 3308379
- Timestamp:
- 06/09/2025 09:45:33 AM (9 months ago)
- Location:
- lockee
- Files:
-
- 2 added
- 10 edited
-
assets/icon.svg (added)
-
trunk/images/icon.svg (added)
-
trunk/inc/class-lockee-post-types.php (modified) (2 diffs)
-
trunk/inc/class-lockee-settings.php (modified) (6 diffs)
-
trunk/inc/class-lockee-utils.php (modified) (2 diffs)
-
trunk/languages/lockee-es.mo (modified) (previous)
-
trunk/languages/lockee-es.po (modified) (6 diffs)
-
trunk/languages/lockee-fr_FR.mo (modified) (previous)
-
trunk/languages/lockee-fr_FR.po (modified) (6 diffs)
-
trunk/languages/lockee.pot (modified) (4 diffs)
-
trunk/lockee.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lockee/trunk/inc/class-lockee-post-types.php
r3308343 r3308379 71 71 public function register_post_types() 72 72 { 73 $menu_icon = file_get_contents(dirname(plugin_dir_path(__FILE__)) . '/images/icon.svg'); 73 74 register_post_type( 74 75 'lockee_lock', … … 106 107 ), 107 108 'menu_position' => 20, 108 'menu_icon' => 'da shicons-lock',109 'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode($menu_icon), 109 110 ) 110 111 ); -
lockee/trunk/inc/class-lockee-settings.php
r3308343 r3308379 73 73 'theme' => 'system', 74 74 'transparent_bg' => 0, 75 'colors' => $this->default_colors 76 75 'colors' => $this->default_colors, 76 'confetti' => 'per-lock', 77 'play_sound' => 'per-lock', 78 'backspace_button' => 'per-lock', 77 79 ) 78 80 ) … … 116 118 'lockee-settings', 117 119 'lockee_general_section' 120 ); 121 122 add_settings_field( 123 'confetti', 124 __('Confetti animation', 'lockee'), 125 array($this, 'render_confetti_field'), 126 'lockee-settings', 127 'lockee_general_section', 128 array( 129 'label_for' => 'confetti', 130 'class' => 'lockee-row' 131 ) 132 ); 133 add_settings_field( 134 'play_sound', 135 __('Playing sounds', 'lockee'), 136 array($this, 'render_play_sound_field'), 137 'lockee-settings', 138 'lockee_general_section', 139 array( 140 'label_for' => 'play_sound', 141 'class' => 'lockee-row' 142 ) 143 ); 144 add_settings_field( 145 'backspace_button', 146 __('Backspace button', 'lockee'), 147 array($this, 'render_backspace_button_field'), 148 'lockee-settings', 149 'lockee_general_section', 150 array( 151 'label_for' => 'backspace_button', 152 'class' => 'lockee-row' 153 ) 118 154 ); 119 155 } … … 132 168 133 169 $sanitized['transparent_bg'] = !empty($input['transparent_bg']) ? 1 : 0; 170 171 $allowed_global = array('per-lock', 'off', 'on'); 172 $sanitized['confetti'] = isset($input['confetti']) && in_array($input['confetti'], $allowed_global) ? $input['confetti'] : 'per-lock'; 173 $sanitized['play_sound'] = isset($input['play_sound']) && in_array($input['play_sound'], $allowed_global) ? $input['play_sound'] : 'per-lock'; 174 $sanitized['backspace_button'] = isset($input['backspace_button']) && in_array($input['backspace_button'], $allowed_global) ? $input['backspace_button'] : 'per-lock'; 134 175 135 176 if (isset($_POST['lockee_reset_colors'])) { … … 242 283 <tr> 243 284 <th><label><?php echo esc_html($label); ?></label></th> 244 <td style="text-align:center;"> 245 <input 246 class="lockee-color-field" 247 type="text" 248 data-default-color="<?php echo esc_attr($this->default_colors['light'][$key]); ?>" 249 name="<?php echo esc_attr($this->option_name); ?>[colors][light][<?php echo esc_attr($key); ?>]" 250 value="<?php echo esc_attr(isset($colors['light'][$key]) ? $colors['light'][$key] : $this->default_colors['light'][$key]); ?>" /> 251 </td> 252 <td style="text-align:center;"> 253 <input 254 class="lockee-color-field" 255 type="text" 256 data-default-color="<?php echo esc_attr($this->default_colors['dark'][$key]); ?>" 257 name="<?php echo esc_attr($this->option_name); ?>[colors][dark][<?php echo esc_attr($key); ?>]" 258 value="<?php echo esc_attr(isset($colors['dark'][$key]) ? $colors['dark'][$key] : $this->default_colors['dark'][$key]); ?>" /> 259 260 </td> 285 <?php foreach (['light', 'dark'] as $theme) : ?> 286 <td style="text-align:center;"> 287 <input 288 class="lockee-color-field" 289 type="text" 290 data-default-color="<?php echo esc_attr($this->default_colors[$theme][$key]); ?>" 291 name="<?php echo esc_attr($this->option_name); ?>[colors][<?php echo $theme; ?>][<?php echo esc_attr($key); ?>]" 292 value="<?php echo esc_attr(isset($colors[$theme][$key]) ? $colors[$theme][$key] : $this->default_colors[$theme][$key]); ?>" /> 293 </td> 294 <?php endforeach; ?> 261 295 </tr> 262 296 <?php endforeach; ?> … … 293 327 <?php $this->add_force_flush_rewrite_rules(); ?> 294 328 </div> 329 <?php 330 } 331 332 // Render select for confetti 333 public function render_confetti_field($args) 334 { 335 $this->render_global_select_field(array( 336 'option_key' => 'confetti', 337 'label_for' => $args['label_for'], 338 'description' => __('Show confetti animation when user open the lock.', 'lockee') 339 )); 340 } 341 342 // Render select for error sound 343 public function render_play_sound_field($args) 344 { 345 $this->render_global_select_field(array( 346 'option_key' => 'play_sound', 347 'label_for' => $args['label_for'], 348 'description' => __('Play sound when user test a combinaison.', 'lockee') 349 )); 350 } 351 352 // Render select for backspace button 353 public function render_backspace_button_field($args) 354 { 355 $this->render_global_select_field(array( 356 'option_key' => 'backspace_button', 357 'label_for' => $args['label_for'], 358 'description' => __('Show a button to erase the last entered character.', 'lockee') 359 )); 360 } 361 362 private function render_global_select_field($args) 363 { 364 $option_key = $args['option_key']; 365 $label_for = $args['label_for']; 366 $description = $args['description']; 367 $options = get_option($this->option_name, array($option_key => 'per-lock')); 368 $current = isset($options[$option_key]) ? $options[$option_key] : 'per-lock'; 369 ?> 370 <select id="<?php echo esc_attr($label_for); ?>" 371 name="<?php echo esc_attr($this->option_name); ?>[<?php echo esc_attr($option_key); ?>]"> 372 <option value="per-lock" <?php selected($current, 'per-lock'); ?>> 373 <?php esc_html_e('Use per lock setting', 'lockee'); ?> 374 </option> 375 <option value="off" <?php selected($current, 'off'); ?>> 376 <?php esc_html_e('Disable for all locks', 'lockee'); ?> 377 </option> 378 <option value="on" <?php selected($current, 'on'); ?>> 379 <?php esc_html_e('Enable for all locks', 'lockee'); ?> 380 </option> 381 </select> 382 <p class="description"><?php echo esc_html($description); ?></p> 295 383 <?php 296 384 } … … 361 449 return $this->default_colors; 362 450 } 451 452 /** 453 * Get the locks settings 454 */ 455 public function get_lock_settings() 456 { 457 $options = get_option($this->option_name, array( 458 'confetti' => 'per-lock', 459 'play_sound' => 'per-lock', 460 'backspace_button' => 'per-lock' 461 )); 462 return array( 463 'confetti' => isset($options['confetti']) ? $options['confetti'] : 'per-lock', 464 'play_sound' => isset($options['play_sound']) ? $options['play_sound'] : 'per-lock', 465 'backspace_button' => isset($options['backspace_button']) ? $options['backspace_button'] : 'per-lock' 466 ); 467 } 363 468 } -
lockee/trunk/inc/class-lockee-utils.php
r3308343 r3308379 18 18 $lang = self::get_language(); 19 19 $theme = Lockee_Settings::get_instance()->get_theme(); 20 21 if ($mode !== 'edit') { 22 $options = self::apply_global_options($options); 23 } 20 24 21 25 $system_theme = ''; … … 99 103 ]; 100 104 } 105 106 public static function apply_global_options($options) 107 { 108 $options_array = explode(',', $options); 109 110 $global_options = Lockee_Settings::get_instance()->get_lock_settings(); 111 112 $mapOptions = array( 113 "confetti" => "CFT", 114 "play_sound" => "SND", 115 "backspace_button" => "DEL", 116 ); 117 118 foreach ($mapOptions as $option => $option_code) { 119 if ($global_options[$option] == 'on' && !in_array($option_code, $options_array)) { 120 $options_array[] = $option_code; 121 } else if ($global_options[$option] == 'off' && in_array($option_code, $options_array)) { 122 $options_array = array_diff($options_array, [$option_code]); 123 } 124 } 125 126 return implode(',', $options_array); 127 } 101 128 } -
lockee/trunk/languages/lockee-es.po
r3308202 r3308379 5 5 "Project-Id-Version: Lockee 2.2.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n" 7 "POT-Creation-Date: 2025-06-0 8T23:32:40+00:00\n"8 "PO-Revision-Date: 2025-06-09 01:36+0200\n"7 "POT-Creation-Date: 2025-06-09T09:36:14+00:00\n" 8 "PO-Revision-Date: 2025-06-09 11:41+0200\n" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 17 17 18 18 #. Plugin Name of the plugin 19 #: lockee.php inc/class-lockee-post-types.php: 8119 #: lockee.php inc/class-lockee-post-types.php:78 20 20 msgid "Lockee" 21 21 msgstr "Lockee" … … 45 45 msgstr "https://ndev.fr/" 46 46 47 #: inc/class-lockee-block.php: 42 inc/class-lockee-block.php:4748 #: inc/class-lockee-block.php:5 547 #: inc/class-lockee-block.php:39 inc/class-lockee-block.php:44 48 #: inc/class-lockee-block.php:52 49 49 msgid "Lock not found. Please check the block settings." 50 50 msgstr "" 51 51 "Candado no encontrado. Por favor, compruebe la configuración del bloque." 52 52 53 #: inc/class-lockee-iframe.php:3 453 #: inc/class-lockee-iframe.php:30 54 54 msgid "Lock not found" 55 55 msgstr "Candado no encontrado" 56 56 57 #: inc/class-lockee-metabox.php: 32 inc/class-lockee-post-types.php:8357 #: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:80 58 58 msgid "Lock" 59 59 msgstr "Candado" 60 60 61 #: inc/class-lockee-metabox.php: 4161 #: inc/class-lockee-metabox.php:37 62 62 msgid "Lock stats" 63 63 msgstr "Candado stats" 64 64 65 #: inc/class-lockee-metabox.php:6 465 #: inc/class-lockee-metabox.php:60 66 66 msgid "Content to display when opening the padlock:" 67 67 msgstr "Contenido a mostrar al abrir el candado:" 68 68 69 #: inc/class-lockee-metabox.php:6 769 #: inc/class-lockee-metabox.php:63 70 70 msgid "Shortcode to integrate this lock into an article or page:" 71 71 msgstr "Shortcode para integrar este candado en un artículo o página:" 72 72 73 #: inc/class-lockee-metabox.php: 7073 #: inc/class-lockee-metabox.php:66 74 74 msgid "Iframe code to integrate this lock into an external page:" 75 75 msgstr "Código Iframe para integrar este candado en una página externa:" 76 76 77 #: inc/class-lockee-metabox.php:1 3377 #: inc/class-lockee-metabox.php:129 78 78 msgid "Attempts:" 79 79 msgstr "Intentos:" 80 80 81 #: inc/class-lockee-metabox.php:13 481 #: inc/class-lockee-metabox.php:130 82 82 msgid "Openings:" 83 83 msgstr "Aperturas:" 84 84 85 #: inc/class-lockee-metabox.php:13 585 #: inc/class-lockee-metabox.php:131 86 86 msgid "Success:" 87 87 msgstr "Éxito:" 88 88 89 #: inc/class-lockee-metabox.php:13 789 #: inc/class-lockee-metabox.php:133 90 90 msgid "Reset statistics" 91 91 msgstr "Restablecer estadísticas" 92 92 93 #: inc/class-lockee-metabox.php:14 593 #: inc/class-lockee-metabox.php:141 94 94 msgid "Do you really want to reset the statistics?" 95 95 msgstr "¿De verdad quieres restablecer las estadísticas?" 96 96 97 #: inc/class-lockee-migration.php: 9797 #: inc/class-lockee-migration.php:88 98 98 msgid "Migrating locks..." 99 99 msgstr "Migrando candados…" 100 100 101 #: inc/class-lockee-migration.php: 98101 #: inc/class-lockee-migration.php:89 102 102 msgid "An error occurred during migration." 103 103 msgstr "Se ha producido un error durante la migración." 104 104 105 #: inc/class-lockee-migration.php:9 9105 #: inc/class-lockee-migration.php:90 106 106 msgid "Migration completed successfully!" 107 107 msgstr "¡Migración completada con éxito!" 108 108 109 #: inc/class-lockee-migration.php:1 34 inc/class-lockee-migration.php:252109 #: inc/class-lockee-migration.php:125 inc/class-lockee-migration.php:243 110 110 msgid "Permission denied." 111 111 msgstr "Permiso denegado." 112 112 113 #: inc/class-lockee-migration.php:1 50 inc/class-lockee-migration.php:189113 #: inc/class-lockee-migration.php:141 inc/class-lockee-migration.php:180 114 114 msgid "Migration completed successfully." 115 115 msgstr "Migración completada con éxito." 116 116 117 #: inc/class-lockee-migration.php:1 58117 #: inc/class-lockee-migration.php:149 118 118 msgid "Migration not started yet." 119 119 msgstr "La migración aún no ha comenzado." 120 120 121 #: inc/class-lockee-migration.php:1 65 inc/class-lockee-migration.php:193121 #: inc/class-lockee-migration.php:156 inc/class-lockee-migration.php:184 122 122 msgid "Migration in progress..." 123 123 msgstr "Migración en curso…" 124 124 125 #: inc/class-lockee-migration.php:1 84125 #: inc/class-lockee-migration.php:175 126 126 msgid "Starting migration..." 127 127 msgstr "Iniciando la migración…" 128 128 129 #: inc/class-lockee-migration.php:1 85129 #: inc/class-lockee-migration.php:176 130 130 #, php-format 131 131 msgid "Step 1 - Converting old locks (%d/%d)" 132 132 msgstr "Paso 1 - Conversión de candados antiguos (%d/%d)" 133 133 134 #: inc/class-lockee-migration.php:1 86134 #: inc/class-lockee-migration.php:177 135 135 msgid "Migration of old lock completed successfully." 136 136 msgstr "Migración de candados antiguos se completó con éxito." 137 137 138 #: inc/class-lockee-migration.php:1 87138 #: inc/class-lockee-migration.php:178 139 139 #, php-format 140 140 msgid "Step 2 - Updating old shortcodes (%d/%d)" 141 141 msgstr "Paso 2 - Actualización de shortcodes antiguos (%d/%d)" 142 142 143 #: inc/class-lockee-migration.php:1 88143 #: inc/class-lockee-migration.php:179 144 144 msgid "Migration of old shortcodes completed successfully." 145 145 msgstr "La migración de shortcodes antiguos se completó con éxito." 146 146 147 #: inc/class-lockee-migration.php:2 47147 #: inc/class-lockee-migration.php:238 148 148 msgid "Unauthorized action." 149 149 msgstr "Acción no autorizada." 150 150 151 #: inc/class-lockee-migration.php:2 57151 #: inc/class-lockee-migration.php:248 152 152 msgid "A migration is already in progress. Please wait." 153 153 msgstr "Una migración ya está en curso. Por favor, espere." 154 154 155 #: inc/class-lockee-migration.php:2 65155 #: inc/class-lockee-migration.php:256 156 156 msgid "No migration needed." 157 157 msgstr "No se necesita migración." 158 158 159 #: inc/class-lockee-migration.php: 300159 #: inc/class-lockee-migration.php:295 160 160 msgid "Lockee plugin: Migration of old locks required." 161 161 msgstr "Extensión Lockee: Se requiere migración de candados antiguos." 162 162 163 #: inc/class-lockee-migration.php: 301163 #: inc/class-lockee-migration.php:296 164 164 msgid "" 165 165 "You must migrate your old locks to ensure compatibility with the new version " … … 169 169 "nueva versión de la extensión Lockee." 170 170 171 #: inc/class-lockee-migration.php:30 6171 #: inc/class-lockee-migration.php:301 172 172 msgid "Migrate now" 173 173 msgstr "Migrar ahora" 174 174 175 #: inc/class-lockee-post-types.php: 82 inc/class-lockee-post-types.php:84175 #: inc/class-lockee-post-types.php:79 inc/class-lockee-post-types.php:81 176 176 msgid "Locks" 177 177 msgstr "Candados" 178 178 179 #: inc/class-lockee-post-types.php:8 5179 #: inc/class-lockee-post-types.php:82 180 180 msgid "Create new" 181 181 msgstr "Crear nuevo" 182 182 183 #: inc/class-lockee-post-types.php:8 6183 #: inc/class-lockee-post-types.php:83 184 184 msgid "Create a new lock" 185 185 msgstr "Crear una nuevo candado" 186 186 187 #: inc/class-lockee-post-types.php:8 7187 #: inc/class-lockee-post-types.php:84 188 188 msgid "Edit" 189 189 msgstr "Editar" 190 190 191 #: inc/class-lockee-post-types.php:8 8191 #: inc/class-lockee-post-types.php:85 192 192 msgid "Edit the lock" 193 193 msgstr "Editar el candado" 194 194 195 #: inc/class-lockee-post-types.php:8 9195 #: inc/class-lockee-post-types.php:86 196 196 msgid "New lock" 197 197 msgstr "Nuevo candado" 198 198 199 #: inc/class-lockee-post-types.php: 90 inc/class-lockee-post-types.php:91199 #: inc/class-lockee-post-types.php:87 inc/class-lockee-post-types.php:88 200 200 msgid "View lock" 201 201 msgstr "Ver candado" 202 202 203 #: inc/class-lockee-post-types.php: 92203 #: inc/class-lockee-post-types.php:89 204 204 msgid "Search a lock" 205 205 msgstr "Buscar un candado" 206 206 207 #: inc/class-lockee-post-types.php:9 3207 #: inc/class-lockee-post-types.php:90 208 208 msgid "No lock found" 209 209 msgstr "No se encontró candado" 210 210 211 #: inc/class-lockee-post-types.php:9 4211 #: inc/class-lockee-post-types.php:91 212 212 msgid "No lock found in trash" 213 213 msgstr "No se encontró candado en la basura" 214 214 215 #: inc/class-lockee-post-types.php:9 5215 #: inc/class-lockee-post-types.php:92 216 216 msgid "Parent of lock" 217 217 msgstr "Padre del candado" 218 218 219 #: inc/class-lockee-post-types.php:2 71219 #: inc/class-lockee-post-types.php:268 220 220 msgid "Id" 221 221 msgstr "Id" 222 222 223 #: inc/class-lockee-post-types.php:27 3223 #: inc/class-lockee-post-types.php:270 224 224 msgid "Attempts" 225 225 msgstr "Intentos" 226 226 227 #: inc/class-lockee-post-types.php:27 5227 #: inc/class-lockee-post-types.php:272 228 228 msgid "Openings" 229 229 msgstr "Aberturas" 230 230 231 #: inc/class-lockee-post-types.php:27 7 inc/class-lockee-settings.php:237231 #: inc/class-lockee-post-types.php:274 inc/class-lockee-settings.php:277 232 232 msgid "Success" 233 233 msgstr "Éxito" 234 234 235 #: inc/class-lockee-post-types.php:29 6235 #: inc/class-lockee-post-types.php:293 236 236 msgid "Sorry, you are not allowed to access this endpoint." 237 237 msgstr "Lo sentimos, no se le permite acceder a este punto final." 238 238 239 #: inc/class-lockee-settings.php:5 3239 #: inc/class-lockee-settings.php:52 240 240 msgid "Lockee Configuration" 241 241 msgstr "Configuración de Lockee" 242 242 243 #: inc/class-lockee-settings.php:5 4243 #: inc/class-lockee-settings.php:53 244 244 msgid "Settings" 245 245 msgstr "Configuración" 246 246 247 #: inc/class-lockee-settings.php:8 4247 #: inc/class-lockee-settings.php:85 248 248 msgid "Global settings" 249 249 msgstr "Configuración global" 250 250 251 #: inc/class-lockee-settings.php:9 1251 #: inc/class-lockee-settings.php:92 252 252 msgid "Theme" 253 253 msgstr "Tema" 254 254 255 #: inc/class-lockee-settings.php:10 3255 #: inc/class-lockee-settings.php:104 256 256 msgid "Transparent background" 257 257 msgstr "Fondo transparente" 258 258 259 #: inc/class-lockee-settings.php:11 5259 #: inc/class-lockee-settings.php:116 260 260 msgid "Theme colors" 261 261 msgstr "Colores del tema" 262 262 263 #: inc/class-lockee-settings.php:167 263 #: inc/class-lockee-settings.php:124 264 msgid "Confetti animation" 265 msgstr "Animación de confeti" 266 267 #: inc/class-lockee-settings.php:135 268 msgid "Playing sounds" 269 msgstr "Reproduciendo sonidos" 270 271 #: inc/class-lockee-settings.php:146 272 msgid "Backspace button" 273 msgstr "Botón de retroceso" 274 275 #: inc/class-lockee-settings.php:207 264 276 msgid "Make the background transparent behind the locks." 265 277 msgstr "Haz que el fondo sea transparente detrás de los candados." 266 278 267 #: inc/class-lockee-settings.php: 178279 #: inc/class-lockee-settings.php:218 268 280 msgid "Configure the general settings of the Lockee extension." 269 281 msgstr "Configure la configuración general de la extensión Lockee." 270 282 271 #: inc/class-lockee-settings.php: 193283 #: inc/class-lockee-settings.php:233 272 284 msgid "System" 273 285 msgstr "Sistema" 274 286 275 #: inc/class-lockee-settings.php: 196287 #: inc/class-lockee-settings.php:236 276 288 msgid "Light" 277 289 msgstr "Claro" 278 290 279 #: inc/class-lockee-settings.php: 199291 #: inc/class-lockee-settings.php:239 280 292 msgid "Dark" 281 293 msgstr "Oscuro" 282 294 283 #: inc/class-lockee-settings.php:2 03295 #: inc/class-lockee-settings.php:243 284 296 msgid "Choose the Lockee lock display theme." 285 297 msgstr "Elija el tema de visualización de candado Lockee." 286 298 287 #: inc/class-lockee-settings.php:2 14299 #: inc/class-lockee-settings.php:254 288 300 msgid "" 289 301 "Customize the colors of the Lockee theme for light and dark modes. Leave " … … 293 305 "este campo en blanco para usar los colores predeterminados." 294 306 295 #: inc/class-lockee-settings.php:2 28307 #: inc/class-lockee-settings.php:268 296 308 msgid "Light theme" 297 309 msgstr "Tema claro" 298 310 299 #: inc/class-lockee-settings.php:2 29311 #: inc/class-lockee-settings.php:269 300 312 msgid "Dark theme" 301 313 msgstr "Tema oscuro" 302 314 303 #: inc/class-lockee-settings.php:2 33315 #: inc/class-lockee-settings.php:273 304 316 msgid "Primary" 305 317 msgstr "Primario" 306 318 307 #: inc/class-lockee-settings.php:2 34319 #: inc/class-lockee-settings.php:274 308 320 msgid "Accent" 309 321 msgstr "Acento" 310 322 311 #: inc/class-lockee-settings.php:2 35323 #: inc/class-lockee-settings.php:275 312 324 msgid "Error" 313 325 msgstr "Error" 314 326 315 #: inc/class-lockee-settings.php:2 36327 #: inc/class-lockee-settings.php:276 316 328 msgid "Warning" 317 329 msgstr "Advertencia" 318 330 319 #: inc/class-lockee-settings.php:2 38331 #: inc/class-lockee-settings.php:278 320 332 msgid "Background" 321 333 msgstr "Fondo" 322 334 323 #: inc/class-lockee-settings.php:2 39335 #: inc/class-lockee-settings.php:279 324 336 msgid "Border" 325 337 msgstr "Borde" 326 338 327 #: inc/class-lockee-settings.php:2 66339 #: inc/class-lockee-settings.php:299 328 340 msgid "Reset to default colors" 329 341 msgstr "Restablecer a los colores predeterminados" 330 342 331 #: inc/class-lockee-settings.php: 281343 #: inc/class-lockee-settings.php:314 332 344 msgid "Settings saved." 333 345 msgstr "Ajustes guardados." 334 346 335 #: inc/class-lockee-settings.php: 291347 #: inc/class-lockee-settings.php:324 336 348 msgid "Save changes" 337 349 msgstr "Guardar cambios" 338 350 339 #: inc/class-lockee-settings.php:307 351 #: inc/class-lockee-settings.php:338 352 msgid "Show confetti animation when user open the lock." 353 msgstr "Muestra la animación de confeti cuando el usuario abra el candado." 354 355 #: inc/class-lockee-settings.php:348 356 msgid "Play sound when user test a combinaison." 357 msgstr "Reproduce sonido cuando el usuario prueba una combinación." 358 359 #: inc/class-lockee-settings.php:358 360 msgid "Show a button to erase the last entered character." 361 msgstr "Muestra un botón para borrar el último carácter introducido." 362 363 #: inc/class-lockee-settings.php:373 364 msgid "Use per lock setting" 365 msgstr "Utilizar la configuración por candado" 366 367 #: inc/class-lockee-settings.php:376 368 msgid "Disable for all locks" 369 msgstr "Deshabilitar todos los candados" 370 371 #: inc/class-lockee-settings.php:379 372 msgid "Enable for all locks" 373 msgstr "Habilitar para todos los candados" 374 375 #: inc/class-lockee-settings.php:394 340 376 msgid "Lockee rewrite rules have been regenerated." 341 377 msgstr "Las reglas de reescritura de Lockee se han regenerado." 342 378 343 #: inc/class-lockee-settings.php: 316379 #: inc/class-lockee-settings.php:403 344 380 msgid "Other settings" 345 381 msgstr "Otras opciones" 346 382 347 #: inc/class-lockee-settings.php: 321383 #: inc/class-lockee-settings.php:408 348 384 msgid "Regenerate Lockee URLs" 349 385 msgstr "Régénérer les URL de Lockee" 350 386 351 #: inc/class-lockee-settings.php: 324387 #: inc/class-lockee-settings.php:411 352 388 msgid "Use this only if the lock URLs are not working." 353 389 msgstr "Úselo solo si las URL de candado no funcionan." 354 390 355 #: inc/class-lockee-shortcode.php:2 5 inc/class-lockee-shortcode.php:33391 #: inc/class-lockee-shortcode.php:22 inc/class-lockee-shortcode.php:30 356 392 msgid "Lock not found. Please check the shortcode used." 357 393 msgstr "No se encontró el candado. Por favor, revise el shortcode utilizado." 358 394 359 #: build/lockee-block/index.js:1 9726 build/lockee-block/index.js:19357395 #: build/lockee-block/index.js:1 360 396 msgid "No result" 361 397 msgstr "Sin resultados" 362 398 363 #: build/lockee-block/index.js:19733 build/lockee-block/index.js:19749 364 #: build/lockee-block/index.js:19362 build/lockee-block/index.js:19376 399 #: build/lockee-block/index.js:1 365 400 msgid "Select a lock" 366 401 msgstr "Seleccione un candado" 367 402 368 #: build/lockee-block/index.js:19745 build/lockee-block/index.js:19808 369 #: build/lockee-block/index.js:19371 build/lockee-block/index.js:19431 403 #: build/lockee-block/index.js:1 370 404 msgid "Loading..." 371 405 msgstr "Cargando..." 372 406 373 #: build/lockee-block/index.js:1 9792 build/lockee-block/index.js:19411407 #: build/lockee-block/index.js:1 374 408 msgid "Select a lock in the block settings." 375 409 msgstr "Seleccione un candado en la configuración del bloque." 376 410 377 #: build/lockee-block/index.js:1 9840 build/lockee-block/index.js:19460411 #: build/lockee-block/index.js:1 378 412 msgid "Valid codes" 379 413 msgstr "Códigos válidos" 380 414 381 #: build/lockee-block/index.js:1 9898 build/lockee-block/index.js:19525415 #: build/lockee-block/index.js:1 382 416 msgid "Lock selection" 383 417 msgstr "Selección de candado" 384 418 385 #: build/lockee-block/index.js:1 9902 build/lockee-block/index.js:19526419 #: build/lockee-block/index.js:1 386 420 msgid "Filter by ID or title" 387 421 msgstr "Filtrar por ID o título" … … 399 433 #~ msgid "Add Lockee locks to Wordpress." 400 434 #~ msgstr "Agregue los candados Lockee a Wordpress." 401 402 #~ msgid "Migrate old locks"403 #~ msgstr "Migrar candados antiguos" -
lockee/trunk/languages/lockee-fr_FR.po
r3308202 r3308379 5 5 "Project-Id-Version: Lockee 2.2.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n" 7 "POT-Creation-Date: 2025-06-0 8T23:32:40+00:00\n"8 "PO-Revision-Date: 2025-06-09 01:34+0200\n"7 "POT-Creation-Date: 2025-06-09T09:36:14+00:00\n" 8 "PO-Revision-Date: 2025-06-09 11:38+0200\n" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 17 17 18 18 #. Plugin Name of the plugin 19 #: lockee.php inc/class-lockee-post-types.php: 8119 #: lockee.php inc/class-lockee-post-types.php:78 20 20 msgid "Lockee" 21 21 msgstr "Lockee" … … 45 45 msgstr "https://ndev.fr/" 46 46 47 #: inc/class-lockee-block.php: 42 inc/class-lockee-block.php:4748 #: inc/class-lockee-block.php:5 547 #: inc/class-lockee-block.php:39 inc/class-lockee-block.php:44 48 #: inc/class-lockee-block.php:52 49 49 msgid "Lock not found. Please check the block settings." 50 50 msgstr "Cadenas non trouvé. Veuillez vérifier les paramètres du bloc." 51 51 52 #: inc/class-lockee-iframe.php:3 452 #: inc/class-lockee-iframe.php:30 53 53 msgid "Lock not found" 54 54 msgstr "Cadenas non trouvé" 55 55 56 #: inc/class-lockee-metabox.php: 32 inc/class-lockee-post-types.php:8356 #: inc/class-lockee-metabox.php:28 inc/class-lockee-post-types.php:80 57 57 msgid "Lock" 58 58 msgstr "Cadenas" 59 59 60 #: inc/class-lockee-metabox.php: 4160 #: inc/class-lockee-metabox.php:37 61 61 msgid "Lock stats" 62 62 msgstr "Stats du cadenas" 63 63 64 #: inc/class-lockee-metabox.php:6 464 #: inc/class-lockee-metabox.php:60 65 65 msgid "Content to display when opening the padlock:" 66 66 msgstr "Contenu à afficher à l’ouverture du cadenas :" 67 67 68 #: inc/class-lockee-metabox.php:6 768 #: inc/class-lockee-metabox.php:63 69 69 msgid "Shortcode to integrate this lock into an article or page:" 70 70 msgstr "Shortcode pour intégrer ce cadenas dans un article ou une page :" 71 71 72 #: inc/class-lockee-metabox.php: 7072 #: inc/class-lockee-metabox.php:66 73 73 msgid "Iframe code to integrate this lock into an external page:" 74 74 msgstr "Code iframe pour intégrer ce cadenas dans une page externe :" 75 75 76 #: inc/class-lockee-metabox.php:1 3376 #: inc/class-lockee-metabox.php:129 77 77 msgid "Attempts:" 78 78 msgstr "Tentatives :" 79 79 80 #: inc/class-lockee-metabox.php:13 480 #: inc/class-lockee-metabox.php:130 81 81 msgid "Openings:" 82 82 msgstr "Ouvertures :" 83 83 84 #: inc/class-lockee-metabox.php:13 584 #: inc/class-lockee-metabox.php:131 85 85 msgid "Success:" 86 86 msgstr "Succès :" 87 87 88 #: inc/class-lockee-metabox.php:13 788 #: inc/class-lockee-metabox.php:133 89 89 msgid "Reset statistics" 90 90 msgstr "Réinitialiser les statistiques" 91 91 92 #: inc/class-lockee-metabox.php:14 592 #: inc/class-lockee-metabox.php:141 93 93 msgid "Do you really want to reset the statistics?" 94 94 msgstr "Voulez-vous vraiment réinitialiser les statistiques ?" 95 95 96 #: inc/class-lockee-migration.php: 9796 #: inc/class-lockee-migration.php:88 97 97 msgid "Migrating locks..." 98 98 msgstr "Migration des anciens cadenas…" 99 99 100 #: inc/class-lockee-migration.php: 98100 #: inc/class-lockee-migration.php:89 101 101 msgid "An error occurred during migration." 102 102 msgstr "Une erreur s’est produite durant la migration." 103 103 104 #: inc/class-lockee-migration.php:9 9104 #: inc/class-lockee-migration.php:90 105 105 msgid "Migration completed successfully!" 106 106 msgstr "Migration terminée avec succès !" 107 107 108 #: inc/class-lockee-migration.php:1 34 inc/class-lockee-migration.php:252108 #: inc/class-lockee-migration.php:125 inc/class-lockee-migration.php:243 109 109 msgid "Permission denied." 110 110 msgstr "Permission interdite." 111 111 112 #: inc/class-lockee-migration.php:1 50 inc/class-lockee-migration.php:189112 #: inc/class-lockee-migration.php:141 inc/class-lockee-migration.php:180 113 113 msgid "Migration completed successfully." 114 114 msgstr "Migration terminée." 115 115 116 #: inc/class-lockee-migration.php:1 58116 #: inc/class-lockee-migration.php:149 117 117 msgid "Migration not started yet." 118 118 msgstr "La migration n’a pas encore débutée." 119 119 120 #: inc/class-lockee-migration.php:1 65 inc/class-lockee-migration.php:193120 #: inc/class-lockee-migration.php:156 inc/class-lockee-migration.php:184 121 121 msgid "Migration in progress..." 122 122 msgstr "Migration en cours…" 123 123 124 #: inc/class-lockee-migration.php:1 84124 #: inc/class-lockee-migration.php:175 125 125 msgid "Starting migration..." 126 126 msgstr "Début de la migration…" 127 127 128 #: inc/class-lockee-migration.php:1 85128 #: inc/class-lockee-migration.php:176 129 129 #, php-format 130 130 msgid "Step 1 - Converting old locks (%d/%d)" 131 131 msgstr "Étape 1 - Conversion des anciens cadenas (%d/%d)" 132 132 133 #: inc/class-lockee-migration.php:1 86133 #: inc/class-lockee-migration.php:177 134 134 msgid "Migration of old lock completed successfully." 135 135 msgstr "Migration des anciens cadenas terminée." 136 136 137 #: inc/class-lockee-migration.php:1 87137 #: inc/class-lockee-migration.php:178 138 138 #, php-format 139 139 msgid "Step 2 - Updating old shortcodes (%d/%d)" 140 140 msgstr "Étape 2 - Mise à jour des anciens shortcodes (%d/%d)" 141 141 142 #: inc/class-lockee-migration.php:1 88142 #: inc/class-lockee-migration.php:179 143 143 msgid "Migration of old shortcodes completed successfully." 144 144 msgstr "Migration des anciens shortcodes terminée." 145 145 146 #: inc/class-lockee-migration.php:2 47146 #: inc/class-lockee-migration.php:238 147 147 msgid "Unauthorized action." 148 148 msgstr "Action non autorisée." 149 149 150 #: inc/class-lockee-migration.php:2 57150 #: inc/class-lockee-migration.php:248 151 151 msgid "A migration is already in progress. Please wait." 152 152 msgstr "Une migration est déjà en cours. Merci de patienter." 153 153 154 #: inc/class-lockee-migration.php:2 65154 #: inc/class-lockee-migration.php:256 155 155 msgid "No migration needed." 156 156 msgstr "Aucune migration nécessaire." 157 157 158 #: inc/class-lockee-migration.php: 300158 #: inc/class-lockee-migration.php:295 159 159 msgid "Lockee plugin: Migration of old locks required." 160 160 msgstr "Extension Lockee : Migration des anciens cadenas requise." 161 161 162 #: inc/class-lockee-migration.php: 301162 #: inc/class-lockee-migration.php:296 163 163 msgid "" 164 164 "You must migrate your old locks to ensure compatibility with the new version " … … 168 168 "nouvelle version de Lockee." 169 169 170 #: inc/class-lockee-migration.php:30 6170 #: inc/class-lockee-migration.php:301 171 171 msgid "Migrate now" 172 172 msgstr "Migrer maintenant" 173 173 174 #: inc/class-lockee-post-types.php: 82 inc/class-lockee-post-types.php:84174 #: inc/class-lockee-post-types.php:79 inc/class-lockee-post-types.php:81 175 175 msgid "Locks" 176 176 msgstr "Cadenas" 177 177 178 #: inc/class-lockee-post-types.php:8 5178 #: inc/class-lockee-post-types.php:82 179 179 msgid "Create new" 180 180 msgstr "Créer un nouveau" 181 181 182 #: inc/class-lockee-post-types.php:8 6182 #: inc/class-lockee-post-types.php:83 183 183 msgid "Create a new lock" 184 184 msgstr "Créer un nouveau cadenas" 185 185 186 #: inc/class-lockee-post-types.php:8 7186 #: inc/class-lockee-post-types.php:84 187 187 msgid "Edit" 188 188 msgstr "Modifier" 189 189 190 #: inc/class-lockee-post-types.php:8 8190 #: inc/class-lockee-post-types.php:85 191 191 msgid "Edit the lock" 192 192 msgstr "Modifier le cadenas" 193 193 194 #: inc/class-lockee-post-types.php:8 9194 #: inc/class-lockee-post-types.php:86 195 195 msgid "New lock" 196 196 msgstr "Nouveau cadenas" 197 197 198 #: inc/class-lockee-post-types.php: 90 inc/class-lockee-post-types.php:91198 #: inc/class-lockee-post-types.php:87 inc/class-lockee-post-types.php:88 199 199 msgid "View lock" 200 200 msgstr "Voir le cadenas" 201 201 202 #: inc/class-lockee-post-types.php: 92202 #: inc/class-lockee-post-types.php:89 203 203 msgid "Search a lock" 204 204 msgstr "Rechercher un cadenas" 205 205 206 #: inc/class-lockee-post-types.php:9 3206 #: inc/class-lockee-post-types.php:90 207 207 msgid "No lock found" 208 208 msgstr "Aucun cadenas trouvé" 209 209 210 #: inc/class-lockee-post-types.php:9 4210 #: inc/class-lockee-post-types.php:91 211 211 msgid "No lock found in trash" 212 212 msgstr "Aucun cadenas trouvé dans la corbeille" 213 213 214 #: inc/class-lockee-post-types.php:9 5214 #: inc/class-lockee-post-types.php:92 215 215 msgid "Parent of lock" 216 216 msgstr "Parent du cadenas" 217 217 218 #: inc/class-lockee-post-types.php:2 71218 #: inc/class-lockee-post-types.php:268 219 219 msgid "Id" 220 220 msgstr "Id" 221 221 222 #: inc/class-lockee-post-types.php:27 3222 #: inc/class-lockee-post-types.php:270 223 223 msgid "Attempts" 224 224 msgstr "Tentatives" 225 225 226 #: inc/class-lockee-post-types.php:27 5226 #: inc/class-lockee-post-types.php:272 227 227 msgid "Openings" 228 228 msgstr "Ouvertures" 229 229 230 #: inc/class-lockee-post-types.php:27 7 inc/class-lockee-settings.php:237230 #: inc/class-lockee-post-types.php:274 inc/class-lockee-settings.php:277 231 231 msgid "Success" 232 232 msgstr "Succès" 233 233 234 #: inc/class-lockee-post-types.php:29 6234 #: inc/class-lockee-post-types.php:293 235 235 msgid "Sorry, you are not allowed to access this endpoint." 236 236 msgstr "Désolé, vous n’êtes pas autorisé à accéder à cet endpoint." 237 237 238 #: inc/class-lockee-settings.php:5 3238 #: inc/class-lockee-settings.php:52 239 239 msgid "Lockee Configuration" 240 240 msgstr "Configuration de Lockee" 241 241 242 #: inc/class-lockee-settings.php:5 4242 #: inc/class-lockee-settings.php:53 243 243 msgid "Settings" 244 244 msgstr "Réglages" 245 245 246 #: inc/class-lockee-settings.php:8 4246 #: inc/class-lockee-settings.php:85 247 247 msgid "Global settings" 248 248 msgstr "Paramètres généraux" 249 249 250 #: inc/class-lockee-settings.php:9 1250 #: inc/class-lockee-settings.php:92 251 251 msgid "Theme" 252 252 msgstr "Thème" 253 253 254 #: inc/class-lockee-settings.php:10 3254 #: inc/class-lockee-settings.php:104 255 255 msgid "Transparent background" 256 256 msgstr "Arrière-plan transparent" 257 257 258 #: inc/class-lockee-settings.php:11 5258 #: inc/class-lockee-settings.php:116 259 259 msgid "Theme colors" 260 260 msgstr "Couleurs du thème" 261 261 262 #: inc/class-lockee-settings.php:167 262 #: inc/class-lockee-settings.php:124 263 msgid "Confetti animation" 264 msgstr "Animation de confettis" 265 266 #: inc/class-lockee-settings.php:135 267 msgid "Playing sounds" 268 msgstr "Jouer des sons" 269 270 #: inc/class-lockee-settings.php:146 271 msgid "Backspace button" 272 msgstr "Bouton pour effacer" 273 274 #: inc/class-lockee-settings.php:207 263 275 msgid "Make the background transparent behind the locks." 264 276 msgstr "Rendre l’arrière-plan transparent derrière les cadenas." 265 277 266 #: inc/class-lockee-settings.php: 178278 #: inc/class-lockee-settings.php:218 267 279 msgid "Configure the general settings of the Lockee extension." 268 280 msgstr "Configurez les paramètres généraux de l’extension Lockee." 269 281 270 #: inc/class-lockee-settings.php: 193282 #: inc/class-lockee-settings.php:233 271 283 msgid "System" 272 284 msgstr "Système" 273 285 274 #: inc/class-lockee-settings.php: 196286 #: inc/class-lockee-settings.php:236 275 287 msgid "Light" 276 288 msgstr "Clair" 277 289 278 #: inc/class-lockee-settings.php: 199290 #: inc/class-lockee-settings.php:239 279 291 msgid "Dark" 280 292 msgstr "Sombre" 281 293 282 #: inc/class-lockee-settings.php:2 03294 #: inc/class-lockee-settings.php:243 283 295 msgid "Choose the Lockee lock display theme." 284 296 msgstr "Choisissez le thème d’affichage des cadenas Lockee." 285 297 286 #: inc/class-lockee-settings.php:2 14298 #: inc/class-lockee-settings.php:254 287 299 msgid "" 288 300 "Customize the colors of the Lockee theme for light and dark modes. Leave " … … 292 304 "Laissez vide pour utiliser les couleurs par défaut." 293 305 294 #: inc/class-lockee-settings.php:2 28306 #: inc/class-lockee-settings.php:268 295 307 msgid "Light theme" 296 308 msgstr "Thème clair" 297 309 298 #: inc/class-lockee-settings.php:2 29310 #: inc/class-lockee-settings.php:269 299 311 msgid "Dark theme" 300 312 msgstr "Thème sombre" 301 313 302 #: inc/class-lockee-settings.php:2 33314 #: inc/class-lockee-settings.php:273 303 315 msgid "Primary" 304 316 msgstr "Primaire" 305 317 306 #: inc/class-lockee-settings.php:2 34318 #: inc/class-lockee-settings.php:274 307 319 msgid "Accent" 308 320 msgstr "Accent" 309 321 310 #: inc/class-lockee-settings.php:2 35322 #: inc/class-lockee-settings.php:275 311 323 msgid "Error" 312 324 msgstr "Erreur" 313 325 314 #: inc/class-lockee-settings.php:2 36326 #: inc/class-lockee-settings.php:276 315 327 msgid "Warning" 316 328 msgstr "Avertissement" 317 329 318 #: inc/class-lockee-settings.php:2 38330 #: inc/class-lockee-settings.php:278 319 331 msgid "Background" 320 332 msgstr "Arrière-plan" 321 333 322 #: inc/class-lockee-settings.php:2 39334 #: inc/class-lockee-settings.php:279 323 335 msgid "Border" 324 336 msgstr "Bordure" 325 337 326 #: inc/class-lockee-settings.php:2 66338 #: inc/class-lockee-settings.php:299 327 339 msgid "Reset to default colors" 328 340 msgstr "Restaurer les couleurs par défaut" 329 341 330 #: inc/class-lockee-settings.php: 281342 #: inc/class-lockee-settings.php:314 331 343 msgid "Settings saved." 332 344 msgstr "Paramètres sauvegardés." 333 345 334 #: inc/class-lockee-settings.php: 291346 #: inc/class-lockee-settings.php:324 335 347 msgid "Save changes" 336 348 msgstr "Sauvegarder les changements" 337 349 338 #: inc/class-lockee-settings.php:307 350 #: inc/class-lockee-settings.php:338 351 msgid "Show confetti animation when user open the lock." 352 msgstr "" 353 "Afficher une animation de confettis lorsque l’utilisateur ouvre le cadenas." 354 355 #: inc/class-lockee-settings.php:348 356 msgid "Play sound when user test a combinaison." 357 msgstr "Jouer des sons lorsque l’utilisateur teste une combinaison." 358 359 #: inc/class-lockee-settings.php:358 360 msgid "Show a button to erase the last entered character." 361 msgstr "Afficher un bouton pour effacer le dernier caractère saisi." 362 363 #: inc/class-lockee-settings.php:373 364 msgid "Use per lock setting" 365 msgstr "Utiliser la configuration par cadenas" 366 367 #: inc/class-lockee-settings.php:376 368 msgid "Disable for all locks" 369 msgstr "Désactiver pour tous les cadenas" 370 371 #: inc/class-lockee-settings.php:379 372 msgid "Enable for all locks" 373 msgstr "Activer pour tous les cadenas" 374 375 #: inc/class-lockee-settings.php:394 339 376 msgid "Lockee rewrite rules have been regenerated." 340 377 msgstr "Les règles de réécriture de Lockee ont été régénérées." 341 378 342 #: inc/class-lockee-settings.php: 316379 #: inc/class-lockee-settings.php:403 343 380 msgid "Other settings" 344 381 msgstr "Autres paramètres" 345 382 346 #: inc/class-lockee-settings.php: 321383 #: inc/class-lockee-settings.php:408 347 384 msgid "Regenerate Lockee URLs" 348 385 msgstr "Régénérer les URL de Lockee" 349 386 350 #: inc/class-lockee-settings.php: 324387 #: inc/class-lockee-settings.php:411 351 388 msgid "Use this only if the lock URLs are not working." 352 389 msgstr "Utilisez-ceci uniquement si les URL des cadenas ne fonctionnent pas." 353 390 354 #: inc/class-lockee-shortcode.php:2 5 inc/class-lockee-shortcode.php:33391 #: inc/class-lockee-shortcode.php:22 inc/class-lockee-shortcode.php:30 355 392 msgid "Lock not found. Please check the shortcode used." 356 393 msgstr "Cadenas non trouvé. Veuillez vérifier le shortcode utilisé." 357 394 358 #: build/lockee-block/index.js:1 9726 build/lockee-block/index.js:19357395 #: build/lockee-block/index.js:1 359 396 msgid "No result" 360 397 msgstr "Aucun résultat" 361 398 362 #: build/lockee-block/index.js:19733 build/lockee-block/index.js:19749 363 #: build/lockee-block/index.js:19362 build/lockee-block/index.js:19376 399 #: build/lockee-block/index.js:1 364 400 msgid "Select a lock" 365 401 msgstr "Sélectionner un cadenas" 366 402 367 #: build/lockee-block/index.js:19745 build/lockee-block/index.js:19808 368 #: build/lockee-block/index.js:19371 build/lockee-block/index.js:19431 403 #: build/lockee-block/index.js:1 369 404 msgid "Loading..." 370 405 msgstr "Chargement…" 371 406 372 #: build/lockee-block/index.js:1 9792 build/lockee-block/index.js:19411407 #: build/lockee-block/index.js:1 373 408 msgid "Select a lock in the block settings." 374 409 msgstr "Sélectionner un cadenas dans les paramètres du bloc." 375 410 376 #: build/lockee-block/index.js:1 9840 build/lockee-block/index.js:19460411 #: build/lockee-block/index.js:1 377 412 msgid "Valid codes" 378 413 msgstr "Codes valides" 379 414 380 #: build/lockee-block/index.js:1 9898 build/lockee-block/index.js:19525415 #: build/lockee-block/index.js:1 381 416 msgid "Lock selection" 382 417 msgstr "Sélection du cadenas" 383 418 384 #: build/lockee-block/index.js:1 9902 build/lockee-block/index.js:19526419 #: build/lockee-block/index.js:1 385 420 msgid "Filter by ID or title" 386 421 msgstr "Filtrer par ID ou titre" … … 396 431 msgstr "Bloc pour afficher un cadenas Lockee" 397 432 433 #~ msgid "" 434 #~ "Set default behaviors for all locks. These can be overridden per lock." 435 #~ msgstr "" 436 #~ "Définissez les comportements par défaut pour tous les cadenas. Ceux-ci " 437 #~ "peuvent être remplacés par serrure." 438 398 439 #~ msgid "Add Lockee locks to Wordpress." 399 440 #~ msgstr "Ajoute les cadenas Lockee à Wordpress." 400 441 401 #~ msgid "Migrate old locks"402 #~ msgstr "Migrer les anciens cadenas"403 404 442 #~ msgid "lockid" 405 443 #~ msgstr "ID" -
lockee/trunk/languages/lockee.pot
r3308202 r3308379 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Lockee 3.0. 2\n"5 "Project-Id-Version: Lockee 3.0.5\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/lockee\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2025-06-0 8T23:32:40+00:00\n"12 "POT-Creation-Date: 2025-06-09T09:36:14+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 17 17 #. Plugin Name of the plugin 18 18 #: lockee.php 19 #: inc/class-lockee-post-types.php: 8119 #: inc/class-lockee-post-types.php:78 20 20 msgid "Lockee" 21 21 msgstr "" … … 41 41 msgstr "" 42 42 43 #: inc/class-lockee-block.php: 4244 #: inc/class-lockee-block.php:4 745 #: inc/class-lockee-block.php:5 543 #: inc/class-lockee-block.php:39 44 #: inc/class-lockee-block.php:44 45 #: inc/class-lockee-block.php:52 46 46 msgid "Lock not found. Please check the block settings." 47 47 msgstr "" 48 48 49 #: inc/class-lockee-iframe.php:3 449 #: inc/class-lockee-iframe.php:30 50 50 msgid "Lock not found" 51 51 msgstr "" 52 52 53 #: inc/class-lockee-metabox.php: 3254 #: inc/class-lockee-post-types.php:8 353 #: inc/class-lockee-metabox.php:28 54 #: inc/class-lockee-post-types.php:80 55 55 msgid "Lock" 56 56 msgstr "" 57 57 58 #: inc/class-lockee-metabox.php: 4158 #: inc/class-lockee-metabox.php:37 59 59 msgid "Lock stats" 60 60 msgstr "" 61 61 62 #: inc/class-lockee-metabox.php:6 462 #: inc/class-lockee-metabox.php:60 63 63 msgid "Content to display when opening the padlock:" 64 64 msgstr "" 65 65 66 #: inc/class-lockee-metabox.php:6 766 #: inc/class-lockee-metabox.php:63 67 67 msgid "Shortcode to integrate this lock into an article or page:" 68 68 msgstr "" 69 69 70 #: inc/class-lockee-metabox.php: 7070 #: inc/class-lockee-metabox.php:66 71 71 msgid "Iframe code to integrate this lock into an external page:" 72 72 msgstr "" 73 73 74 #: inc/class-lockee-metabox.php:129 75 msgid "Attempts:" 76 msgstr "" 77 78 #: inc/class-lockee-metabox.php:130 79 msgid "Openings:" 80 msgstr "" 81 82 #: inc/class-lockee-metabox.php:131 83 msgid "Success:" 84 msgstr "" 85 74 86 #: inc/class-lockee-metabox.php:133 75 msgid "Attempts:"76 msgstr ""77 78 #: inc/class-lockee-metabox.php:13479 msgid "Openings:"80 msgstr ""81 82 #: inc/class-lockee-metabox.php:13583 msgid "Success:"84 msgstr ""85 86 #: inc/class-lockee-metabox.php:13787 87 msgid "Reset statistics" 88 88 msgstr "" 89 89 90 #: inc/class-lockee-metabox.php:14 590 #: inc/class-lockee-metabox.php:141 91 91 msgid "Do you really want to reset the statistics?" 92 92 msgstr "" 93 93 94 #: inc/class-lockee-migration.php: 9794 #: inc/class-lockee-migration.php:88 95 95 msgid "Migrating locks..." 96 96 msgstr "" 97 97 98 #: inc/class-lockee-migration.php: 9898 #: inc/class-lockee-migration.php:89 99 99 msgid "An error occurred during migration." 100 100 msgstr "" 101 101 102 #: inc/class-lockee-migration.php:9 9102 #: inc/class-lockee-migration.php:90 103 103 msgid "Migration completed successfully!" 104 104 msgstr "" 105 105 106 #: inc/class-lockee-migration.php:1 34107 #: inc/class-lockee-migration.php:2 52106 #: inc/class-lockee-migration.php:125 107 #: inc/class-lockee-migration.php:243 108 108 msgid "Permission denied." 109 109 msgstr "" 110 110 111 #: inc/class-lockee-migration.php:1 50112 #: inc/class-lockee-migration.php:18 9111 #: inc/class-lockee-migration.php:141 112 #: inc/class-lockee-migration.php:180 113 113 msgid "Migration completed successfully." 114 114 msgstr "" 115 115 116 #: inc/class-lockee-migration.php:1 58116 #: inc/class-lockee-migration.php:149 117 117 msgid "Migration not started yet." 118 118 msgstr "" 119 119 120 #: inc/class-lockee-migration.php:1 65121 #: inc/class-lockee-migration.php:1 93120 #: inc/class-lockee-migration.php:156 121 #: inc/class-lockee-migration.php:184 122 122 msgid "Migration in progress..." 123 123 msgstr "" 124 124 125 #: inc/class-lockee-migration.php:1 84125 #: inc/class-lockee-migration.php:175 126 126 msgid "Starting migration..." 127 127 msgstr "" 128 128 129 #: inc/class-lockee-migration.php:1 85129 #: inc/class-lockee-migration.php:176 130 130 #, php-format 131 131 msgid "Step 1 - Converting old locks (%d/%d)" 132 132 msgstr "" 133 133 134 #: inc/class-lockee-migration.php:1 86134 #: inc/class-lockee-migration.php:177 135 135 msgid "Migration of old lock completed successfully." 136 136 msgstr "" 137 137 138 #: inc/class-lockee-migration.php:1 87138 #: inc/class-lockee-migration.php:178 139 139 #, php-format 140 140 msgid "Step 2 - Updating old shortcodes (%d/%d)" 141 141 msgstr "" 142 142 143 #: inc/class-lockee-migration.php:1 88143 #: inc/class-lockee-migration.php:179 144 144 msgid "Migration of old shortcodes completed successfully." 145 145 msgstr "" 146 146 147 #: inc/class-lockee-migration.php:2 47147 #: inc/class-lockee-migration.php:238 148 148 msgid "Unauthorized action." 149 149 msgstr "" 150 150 151 #: inc/class-lockee-migration.php:2 57151 #: inc/class-lockee-migration.php:248 152 152 msgid "A migration is already in progress. Please wait." 153 153 msgstr "" 154 154 155 #: inc/class-lockee-migration.php:2 65155 #: inc/class-lockee-migration.php:256 156 156 msgid "No migration needed." 157 157 msgstr "" 158 158 159 #: inc/class-lockee-migration.php: 300159 #: inc/class-lockee-migration.php:295 160 160 msgid "Lockee plugin: Migration of old locks required." 161 161 msgstr "" 162 162 163 #: inc/class-lockee-migration.php:296 164 msgid "You must migrate your old locks to ensure compatibility with the new version of Lockee plugin." 165 msgstr "" 166 163 167 #: inc/class-lockee-migration.php:301 164 msgid "You must migrate your old locks to ensure compatibility with the new version of Lockee plugin."165 msgstr ""166 167 #: inc/class-lockee-migration.php:306168 168 msgid "Migrate now" 169 169 msgstr "" 170 170 171 #: inc/class-lockee-post-types.php:79 172 #: inc/class-lockee-post-types.php:81 173 msgid "Locks" 174 msgstr "" 175 171 176 #: inc/class-lockee-post-types.php:82 177 msgid "Create new" 178 msgstr "" 179 180 #: inc/class-lockee-post-types.php:83 181 msgid "Create a new lock" 182 msgstr "" 183 172 184 #: inc/class-lockee-post-types.php:84 173 msgid " Locks"185 msgid "Edit" 174 186 msgstr "" 175 187 176 188 #: inc/class-lockee-post-types.php:85 177 msgid " Create new"189 msgid "Edit the lock" 178 190 msgstr "" 179 191 180 192 #: inc/class-lockee-post-types.php:86 181 msgid " Create a new lock"193 msgid "New lock" 182 194 msgstr "" 183 195 184 196 #: inc/class-lockee-post-types.php:87 185 msgid "Edit"186 msgstr ""187 188 197 #: inc/class-lockee-post-types.php:88 189 msgid " Edit thelock"198 msgid "View lock" 190 199 msgstr "" 191 200 192 201 #: inc/class-lockee-post-types.php:89 193 msgid " Newlock"202 msgid "Search a lock" 194 203 msgstr "" 195 204 196 205 #: inc/class-lockee-post-types.php:90 206 msgid "No lock found" 207 msgstr "" 208 197 209 #: inc/class-lockee-post-types.php:91 198 msgid " View lock"210 msgid "No lock found in trash" 199 211 msgstr "" 200 212 201 213 #: inc/class-lockee-post-types.php:92 202 msgid "Search a lock"203 msgstr ""204 205 #: inc/class-lockee-post-types.php:93206 msgid "No lock found"207 msgstr ""208 209 #: inc/class-lockee-post-types.php:94210 msgid "No lock found in trash"211 msgstr ""212 213 #: inc/class-lockee-post-types.php:95214 214 msgid "Parent of lock" 215 215 msgstr "" 216 216 217 #: inc/class-lockee-post-types.php:2 71217 #: inc/class-lockee-post-types.php:268 218 218 msgid "Id" 219 219 msgstr "" 220 220 221 #: inc/class-lockee-post-types.php:27 3221 #: inc/class-lockee-post-types.php:270 222 222 msgid "Attempts" 223 223 msgstr "" 224 224 225 #: inc/class-lockee-post-types.php:27 5225 #: inc/class-lockee-post-types.php:272 226 226 msgid "Openings" 227 227 msgstr "" 228 228 229 #: inc/class-lockee-post-types.php:27 7230 #: inc/class-lockee-settings.php:2 37229 #: inc/class-lockee-post-types.php:274 230 #: inc/class-lockee-settings.php:277 231 231 msgid "Success" 232 232 msgstr "" 233 233 234 #: inc/class-lockee-post-types.php:29 6234 #: inc/class-lockee-post-types.php:293 235 235 msgid "Sorry, you are not allowed to access this endpoint." 236 236 msgstr "" 237 237 238 #: inc/class-lockee-settings.php:52 239 msgid "Lockee Configuration" 240 msgstr "" 241 238 242 #: inc/class-lockee-settings.php:53 239 msgid "Lockee Configuration"240 msgstr ""241 242 #: inc/class-lockee-settings.php:54243 243 msgid "Settings" 244 244 msgstr "" 245 245 246 #: inc/class-lockee-settings.php:8 4246 #: inc/class-lockee-settings.php:85 247 247 msgid "Global settings" 248 248 msgstr "" 249 249 250 #: inc/class-lockee-settings.php:9 1250 #: inc/class-lockee-settings.php:92 251 251 msgid "Theme" 252 252 msgstr "" 253 253 254 #: inc/class-lockee-settings.php:10 3254 #: inc/class-lockee-settings.php:104 255 255 msgid "Transparent background" 256 256 msgstr "" 257 257 258 #: inc/class-lockee-settings.php:11 5258 #: inc/class-lockee-settings.php:116 259 259 msgid "Theme colors" 260 260 msgstr "" 261 261 262 #: inc/class-lockee-settings.php:167 262 #: inc/class-lockee-settings.php:124 263 msgid "Confetti animation" 264 msgstr "" 265 266 #: inc/class-lockee-settings.php:135 267 msgid "Playing sounds" 268 msgstr "" 269 270 #: inc/class-lockee-settings.php:146 271 msgid "Backspace button" 272 msgstr "" 273 274 #: inc/class-lockee-settings.php:207 263 275 msgid "Make the background transparent behind the locks." 264 276 msgstr "" 265 277 266 #: inc/class-lockee-settings.php: 178278 #: inc/class-lockee-settings.php:218 267 279 msgid "Configure the general settings of the Lockee extension." 268 280 msgstr "" 269 281 270 #: inc/class-lockee-settings.php: 193282 #: inc/class-lockee-settings.php:233 271 283 msgid "System" 272 284 msgstr "" 273 285 274 #: inc/class-lockee-settings.php: 196286 #: inc/class-lockee-settings.php:236 275 287 msgid "Light" 276 288 msgstr "" 277 289 278 #: inc/class-lockee-settings.php: 199290 #: inc/class-lockee-settings.php:239 279 291 msgid "Dark" 280 292 msgstr "" 281 293 282 #: inc/class-lockee-settings.php:2 03294 #: inc/class-lockee-settings.php:243 283 295 msgid "Choose the Lockee lock display theme." 284 296 msgstr "" 285 297 286 #: inc/class-lockee-settings.php:2 14298 #: inc/class-lockee-settings.php:254 287 299 msgid "Customize the colors of the Lockee theme for light and dark modes. Leave blank to use the default colors." 288 300 msgstr "" 289 301 290 #: inc/class-lockee-settings.php:2 28302 #: inc/class-lockee-settings.php:268 291 303 msgid "Light theme" 292 304 msgstr "" 293 305 294 #: inc/class-lockee-settings.php:2 29306 #: inc/class-lockee-settings.php:269 295 307 msgid "Dark theme" 296 308 msgstr "" 297 309 298 #: inc/class-lockee-settings.php:2 33310 #: inc/class-lockee-settings.php:273 299 311 msgid "Primary" 300 312 msgstr "" 301 313 302 #: inc/class-lockee-settings.php:2 34314 #: inc/class-lockee-settings.php:274 303 315 msgid "Accent" 304 316 msgstr "" 305 317 306 #: inc/class-lockee-settings.php:2 35318 #: inc/class-lockee-settings.php:275 307 319 msgid "Error" 308 320 msgstr "" 309 321 310 #: inc/class-lockee-settings.php:2 36322 #: inc/class-lockee-settings.php:276 311 323 msgid "Warning" 312 324 msgstr "" 313 325 314 #: inc/class-lockee-settings.php:2 38326 #: inc/class-lockee-settings.php:278 315 327 msgid "Background" 316 328 msgstr "" 317 329 318 #: inc/class-lockee-settings.php:2 39330 #: inc/class-lockee-settings.php:279 319 331 msgid "Border" 320 332 msgstr "" 321 333 322 #: inc/class-lockee-settings.php:2 66334 #: inc/class-lockee-settings.php:299 323 335 msgid "Reset to default colors" 324 336 msgstr "" 325 337 326 #: inc/class-lockee-settings.php: 281338 #: inc/class-lockee-settings.php:314 327 339 msgid "Settings saved." 328 340 msgstr "" 329 341 330 #: inc/class-lockee-settings.php: 291342 #: inc/class-lockee-settings.php:324 331 343 msgid "Save changes" 332 344 msgstr "" 333 345 334 #: inc/class-lockee-settings.php:307 346 #: inc/class-lockee-settings.php:338 347 msgid "Show confetti animation when user open the lock." 348 msgstr "" 349 350 #: inc/class-lockee-settings.php:348 351 msgid "Play sound when user test a combinaison." 352 msgstr "" 353 354 #: inc/class-lockee-settings.php:358 355 msgid "Show a button to erase the last entered character." 356 msgstr "" 357 358 #: inc/class-lockee-settings.php:373 359 msgid "Use per lock setting" 360 msgstr "" 361 362 #: inc/class-lockee-settings.php:376 363 msgid "Disable for all locks" 364 msgstr "" 365 366 #: inc/class-lockee-settings.php:379 367 msgid "Enable for all locks" 368 msgstr "" 369 370 #: inc/class-lockee-settings.php:394 335 371 msgid "Lockee rewrite rules have been regenerated." 336 372 msgstr "" 337 373 338 #: inc/class-lockee-settings.php: 316374 #: inc/class-lockee-settings.php:403 339 375 msgid "Other settings" 340 376 msgstr "" 341 377 342 #: inc/class-lockee-settings.php: 321378 #: inc/class-lockee-settings.php:408 343 379 msgid "Regenerate Lockee URLs" 344 380 msgstr "" 345 381 346 #: inc/class-lockee-settings.php: 324382 #: inc/class-lockee-settings.php:411 347 383 msgid "Use this only if the lock URLs are not working." 348 384 msgstr "" 349 385 350 #: inc/class-lockee-shortcode.php:2 5351 #: inc/class-lockee-shortcode.php:3 3386 #: inc/class-lockee-shortcode.php:22 387 #: inc/class-lockee-shortcode.php:30 352 388 msgid "Lock not found. Please check the shortcode used." 353 389 msgstr "" 354 390 355 #: build/lockee-block/index.js:19726 356 #: build/lockee-block/index.js:19357 391 #: build/lockee-block/index.js:1 357 392 msgid "No result" 358 393 msgstr "" 359 394 360 #: build/lockee-block/index.js:19733 361 #: build/lockee-block/index.js:19749 362 #: build/lockee-block/index.js:19362 363 #: build/lockee-block/index.js:19376 395 #: build/lockee-block/index.js:1 364 396 msgid "Select a lock" 365 397 msgstr "" 366 398 367 #: build/lockee-block/index.js:19745 368 #: build/lockee-block/index.js:19808 369 #: build/lockee-block/index.js:19371 370 #: build/lockee-block/index.js:19431 399 #: build/lockee-block/index.js:1 371 400 msgid "Loading..." 372 401 msgstr "" 373 402 374 #: build/lockee-block/index.js:19792 375 #: build/lockee-block/index.js:19411 403 #: build/lockee-block/index.js:1 376 404 msgid "Select a lock in the block settings." 377 405 msgstr "" 378 406 379 #: build/lockee-block/index.js:19840 380 #: build/lockee-block/index.js:19460 407 #: build/lockee-block/index.js:1 381 408 msgid "Valid codes" 382 409 msgstr "" 383 410 384 #: build/lockee-block/index.js:19898 385 #: build/lockee-block/index.js:19525 411 #: build/lockee-block/index.js:1 386 412 msgid "Lock selection" 387 413 msgstr "" 388 414 389 #: build/lockee-block/index.js:19902 390 #: build/lockee-block/index.js:19526 415 #: build/lockee-block/index.js:1 391 416 msgid "Filter by ID or title" 392 417 msgstr "" -
lockee/trunk/lockee.php
r3308343 r3308379 5 5 * Plugin URI: https://wordpress.lockee.fr/ 6 6 * Description: Add Lockee locks to Wordpress. A self-hosted, standalone solution without external dependencies. 7 * Version: 3.0. 47 * Version: 3.0.5 8 8 * Author: Nicolas Desmarets 9 9 * Author URI: https://ndev.fr/ … … 18 18 } 19 19 20 define('LOCKEE_VERSION', '3.0. 4');20 define('LOCKEE_VERSION', '3.0.5'); 21 21 22 22 require_once plugin_dir_path(__FILE__) . 'inc/class-lockee-singleton.php'; -
lockee/trunk/readme.txt
r3308347 r3308379 5 5 Requires at least: 5.3 6 6 Tested up to: 6.8.1 7 Stable tag: 3.0. 47 Stable tag: 3.0.5 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 13 13 14 14 == Changelog == 15 16 = 3.0.5 = 17 - Change the icon in the admin panel to the Lockee logo. 18 - Add new global settings for locks : confetti, sound and backspace button. 15 19 16 20 = 3.0.4 =
Note: See TracChangeset
for help on using the changeset viewer.