Plugin Directory

Changeset 3363228


Ignore:
Timestamp:
09/17/2025 01:07:09 PM (4 months ago)
Author:
fbracq
Message:

fix: resolve final WordPress plugin-check i18n warnings - v2.2.3 (Git: ccf9426)

Location:
secure-iframe-embed-for-genealorama/trunk
Files:
6 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • secure-iframe-embed-for-genealorama/trunk/genealorama.php

    r3361908 r3363228  
    33 * Plugin Name: Secure Iframe Embed for Genealorama
    44 * Description: Secure iframe integration to embed the Genealorama web application into WordPress sites with dedicated page templates and credential validation
    5  * Version: 2.1.7
     5 * Version: 2.2.3
    66 * Author: genealorama.com
    77 * License: GPL-2.0+
     
    6262        add_action('genealorama_daily_validation', array($this, 'perform_daily_validation'));
    6363    }
    64    
     64
    6565    /**
    6666     * Planifier la validation quotidienne des identifiants
     
    9494public function genealorama_shortcode($atts) {
    9595    if (!is_user_logged_in()) {
    96         return '<p>Please log in to access this feature.</p>';
     96        return '<p>' . esc_html__('Please log in to access this feature.', 'secure-iframe-embed-for-genealorama') . '</p>';
    9797    }
    9898
     
    120120    if (empty($partner_id) || empty($partner_secret)) {
    121121        if (current_user_can('manage_options')) {
    122             return '<p>Please configure the Genealorama partner information in the <a href="' .
    123                 admin_url('options-general.php?page=secure-iframe-embed-for-genealorama-settings') .
    124                 '">plugin settings</a>.</p>';
     122            return '<p>' . sprintf(
     123                /* translators: %1$s and %2$s are opening and closing link tags */
     124                esc_html__('Please configure the Genealorama partner information in the %1$splugin settings%2$s.', 'secure-iframe-embed-for-genealorama'),
     125                '<a href="' . admin_url('options-general.php?page=secure-iframe-embed-for-genealorama-settings') . '">',
     126                '</a>'
     127            ) . '</p>';
    125128        } else {
    126             return '<p>This feature is not yet configured. Please contact the site administrator.</p>';
     129            return '<p>' . esc_html__('This feature is not yet configured. Please contact the site administrator.', 'secure-iframe-embed-for-genealorama') . '</p>';
    127130        }
    128131    }
     
    164167        <?php if ($validation_status === 'invalid' && $is_admin): ?>
    165168        <div class="genealorama-auth-warning" style="background: #fff3cd; border: 1px solid #ffeeba; color: #856404; padding: 10px; margin-bottom: 10px; border-radius: 4px;">
    166             <strong>Warning:</strong> Genealorama credentials appear to be invalid.
    167             <a href="<?php echo esc_url($settings_url); ?>">Please update them</a>.
     169            <?php echo sprintf(
     170                /* translators: %1$s and %2$s are opening and closing strong tags, %3$s and %4$s are opening and closing link tags */
     171                esc_html__('%1$sWarning:%2$s Genealorama credentials appear to be invalid. %3$sPlease update them%4$s.', 'secure-iframe-embed-for-genealorama'),
     172                '<strong>',
     173                '</strong>',
     174                '<a href="' . esc_url($settings_url) . '">',
     175                '</a>'
     176            ); ?>
    168177        </div>
    169178        <?php endif; ?>
  • secure-iframe-embed-for-genealorama/trunk/readme.txt

    r3361908 r3363228  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 2.1.7
     6Stable tag: 2.2.3
    77Requires PHP: 7.4
    88License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.