Change the tooltip "Toggle visibility" to "Hide media" in web UI (#13199)
This commit is contained in:
		
							parent
							
								
									62c4e4cc22
								
							
						
					
					
						commit
						5e4b649655
					
				@ -10,7 +10,7 @@ import { autoPlayGif, cropImages, displayMedia, useBlurhash } from '../initial_s
 | 
				
			|||||||
import { decode } from 'blurhash';
 | 
					import { decode } from 'blurhash';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const messages = defineMessages({
 | 
					const messages = defineMessages({
 | 
				
			||||||
  toggle_visible: { id: 'media_gallery.toggle_visible', defaultMessage: 'Toggle visibility' },
 | 
					  toggle_visible: { id: 'media_gallery.toggle_visible', defaultMessage: 'Hide media' },
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Item extends React.PureComponent {
 | 
					class Item extends React.PureComponent {
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Зареждане...",
 | 
					  "loading_indicator.label": "Зареждане...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -217,7 +217,7 @@
 | 
				
			|||||||
  {
 | 
					  {
 | 
				
			||||||
    "descriptors": [
 | 
					    "descriptors": [
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        "defaultMessage": "Toggle visibility",
 | 
					        "defaultMessage": "Hide media",
 | 
				
			||||||
        "id": "media_gallery.toggle_visible"
 | 
					        "id": "media_gallery.toggle_visible"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "लोड हो रहा है...",
 | 
					  "loading_indicator.label": "लोड हो रहा है...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "नहीं मिला",
 | 
					  "missing_indicator.label": "नहीं मिला",
 | 
				
			||||||
  "missing_indicator.sublabel": "यह संसाधन नहीं मिल सका।",
 | 
					  "missing_indicator.sublabel": "यह संसाधन नहीं मिल सका।",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
@ -254,7 +254,7 @@
 | 
				
			|||||||
  "lists.subheading": "Your lists",
 | 
					  "lists.subheading": "Your lists",
 | 
				
			||||||
  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
					  "load_pending": "{count, plural, one {# new item} other {# new items}}",
 | 
				
			||||||
  "loading_indicator.label": "Loading...",
 | 
					  "loading_indicator.label": "Loading...",
 | 
				
			||||||
  "media_gallery.toggle_visible": "Toggle visibility",
 | 
					  "media_gallery.toggle_visible": "Hide media",
 | 
				
			||||||
  "missing_indicator.label": "Not found",
 | 
					  "missing_indicator.label": "Not found",
 | 
				
			||||||
  "missing_indicator.sublabel": "This resource could not be found",
 | 
					  "missing_indicator.sublabel": "This resource could not be found",
 | 
				
			||||||
  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
					  "mute_modal.hide_notifications": "Hide notifications from this user?",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user