Add support to create update tag translation task

This commit is contained in:
2024-10-03 12:59:25 +00:00
committed by GitHub
parent f7a000b806
commit c63da91152
9 changed files with 231 additions and 2 deletions

View File

@@ -221,6 +221,10 @@ class _TaskManagerPage extends State<TaskManagerPage>
value: TaskType.import,
child: Text(i18n.createImportTask),
),
PopupMenuItem(
value: TaskType.updateTagTranslation,
child: Text(i18n.createUpdateTagTranslationTask),
),
];
},
onSelected: (TaskType type) {
@@ -230,6 +234,8 @@ class _TaskManagerPage extends State<TaskManagerPage>
context.push("/dialog/new_export_zip_task");
} else if (type == TaskType.import) {
context.push("/dialog/new_import_task");
} else if (type == TaskType.updateTagTranslation) {
context.push("/dialog/new_update_tag_translation_task");
}
});
}