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/Audio": "Video/Audio",
"Document": "Document",
"Duration": "Duration",
"Duration --[length of audio or video]--": "Duration",
"Duration --[period e.g. ban duration]--": "Duration",
"Long": "Long",
"Short": "Short",
"How Fresh": "How Fresh",

View file

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

View file

@ -72,7 +72,7 @@ export default function FormFieldDuration(props: Props) {
disabled={disabled}
label={
<>
{label || __('Duration')}
{label || __('Duration --[period e.g. ban duration]--')}
<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">
<label>{__('Duration')}</label>
<label>{__('Duration --[period e.g. ban duration]--')}</label>
<div className="block-modal--values">
<fieldset>
{getBlockTypeElem(BLOCK.PERMANENT, 'Permanent')}