This commit is contained in:
Manav Rathi
2024-11-05 11:47:49 +05:30
parent 8feef3f36f
commit e4bfa1ddb1
2 changed files with 4 additions and 5 deletions

View File

@@ -228,6 +228,8 @@
"indexing_fetching": "Fetching indexes ({{nSyncedFiles, number}} / {{nTotalFiles, number}})",
"indexing_people": "Indexing people in {{nSyncedFiles, number}} photos...",
"indexing_done": "Indexed {{nSyncedFiles, number}} photos",
"syncing_wait": "Syncing...",
"people_empty_too_few": "People will be shown here when there are sufficient photos of a person",
"INFO": "Info ",
"INFO_OPTION": "Info (I)",
"file_name": "File name",

View File

@@ -7,7 +7,6 @@
* there.
*/
import { pt } from "@/base/i18n";
import type { SearchOption } from "@/new/photos/services/search/types";
import { VerticallyCentered } from "@ente/shared/components/Container";
import { Typography } from "@mui/material";
@@ -49,10 +48,8 @@ export const PeopleEmptyState: React.FC = () => {
const message =
mlStatus?.phase == "done"
? pt(
"People will be shown here when there are sufficient photos of a person",
)
: pt("Syncing...");
? t("people_empty_too_few")
: t("syncing_wait");
return (
<VerticallyCentered>