[web] Title improvements - P1 (#1871)

Opening the PR to sync the translations, will make other changes
subsequently.
This commit is contained in:
Manav Rathi 2024-05-26 15:24:51 +05:30 committed by GitHub
commit 619f8319ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 40 additions and 57 deletions

View file

@ -83,8 +83,9 @@ export default function App({ Component, pageProps }: AppProps) {
void accountLogout().then(() => router.push(PAGES.ROOT));
};
// TODO: This string doesn't actually exist
const title = isI18nReady
? t("TITLE", { context: APPS.ACCOUNTS })
? t("title", { context: "accounts" })
: APP_TITLES.get(APPS.ACCOUNTS);
return (

View file

@ -133,7 +133,7 @@ export default function App({ Component, pageProps }: AppProps) {
// TODO: Refactor this to have a fallback
const title = isI18nReady
? t("TITLE", { context: APPS.AUTH })
? t("title", { context: "auth" })
: APP_TITLES.get(APPS.AUTH) ?? "";
return (

View file

@ -325,7 +325,7 @@ export default function App({ Component, pageProps }: AppProps) {
};
const title = isI18nReady
? t("TITLE", { context: APPS.PHOTOS })
? t("title", { context: "photos" })
: APP_TITLES.get(APPS.PHOTOS);
return (

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "",
"PREVIOUS": "",
"NEXT": "",
"TITLE_PHOTOS": "",
"TITLE_ALBUMS": "",
"TITLE_AUTH": "",
"title_photos": "",
"title_auth": "",
"UPLOAD_FIRST_PHOTO": "",
"IMPORT_YOUR_FOLDERS": "",
"UPLOAD_DROPZONE_MESSAGE": "",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "Herein-/Herauszoomen",
"PREVIOUS": "Vorherige (←)",
"NEXT": "Weitere (→)",
"TITLE_PHOTOS": "Ente Fotos",
"TITLE_ALBUMS": "Ente Fotos",
"TITLE_AUTH": "Ente Auth",
"title_photos": "Ente Fotos",
"title_auth": "Ente Auth",
"UPLOAD_FIRST_PHOTO": "Lade dein erstes Foto hoch",
"IMPORT_YOUR_FOLDERS": "Importiere deiner Ordner",
"UPLOAD_DROPZONE_MESSAGE": "Loslassen, um Dateien zu sichern",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "Zoom in/out",
"PREVIOUS": "Previous (←)",
"NEXT": "Next (→)",
"TITLE_PHOTOS": "Ente Photos",
"TITLE_ALBUMS": "Ente Photos",
"TITLE_AUTH": "Ente Auth",
"title_photos": "Ente Photos",
"title_auth": "Ente Auth",
"UPLOAD_FIRST_PHOTO": "Upload your first photo",
"IMPORT_YOUR_FOLDERS": "Import your folders",
"UPLOAD_DROPZONE_MESSAGE": "Drop to backup your files",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "Acercar/alejar",
"PREVIOUS": "Anterior (←)",
"NEXT": "Siguiente (→)",
"TITLE_PHOTOS": "ente Fotos",
"TITLE_ALBUMS": "ente Fotos",
"TITLE_AUTH": "ente Auth",
"title_photos": "ente Fotos",
"title_auth": "ente Auth",
"UPLOAD_FIRST_PHOTO": "Carga tu primer archivo",
"IMPORT_YOUR_FOLDERS": "Importar tus carpetas",
"UPLOAD_DROPZONE_MESSAGE": "Soltar para respaldar tus archivos",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "",
"PREVIOUS": "",
"NEXT": "",
"TITLE_PHOTOS": "",
"TITLE_ALBUMS": "",
"TITLE_AUTH": "",
"title_photos": "",
"title_auth": "",
"UPLOAD_FIRST_PHOTO": "",
"IMPORT_YOUR_FOLDERS": "",
"UPLOAD_DROPZONE_MESSAGE": "",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "",
"PREVIOUS": "",
"NEXT": "",
"TITLE_PHOTOS": "",
"TITLE_ALBUMS": "",
"TITLE_AUTH": "",
"title_photos": "",
"title_auth": "",
"UPLOAD_FIRST_PHOTO": "",
"IMPORT_YOUR_FOLDERS": "",
"UPLOAD_DROPZONE_MESSAGE": "",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "Zoom +/-",
"PREVIOUS": "Précédent (←)",
"NEXT": "Suivant (→)",
"TITLE_PHOTOS": "Ente Photos",
"TITLE_ALBUMS": "Ente Photos",
"TITLE_AUTH": "Ente Auth",
"title_photos": "Ente Photos",
"title_auth": "Ente Auth",
"UPLOAD_FIRST_PHOTO": "Chargez votre 1ere photo",
"IMPORT_YOUR_FOLDERS": "Importez vos dossiers",
"UPLOAD_DROPZONE_MESSAGE": "Déposez pour sauvegarder vos fichiers",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "",
"PREVIOUS": "",
"NEXT": "",
"TITLE_PHOTOS": "",
"TITLE_ALBUMS": "",
"TITLE_AUTH": "",
"title_photos": "",
"title_auth": "",
"UPLOAD_FIRST_PHOTO": "",
"IMPORT_YOUR_FOLDERS": "",
"UPLOAD_DROPZONE_MESSAGE": "",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "Zoom in/out",
"PREVIOUS": "Precedente (←)",
"NEXT": "Successivo (→)",
"TITLE_PHOTOS": "",
"TITLE_ALBUMS": "",
"TITLE_AUTH": "",
"title_photos": "",
"title_auth": "",
"UPLOAD_FIRST_PHOTO": "Carica la tua prima foto",
"IMPORT_YOUR_FOLDERS": "Importa una cartella",
"UPLOAD_DROPZONE_MESSAGE": "Rilascia per eseguire il backup dei file",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "확대/축소",
"PREVIOUS": "이전 항목 (←)",
"NEXT": "다음 항목 (→)",
"TITLE_PHOTOS": "Ente Photos",
"TITLE_ALBUMS": "Ente Photos",
"TITLE_AUTH": "Ente Auth",
"title_photos": "Ente Photos",
"title_auth": "Ente Auth",
"UPLOAD_FIRST_PHOTO": "첫 번째 사진을 업로드하세요",
"IMPORT_YOUR_FOLDERS": "폴더 가져오기",
"UPLOAD_DROPZONE_MESSAGE": "백업하려는 파일을 올려놓기",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "In/uitzoomen",
"PREVIOUS": "Vorige (←)",
"NEXT": "Volgende (→)",
"TITLE_PHOTOS": "Ente Foto's",
"TITLE_ALBUMS": "Ente Foto's",
"TITLE_AUTH": "Ente Auth",
"title_photos": "Ente Foto's",
"title_auth": "Ente Auth",
"UPLOAD_FIRST_PHOTO": "Je eerste foto uploaden",
"IMPORT_YOUR_FOLDERS": "Importeer uw mappen",
"UPLOAD_DROPZONE_MESSAGE": "Sleep om een back-up van je bestanden te maken",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "Ampliar/Reduzir",
"PREVIOUS": "Anterior (←)",
"NEXT": "Próximo (→)",
"TITLE_PHOTOS": "Ente Fotos",
"TITLE_ALBUMS": "Ente Fotos",
"TITLE_AUTH": "Ente Auth",
"title_photos": "Ente Fotos",
"title_auth": "Ente Auth",
"UPLOAD_FIRST_PHOTO": "Envie sua primeira foto",
"IMPORT_YOUR_FOLDERS": "Importar suas pastas",
"UPLOAD_DROPZONE_MESSAGE": "Arraste para salvar seus arquivos",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "",
"PREVIOUS": "",
"NEXT": "",
"TITLE_PHOTOS": "",
"TITLE_ALBUMS": "",
"TITLE_AUTH": "",
"title_photos": "",
"title_auth": "",
"UPLOAD_FIRST_PHOTO": "",
"IMPORT_YOUR_FOLDERS": "",
"UPLOAD_DROPZONE_MESSAGE": "",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "Увеличить/уменьшить",
"PREVIOUS": "Предыдущий (←)",
"NEXT": "Следующий (→)",
"TITLE_PHOTOS": "Ente Фото",
"TITLE_ALBUMS": "Ente Фото",
"TITLE_AUTH": "Ente Auth",
"title_photos": "Ente Фото",
"title_auth": "Ente Auth",
"UPLOAD_FIRST_PHOTO": "Загрузите своё первое фото",
"IMPORT_YOUR_FOLDERS": "Импортируйте папки",
"UPLOAD_DROPZONE_MESSAGE": "Перетащите для резервного копирования файлов",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "Zooma in/ut",
"PREVIOUS": "",
"NEXT": "",
"TITLE_PHOTOS": "",
"TITLE_ALBUMS": "",
"TITLE_AUTH": "",
"title_photos": "",
"title_auth": "",
"UPLOAD_FIRST_PHOTO": "",
"IMPORT_YOUR_FOLDERS": "",
"UPLOAD_DROPZONE_MESSAGE": "",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "",
"PREVIOUS": "",
"NEXT": "",
"TITLE_PHOTOS": "",
"TITLE_ALBUMS": "",
"TITLE_AUTH": "",
"title_photos": "",
"title_auth": "",
"UPLOAD_FIRST_PHOTO": "",
"IMPORT_YOUR_FOLDERS": "",
"UPLOAD_DROPZONE_MESSAGE": "",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "",
"PREVIOUS": "",
"NEXT": "",
"TITLE_PHOTOS": "",
"TITLE_ALBUMS": "",
"TITLE_AUTH": "",
"title_photos": "",
"title_auth": "",
"UPLOAD_FIRST_PHOTO": "",
"IMPORT_YOUR_FOLDERS": "",
"UPLOAD_DROPZONE_MESSAGE": "",

View file

@ -83,9 +83,8 @@
"ZOOM_IN_OUT": "放大/缩小",
"PREVIOUS": "上一个 (←)",
"NEXT": "下一个 (→)",
"TITLE_PHOTOS": "Ente 照片",
"TITLE_ALBUMS": "Ente 照片",
"TITLE_AUTH": "Ente 验证器",
"title_photos": "Ente 照片",
"title_auth": "Ente 验证器",
"UPLOAD_FIRST_PHOTO": "上传您的第一张照片",
"IMPORT_YOUR_FOLDERS": "导入您的文件夹",
"UPLOAD_DROPZONE_MESSAGE": "拖放以备份您的文件",