diff --git a/README.md b/README.md index ff3861b3..e5414d19 100644 --- a/README.md +++ b/README.md @@ -272,10 +272,11 @@ Partial internationalization (for non-admin, user-facing text) provided for a ha - `pt-pt` - `id-id` - `zh-cn` +- `bd-bn` To add support for a new language, open a PR following instructions in [/src/i18n/index.ts](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/index.ts), using [en-us.ts](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/locales/en-us.ts) as reference. -Thank you ❤️ translators: [@sconetto](https://github.com/sconetto) (`pt-br`, `pt-pt`), [@brandnholl](https://github.com/brandnholl) (`id-id`), [@TongEc](https://github.com/TongEc) (`zh-cn`) +Thank you ❤️ translators: [@sconetto](https://github.com/sconetto) (`pt-br`, `pt-pt`), [@brandnholl](https://github.com/brandnholl) (`id-id`), [@TongEc](https://github.com/TongEc) (`zh-cn`), [Jahidul Islam](https://github.com/xahidex) (`bd-bn`) 📖  FAQ - diff --git a/src/i18n/index.ts b/src/i18n/index.ts index 3a32059a..a6496c1e 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -26,6 +26,7 @@ const LOCALE_TEXT_IMPORTS: Record< 'pt-pt': () => import('./locales/pt-pt').then(m => m.TEXT), 'id-id': () => import('./locales/id-id').then(m => m.TEXT), 'zh-cn': () => import('./locales/zh-cn').then(m => m.TEXT), + 'bd-bn': () => import('./locales/bd-bn').then(m => m.TEXT), }; export const getTextForLocale = async (locale: string): Promise => { diff --git a/src/i18n/locales/bd-bn.ts b/src/i18n/locales/bd-bn.ts new file mode 100644 index 00000000..98e0caa3 --- /dev/null +++ b/src/i18n/locales/bd-bn.ts @@ -0,0 +1,117 @@ +export { bn as default } from 'date-fns/locale/bn'; + +export const TEXT = { + photo: { + photo: 'ছবি', + photoPlural: 'ছবিগুলো', + taken: 'তোলা হয়েছে', + created: 'তৈরি হয়েছে', + updated: 'আপডেট হয়েছে', + copied: 'ছবির লিংক কপি হয়েছে', + }, + category: { + camera: 'ক্যামেরা', + cameraPlural: 'ক্যামেরাসমূহ', + cameraTitle: '{{camera}} দিয়ে তোলা', + cameraShare: '{{camera}} দিয়ে তোলা ছবিগুলো', + lens: 'লেন্স', + lensPlural: 'লেন্সগুলো', + tag: 'ট্যাগ', + tagPlural: 'ট্যাগসমূহ', + taggedPhotos: 'ট্যাগকৃত ছবি', + taggedPhrase: '{{tag}} ট্যাগ দেওয়া ছবি', + taggedFavs: 'পছন্দের ছবি', + recipe: 'রেসিপি', + recipePlural: 'রেসিপিসমূহ', + recipeShare: '{{recipe}} রেসিপি ছবিগুলো', + film: 'ফিল্ম', + filmPlural: 'ফিল্মসমূহ', + filmShare: '{{film}} দিয়ে তোলা ছবিগুলো', + focalLength: 'ফোকাল দৈর্ঘ্য', + focalLengthPlural: 'ফোকাল দৈর্ঘ্যগুলো', + focalLengthTitle: '{{focal}} ফোকাল দৈর্ঘ্য', + focalLengthShare: '{{focal}} এ তোলা ছবিগুলো', + }, + nav: { + home: 'হোম', + feed: 'ফিড', + grid: 'গ্রিড', + admin: 'অ্যাডমিন', + search: 'সার্চ', + prev: 'পূর্ববর্তী', + prevShort: 'পূর্ব', + next: 'পরবর্তী', + nextShort: 'পরবর্তী', + }, + cmdk: { + placeholder: 'ছবি, ভিউ, সেটিংস অনুসন্ধান করুন ...', + searching: 'অনুসন্ধান হচ্ছে ...', + noResults: 'কোনো ফলাফল পাওয়া যায়নি', + }, + tooltip: { + '35mm': '৩৫মিমি সমতুল্য', + zoom: 'জুম ইন', + sharePhoto: 'ছবি শেয়ার করুন', + recipeInfo: 'রেসিপি তথ্য', + recipeCopy: 'রেসিপি কপি করুন', + download: 'মূল ফাইল ডাউনলোড করুন', + }, + theme: { + theme: 'থিম', + system: 'সিস্টেম', + light: 'লাইট মোড', + dark: 'ডার্ক মোড', + }, + auth: { + signIn: 'সাইন ইন', + signOut: 'সাইন আউট', + email: 'অ্যাডমিন ইমেইল', + password: 'অ্যাডমিন পাসওয়ার্ড', + invalidEmailPassword: 'ইমেইল বা পাসওয়ার্ড ভুল', + }, + admin: { + uploadPhotos: 'ছবি আপলোড করুন', + upload: 'আপলোড', + uploadPlural: 'আপলোডসমূহ', + uploading: 'আপলোড হচ্ছে', + update: 'আপডেট', + updatePlural: 'আপডেটসমূহ', + managePhotos: 'ছবি ব্যবস্থাপনা করুন', + manageCameras: 'ক্যামেরা ব্যবস্থাপনা করুন', + manageLenses: 'লেন্স ব্যবস্থাপনা করুন', + manageTags: 'ট্যাগ ব্যবস্থাপনা করুন', + manageRecipes: 'রেসিপি ব্যবস্থাপনা করুন', + batchEdit: 'একসাথে ছবিগুলো এডিট করুন ...', + batchEditShort: 'ব্যাচ এডিট ...', + batchExitEdit: 'ব্যাচ এডিট থেকে বের হোন', + appInsights: 'অ্যাপ ইনসাইট', + appConfig: 'অ্যাপ কনফিগারেশন', + edit: 'এডিট', + favorite: 'পছন্দ', + unfavorite: 'পছন্দ অপসারণ', + hide: 'লুকান', + unhide: 'দেখান', + download: 'ডাউনলোড', + sync: 'সিঙ্ক', + delete: 'ডিলিট', + deleteConfirm: 'আপনি কি "{{photoTitle}}" মুছে ফেলতে চান?', + }, + onboarding: { + setupComplete: 'সেটআপ সম্পন্ন!', + setupIncomplete: 'সেটআপ সম্পূর্ণ করুন', + setupSignIn: 'ছবি আপলোড করতে সাইন ইন করুন', + setupFirstPhoto: 'আপনার প্রথম ছবি যোগ করুন', + setupConfig: 'পরিবেশ ভেরিয়েবল সম্পাদনা করে সাইটের নাম এবং অন্যান্য কনফিগারেশন পরিবর্তন করুন', + }, + misc: { + loading: 'লোড হচ্ছে ...', + finishing: 'সম্পন্ন হচ্ছে ...', + uploading: 'আপলোড হচ্ছে', + repo: 'তৈরি হয়েছে', + copyPhrase: '{{label}} কপি হয়েছে', + }, + utility: { + paginate: '{{index}} / {{count}}', + paginateAction: '{{action}} - {{index}} / {{count}}', + }, +};