Skip to content

Commit

Permalink
[maud] Fix bigger-publish
Browse files Browse the repository at this point in the history
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
  • Loading branch information
lindwurm committed Feb 1, 2024
1 parent 0627fb4 commit 40c86c5
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 85 deletions.
64 changes: 0 additions & 64 deletions .github/workflows/build-security.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -300,15 +300,16 @@ class ComposeForm extends ImmutablePureComponent {
<EmojiPickerDropdown onPickEmoji={this.handleEmojiPick} />
<CharacterCounter max={maxChars} text={this.getFulltextForCharacterCounting()} />
</div>
</div>

<div className='compose-form__submit'>
<Button
type='submit'
text={intl.formatMessage(this.props.isEditing ? messages.saveChanges : (this.props.isInReply ? messages.reply : messages.publish))}
disabled={!this.canSubmit()}
/>
</div>
<div className='compose-form__submit'>
<Button
type='submit'
text={intl.formatMessage(this.props.isEditing ? messages.saveChanges : (this.props.isInReply ? messages.reply : messages.publish))}
disabled={!this.canSubmit()}
/>
</div>

</div>
</div>
</form>
Expand Down
21 changes: 21 additions & 0 deletions app/javascript/mastodon/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"announcement.announcement": "お知らせ",
"attachments_list.unprocessed": "(未処理)",
"audio.hide": "音声を閉じる",
"autosuggest_hashtag.per_week": "{count} 回 / 週",
"boost_modal.combo": "次からは{combo}を押せばスキップできます",
"bundle_column_error.copy_stacktrace": "エラーレポートをコピー",
"bundle_column_error.error.body": "要求されたページをレンダリングできませんでした。コードのバグ、またはブラウザの互換性の問題が原因である可能性があります。",
Expand Down Expand Up @@ -146,12 +147,22 @@
"compose_form.lock_disclaimer": "あなたのアカウントは{locked}になっていません。誰でもあなたをフォローすることができ、フォロワー限定の投稿を見ることができます。",
"compose_form.lock_disclaimer.lock": "承認制",
"compose_form.placeholder": "今なにしてる?",
"compose_form.poll.add_option": "追加",
"compose_form.poll.duration": "アンケート期間",
"compose_form.poll.option_placeholder": "項目 {number}",
"compose_form.poll.remove_option": "この項目を削除",
"compose_form.poll.switch_to_multiple": "複数選択に変更",
"compose_form.poll.switch_to_single": "単一選択に変更",
"compose_form.publish": "トゥート",
"compose_form.publish_form": "トゥート",
"compose_form.publish_loud": "{publish}!",
"compose_form.save_changes": "変更を保存",
"compose_form.sensitive.hide": "メディアを閲覧注意にする",
"compose_form.sensitive.marked": "メディアに閲覧注意が設定されています",
"compose_form.sensitive.unmarked": "メディアに閲覧注意が設定されていません",
"compose_form.spoiler.marked": "本文は警告の後ろに隠されます",
"compose_form.spoiler.unmarked": "本文は隠されていません",
"compose_form.spoiler_placeholder": "ここに警告を書いてください",
"confirmation_modal.cancel": "キャンセル",
"confirmations.block.block_and_report": "ブロックし通報",
"confirmations.block.confirm": "ブロック",
Expand Down Expand Up @@ -398,6 +409,7 @@
"navigation_bar.direct": "非公開の返信",
"navigation_bar.discover": "見つける",
"navigation_bar.domain_blocks": "ブロックしたドメイン",
"navigation_bar.edit_profile": "プロフィールを編集",
"navigation_bar.explore": "探索する",
"navigation_bar.favourites": "お気に入り",
"navigation_bar.filters": "フィルター設定",
Expand Down Expand Up @@ -515,7 +527,14 @@
"poll_button.add_poll": "アンケートを追加",
"poll_button.remove_poll": "アンケートを削除",
"privacy.change": "公開範囲を変更",
"privacy.direct.long": "指定された相手のみ閲覧可",
"privacy.direct.short": "指定された相手のみ",
"privacy.private.long": "フォロワーのみ閲覧可",
"privacy.private.short": "フォロワーのみ",
"privacy.public.long": "誰でも閲覧可",
"privacy.public.short": "公開",
"privacy.unlisted.long": "誰でも閲覧可、サイレント",
"privacy.unlisted.short": "非収載",
"privacy_policy.last_updated": "{date}に更新",
"privacy_policy.title": "プライバシーポリシー",
"recommended": "おすすめ",
Expand Down Expand Up @@ -697,8 +716,10 @@
"upload_error.poll": "アンケートではファイルをアップロードできません。",
"upload_form.audio_description": "聴き取りが難しいユーザーへの説明",
"upload_form.description": "視覚的に閲覧が難しいユーザーへの説明",
"upload_form.description_missing": "説明を追加していません",
"upload_form.edit": "編集",
"upload_form.thumbnail": "サムネイルを変更",
"upload_form.undo": "削除",
"upload_form.video_description": "聴き取りや視覚的に閲覧が難しいユーザーへの説明",
"upload_modal.analyzing_picture": "画像を解析中…",
"upload_modal.apply": "適用",
Expand Down
18 changes: 4 additions & 14 deletions app/javascript/styles/mods/bigger-publish.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
.bigger-publish {
.compose-form__publish {
display: contents;
.compose-form__submit > button {
padding: 24px 50%;
font-size: 24px;
}
.compose-form__publish-button-wrapper {
height: 2em;
width: 100%;
font-size: 3rem;
}

.compose-form__publish-button-wrapper > button {
height: 100%;
width: 100%;
font-size: 80%;
}
}
}
4 changes: 4 additions & 0 deletions app/javascript/styles/mods/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@
font-size: 24px;
border-radius: 50%;
}

.compose-form__submit > button {
padding: 7px 50%;
}

0 comments on commit 40c86c5

Please sign in to comment.