From 71ebc568c6662108df20b8f1aef9aa626b1dd773 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Mon, 30 Jun 2025 09:34:22 -0500 Subject: [PATCH] Add sort language to i18n --- src/app/AppViewSwitcher.tsx | 4 ++-- src/i18n/locales/bd-bn.ts | 4 ++++ src/i18n/locales/en-us.ts | 4 ++++ src/i18n/locales/id-id.ts | 4 ++++ src/i18n/locales/pt-br.ts | 4 ++++ src/i18n/locales/pt-pt.ts | 4 ++++ src/i18n/locales/zh-cn.ts | 4 ++++ 7 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/app/AppViewSwitcher.tsx b/src/app/AppViewSwitcher.tsx index 0b3472c7..bded5d84 100644 --- a/src/app/AppViewSwitcher.tsx +++ b/src/app/AppViewSwitcher.tsx @@ -166,8 +166,8 @@ export default function AppViewSwitcher({ />} tooltip={{ content: isAscending - ? 'View newest first' - : 'View oldest first', + ? appText.sort.newest + : appText.sort.oldest, }} /> diff --git a/src/i18n/locales/bd-bn.ts b/src/i18n/locales/bd-bn.ts index 82699dad..7bcfe4fd 100644 --- a/src/i18n/locales/bd-bn.ts +++ b/src/i18n/locales/bd-bn.ts @@ -53,6 +53,10 @@ export const TEXT: I18N = { next: 'পরবর্তী', nextShort: 'পরবর্তী', }, + sort: { + newest: 'নতুনতম দেখুন', + oldest: 'পুরাতনতম দেখুন', + }, cmdk: { placeholder: 'ছবি, ভিউ, সেটিংস অনুসন্ধান করুন ...', searching: 'অনুসন্ধান হচ্ছে ...', diff --git a/src/i18n/locales/en-us.ts b/src/i18n/locales/en-us.ts index d7add044..0575a8d1 100644 --- a/src/i18n/locales/en-us.ts +++ b/src/i18n/locales/en-us.ts @@ -51,6 +51,10 @@ export const TEXT = { next: 'Next', nextShort: 'Next', }, + sort: { + newest: 'View newest', + oldest: 'View oldest', + }, cmdk: { placeholder: 'Search photos, views, settings ...', searching: 'Searching ...', diff --git a/src/i18n/locales/id-id.ts b/src/i18n/locales/id-id.ts index 0eab0b42..887503c3 100644 --- a/src/i18n/locales/id-id.ts +++ b/src/i18n/locales/id-id.ts @@ -52,6 +52,10 @@ export const TEXT: I18N = { next: 'Berikutnya', nextShort: 'Brkt', }, + sort: { + newest: 'Lihat terbaru', + oldest: 'Lihat terlama', + }, cmdk: { placeholder: 'Cari foto, tampilan, pengaturan ...', searching: 'Mencari ...', diff --git a/src/i18n/locales/pt-br.ts b/src/i18n/locales/pt-br.ts index 6cf6b0f1..581f5686 100644 --- a/src/i18n/locales/pt-br.ts +++ b/src/i18n/locales/pt-br.ts @@ -52,6 +52,10 @@ export const TEXT: I18N = { next: 'Próximo', nextShort: 'Próx', }, + sort: { + newest: 'Ver mais recentes', + oldest: 'Ver mais antigas', + }, cmdk: { placeholder: 'Pesquisar fotos, visualizações, configurações ...', searching: 'Pesquisando ...', diff --git a/src/i18n/locales/pt-pt.ts b/src/i18n/locales/pt-pt.ts index 04aaea47..8a479ca2 100644 --- a/src/i18n/locales/pt-pt.ts +++ b/src/i18n/locales/pt-pt.ts @@ -52,6 +52,10 @@ export const TEXT: I18N = { next: 'Próximo', nextShort: 'Próx', }, + sort: { + newest: 'Ver mais recentes', + oldest: 'Ver mais antigas', + }, cmdk: { placeholder: 'Pesquisar fotografias, visualizações, configurações ...', searching: 'A pesquisar ...', diff --git a/src/i18n/locales/zh-cn.ts b/src/i18n/locales/zh-cn.ts index 12760731..9d96876f 100644 --- a/src/i18n/locales/zh-cn.ts +++ b/src/i18n/locales/zh-cn.ts @@ -52,6 +52,10 @@ export const TEXT: I18N = { next: '下一页', nextShort: '下一页', }, + sort: { + newest: '查看最新', + oldest: '查看最旧', + }, cmdk: { placeholder: '搜索照片、视图、设置...', searching: '搜索中...',