• Resolved Alex Lion (阿力獅)

    (@alexclassroom)


    Hi,

    I find several UI strings can be localized but they are not ready in the current version (20220115).

    I list them as the following (modified codes)

    support-panel.php
    Line 111
    <p><strong><?php _e('Please Donate', 'show-support-ribbon'); ?></strong></p>

    Line 114
    <li><a target="_blank" rel="noopener noreferrer" href="https://monzillamedia.com/donate.html"><?php _e('Make a donation&nbsp;&raquo;', 'show-support-ribbon'); ?></a></li>

    show-support-ribbon.php
    Line 263
    'label' => __('Badge', 'show-support-ribbon')

    Line 267
    'label' => __('Banner', 'show-support-ribbon')

    Line 271
    'label' => __('Ribbon', 'show-support-ribbon')

    Line 275
    'label' => __('Link', 'show-support-ribbon')

    Line 279
    'label' => __('Custom', 'show-support-ribbon')

    Line 526 to 529

    <li><?php _e('<strong>Location</strong> &mdash; For the <code><div></code>, use <code>position:fixed;</code> and then specify the location with something like <code>right:0; bottom:5px;</code>.', 'show-support-ribbon'); ?></li>
    <li><?php _e('<strong>Structural styles</strong> &mdash; Apply structural styles such as <code>margin</code>, <code>width</code>, and <code>height</code> to the <em>block-level</em> element, <code><div></code>.', 'show-support-ribbon'); ?></li>
    <li><?php _e('<strong>Aesthetic styles</strong> &mdash; Apply aesthetic styles such as <code>padding</code>, <code>color</code>, and <code>font-family</code> to the <em>inline-level</em> element, <code><a></code>.', 'show-support-ribbon'); ?></li>
    <li><?php _e('<strong>Recipes</strong> &mdash; Using the recipes below as Custom CSS, you can change the position, size, and color of the ribbon. And much more if you get creative ;)', 'show-support-ribbon'); ?></li>

    Line 532
    <div class="mm-example-heading"><?php _e('<strong>Badge</strong> <code><div></code>', 'show-support-ribbon'); ?></div>

    Line 534 to 537

    <li><?php _e('Display top left: <code>position:fixed; left:5px; top:5px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>
    <li><?php _e('Display top right: <code>position:fixed; right:5px; top:5px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>
    <li><?php _e('Display bottom left: <code>position:fixed; left:5px; bottom:5px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>
    <li><?php _e('Display bottom right: <code>position:fixed; right:5px; bottom:5px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>

    Line 539
    <div class="mm-example-heading"><?php _e('<strong>Badge</strong> <code><a></code>', 'show-support-ribbon'); ?></div>

    Line 544
    <div class="mm-example-heading"><?php _e('<strong>Banner</strong> <code><div></code>', 'show-support-ribbon'); ?></div>

    Line 546 to 549

    <li><?php _e('Display top left: <code>position:fixed; left:-2px; top:5px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>
    <li><?php _e('Display top right: <code>position:fixed; right:-2px; top:5px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>
    <li><?php _e('Display bottom left: <code>position:fixed; left:-2px; bottom:5px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>
    <li><?php _e('Display bottom right: <code>position:fixed; right:-2px; bottom:5px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>

    Line 551
    <div class="mm-example-heading"><?php _e('<strong>Banner</strong> <code><a></code>', 'show-support-ribbon'); ?></div>

    Line 556
    <div class="mm-example-heading"><?php _e('<strong>Ribbon</strong> <code><div></code>', 'show-support-ribbon'); ?></div>

    Line 558 to 561

    <li><?php _e('Display top left: <code>position:fixed; left:-60px; top:20px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>
    <li><?php _e('Display top right: <code>position:fixed; right:-60px; top:20px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>
    <li><?php _e('Display bottom left: <code>position:fixed; left:-60px; bottom:20px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>
    <li><?php _e('Display bottom right: <code>position:fixed; right:-60px; bottom:20px; z-index:9999;</code>', 'show-support-ribbon'); ?></li>

    Line 563
    <div class="mm-example-heading"><?php _e('<strong>Ribbon</strong> <code><a></code> (top left)', 'show-support-ribbon'); ?></div>

    Line 567
    <div class="mm-example-heading"><?php _e('<strong>Ribbon</strong> <code><a></code> (top right)', 'show-support-ribbon'); ?></div>

    Line 571
    <div class="mm-example-heading"><?php _e('<strong>Ribbon</strong> <code><a></code> (bottom left)', 'show-support-ribbon'); ?></div>

    Line 575
    <div class="mm-example-heading"><?php _e('<strong>Ribbon</strong> <code><a></code> (bottom right)', 'show-support-ribbon'); ?></div>

    Line 579
    <div class="mm-example-heading"><?php _e('Note: to add a drop shadow, add the following CSS to the <code><a></code> tag', 'show-support-ribbon'); ?></div>

    Line 581
    <div class="mm-example-heading"><?php _e('Note: to hide the ribbon on small screens, add the following CSS for the <code><div></code> tag', 'show-support-ribbon'); ?></div>

    Line 587
    <div class="mm-example-heading"><?php _e('<strong>Link</strong> <code><div></code>', 'show-support-ribbon'); ?></div>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Thanks for reporting, will get these fixed up in the next plugin update.

    Plugin Author Jeff Starr

    (@specialk)

    Just to follow up, this issue should be resolved in the next plugin update (due later today). I think I got ’em all, let me know if I missed anything. Thanks again, Alex.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I18N Issue’ is closed to new replies.