(etke.cc-exclusive) Server Actions page (#457)
* WIP: add scheduler commands * refactor scheduler commands page * WIP on CRUD for ScheduledCommands * more refactoring, finish CRUD On scheduled pages * Add info text about Scheduler service * Finish recurring commands add/edit * add more texts * fix server status behavior on not-loaded-yet state; adjust texts; lint fixes * add link to the help pages in the commands palette * Move Commands Panel to ServerSchedulesPage * Rename Server Schedules to Server Actions * more texts, a bit changed visual of the actions page, lint fix * add docs * fix tests * Add UTC label to scheduled command create/edit
This commit is contained in:
committed by
GitHub
parent
e2d3c0792b
commit
0832c43d76
@@ -482,5 +482,23 @@ const en: SynapseTranslationMessages = {
|
||||
helper: { length: "Length of the token if no token is given." },
|
||||
},
|
||||
},
|
||||
scheduled_commands: {
|
||||
action: {
|
||||
create_success: "Scheduled command created successfully",
|
||||
update_success: "Scheduled command updated successfully",
|
||||
update_failure: "An error has occurred",
|
||||
delete_success: "Scheduled command deleted successfully",
|
||||
delete_failure: "An error has occurred",
|
||||
},
|
||||
},
|
||||
recurring_commands: {
|
||||
action: {
|
||||
create_success: "Recurring command created successfully",
|
||||
update_success: "Recurring command updated successfully",
|
||||
update_failure: "An error has occurred",
|
||||
delete_success: "Recurring command deleted successfully",
|
||||
delete_failure: "An error has occurred",
|
||||
},
|
||||
},
|
||||
};
|
||||
export default en;
|
||||
|
||||
18
src/i18n/index.d.ts
vendored
18
src/i18n/index.d.ts
vendored
@@ -473,4 +473,22 @@ interface SynapseTranslationMessages extends TranslationMessages {
|
||||
};
|
||||
};
|
||||
};
|
||||
scheduled_commands?: {
|
||||
action: {
|
||||
create_success: string;
|
||||
update_success: string;
|
||||
update_failure: string;
|
||||
delete_success: string;
|
||||
delete_failure: string;
|
||||
};
|
||||
};
|
||||
recurring_commands?: {
|
||||
action: {
|
||||
create_success: string;
|
||||
update_success: string;
|
||||
update_failure: string;
|
||||
delete_success: string;
|
||||
delete_failure: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user