mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Media: Change wording for media files which aren't attached.
The media library can contain files which aren't attached yet. When attaching a file you currently get "Media attachment reattached.", or the opposite "Media attachment detached.". That's redundant and can be inaccurate. It's also not easy to translate in some languages. This change generalizes the strings to refer to a "media file" instead. Props SergeyBiryukov, ocean90, netweb. Fixes #36089. git-svn-id: https://develop.svn.wordpress.org/trunk@36887 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -92,7 +92,7 @@ case 'edit' :
|
||||
if ( isset($_GET['message']) ) {
|
||||
switch ( $_GET['message'] ) {
|
||||
case 'updated' :
|
||||
$message = __('Media attachment updated.');
|
||||
$message = __('Media file updated.');
|
||||
$class = 'updated';
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user