MDL-70316 core: Update the emoji categories in the emoji picker

This commit is contained in:
Mihail Geshoski 2021-01-06 12:04:34 +08:00
parent adb66d4b03
commit db758db533
3 changed files with 15 additions and 5 deletions

View file

@ -226,8 +226,9 @@ class icon_system_fontawesome extends icon_system_font {
'core:i/emojicategoryflags' => 'fa-flag',
'core:i/emojicategoryfooddrink' => 'fa-cutlery',
'core:i/emojicategoryobjects' => 'fa-lightbulb-o',
'core:i/emojicategorypeoplebody' => 'fa-male',
'core:i/emojicategoryrecent' => 'fa-clock-o',
'core:i/emojicategorysmileyspeople' => 'fa-smile-o',
'core:i/emojicategorysmileysemotion' => 'fa-smile-o',
'core:i/emojicategorysymbols' => 'fa-heart',
'core:i/emojicategorytravelplaces' => 'fa-plane',
'core:i/edit' => 'fa-pencil',

View file

@ -49,10 +49,18 @@
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="Smileys & People"
title="{{#str}} emojicategorysmileyspeople, core {{/str}}"
data-category="Smileys & Emotion"
title="{{#str}} emojicategorysmileysemotion, core {{/str}}"
>
{{#pix}} i/emojicategorysmileyspeople, core {{/pix}}
{{#pix}} i/emojicategorysmileysemotion, core {{/pix}}
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"
data-action="show-category"
data-category="People & Body"
title="{{#str}} emojicategorypeoplebody, core {{/str}}"
>
{{#pix}} i/emojicategorypeoplebody, core {{/pix}}
</button>
<button
class="btn btn-outline-secondary icon-no-margin category-button"