Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

tr

Manav Rathicb9a88e63639
diff --git a/web/apps/photos/src/components/Sidebar.tsx b/web/apps/photos/src/components/Sidebar.tsx
index 4690889d44..1ba021dbca 100644
--- a/web/apps/photos/src/components/Sidebar.tsx
+++ b/web/apps/photos/src/components/Sidebar.tsx
@@ -54,7 +54,6 @@ import {
import { useBaseContext } from "ente-base/context";
import {
getLocaleInUse,
- pt,
setLocaleInUse,
supportedLocales,
ut,
@@ -827,9 +826,7 @@ const Preferences: React.FC<NestedSidebarDrawerVisibilityProps> = ({
</RowButtonGroupTitle>
<RowButtonGroup>
<RowSwitch
- label={
- /* TODO(HLS): */ pt("Streamable videos")
- }
+ label={t("streamable_videos")}
checked={isHLSGenerationEnabled}
onClick={() => void toggleHLSGeneration()}
/>
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index d27e7437bc..0196f21c30 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -675,5 +675,7 @@
"theme": "Theme",
"system": "System",
"light": "Light",
- "dark": "Dark"
+ "dark": "Dark",
+ "streamable_videos": "Streamable videos",
+ "processing_videos_status": "Processing videos..."
}
diff --git a/web/packages/new/photos/components/SearchBar.tsx b/web/packages/new/photos/components/SearchBar.tsx
index 0715727789..6245ea04d6 100644
--- a/web/packages/new/photos/components/SearchBar.tsx
+++ b/web/packages/new/photos/components/SearchBar.tsx
@@ -16,7 +16,6 @@ import {
import { EnteLogo, EnteLogoBox } from "ente-base/components/EnteLogo";
import type { ButtonishProps } from "ente-base/components/mui";
import { useIsSmallWidth } from "ente-base/components/utils/hooks";
-import { pt } from "ente-base/i18n";
import {
hlsGenerationStatusSnapshot,
isHLSGenerationSupported,
@@ -430,8 +429,7 @@ const EmptyState: React.FC<
case "done":
// If ML is not running, see if video processing is.
if (vpStatus?.enabled && vpStatus.status == "processing") {
- // TODO(HLS):
- label = pt("Processing videos...");
+ label = t("processing_videos_status");
}
break;
case "scheduled":