diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt
index b6893dfd..4eb8e8e3 100644
--- a/ayanova/devdocs/todo.txt
+++ b/ayanova/devdocs/todo.txt
@@ -5,10 +5,6 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
-todo: Backup, probably need to add option "Do not backup automatically"
- or something to that effect for scenarios where the built in backup won't be used / won't work
- rather than a boot environment option I'm thinking a configuration in backupsettings option so it's visible in UI
-
todo: translation page needs cjkindex exposed, also it needs a wait indicator when duplicating (in the duplicate button?)
todo: if dbid in url query parameter of contact form on server it should include that in the message
also something needs to be fixed there, it's been in notes forever
diff --git a/ayanova/src/views/adm-translation.vue b/ayanova/src/views/adm-translation.vue
index 9ab5ca20..52d9fc78 100644
--- a/ayanova/src/views/adm-translation.vue
+++ b/ayanova/src/views/adm-translation.vue
@@ -50,7 +50,7 @@
{{
$ay.t("ReadOnly")
}}
-
+
fa-clone {{ $ay.t("Duplicate") }}
@@ -73,6 +73,19 @@
@input="fieldValueChanged('name')"
>
+
+
+
@@ -214,6 +227,7 @@ export default {
replace: "",
replaceDialog: false,
editingActiveTranslation: false,
+ duplicating: false,
obj: {},
formState: {
ready: false,
@@ -469,6 +483,7 @@ export default {
try {
window.$gz.form.deleteAllErrorBoxErrors(vm);
+ vm.duplicating = true;
let res = await window.$gz.api.upsert(url);
if (res.error) {
vm.formState.serverError = res.error;
@@ -487,6 +502,7 @@ export default {
window.$gz.errorHandler.handleFormError(ex, vm);
} finally {
vm.formState.loading = false;
+ vm.duplicating = false;
}
}
}
@@ -679,7 +695,9 @@ async function fetchTranslatedText(vm) {
"TranslationDisplayText",
"FindAndReplace",
"Find",
- "Replace"
+ "Replace",
+ "GlobalCJKIndex",
+ "GlobalCJKIndexDescription"
]);
}