• Resolved asterbird

    (@asterbird)


    Hi, I’m wondering if you can add REVISIONIZE_I18N_DOMAIN to the text:

    “WARNING: Publishing this revision will overwrite…”

    I would like to make it specific for the users I’m working with.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter asterbird

    (@asterbird)

    Hello,

    If you can change this line:

    <div><em><?php echo sprintf(__('WARNING: Publishing this revision will overwrite %s.'), get_parent_editlink($parent, __('its original')))?></em></div>

    to this:

    <div><em><?php echo sprintf(__('WARNING: Publishing this revision will overwrite %s.', REVISIONIZE_I18N_DOMAIN), get_parent_editlink($parent, __('its original', REVISIONIZE_I18N_DOMAIN)))?></em></div>

    then I think I’ll be all set.

    Thanks!

    • This reply was modified 5 years, 6 months ago by asterbird.
    Plugin Author jamiechong

    (@jamiechong)

    Yeah looks like a bug there – for not having those texts namespaced. Will take a look in the next day or two. thanks!

    Thread Starter asterbird

    (@asterbird)

    @jamiechong that would be wonderful if you can take a look at it and update it. Thanks!

    Plugin Author jamiechong

    (@jamiechong)

    Fixed in 2.3.1.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can we change the warning text?’ is closed to new replies.