Move to tr
This commit is contained in:
@@ -96,10 +96,9 @@ export function UploadProgressDialog() {
|
||||
uploadResult={UPLOAD_RESULT.FAILED}
|
||||
sectionTitle={t("FAILED_UPLOADS")}
|
||||
sectionInfo={
|
||||
/* TODO(MR): Move these to localized strings when finalized. */
|
||||
uploadStage === UPLOAD_STAGES.FINISH
|
||||
? undefined
|
||||
: "There will be an option to retry these when the upload finishes."
|
||||
: t("failed_uploads_hint")
|
||||
}
|
||||
/>
|
||||
<ResultSection
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { FocusVisibleButton } from "@/new/photos/components/FocusVisibleButton";
|
||||
import { pt } from "@/next/i18n";
|
||||
import DialogTitleWithCloseButton, {
|
||||
DialogTitleWithCloseButtonSm,
|
||||
dialogCloseHandler,
|
||||
@@ -218,7 +217,7 @@ const TakeoutOptions: React.FC<Omit<OptionsProps, "intent">> = ({
|
||||
disableRipple
|
||||
onClick={() => onSelect("folders")}
|
||||
>
|
||||
{pt("Select folder")}
|
||||
{t("select_folder")}
|
||||
</FocusVisibleButton>
|
||||
<FocusVisibleButton
|
||||
color="secondary"
|
||||
@@ -226,7 +225,7 @@ const TakeoutOptions: React.FC<Omit<OptionsProps, "intent">> = ({
|
||||
disableRipple
|
||||
onClick={() => onSelect("zips")}
|
||||
>
|
||||
{pt("Select zips")}
|
||||
{t("Select zips")}
|
||||
</FocusVisibleButton>
|
||||
<Link
|
||||
href="https://help.ente.io/photos/migration/from-google-photos/"
|
||||
@@ -238,15 +237,13 @@ const TakeoutOptions: React.FC<Omit<OptionsProps, "intent">> = ({
|
||||
fullWidth
|
||||
disableRipple
|
||||
>
|
||||
{pt("FAQ")}
|
||||
{t("faq")}
|
||||
</FocusVisibleButton>
|
||||
</Link>
|
||||
</Stack>
|
||||
|
||||
<Typography variant="small" color="text.muted" pb={1}>
|
||||
{pt(
|
||||
"Unzip all zips into the same folder and upload that. Or upload the zips directly. See FAQ for details.",
|
||||
)}
|
||||
{t("takeout_hint")}
|
||||
</Typography>
|
||||
</Stack>
|
||||
</Box>
|
||||
|
||||
@@ -272,6 +272,9 @@
|
||||
"TWO_FACTOR_DISABLE_FAILED": "Failed to disable two factor, please try again",
|
||||
"EXPORT_DATA": "Export data",
|
||||
"select_folder": "Select folder",
|
||||
"select_zips": "Select zips",
|
||||
"faq": "FAQ",
|
||||
"takeout_hint": "Unzip all zips into the same folder and upload that. Or upload the zips directly. See FAQ for details.",
|
||||
"DESTINATION": "Destination",
|
||||
"START": "Start",
|
||||
"LAST_EXPORT_TIME": "Last export time",
|
||||
@@ -284,6 +287,7 @@
|
||||
"LIVE_PHOTOS_DETECTED": "The photo and video files from your Live Photos have been merged into a single file",
|
||||
"RETRY_FAILED": "Retry failed uploads",
|
||||
"FAILED_UPLOADS": "Failed uploads ",
|
||||
"failed_uploads_hint": "There will be an option to retry these when the upload finishes.",
|
||||
"SKIPPED_FILES": "Ignored uploads",
|
||||
"THUMBNAIL_GENERATION_FAILED_UPLOADS": "Thumbnail generation failed",
|
||||
"UNSUPPORTED_FILES": "Unsupported files",
|
||||
|
||||
Reference in New Issue
Block a user