From ebafe25d4e9654ee8f1dadf906ba459fac3092b3 Mon Sep 17 00:00:00 2001 From: farhantock Date: Thu, 6 Jun 2024 12:27:39 +0700 Subject: [PATCH] fix(utils):update vocabulary and color --- src/utils/color.js | 2 ++ src/utils/locales/en.json | 48 ++++++++++++++++++++++++++++++++++----- src/utils/locales/id.json | 47 ++++++++++++++++++++++++++++++++++---- 3 files changed, 86 insertions(+), 11 deletions(-) diff --git a/src/utils/color.js b/src/utils/color.js index 7ef70d6..8eaffb8 100644 --- a/src/utils/color.js +++ b/src/utils/color.js @@ -3,6 +3,8 @@ export const colors = { semiBlue: '#DCECFF', beanRed: '#EF6262', semiRed: '#FFC5C3', + semiYellow: '#FFE7A3', + orange: '#FAA300', green: '#17C13E', semigreen: '#E3F8E8', black: '#333333', diff --git a/src/utils/locales/en.json b/src/utils/locales/en.json index 8a3e077..7834e57 100644 --- a/src/utils/locales/en.json +++ b/src/utils/locales/en.json @@ -1,11 +1,15 @@ { "global": { + "addImage": "Add Image", + "add": "Add Data", "save": "Save", "delete": "Delete", "edit": "Edit", "cancel": "Cancel", "signin": "Sign In", "logout": "Logout", + "detail": "Detail Information", + "notification": "Notification", "yes": "Yes", "no": "No", "ok": "Ok", @@ -21,7 +25,8 @@ "sending": "Sending", "errorConnectionMsg": "Failed to connect internet", "areYouSure": "Are you sure?", - "noData": "No data found" + "noData": "No data found", + "register": "Register" }, "profile": { "profile": "Profile", @@ -32,7 +37,7 @@ "password": "Password", "changePassword": "Change Password", "signout": "Sign Out", - "signoutMessage": "Are you sure?", + "signoutMessage": "Are you sure you want to log out of this account?", "about": "About", "languageSetting": "Language Setting" }, @@ -63,8 +68,8 @@ "confirmDelete": "Are you sure you want to delete this photo", "notUpload": "You have not uploaded any photo yet", "uploadImage": "Upload Image", - "cameraPermissionTitle": "OSPOD Camera Permission", - "cameraPermissionMessage": "OSPOD needs access to your camera, so you can take pictures.", + "cameraPermissionTitle": "NeOps Camera Permission", + "cameraPermissionMessage": "NeOps needs access to your camera, so you can take pictures.", "cameraPermissionBtnNeutral": "Ask Me Later", "cameraPermissionBtnPositive": "Cancel", "cameraPermissionBtnNegative": "OK", @@ -84,7 +89,38 @@ }, "patrol": { "title": "Patrol", - "add": "Add Patrol Data", - "detail": "Detail Information" + "list": "List Post" + }, + "activity": { + "title": "Report Activity", + "shift": "Shift Changes", + "addShift": "Add Shift Changes", + "brief": "Brief", + "addbrief": "Add Brief", + "activity": "Activity", + "addActivity": "Add Activity", + "mutationBook": "Mutation Book", + "addMutationBook": "Add Mutation Book", + "personel": "Personel", + "spesialRequest": "Spesial Request", + "addSpesialRequest": "Add Spesial Request", + "visit": "Visitation", + "addVisit": "Add Visitation", + "training": "Training", + "addTraining": "Add Training", + "ppe": "Personnel Equipment", + "ppeUse": "Personnel Equipment Used", + "addPpe": "Add Personnel Equipment", + "post": "Post Equipment", + "postUse": "Post Equipment Used", + "addpost": "Add Post Equipment", + "project": "Project Equipment", + "projectUse": "Project Equipment Used", + "addproject": "Add Project Equipment" + }, + "dailyReport": { + "title": "Daily Report", + "add": "Add Daily Report", + "approve": "Approval" } } \ No newline at end of file diff --git a/src/utils/locales/id.json b/src/utils/locales/id.json index 75060d6..d788f48 100644 --- a/src/utils/locales/id.json +++ b/src/utils/locales/id.json @@ -1,11 +1,15 @@ { "global": { + "addImage": "Tambah Gambar", + "add": "Tambah Data", "save": "Simpan", "delete": "Hapus", "edit": "Ubah", "cancel": "Batal", "signin": "Masuk", "logout": "keluar", + "detail": "Informasi Detail", + "notification": "Notifikasi", "yes": "Ya", "no": "Tidak", "ok": "Ok", @@ -23,7 +27,8 @@ "scan": "Pindai", "reject": "Tolak", "areYouSure": "Apakah anda yakin?", - "noData": "Tidak ada data ditemukan" + "noData": "Tidak ada data ditemukan", + "register": "Pendaftaran" }, "loginPage": { "headMessage": "Selamat datang!", @@ -41,7 +46,7 @@ "password": "Password", "changePassword": "Ganti Password", "signout": "Keluar Aplikasi", - "signoutMessage": "Apakah anda yakin?", + "signoutMessage": "Apakah anda yakin ingin keluar dari akun ini?", "about": "Tentang", "languageSetting": "Pengaturan Bahasa" }, @@ -61,8 +66,8 @@ "confirmDelete": "Apakah anda yakin ingin menghapus foto ini", "notUpload": "Anda belum mengunggah foto", "uploadImage": "Unggah Foto", - "cameraPermissionTitle": "Akses Kamera NawakaraConnect", - "cameraPermissionMessage": "NawakaraConnect membutuhkan akses kamera, agar anda dapat mengambil foto.", + "cameraPermissionTitle": "Akses Kamera NeOps", + "cameraPermissionMessage": "NeOps membutuhkan akses kamera, agar anda dapat mengambil foto.", "cameraPermissionBtnNeutral": "Nanti saja", "cameraPermissionBtnPositive": "Batal", "cameraPermissionBtnNegative": "OK", @@ -83,6 +88,38 @@ "patrol": { "title": "Patroli", "add": "Tambah Data Patroli", - "detail": "Informasi Detail" + "list": "Daftar Pos" + }, + "activity": { + "title": "Laporan Kegiatan", + "shift": "Serah Terima Shift", + "addShift": "Tambah Serah Terima Shift", + "brief": "Apel", + "addbrief": "Tambah Apel", + "activity": "Aktivitas", + "addActivity": "Tambah Aktivitas", + "mutationBook": "Buku Mutasi", + "addMutationBook": "Tambah Buku Mutasi", + "personel": "Personel", + "spesialRequest": "Permintaan Khusus", + "addSpesialRequest": "Tambah Permintaan Khusus", + "visit": "Kunjungan", + "addVisit": "Tambah Kunjungan", + "training": "Pelatihan", + "addTraining": "Tambah Pelatihan", + "ppe": "Perlengkapan Personel", + "ppeUse": "Perlengkapan Personel yang digunakan", + "addPpe": "Tambah Perlengkapan Personel", + "post": "Perlengkapan Pos", + "postUse": "Perlengkapan Pos yang digunakan", + "addpost": "Tambah Perlengkapan Pos", + "project": "Perlengkapan Proyek", + "projectUse": "Perlengkapan Proyek yang digunakan", + "addproject": "Tambah Perlengkapan Proyek" + }, + "dailyReport": { + "title": "Laporan Harian", + "add": "Tambah Laporan Harian", + "approve": "Persetujuan" } } \ No newline at end of file