Add “No emoji found” to i18n [Close #52]
parent
c1bd9ea52c
commit
046d489d7f
|
@ -41,6 +41,7 @@ import { Picker } from 'emoji-mart'
|
|||
#### I18n
|
||||
```js
|
||||
search: 'Search',
|
||||
notfound: 'No emoji found',
|
||||
categories: {
|
||||
search: 'Search Results',
|
||||
recent: 'Frequently Used',
|
||||
|
|
|
@ -140,7 +140,7 @@ export default class Category extends React.Component {
|
|||
/>
|
||||
|
||||
<span className='emoji-mart-no-results-label'>
|
||||
No emoji found
|
||||
{i18n.notfound}
|
||||
</span>
|
||||
</div>
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@ const SEARCH_CATEGORY = { name: 'Search', emojis: null, anchor: false }
|
|||
|
||||
const I18N = {
|
||||
search: 'Search',
|
||||
notfound: 'No emoji found',
|
||||
categories: {
|
||||
search: 'Search Results',
|
||||
recent: 'Frequently Used',
|
||||
|
|
Loading…
Reference in New Issue