Skip to content

Commit

Permalink
Add 'Search Gfycat' string translation
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Sep 21, 2018
1 parent 367764d commit cde6317
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/gif_picker/components/SearchBar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {changeOpacity, makeStyleFromTheme} from 'mattermost-redux/utils/theme_ut
import GifSearchIcon from 'components/svg/gif_search_icon';
import GifSearchClearIcon from 'components/svg/gif_search_clear_icon';

import {localizeMessage} from 'utils/utils.jsx';

import './SearchBar.scss';

function mapStateToProps(state) {
Expand Down Expand Up @@ -205,7 +207,7 @@ export class SearchBar extends Component {
className='search-input'
name='searchText'
autoFocus={true}
placeholder={'Search Gfycat'}
placeholder={localizeMessage('gif_picker.gfycat', 'Search Gfycat')}
onChange={this.handleChange}
autoComplete='off'
autoCapitalize='off'
Expand Down
1 change: 1 addition & 0 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1877,6 +1877,7 @@
"get_team_invite_link_modal.help": "Send teammates the link below for them to sign-up to this team site. The Team Invite Link can be shared with multiple teammates as it does not change unless it's regenerated in Team Settings by a Team Admin.",
"get_team_invite_link_modal.helpDisabled": "User creation has been disabled for your team. Please ask your Team Administrator for details.",
"get_team_invite_link_modal.title": "Team Invite Link",
"gif_picker.gfycat": "Search Gfycat",
"help.attaching.downloading": "#### Downloading Files\nDownload an attached file by clicking the download icon next to the file thumbnail or by opening the file previewer and clicking **Download**.",
"help.attaching.dragdrop": "#### Drag and Drop\nUpload a file or selection of files by dragging the files from your computer into the right-hand sidebar or center pane. Dragging and dropping attaches the files to the message input box, then you can optionally type a message and press **ENTER** to post.",
"help.attaching.icon": "#### Attachment Icon\nAlternatively, upload files by clicking the grey paperclip icon inside the message input box. This opens up your system file viewer where you can navigate to the desired files and then click **Open** to upload the files to the message input box. Optionally type a message and then press **ENTER** to post.",
Expand Down

0 comments on commit cde6317

Please sign in to comment.