diff --git a/app.vue b/app.vue index c4e21ec..6bfcf14 100644 --- a/app.vue +++ b/app.vue @@ -1,6 +1,6 @@ diff --git a/pages/devtool/api-editor/code/index.vue b/pages/devtool/api-editor/code/index.vue index 16049b9..8989fe2 100644 --- a/pages/devtool/api-editor/code/index.vue +++ b/pages/devtool/api-editor/code/index.vue @@ -3,7 +3,7 @@ import { useThemeStore } from "~/stores/theme"; definePageMeta({ - title: "API Code Editor", + title: "Penyunting Kod API", middleware: ["auth"], requiresAuth: true, }); @@ -63,8 +63,8 @@ if (data.value.statusCode === 200) { } else { $swal .fire({ - title: "Error", - text: "The API you are trying to edit is not found. Please choose a API to edit.", + title: "Ralat", + text: "API yang anda cuba sunting tidak dijumpai. Sila pilih API untuk disunting.", icon: "error", confirmButtonText: "Ok", }) @@ -134,8 +134,8 @@ const saveCode = async () => { if (linterError.value) { $swal.fire({ - title: "Error", - text: "There is an error in your code. Please fix it before saving.", + title: "Ralat", + text: "Terdapat ralat dalam kod anda. Sila betulkannya sebelum menyimpan.", icon: "error", confirmButtonText: "Ok", }); @@ -153,8 +153,8 @@ const saveCode = async () => { }); if (data.value.statusCode === 200) { $swal.fire({ - title: "Success", - text: "The code has been saved successfully.", + title: "Berjaya", + text: "Kod telah berjaya disimpan.", icon: "success", confirmButtonText: "Ok", timer: 1000, @@ -175,11 +175,11 @@ const saveCode = async () => { }} - +
- Format Code { size="20px" class="mr-1" /> - Save API + Simpan API
@@ -198,12 +198,12 @@ const saveCode = async () => { size="20px" />
-
ESLint Error
+
Ralat ESLint
{{ linterErrorText }}
- Line: {{ linterErrorLine }} Column: {{ linterErrorColumn }} + Baris: {{ linterErrorLine }} Lajur: {{ linterErrorColumn }}
@@ -216,7 +216,7 @@ const saveCode = async () => { mode="javascript" />
- +
diff --git a/pages/devtool/api-editor/index.vue b/pages/devtool/api-editor/index.vue index f31e157..351fc62 100644 --- a/pages/devtool/api-editor/index.vue +++ b/pages/devtool/api-editor/index.vue @@ -78,8 +78,8 @@ const saveAddAPI = async () => { if (data.value.statusCode === 200) { nuxtApp.$swal.fire({ - title: "Success", - text: "The code has been saved successfully.", + title: "Berjaya", + text: "Kod telah berjaya disimpan.", icon: "success", confirmButtonText: "Ok", timer: 1000, @@ -105,8 +105,8 @@ const saveEditAPI = async () => { if (data.value.statusCode === 200) { nuxtApp.$swal.fire({ - title: "Success", - text: "The code has been saved successfully.", + title: "Berjaya", + text: "Kod telah berjaya disimpan.", icon: "success", confirmButtonText: "Ok", timer: 1000, @@ -122,13 +122,14 @@ const saveEditAPI = async () => { const deleteAPI = async (apiURL) => { nuxtApp.$swal .fire({ - title: "Are you sure to delete this API?", - text: "You won't be able to revert this!", + title: "Adakah anda pasti untuk memadam API ini?", + text: "Anda tidak akan dapat memulihkan ini!", icon: "warning", showCancelButton: true, confirmButtonColor: "#3085d6", cancelButtonColor: "#d33", - confirmButtonText: "Yes, delete it!", + confirmButtonText: "Ya, padamkan!", + cancelButtonText: "Batal", }) .then(async (result) => { if (result.isConfirmed) { @@ -143,8 +144,8 @@ const deleteAPI = async (apiURL) => { if (data.value.statusCode === 200) { nuxtApp.$swal.fire({ - title: "Success", - text: "The code has been saved successfully.", + title: "Berjaya", + text: "Kod telah berjaya disimpan.", icon: "success", confirmButtonText: "Ok", timer: 1000, @@ -164,13 +165,13 @@ const deleteAPI = async (apiURL) => {
@@ -180,14 +181,14 @@ const deleteAPI = async (apiURL) => {
- Add API + Tambah API
@@ -214,7 +215,7 @@ const deleteAPI = async (apiURL) => { name="material-symbols:code-blocks-outline-rounded" class="mr-2" /> - Code Editor + Editor Kod
@@ -233,9 +234,9 @@ const deleteAPI = async (apiURL) => { @@ -248,9 +249,9 @@ const deleteAPI = async (apiURL) => { diff --git a/pages/devtool/content-editor/code/index.vue b/pages/devtool/content-editor/code/index.vue index 8bf8067..ee47da3 100644 --- a/pages/devtool/content-editor/code/index.vue +++ b/pages/devtool/content-editor/code/index.vue @@ -1,6 +1,6 @@ + + diff --git a/pages/prototype/for-01/permohonan/index.vue b/pages/prototype/for-01/permohonan/index.vue new file mode 100644 index 0000000..e7ebeb7 --- /dev/null +++ b/pages/prototype/for-01/permohonan/index.vue @@ -0,0 +1,334 @@ + + + diff --git a/pages/senarai-mesej/index.vue b/pages/senarai-mesej/index.vue new file mode 100644 index 0000000..05b65e6 --- /dev/null +++ b/pages/senarai-mesej/index.vue @@ -0,0 +1,193 @@ + + + + + diff --git a/pages/tipografi/index.vue b/pages/tipografi/index.vue new file mode 100644 index 0000000..68ab7aa --- /dev/null +++ b/pages/tipografi/index.vue @@ -0,0 +1,284 @@ + + + + + diff --git a/public/favicon.ico b/public/favicon.ico index f544b53..4c81029 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ