Make WordPress Core


Ignore:
Timestamp:
05/11/2023 02:48:55 PM (17 months ago)
Author:
audrasjb
Message:

I18N: Replace "Roll back" with "Restore" in user facing strings.

The terms "roll back" and "rolled back" are used in user facing strings since [55720]. These termes are not that clear for novice users and may be difficult to translate in some locales. This changeset replaces "roll back" with "restore" and "rolled back" with "restored" or "not applied" depending of the context of the screen.

Follow-up to [55720].

Props kebbet, costdev, NekoJonez, audrasjb, SergeyBiryukov, davidbaumwald.
Fixes #58282.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-core-upgrader.php

    r53132 r55750  
    3535        $this->strings['copy_failed']           = __( 'Could not copy files.' );
    3636        $this->strings['copy_failed_space']     = __( 'Could not copy files. You may have run out of disk space.' );
    37         $this->strings['start_rollback']        = __( 'Attempting to roll back to previous version.' );
    38         $this->strings['rollback_was_required'] = __( 'Due to an error during updating, WordPress has rolled back to your previous version.' );
     37        $this->strings['start_rollback']        = __( 'Attempting to restore the previous version.' );
     38        $this->strings['rollback_was_required'] = __( 'Due to an error during updating, WordPress has been restored to your previous version.' );
    3939    }
    4040
Note: See TracChangeset for help on using the changeset viewer.