[Glitch] Change wording from “Hide media” to “Hide image/images” in Web UI
Port 40d81620b0
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
parent
44ea965557
commit
0b01492276
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ const messages = defineMessages({
|
||||||
id: 'status.sensitive_toggle',
|
id: 'status.sensitive_toggle',
|
||||||
},
|
},
|
||||||
toggle_visible: {
|
toggle_visible: {
|
||||||
defaultMessage: 'Hide media',
|
defaultMessage: 'Hide {number, plural, one {image} other {images}}',
|
||||||
id: 'media_gallery.toggle_visible',
|
id: 'media_gallery.toggle_visible',
|
||||||
},
|
},
|
||||||
warning: {
|
warning: {
|
||||||
|
@ -368,7 +368,7 @@ class MediaGallery extends React.PureComponent {
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
} else if (visible) {
|
} else if (visible) {
|
||||||
spoilerButton = <IconButton title={intl.formatMessage(messages.toggle_visible)} icon='eye-slash' overlay onClick={this.handleOpen} />;
|
spoilerButton = <IconButton title={intl.formatMessage(messages.toggle_visible, { number: size })} icon='eye-slash' overlay onClick={this.handleOpen} />;
|
||||||
} else {
|
} else {
|
||||||
spoilerButton = (
|
spoilerButton = (
|
||||||
<button type='button' onClick={this.handleOpen} className='spoiler-button__overlay'>
|
<button type='button' onClick={this.handleOpen} className='spoiler-button__overlay'>
|
||||||
|
|
Loading…
Reference in a new issue