Add Indonesian Localization (#251)
* Add Indonesian i18n * Fix linting and add id-id to locales * Fix max length lint * Add credit
This commit is contained in:
parent
8caa2b9245
commit
db434083e4
@ -264,8 +264,9 @@ Partial internationalization (non-admin, user-facing text) provided for a handfu
|
|||||||
- `ES_ES` (coming soon)
|
- `ES_ES` (coming soon)
|
||||||
- `PT_BR`
|
- `PT_BR`
|
||||||
- `PT_PT`
|
- `PT_PT`
|
||||||
|
- `ID_ID`
|
||||||
|
|
||||||
Thank you ❤️ translators: [@sconetto](https://github.com/sconetto)
|
Thank you ❤️ translators: [@sconetto](https://github.com/sconetto), [@brandnholl](https://github.com/brandnholl)
|
||||||
|
|
||||||
📖 FAQ
|
📖 FAQ
|
||||||
-
|
-
|
||||||
|
|||||||
@ -12,6 +12,7 @@ export const LOCALE_TEXT: Record<
|
|||||||
> = {
|
> = {
|
||||||
'pt-br': () => import('./locales/pt-br').then(m => m.default),
|
'pt-br': () => import('./locales/pt-br').then(m => m.default),
|
||||||
'pt-pt': () => import('./locales/pt-pt').then(m => m.default),
|
'pt-pt': () => import('./locales/pt-pt').then(m => m.default),
|
||||||
|
'id-id': () => import('./locales/id-id').then(m => m.default),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getTextForLocale = async (
|
export const getTextForLocale = async (
|
||||||
|
|||||||
117
src/i18n/locales/id-id.ts
Normal file
117
src/i18n/locales/id-id.ts
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
import { I18NDeepPartial } from '..';
|
||||||
|
|
||||||
|
const TEXT: I18NDeepPartial = {
|
||||||
|
photo: {
|
||||||
|
photo: 'Foto',
|
||||||
|
photoPlural: 'Foto',
|
||||||
|
taken: 'Diambil',
|
||||||
|
created: 'Dibuat',
|
||||||
|
updated: 'Diperbarui',
|
||||||
|
copied: 'Tautan ke foto disalin',
|
||||||
|
},
|
||||||
|
category: {
|
||||||
|
camera: 'Kamera',
|
||||||
|
cameraPlural: 'Kamera',
|
||||||
|
cameraTitle: 'Diambil dengan {{camera}}',
|
||||||
|
cameraShare: 'Foto yang diambil dengan {{camera}}',
|
||||||
|
lens: 'Lensa',
|
||||||
|
lensPlural: 'Lensa',
|
||||||
|
tag: 'Tag',
|
||||||
|
tagPlural: 'Tag',
|
||||||
|
taggedPhotos: 'Foto yang Ditandai',
|
||||||
|
taggedPhrase: 'Foto dengan tag {{tag}}',
|
||||||
|
taggedFavs: 'Foto Favorit',
|
||||||
|
recipe: 'Resep Editing',
|
||||||
|
recipePlural: 'Resep Editing',
|
||||||
|
recipeShare: 'Foto dengan resep {{recipe}}',
|
||||||
|
film: 'Film',
|
||||||
|
filmPlural: 'Film',
|
||||||
|
filmShare: 'Foto yang diambil dengan film {{film}}',
|
||||||
|
focalLength: 'Panjang Fokus',
|
||||||
|
focalLengthPlural: 'Panjang Fokus',
|
||||||
|
focalLengthTitle: 'Panjang Fokus {{focal}}',
|
||||||
|
focalLengthShare: 'Foto diambil pada {{focal}}',
|
||||||
|
},
|
||||||
|
nav: {
|
||||||
|
home: 'Beranda',
|
||||||
|
feed: 'Umpan',
|
||||||
|
grid: 'Grid',
|
||||||
|
admin: 'Admin',
|
||||||
|
search: 'Cari',
|
||||||
|
prev: 'Sebelumnya',
|
||||||
|
prevShort: 'Sblm',
|
||||||
|
next: 'Berikutnya',
|
||||||
|
nextShort: 'Brkt',
|
||||||
|
},
|
||||||
|
cmdk: {
|
||||||
|
placeholder: 'Cari foto, tampilan, pengaturan ...',
|
||||||
|
searching: 'Mencari ...',
|
||||||
|
noResults: 'Tidak ada hasil ditemukan',
|
||||||
|
},
|
||||||
|
tooltip: {
|
||||||
|
'35mm': 'Setara 35mm',
|
||||||
|
zoom: 'Perbesar',
|
||||||
|
sharePhoto: 'Bagikan Foto',
|
||||||
|
recipeInfo: 'Informasi Resep',
|
||||||
|
recipeCopy: 'Salin Teks Resep',
|
||||||
|
download: 'Unduh File Asli',
|
||||||
|
},
|
||||||
|
theme: {
|
||||||
|
theme: 'Tema',
|
||||||
|
system: 'Sistem',
|
||||||
|
light: 'Mode Terang',
|
||||||
|
dark: 'Mode Gelap',
|
||||||
|
},
|
||||||
|
auth: {
|
||||||
|
signIn: 'Masuk',
|
||||||
|
signOut: 'Keluar',
|
||||||
|
email: 'Email Admin',
|
||||||
|
password: 'Kata Sandi Admin',
|
||||||
|
invalidEmailPassword: 'Email/kata sandi tidak valid',
|
||||||
|
},
|
||||||
|
admin: {
|
||||||
|
uploadPhotos: 'Unggah Foto',
|
||||||
|
upload: 'Unggah',
|
||||||
|
uploadPlural: 'Unggahan',
|
||||||
|
uploading: 'Mengunggah',
|
||||||
|
update: 'Perbarui',
|
||||||
|
updatePlural: 'Pembaruan',
|
||||||
|
managePhotos: 'Kelola Foto',
|
||||||
|
manageCameras: 'Kelola Kamera',
|
||||||
|
manageLenses: 'Kelola Lensa',
|
||||||
|
manageTags: 'Kelola Tag',
|
||||||
|
manageRecipes: 'Kelola Resep',
|
||||||
|
batchEdit: 'Edit Massal Foto',
|
||||||
|
batchEditShort: 'Edit Massal',
|
||||||
|
batchExitEdit: 'Keluar dari Edit Massal',
|
||||||
|
appInsights: 'Wawasan Aplikasi',
|
||||||
|
appConfig: 'Konfigurasi Aplikasi',
|
||||||
|
edit: 'Edit',
|
||||||
|
favorite: 'Favorit',
|
||||||
|
unfavorite: 'Hapus dari Favorit',
|
||||||
|
download: 'Unduh',
|
||||||
|
sync: 'Sinkronkan',
|
||||||
|
delete: 'Hapus',
|
||||||
|
deleteConfirm: 'Apakah Anda yakin ingin menghapus "{{photoTitle}}"?',
|
||||||
|
},
|
||||||
|
onboarding: {
|
||||||
|
setupComplete: 'Penyiapan Selesai!',
|
||||||
|
setupIncomplete: 'Selesaikan Penyiapan',
|
||||||
|
setupSignIn: 'Masuk untuk mengunggah foto',
|
||||||
|
setupFirstPhoto: 'Tambahkan foto pertama Anda',
|
||||||
|
setupConfig: 'Ubah nama situs dan pengaturan lewat file environment',
|
||||||
|
},
|
||||||
|
misc: {
|
||||||
|
loading: 'Memuat ...',
|
||||||
|
finishing: 'Menyelesaikan ...',
|
||||||
|
uploading: 'Mengunggah',
|
||||||
|
repo: 'Dibuat dengan',
|
||||||
|
copyPhrase: '{{label}} disalin',
|
||||||
|
},
|
||||||
|
utility: {
|
||||||
|
paginate: '{{index}} dari {{count}}',
|
||||||
|
paginateAction: '{{action}} {{index}} dari {{count}}',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export default TEXT;
|
||||||
Loading…
Reference in New Issue
Block a user