Browse Source

fix(utils):update vocabulary and color

master
farhantock 7 months ago
parent
commit
ebafe25d4e
  1. 2
      src/utils/color.js
  2. 48
      src/utils/locales/en.json
  3. 47
      src/utils/locales/id.json

2
src/utils/color.js

@ -3,6 +3,8 @@ export const colors = {
semiBlue: '#DCECFF', semiBlue: '#DCECFF',
beanRed: '#EF6262', beanRed: '#EF6262',
semiRed: '#FFC5C3', semiRed: '#FFC5C3',
semiYellow: '#FFE7A3',
orange: '#FAA300',
green: '#17C13E', green: '#17C13E',
semigreen: '#E3F8E8', semigreen: '#E3F8E8',
black: '#333333', black: '#333333',

48
src/utils/locales/en.json

@ -1,11 +1,15 @@
{ {
"global": { "global": {
"addImage": "Add Image",
"add": "Add Data",
"save": "Save", "save": "Save",
"delete": "Delete", "delete": "Delete",
"edit": "Edit", "edit": "Edit",
"cancel": "Cancel", "cancel": "Cancel",
"signin": "Sign In", "signin": "Sign In",
"logout": "Logout", "logout": "Logout",
"detail": "Detail Information",
"notification": "Notification",
"yes": "Yes", "yes": "Yes",
"no": "No", "no": "No",
"ok": "Ok", "ok": "Ok",
@ -21,7 +25,8 @@
"sending": "Sending", "sending": "Sending",
"errorConnectionMsg": "Failed to connect internet", "errorConnectionMsg": "Failed to connect internet",
"areYouSure": "Are you sure?", "areYouSure": "Are you sure?",
"noData": "No data found" "noData": "No data found",
"register": "Register"
}, },
"profile": { "profile": {
"profile": "Profile", "profile": "Profile",
@ -32,7 +37,7 @@
"password": "Password", "password": "Password",
"changePassword": "Change Password", "changePassword": "Change Password",
"signout": "Sign Out", "signout": "Sign Out",
"signoutMessage": "Are you sure?", "signoutMessage": "Are you sure you want to log out of this account?",
"about": "About", "about": "About",
"languageSetting": "Language Setting" "languageSetting": "Language Setting"
}, },
@ -63,8 +68,8 @@
"confirmDelete": "Are you sure you want to delete this photo", "confirmDelete": "Are you sure you want to delete this photo",
"notUpload": "You have not uploaded any photo yet", "notUpload": "You have not uploaded any photo yet",
"uploadImage": "Upload Image", "uploadImage": "Upload Image",
"cameraPermissionTitle": "OSPOD Camera Permission", "cameraPermissionTitle": "NeOps Camera Permission",
"cameraPermissionMessage": "OSPOD needs access to your camera, so you can take pictures.", "cameraPermissionMessage": "NeOps needs access to your camera, so you can take pictures.",
"cameraPermissionBtnNeutral": "Ask Me Later", "cameraPermissionBtnNeutral": "Ask Me Later",
"cameraPermissionBtnPositive": "Cancel", "cameraPermissionBtnPositive": "Cancel",
"cameraPermissionBtnNegative": "OK", "cameraPermissionBtnNegative": "OK",
@ -84,7 +89,38 @@
}, },
"patrol": { "patrol": {
"title": "Patrol", "title": "Patrol",
"add": "Add Patrol Data", "list": "List Post"
"detail": "Detail Information" },
"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"
} }
} }

47
src/utils/locales/id.json

@ -1,11 +1,15 @@
{ {
"global": { "global": {
"addImage": "Tambah Gambar",
"add": "Tambah Data",
"save": "Simpan", "save": "Simpan",
"delete": "Hapus", "delete": "Hapus",
"edit": "Ubah", "edit": "Ubah",
"cancel": "Batal", "cancel": "Batal",
"signin": "Masuk", "signin": "Masuk",
"logout": "keluar", "logout": "keluar",
"detail": "Informasi Detail",
"notification": "Notifikasi",
"yes": "Ya", "yes": "Ya",
"no": "Tidak", "no": "Tidak",
"ok": "Ok", "ok": "Ok",
@ -23,7 +27,8 @@
"scan": "Pindai", "scan": "Pindai",
"reject": "Tolak", "reject": "Tolak",
"areYouSure": "Apakah anda yakin?", "areYouSure": "Apakah anda yakin?",
"noData": "Tidak ada data ditemukan" "noData": "Tidak ada data ditemukan",
"register": "Pendaftaran"
}, },
"loginPage": { "loginPage": {
"headMessage": "Selamat datang!", "headMessage": "Selamat datang!",
@ -41,7 +46,7 @@
"password": "Password", "password": "Password",
"changePassword": "Ganti Password", "changePassword": "Ganti Password",
"signout": "Keluar Aplikasi", "signout": "Keluar Aplikasi",
"signoutMessage": "Apakah anda yakin?", "signoutMessage": "Apakah anda yakin ingin keluar dari akun ini?",
"about": "Tentang", "about": "Tentang",
"languageSetting": "Pengaturan Bahasa" "languageSetting": "Pengaturan Bahasa"
}, },
@ -61,8 +66,8 @@
"confirmDelete": "Apakah anda yakin ingin menghapus foto ini", "confirmDelete": "Apakah anda yakin ingin menghapus foto ini",
"notUpload": "Anda belum mengunggah foto", "notUpload": "Anda belum mengunggah foto",
"uploadImage": "Unggah Foto", "uploadImage": "Unggah Foto",
"cameraPermissionTitle": "Akses Kamera NawakaraConnect", "cameraPermissionTitle": "Akses Kamera NeOps",
"cameraPermissionMessage": "NawakaraConnect membutuhkan akses kamera, agar anda dapat mengambil foto.", "cameraPermissionMessage": "NeOps membutuhkan akses kamera, agar anda dapat mengambil foto.",
"cameraPermissionBtnNeutral": "Nanti saja", "cameraPermissionBtnNeutral": "Nanti saja",
"cameraPermissionBtnPositive": "Batal", "cameraPermissionBtnPositive": "Batal",
"cameraPermissionBtnNegative": "OK", "cameraPermissionBtnNegative": "OK",
@ -83,6 +88,38 @@
"patrol": { "patrol": {
"title": "Patroli", "title": "Patroli",
"add": "Tambah Data 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"
} }
} }
Loading…
Cancel
Save