i18n: context-split "Duration"

Request from Chinese translator.
This commit is contained in:
infinite-persistence 2022-02-26 20:35:04 +08:00
parent 241a6182a2
commit 7a59976a5d
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
4 changed files with 5 additions and 4 deletions

View file

@ -736,7 +736,8 @@
"Video": "Video", "Video": "Video",
"Video/Audio": "Video/Audio", "Video/Audio": "Video/Audio",
"Document": "Document", "Document": "Document",
"Duration": "Duration", "Duration --[length of audio or video]--": "Duration",
"Duration --[period e.g. ban duration]--": "Duration",
"Long": "Long", "Long": "Long",
"Short": "Short", "Short": "Short",
"How Fresh": "How Fresh", "How Fresh": "How Fresh",

View file

@ -412,7 +412,7 @@ function ClaimListHeader(props: Props) {
className={classnames('claim-search__dropdown', { className={classnames('claim-search__dropdown', {
'claim-search__dropdown--selected': durationParam, 'claim-search__dropdown--selected': durationParam,
})} })}
label={__('Duration')} label={__('Duration --[length of audio or video]--')}
type="select" type="select"
name="duration" name="duration"
disabled={ disabled={

View file

@ -72,7 +72,7 @@ export default function FormFieldDuration(props: Props) {
disabled={disabled} disabled={disabled}
label={ label={
<> <>
{label || __('Duration')} {label || __('Duration --[period e.g. ban duration]--')}
<Icon customTooltipText={__(TOOLTIP)} className="icon--help" icon={ICONS.HELP} tooltip size={16} /> <Icon customTooltipText={__(TOOLTIP)} className="icon--help" icon={ICONS.HELP} tooltip size={16} />
</> </>
} }

View file

@ -236,7 +236,7 @@ export default function ModalBlockChannel(props: Props) {
)} )}
<div className="section section--vertical-compact"> <div className="section section--vertical-compact">
<label>{__('Duration')}</label> <label>{__('Duration --[period e.g. ban duration]--')}</label>
<div className="block-modal--values"> <div className="block-modal--values">
<fieldset> <fieldset>
{getBlockTypeElem(BLOCK.PERMANENT, 'Permanent')} {getBlockTypeElem(BLOCK.PERMANENT, 'Permanent')}