Making WordPress.org

Changeset 12488


Ignore:
Timestamp:
03/22/2023 02:48:45 PM (2 years ago)
Author:
amieiro
Message:

Translate: Fix typo and add the changesrequested status to existing translations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/inc/sync/class-translation-sync.php

    r12485 r12488  
    233233            'translation_set_id' => $new_translation_set->id,
    234234            'original_id'        => $new_original->id,
    235             'status'             => [ 'current', 'waiting', 'fuzzy' ],
     235            'status'             => [ 'current', 'waiting', 'fuzzy', 'changesrequested' ],
    236236        ] );
    237237
     
    253253                    $_existing_translation->set_as_current();
    254254
    255                 } elseif ( 'changesrequested' == $translation->status() ) {
     255                } elseif ( 'changesrequested' == $translation->status ) {
    256256                    $_existing_translation->set_as_changesrequested();
    257257
Note: See TracChangeset for help on using the changeset viewer.