mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 14:04:21 +01:00
fix: add labels to buttons in NotePostForm
This commit is contained in:
@@ -405,6 +405,8 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
|
||||
'w-8': mode() === 'reply',
|
||||
}}
|
||||
type="button"
|
||||
aria-label={i18n.t('posting.close')}
|
||||
title={i18n.t('posting.close')}
|
||||
onClick={() => close()}
|
||||
>
|
||||
<span class="inline-block size-5 text-fg-secondary/70">
|
||||
@@ -425,6 +427,8 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
|
||||
'p-[6px]': mode() === 'reply',
|
||||
}}
|
||||
type="button"
|
||||
aria-label={i18n.t('posting.emojiPicker')}
|
||||
title={i18n.t('posting.emojiPicker')}
|
||||
onClick={() => emojiPickerPopup.open()}
|
||||
>
|
||||
<FaceSmile />
|
||||
|
||||
@@ -13,10 +13,12 @@ export default {
|
||||
posting: {
|
||||
placeholder: "What's happening?",
|
||||
placeholderReply: 'Post a reply',
|
||||
emojiPicker: 'Emoji',
|
||||
contentWarning: 'Content warning',
|
||||
contentWarningReason: 'Reason of warning',
|
||||
uploadImage: 'Upload image',
|
||||
submit: 'Submit',
|
||||
close: 'Close',
|
||||
forbiddenToIncludeNsec: 'You cannot include private key (nsec).',
|
||||
failedToUploadFile: 'Failed to upload files: {{filenames}}',
|
||||
replyToPre: 'Reply to',
|
||||
|
||||
@@ -12,10 +12,12 @@ export default {
|
||||
posting: {
|
||||
placeholder: 'いまどうしてる?',
|
||||
placeholderReply: '返信を投稿',
|
||||
emojiPicker: '絵文字を追加',
|
||||
contentWarning: 'コンテンツ警告を設定',
|
||||
contentWarningReason: '警告の理由',
|
||||
uploadImage: '画像を投稿',
|
||||
submit: '投稿',
|
||||
close: '閉じる',
|
||||
forbiddenToIncludeNsec: '投稿に秘密鍵(nsec)を含めることはできません。',
|
||||
failedToUploadFile: 'ファイルのアップロードに失敗しました: {{filenames}}',
|
||||
replyToPre: '',
|
||||
|
||||
Reference in New Issue
Block a user