mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 19:03:41 +00:00
fixed i18n issue
This commit is contained in:
parent
b0049e20b3
commit
a479b2ac6b
|
|
@ -10,7 +10,7 @@ import { useDispatch, useSelector} from 'react-redux';
|
||||||
import { changeScheduleTime } from 'mastodon/actions/compose';
|
import { changeScheduleTime } from 'mastodon/actions/compose';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
schedule_time: { id: 'compose_form.schedule_time', defaultMessage: '计划发文时间(北京时间)' },
|
schedule_time: { id: 'compose_form.schedule_time', defaultMessage: 'This post is scheduled to be published at (UTC+8)' },
|
||||||
});
|
});
|
||||||
|
|
||||||
export const ScheduleForm = () => {
|
export const ScheduleForm = () => {
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ import { IconButton } from "@/mastodon/components/icon_button";
|
||||||
import { changeIsScheduled } from '../../../actions/compose';
|
import { changeIsScheduled } from '../../../actions/compose';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
marked: { id: 'compose_form.schedule.marked', defaultMessage: '本文将在以下时间发布'},
|
marked: { id: 'compose_form.schedule.marked', defaultMessage: 'This post will be published at the time chosen below'},
|
||||||
unmarked: { id: 'compose_form.schedule.unmarked', defaultMessage: '文本将立即发布'},
|
unmarked: { id: 'compose_form.schedule.unmarked', defaultMessage: 'This post will be published at once'},
|
||||||
})
|
})
|
||||||
|
|
||||||
const mapStateToProps = (state, { intl }) => ({
|
const mapStateToProps = (state, { intl }) => ({
|
||||||
|
|
|
||||||
|
|
@ -166,6 +166,9 @@
|
||||||
"compose_form.publish_form": "New post",
|
"compose_form.publish_form": "New post",
|
||||||
"compose_form.reply": "Reply",
|
"compose_form.reply": "Reply",
|
||||||
"compose_form.save_changes": "Update",
|
"compose_form.save_changes": "Update",
|
||||||
|
"compose_form.schedule.marked": "This post will be published at the time chosen below",
|
||||||
|
"compose_form.schedule.unmarked": "This post will be published at once",
|
||||||
|
"compose_form.schedule_time": "This post is scheduled to be published at (UTC+8)",
|
||||||
"compose_form.spoiler.marked": "Remove content warning",
|
"compose_form.spoiler.marked": "Remove content warning",
|
||||||
"compose_form.spoiler.unmarked": "Add content warning",
|
"compose_form.spoiler.unmarked": "Add content warning",
|
||||||
"compose_form.spoiler_placeholder": "Content warning (optional)",
|
"compose_form.spoiler_placeholder": "Content warning (optional)",
|
||||||
|
|
|
||||||
|
|
@ -166,6 +166,9 @@
|
||||||
"compose_form.publish_form": "发嘟",
|
"compose_form.publish_form": "发嘟",
|
||||||
"compose_form.reply": "回复",
|
"compose_form.reply": "回复",
|
||||||
"compose_form.save_changes": "更改",
|
"compose_form.save_changes": "更改",
|
||||||
|
"compose_form.schedule.marked": "本文将在以下时间发布",
|
||||||
|
"compose_form.schedule.unmarked": "本文将立即发布",
|
||||||
|
"compose_form.schedule_time": "计划发文时间(北京时间)",
|
||||||
"compose_form.spoiler.marked": "移除内容警告",
|
"compose_form.spoiler.marked": "移除内容警告",
|
||||||
"compose_form.spoiler.unmarked": "添加内容警告",
|
"compose_form.spoiler.unmarked": "添加内容警告",
|
||||||
"compose_form.spoiler_placeholder": "内容警告 (可选)",
|
"compose_form.spoiler_placeholder": "内容警告 (可选)",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user