Update zh-tw strings & fix various hard strings (#1666)

* Update unlocalized strings & fix various hard strings
* Fix incorrect placement of ignore_organized in en-US
* Add missing strings
* Fix hard string in PerformerList
This commit is contained in:
Still Hsu
2021-08-26 06:51:54 +08:00
committed by GitHub
parent cb6dab3c5f
commit 177339c14e
7 changed files with 58 additions and 18 deletions

View File

@@ -36,7 +36,9 @@ export const ImageInput: React.FC<IImageInput> = ({
// just return the file input
return (
<Form.Label className="image-input">
<Button variant="secondary">{text ?? "Browse for image..."}</Button>
<Button variant="secondary">
{text ?? intl.formatMessage({ id: "actions.browse_for_image" })}
</Button>
<Form.Control
type="file"
onChange={onImageChange}
@@ -61,7 +63,10 @@ export const ImageInput: React.FC<IImageInput> = ({
show={!!isShowDialog}
onHide={() => setIsShowDialog(false)}
header={intl.formatMessage({ id: "dialogs.set_image_url_title" })}
accept={{ onClick: onConfirmURL, text: "Confirm" }}
accept={{
onClick: onConfirmURL,
text: intl.formatMessage({ id: "actions.confirm" }),
}}
>
<div className="dialog-content">
<Form.Group controlId="url" as={Row}>