From 91616004fe52805f9602aa444549486e4ef17839 Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Mon, 14 Mar 2022 05:45:22 +0100
Subject: [PATCH] Fix not being able to upload GIF emojis in admin UI (#17759)

---
 app/views/admin/custom_emojis/new.html.haml | 2 +-
 config/locales/ar.yml                       | 1 -
 config/locales/bn.yml                       | 1 -
 config/locales/ca.yml                       | 1 -
 config/locales/co.yml                       | 1 -
 config/locales/cs.yml                       | 1 -
 config/locales/cy.yml                       | 1 -
 config/locales/da.yml                       | 1 -
 config/locales/de.yml                       | 1 -
 config/locales/el.yml                       | 1 -
 config/locales/en.yml                       | 2 +-
 config/locales/en_GB.yml                    | 1 -
 config/locales/eo.yml                       | 1 -
 config/locales/es-AR.yml                    | 1 -
 config/locales/es-MX.yml                    | 1 -
 config/locales/es.yml                       | 1 -
 config/locales/et.yml                       | 1 -
 config/locales/eu.yml                       | 1 -
 config/locales/fa.yml                       | 1 -
 config/locales/fi.yml                       | 1 -
 config/locales/fr.yml                       | 1 -
 config/locales/gd.yml                       | 1 -
 config/locales/gl.yml                       | 1 -
 config/locales/hu.yml                       | 1 -
 config/locales/hy.yml                       | 1 -
 config/locales/id.yml                       | 1 -
 config/locales/is.yml                       | 1 -
 config/locales/it.yml                       | 1 -
 config/locales/ja.yml                       | 1 -
 config/locales/ka.yml                       | 1 -
 config/locales/kab.yml                      | 1 -
 config/locales/kk.yml                       | 1 -
 config/locales/kmr.yml                      | 1 -
 config/locales/ko.yml                       | 1 -
 config/locales/ku.yml                       | 1 -
 config/locales/lt.yml                       | 1 -
 config/locales/lv.yml                       | 1 -
 config/locales/ms.yml                       | 1 -
 config/locales/nl.yml                       | 1 -
 config/locales/nn.yml                       | 1 -
 config/locales/no.yml                       | 1 -
 config/locales/oc.yml                       | 1 -
 config/locales/pl.yml                       | 1 -
 config/locales/pt-BR.yml                    | 1 -
 config/locales/pt-PT.yml                    | 1 -
 config/locales/ru.yml                       | 1 -
 config/locales/sc.yml                       | 1 -
 config/locales/sk.yml                       | 1 -
 config/locales/sl.yml                       | 1 -
 config/locales/sq.yml                       | 1 -
 config/locales/sr-Latn.yml                  | 1 -
 config/locales/sr.yml                       | 1 -
 config/locales/sv.yml                       | 1 -
 config/locales/th.yml                       | 1 -
 config/locales/tr.yml                       | 1 -
 config/locales/uk.yml                       | 1 -
 config/locales/vi.yml                       | 1 -
 config/locales/zh-CN.yml                    | 1 -
 config/locales/zh-HK.yml                    | 1 -
 config/locales/zh-TW.yml                    | 1 -
 60 files changed, 2 insertions(+), 60 deletions(-)

diff --git a/app/views/admin/custom_emojis/new.html.haml b/app/views/admin/custom_emojis/new.html.haml
index e15a07cb81..95996dec86 100644
--- a/app/views/admin/custom_emojis/new.html.haml
+++ b/app/views/admin/custom_emojis/new.html.haml
@@ -7,7 +7,7 @@
   .fields-group
     = f.input :shortcode, wrapper: :with_label, label: t('admin.custom_emojis.shortcode'), hint: t('admin.custom_emojis.shortcode_hint')
   .fields-group
-    = f.input :image, wrapper: :with_label, input_html: { accept: 'image/png' }, hint: t('admin.custom_emojis.image_hint')
+    = f.input :image, wrapper: :with_label, input_html: { accept: CustomEmoji::IMAGE_MIME_TYPES.join(' ') }, hint: t('admin.custom_emojis.image_hint', size: number_to_human_size(CustomEmoji::LIMIT))
 
   .actions
     = f.button :button, t('admin.custom_emojis.upload'), type: :submit
diff --git a/config/locales/ar.yml b/config/locales/ar.yml
index b177c8cac0..403780ba91 100644
--- a/config/locales/ar.yml
+++ b/config/locales/ar.yml
@@ -376,7 +376,6 @@ ar:
       enable: تفعيل
       enabled: مُشغَّل
       enabled_msg: تم تنشيط ذاك الإيموجي بنجاح
-      image_hint: ملف PNG إلى غاية حجم 50 ك.ب
       list: القائمة
       listed: مُدرَج
       new:
diff --git a/config/locales/bn.yml b/config/locales/bn.yml
index 75563b5ac7..20a99fd2fc 100644
--- a/config/locales/bn.yml
+++ b/config/locales/bn.yml
@@ -234,7 +234,6 @@ bn:
       enable: সক্রিয়
       enabled: সক্রিয়
       enabled_msg: সফলভাবে সেই ইমোজি সক্ষম করা হয়েছে
-      image_hint: ৫০কেবি অবধি পিএনজি
       list: তালিকা
       listed: তালিকাভুক্ত
       new:
diff --git a/config/locales/ca.yml b/config/locales/ca.yml
index 741d172b29..d870ed6329 100644
--- a/config/locales/ca.yml
+++ b/config/locales/ca.yml
@@ -373,7 +373,6 @@ ca:
       enable: Habilita
       enabled: Activat
       enabled_msg: S'ha habilitat amb èxit emoji
-      image_hint: PNG de fins a 50 KB
       list: Llista
       listed: Enumerat
       new:
diff --git a/config/locales/co.yml b/config/locales/co.yml
index 4de3f56cf9..c09f4c24e6 100644
--- a/config/locales/co.yml
+++ b/config/locales/co.yml
@@ -348,7 +348,6 @@ co:
       enable: Attivà
       enabled: Attivate
       enabled_msg: L’emoji hè stata attivata
-      image_hint: PNG di 50Ko o menu
       list: Listà
       listed: Listata
       new:
diff --git a/config/locales/cs.yml b/config/locales/cs.yml
index ee8ab2474d..8eda24b4fa 100644
--- a/config/locales/cs.yml
+++ b/config/locales/cs.yml
@@ -366,7 +366,6 @@ cs:
       enable: Povolit
       enabled: Povoleno
       enabled_msg: Emoji bylo úspěšně povoleno
-      image_hint: PNG až do 50 KB
       list: Uvést
       listed: Uvedeno
       new:
diff --git a/config/locales/cy.yml b/config/locales/cy.yml
index ad2e0a9366..15de9ac76c 100644
--- a/config/locales/cy.yml
+++ b/config/locales/cy.yml
@@ -278,7 +278,6 @@ cy:
       enable: Galluogi
       enabled: Wedi ei alluogi
       enabled_msg: Llwyddwyd i alluogi yr emoji hwnnw
-      image_hint: PNG hyd at 50KB
       list: Rhestr
       listed: Rhestredig
       new:
diff --git a/config/locales/da.yml b/config/locales/da.yml
index acf79160f9..5c790993c0 100644
--- a/config/locales/da.yml
+++ b/config/locales/da.yml
@@ -373,7 +373,6 @@ da:
       enable: Aktivér
       enabled: Aktiveret
       enabled_msg: Denne emoji er nu aktiv
-      image_hint: PNG op til 50 kB
       list: Oplist
       listed: Oplistet
       new:
diff --git a/config/locales/de.yml b/config/locales/de.yml
index 333a44851f..33df898011 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -373,7 +373,6 @@ de:
       enable: Aktivieren
       enabled: Aktiviert
       enabled_msg: Das Emoji wurde aktiviert
-      image_hint: PNG bis zu 50 kB
       list: Liste
       listed: Gelistet
       new:
diff --git a/config/locales/el.yml b/config/locales/el.yml
index 7bdeefc602..983b083f9f 100644
--- a/config/locales/el.yml
+++ b/config/locales/el.yml
@@ -306,7 +306,6 @@ el:
       enable: Ενεργοποίηση
       enabled: Ενεργοποιημένα
       enabled_msg: Επιτυχής ενεργοποίηση αυτού του emoji
-      image_hint: PNG έως 50KB
       list: Εμφάνιση
       listed: Αναφερθέντα
       new:
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 8f6100129c..cdc66bd68a 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -373,7 +373,7 @@ en:
       enable: Enable
       enabled: Enabled
       enabled_msg: Successfully enabled that emoji
-      image_hint: PNG up to 50KB
+      image_hint: PNG or GIF up to %{size}
       list: List
       listed: Listed
       new:
diff --git a/config/locales/en_GB.yml b/config/locales/en_GB.yml
index de74e0f611..a287810aa8 100644
--- a/config/locales/en_GB.yml
+++ b/config/locales/en_GB.yml
@@ -220,7 +220,6 @@ en_GB:
       emoji: Emoji
       enable: Enable
       enabled_msg: Successfully enabled that emoji
-      image_hint: PNG up to 50KB
       listed: Listed
       new:
         title: Add new custom emoji
diff --git a/config/locales/eo.yml b/config/locales/eo.yml
index c70641ca35..36da3c5fa6 100644
--- a/config/locales/eo.yml
+++ b/config/locales/eo.yml
@@ -308,7 +308,6 @@ eo:
       enable: Ebligi
       enabled: Ebligita
       enabled_msg: Tiu emoĝio estis sukcese ebligita
-      image_hint: PNG ĝis 50KB
       list: Listo
       listed: Listigita
       new:
diff --git a/config/locales/es-AR.yml b/config/locales/es-AR.yml
index b42798720c..34bed329a7 100644
--- a/config/locales/es-AR.yml
+++ b/config/locales/es-AR.yml
@@ -373,7 +373,6 @@ es-AR:
       enable: Habilitar
       enabled: Habilitado
       enabled_msg: Se habilitó ese emoji exitosamente
-      image_hint: PNG de hasta 50KB
       list: Listar
       listed: Listados
       new:
diff --git a/config/locales/es-MX.yml b/config/locales/es-MX.yml
index 4a3979cb40..0d3f5c118b 100644
--- a/config/locales/es-MX.yml
+++ b/config/locales/es-MX.yml
@@ -373,7 +373,6 @@ es-MX:
       enable: Habilitar
       enabled: Activado
       enabled_msg: Se habilitó con éxito ese emoji
-      image_hint: PNG de hasta 50KB
       list: Lista
       listed: Listados
       new:
diff --git a/config/locales/es.yml b/config/locales/es.yml
index d9336cbdc5..3d43a2e395 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -373,7 +373,6 @@ es:
       enable: Habilitar
       enabled: Activado
       enabled_msg: Se habilitó con éxito ese emoji
-      image_hint: PNG de hasta 50KB
       list: Lista
       listed: Listados
       new:
diff --git a/config/locales/et.yml b/config/locales/et.yml
index cea2d99ba3..ac84048850 100644
--- a/config/locales/et.yml
+++ b/config/locales/et.yml
@@ -258,7 +258,6 @@ et:
       enable: Luba
       enabled: Lubatud
       enabled_msg: Selle emotikoni lubamine õnnestus
-      image_hint: PNG kuni 50KB
       list: Loend
       listed: Nimekirjastatud
       new:
diff --git a/config/locales/eu.yml b/config/locales/eu.yml
index 3b0517c96e..5d51d0619c 100644
--- a/config/locales/eu.yml
+++ b/config/locales/eu.yml
@@ -362,7 +362,6 @@ eu:
       enable: Gaitu
       enabled: Gaituta
       enabled_msg: Emoji hori ongi gaitu da
-      image_hint: PNG gehienez 50KB
       list: Zerrendatu
       listed: Zerrendatua
       new:
diff --git a/config/locales/fa.yml b/config/locales/fa.yml
index 2d7be0a0de..674abccf49 100644
--- a/config/locales/fa.yml
+++ b/config/locales/fa.yml
@@ -360,7 +360,6 @@ fa:
       enable: به کار انداختن
       enabled: فعال
       enabled_msg: این شکلک با موفقیت فعال شد
-      image_hint: پروندهٔ PNG حداکثر 50KB
       list: فهرست
       listed: فهرست شده
       new:
diff --git a/config/locales/fi.yml b/config/locales/fi.yml
index 28f63cd743..fd017aaf23 100644
--- a/config/locales/fi.yml
+++ b/config/locales/fi.yml
@@ -373,7 +373,6 @@ fi:
       enable: Ota käyttöön
       enabled: Käytössä
       enabled_msg: Emojin käyttöönotto onnistui
-      image_hint: PNG enintään 50 kt
       list: Listaa
       listed: Listassa
       new:
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index 6e38130fe6..993c7d6925 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -373,7 +373,6 @@ fr:
       enable: Activer
       enabled: Activé
       enabled_msg: Émoji activé avec succès
-      image_hint: PNG de moins de 50 Ko
       list: Lister
       listed: Listé
       new:
diff --git a/config/locales/gd.yml b/config/locales/gd.yml
index f8a4527e2e..9f4a1b1b84 100644
--- a/config/locales/gd.yml
+++ b/config/locales/gd.yml
@@ -381,7 +381,6 @@ gd:
       enable: Cuir an comas
       enabled: Chaidh a chur an comas
       enabled_msg: Chaidh an t-Emoji sin a chur an comas
-      image_hint: PNG suas ri 50KB
       list: Liosta
       listed: Liostaichte
       new:
diff --git a/config/locales/gl.yml b/config/locales/gl.yml
index 59c2c1522f..b5c07a4802 100644
--- a/config/locales/gl.yml
+++ b/config/locales/gl.yml
@@ -373,7 +373,6 @@ gl:
       enable: Activar
       enabled: Activado
       enabled_msg: Activouse a emoticona de xeito correcto
-      image_hint: PNG de até 50KB
       list: Listar
       listed: Listado
       new:
diff --git a/config/locales/hu.yml b/config/locales/hu.yml
index 73ade428b4..ae3ce6f242 100644
--- a/config/locales/hu.yml
+++ b/config/locales/hu.yml
@@ -375,7 +375,6 @@ hu:
       enable: Engedélyezés
       enabled: Engedélyezve
       enabled_msg: Emodzsi sikeresen engedélyezve
-      image_hint: PNG (legfeljebb 50 kB-os)
       list: Felsorolás
       listed: Felsorolva
       new:
diff --git a/config/locales/hy.yml b/config/locales/hy.yml
index 86287e3db5..e7d8bd4147 100644
--- a/config/locales/hy.yml
+++ b/config/locales/hy.yml
@@ -295,7 +295,6 @@ hy:
       enable: Միացնել
       enabled: Միացուած
       enabled_msg: Յաջողութեամբ միացուեց էմոջին
-      image_hint: PNG մինչեւ 50KB
       list: Ցանկ
       listed: Ցուցակագրուած
       new:
diff --git a/config/locales/id.yml b/config/locales/id.yml
index 158f4d6b14..0192662940 100644
--- a/config/locales/id.yml
+++ b/config/locales/id.yml
@@ -367,7 +367,6 @@ id:
       enable: Aktifkan
       enabled: Diaktifkan
       enabled_msg: Emoji berhasil diaktifkan
-      image_hint: PNG hingga 50KB
       list: Daftar
       listed: Terdaftar
       new:
diff --git a/config/locales/is.yml b/config/locales/is.yml
index 4d50f866ab..e7087e05d2 100644
--- a/config/locales/is.yml
+++ b/config/locales/is.yml
@@ -373,7 +373,6 @@ is:
       enable: Virkja
       enabled: Virkt
       enabled_msg: Tókst að gera þetta tjáningartákn virkt
-      image_hint: PNG allt að 50KB
       list: Listi
       listed: Skráð
       new:
diff --git a/config/locales/it.yml b/config/locales/it.yml
index 5c82b52074..73428e900e 100644
--- a/config/locales/it.yml
+++ b/config/locales/it.yml
@@ -373,7 +373,6 @@ it:
       enable: Abilita
       enabled: Abilitato
       enabled_msg: Questa emoji è stata abilitata con successo
-      image_hint: PNG fino a 50 KB
       list: Includi nell'elenco
       listed: Elencato
       new:
diff --git a/config/locales/ja.yml b/config/locales/ja.yml
index 7f518b41ea..d3f6d15680 100644
--- a/config/locales/ja.yml
+++ b/config/locales/ja.yml
@@ -361,7 +361,6 @@ ja:
       enable: 有効化
       enabled: 有効
       enabled_msg: 絵文字を有効化しました
-      image_hint: 50KBまでのPNG画像を利用できます
       list: 表示
       listed: 表示
       new:
diff --git a/config/locales/ka.yml b/config/locales/ka.yml
index ab8ba6ec34..29b3715bcd 100644
--- a/config/locales/ka.yml
+++ b/config/locales/ka.yml
@@ -139,7 +139,6 @@ ka:
       emoji: ემოჯი
       enable: ჩართვა
       enabled_msg: წარმატებით ჩაირთო ეს ემოჯი
-      image_hint: PNG 50კბმდე
       listed: ჩამოთვლილი
       new:
         title: ახალი პერსონალიზირებული ემოჯის დამატება
diff --git a/config/locales/kab.yml b/config/locales/kab.yml
index d43a1c8c27..c9fe4dc475 100644
--- a/config/locales/kab.yml
+++ b/config/locales/kab.yml
@@ -292,7 +292,6 @@ kab:
       enable: Rmed
       enabled: Yermed
       enabled_msg: Imuji yermed mebla ugur
-      image_hint: PNG n ddaw n 50KT
       list: Umuγ
       new:
         title: Timerna n imuji udmawan amaynut
diff --git a/config/locales/kk.yml b/config/locales/kk.yml
index d72d10a5f6..9055b531f3 100644
--- a/config/locales/kk.yml
+++ b/config/locales/kk.yml
@@ -211,7 +211,6 @@ kk:
       enable: Қосу
       enabled: Қосылды
       enabled_msg: Эмодзи сәтті қосылды
-      image_hint: PNG 50KB
       list: Тізім
       listed: Тізілді
       new:
diff --git a/config/locales/kmr.yml b/config/locales/kmr.yml
index 8d90b1e424..a971c6775e 100644
--- a/config/locales/kmr.yml
+++ b/config/locales/kmr.yml
@@ -373,7 +373,6 @@ kmr:
       enable: Çalak bike
       enabled: Çalakkirî
       enabled_msg: Ev hestok bi serkeftî hate çalak kirin
-      image_hint: Mezinahiya pelê PNG heya 50Kb te
       list: Rêzok
       listed: Rêzokkirî
       new:
diff --git a/config/locales/ko.yml b/config/locales/ko.yml
index 889f8eed40..1e07332484 100644
--- a/config/locales/ko.yml
+++ b/config/locales/ko.yml
@@ -369,7 +369,6 @@ ko:
       enable: 활성화
       enabled: 활성됨
       enabled_msg: 성공적으로 활성화하였습니다
-      image_hint: 50KB 이하의 PNG
       list: 목록에 추가
       listed: 목록에 실림
       new:
diff --git a/config/locales/ku.yml b/config/locales/ku.yml
index cf0fdbf8bc..1f8a910314 100644
--- a/config/locales/ku.yml
+++ b/config/locales/ku.yml
@@ -285,7 +285,6 @@ ku:
       enable: چالاککردن
       enabled: چالاککراوە
       enabled_msg: ئەو ئیمۆجییە بە سەرکەوتووانە چالاک کرا
-      image_hint: PNG تا ٥٠کیلۆبایت
       list: پێرست
       listed: پێرستکراوە
       new:
diff --git a/config/locales/lt.yml b/config/locales/lt.yml
index d866fb52ef..5544fbc4db 100644
--- a/config/locales/lt.yml
+++ b/config/locales/lt.yml
@@ -151,7 +151,6 @@ lt:
       emoji: Jaustukas
       enable: Įjungti
       enabled_msg: Šis jaustukas sėkmingai įjungtas
-      image_hint: PNG failo dydis iki 50KB
       listed: Įtrauktas į sąrašą
       new:
         title: Pridėti naują jaustuką
diff --git a/config/locales/lv.yml b/config/locales/lv.yml
index 58a9350d3c..13f7544cac 100644
--- a/config/locales/lv.yml
+++ b/config/locales/lv.yml
@@ -377,7 +377,6 @@ lv:
       enable: Iespējot
       enabled: Iespējots
       enabled_msg: Šī emocijzīme ir veiksmīgi iespējota
-      image_hint: PNG līdz 50 KB
       list: Saraksts
       listed: Uzrakstītas
       new:
diff --git a/config/locales/ms.yml b/config/locales/ms.yml
index 5bc9f28842..4e101a890d 100644
--- a/config/locales/ms.yml
+++ b/config/locales/ms.yml
@@ -334,7 +334,6 @@ ms:
       enable: Dayakan
       enabled: Didayakan
       enabled_msg: Emoji tersebut berjaya didayakan
-      image_hint: PNG, maksimum 50KB
       list: Senarai
       listed: Disenaraikan
       new:
diff --git a/config/locales/nl.yml b/config/locales/nl.yml
index c9291b59cf..a51ef07aff 100644
--- a/config/locales/nl.yml
+++ b/config/locales/nl.yml
@@ -337,7 +337,6 @@ nl:
       enable: Inschakelen
       enabled: Ingeschakeld
       enabled_msg: Inschakelen van deze emoji geslaagd
-      image_hint: PNG van max. 50KB
       list: In lijst
       listed: Weergegeven
       new:
diff --git a/config/locales/nn.yml b/config/locales/nn.yml
index 177fbd111c..3af989a14c 100644
--- a/config/locales/nn.yml
+++ b/config/locales/nn.yml
@@ -300,7 +300,6 @@ nn:
       enable: Slå på
       enabled: Slege på
       enabled_msg: Aktiverte kjensleteikn
-      image_hint: PNG opp til 50 kB
       list: Oppfør
       listed: Oppført
       new:
diff --git a/config/locales/no.yml b/config/locales/no.yml
index 7dc570554a..a7ba74063e 100644
--- a/config/locales/no.yml
+++ b/config/locales/no.yml
@@ -297,7 +297,6 @@
       enable: Aktivere
       enabled: Skrudd på
       enabled_msg: Aktiverte emojien uten problem
-      image_hint: PNG opp til 50KB
       list: Før opp
       listed: Oppførte
       new:
diff --git a/config/locales/oc.yml b/config/locales/oc.yml
index 17c9dd4ec5..4654d5e276 100644
--- a/config/locales/oc.yml
+++ b/config/locales/oc.yml
@@ -265,7 +265,6 @@ oc:
       enable: Activar
       enabled: Activat
       enabled_msg: Aqueste emoji es ben activat
-      image_hint: PNG cap a 50Ko
       list: Listar
       listed: Listat
       new:
diff --git a/config/locales/pl.yml b/config/locales/pl.yml
index 74837c7c03..7acb665698 100644
--- a/config/locales/pl.yml
+++ b/config/locales/pl.yml
@@ -378,7 +378,6 @@ pl:
       enable: Włącz
       enabled: Włączone
       enabled_msg: Pomyślnie przywrócono emoji
-      image_hint: Plik PNG ważący do 50KB
       list: Dodaj do listy
       listed: Widoczne
       new:
diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml
index 1d9f4c4c45..070745b378 100644
--- a/config/locales/pt-BR.yml
+++ b/config/locales/pt-BR.yml
@@ -359,7 +359,6 @@ pt-BR:
       enable: Ativar
       enabled: Ativado
       enabled_msg: Emoji ativado com sucesso
-      image_hint: PNG de até 50KB
       list: Listar
       listed: Listado
       new:
diff --git a/config/locales/pt-PT.yml b/config/locales/pt-PT.yml
index d638ab54de..55b8f03569 100644
--- a/config/locales/pt-PT.yml
+++ b/config/locales/pt-PT.yml
@@ -373,7 +373,6 @@ pt-PT:
       enable: Ativar
       enabled: Ativado
       enabled_msg: Ativado com sucesso este emoji
-      image_hint: PNG de até 50KB
       list: Lista
       listed: Listado
       new:
diff --git a/config/locales/ru.yml b/config/locales/ru.yml
index aa0c47f55c..54c73413b0 100644
--- a/config/locales/ru.yml
+++ b/config/locales/ru.yml
@@ -378,7 +378,6 @@ ru:
       enable: Включить
       enabled: Включено
       enabled_msg: Эмодзи успешно включено
-      image_hint: PNG до 50KB
       list: Список
       listed: В списке
       new:
diff --git a/config/locales/sc.yml b/config/locales/sc.yml
index 09e5487c96..aab2e6134b 100644
--- a/config/locales/sc.yml
+++ b/config/locales/sc.yml
@@ -334,7 +334,6 @@ sc:
       enable: Ativa
       enabled: Ativadu
       enabled_msg: As ativadu s'emoji
-      image_hint: PNG de finas a 50 KB
       list: Lista
       listed: Listadu
       new:
diff --git a/config/locales/sk.yml b/config/locales/sk.yml
index 6574d0dcf3..2405c58724 100644
--- a/config/locales/sk.yml
+++ b/config/locales/sk.yml
@@ -289,7 +289,6 @@ sk:
       enable: Povoľ
       enabled: Povolené
       enabled_msg: Emoji bolo úspešne povolené
-      image_hint: PNG do 50KB
       list: Zoznam
       listed: V zozname
       new:
diff --git a/config/locales/sl.yml b/config/locales/sl.yml
index 9fc5706100..902d8fdf95 100644
--- a/config/locales/sl.yml
+++ b/config/locales/sl.yml
@@ -252,7 +252,6 @@ sl:
       enable: Omogoči
       enabled: Omogočeno
       enabled_msg: Ta emotikon je uspešno omogočen
-      image_hint: PNG do 50KB
       list: Seznam
       listed: Navedeno
       new:
diff --git a/config/locales/sq.yml b/config/locales/sq.yml
index 1f65211eaf..8b2decd983 100644
--- a/config/locales/sq.yml
+++ b/config/locales/sq.yml
@@ -373,7 +373,6 @@ sq:
       enable: Aktivizoje
       enabled: I aktivizuar
       enabled_msg: Ai emoxhi u aktivizua me sukses
-      image_hint: PNG deri 50KB
       list: Vëre në listë
       listed: Në listë
       new:
diff --git a/config/locales/sr-Latn.yml b/config/locales/sr-Latn.yml
index ca4b89af54..7dcff987b9 100644
--- a/config/locales/sr-Latn.yml
+++ b/config/locales/sr-Latn.yml
@@ -109,7 +109,6 @@ sr-Latn:
       emoji: Emotikon
       enable: Omogući
       enabled_msg: Emotikon uspešno omogućen
-      image_hint: PNG do 50KB
       listed: Izlistan
       new:
         title: Dodaj novi proizvoljni emotikon
diff --git a/config/locales/sr.yml b/config/locales/sr.yml
index 5734cd35df..e89e438792 100644
--- a/config/locales/sr.yml
+++ b/config/locales/sr.yml
@@ -170,7 +170,6 @@ sr:
       emoji: Емоџи
       enable: Омогући
       enabled_msg: Емоџи успешно омогућен
-      image_hint: PNG до 50KB
       listed: Излистан
       new:
         title: Додај нови произвољни емоџи
diff --git a/config/locales/sv.yml b/config/locales/sv.yml
index db59e75e79..79118a283c 100644
--- a/config/locales/sv.yml
+++ b/config/locales/sv.yml
@@ -330,7 +330,6 @@ sv:
       enable: Aktivera
       enabled: Aktiverad
       enabled_msg: Aktiverade den emoji utan problem
-      image_hint: PNG upp till 50KB
       list: Lista
       listed: Noterade
       new:
diff --git a/config/locales/th.yml b/config/locales/th.yml
index 11441da969..39146559ae 100644
--- a/config/locales/th.yml
+++ b/config/locales/th.yml
@@ -354,7 +354,6 @@ th:
       enable: เปิดใช้งาน
       enabled: เปิดใช้งานอยู่
       enabled_msg: เปิดใช้งานอีโมจินั้นสำเร็จ
-      image_hint: PNG สูงสุด 50KB
       list: แสดงรายการ
       listed: อยู่ในรายการ
       new:
diff --git a/config/locales/tr.yml b/config/locales/tr.yml
index ff7bd9cbfe..bbc4a6db75 100644
--- a/config/locales/tr.yml
+++ b/config/locales/tr.yml
@@ -373,7 +373,6 @@ tr:
       enable: Etkinleştir
       enabled: Etkin
       enabled_msg: Bu emojiyi başarıyla etkinleştirdi
-      image_hint: 50 KB'a kadar PNG
       list: Liste
       listed: Listelenen
       new:
diff --git a/config/locales/uk.yml b/config/locales/uk.yml
index 3658b2deab..219c7cdb78 100644
--- a/config/locales/uk.yml
+++ b/config/locales/uk.yml
@@ -368,7 +368,6 @@ uk:
       enable: Увімкнути
       enabled: Увімкнено
       enabled_msg: Емодзі успішно увімкнене
-      image_hint: PNG розміром до 50 КБ
       list: Список
       listed: У списку
       new:
diff --git a/config/locales/vi.yml b/config/locales/vi.yml
index e9129640f6..d9b58115eb 100644
--- a/config/locales/vi.yml
+++ b/config/locales/vi.yml
@@ -367,7 +367,6 @@ vi:
       enable: Cho phép
       enabled: Đã cho phép
       enabled_msg: Đã cho phép thành công Emoji này
-      image_hint: PNG tối đa 50KB
       list: Danh sách
       listed: Liệt kê
       new:
diff --git a/config/locales/zh-CN.yml b/config/locales/zh-CN.yml
index 5fdc8037f3..02d18d41b9 100644
--- a/config/locales/zh-CN.yml
+++ b/config/locales/zh-CN.yml
@@ -364,7 +364,6 @@ zh-CN:
       enable: 启用
       enabled: 已启用
       enabled_msg: 表情启用成功
-      image_hint: PNG 格式,最大 50KB
       list: 列表
       listed: 已显示
       new:
diff --git a/config/locales/zh-HK.yml b/config/locales/zh-HK.yml
index d137abe35d..f85291b2c5 100644
--- a/config/locales/zh-HK.yml
+++ b/config/locales/zh-HK.yml
@@ -344,7 +344,6 @@ zh-HK:
       enable: 啟用
       enabled: 已啟用
       enabled_msg: 已啟用表情符號
-      image_hint: PNG 格式,最大 50KB
       list: 列出
       listed: 已列出
       new:
diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml
index 0941c19952..d11b15ab42 100644
--- a/config/locales/zh-TW.yml
+++ b/config/locales/zh-TW.yml
@@ -367,7 +367,6 @@ zh-TW:
       enable: 啟用
       enabled: 已啟用
       enabled_msg: 已啟用表情符號
-      image_hint: PNG 格式, 最大 50KB
       list: 列表
       listed: 已顯示
       new: