diff --git a/src/lang/en.js b/src/lang/en.js index a84a4ec3..1250f0df 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -330,7 +330,16 @@ export default { license: 'License', fallbackSrc: 'Fallback source', fallbackSrcSha: 'Fallback source SHA', - savePackMetadata: 'Save pack metadata' + savePackMetadata: 'Save pack metadata', + addNewEmoji: 'Add new emoji to the pack', + shortcode: 'Shortcode', + uploadFile: 'Upload a file', + customFilename: 'Custom filename', + optional: 'optional', + customFilenameDesc: 'Custom file name (optional)', + url: 'URL', + required: 'required', + clickToUpload: 'Click to upload' }, invites: { inviteTokens: 'Invite tokens', diff --git a/src/views/emojiPacks/components/EmojiPack.vue b/src/views/emojiPacks/components/EmojiPack.vue index 71708ee3..5003a61c 100644 --- a/src/views/emojiPacks/components/EmojiPack.vue +++ b/src/views/emojiPacks/components/EmojiPack.vue @@ -1,6 +1,6 @@ - + @@ -29,6 +29,11 @@ {{ $t('settings.savePackMetadata') }} + + + + + @@ -38,6 +43,9 @@ } .el-collapse-item__header { height: 36px; + font-size: 14px; + font-weight: 700; + color: #606266; } .emoji-pack-card { margin-top: 5px; @@ -72,7 +80,7 @@ export default { data() { return { - shownPackEmoji: [], + showPackContent: [], downloadSharedAs: '' } }, diff --git a/src/views/emojiPacks/components/NewEmojiUploader.vue b/src/views/emojiPacks/components/NewEmojiUploader.vue index d62011de..0770e332 100644 --- a/src/views/emojiPacks/components/NewEmojiUploader.vue +++ b/src/views/emojiPacks/components/NewEmojiUploader.vue @@ -1,49 +1,53 @@ - - Add new emoji to the pack - - - - - - - - - Upload a file - - File name - - - - - or - - - - Enter a URL - - - - - (If both are filled, the file is used) - - - - - Upload - - - + + {{ $t('settings.addNewEmoji') }} + + + + + + + + + + {{ $t('settings.clickToUpload') }} + + + +