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