aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/i18n
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-04-27 00:02:20 +0100
committerGitHub <noreply@github.com>2025-04-27 00:02:20 +0100
commit136f126296af65f50da598d084d1485c0e40437a (patch)
tree2725c7932ebbcb9b48b5af98eb9b72329a400260 /apps/web/lib/i18n
parentca47be7fe7be128f459c37614a04902a873fe289 (diff)
downloadkarakeep-136f126296af65f50da598d084d1485c0e40437a.tar.zst
feat: Implement generic rule engine (#1318)
* Add schema for the new rule engine * Add rule engine backend logic * Implement the worker logic and event firing * Implement the UI changesfor the rule engine * Ensure that when a referenced list or tag are deleted, the corresponding event/action is * Dont show smart lists in rule engine events * Add privacy validations for attached tag and list ids * Move the rules logic into a models
Diffstat (limited to 'apps/web/lib/i18n')
-rw-r--r--apps/web/lib/i18n/locales/en/translation.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/apps/web/lib/i18n/locales/en/translation.json b/apps/web/lib/i18n/locales/en/translation.json
index f6a59683..71dc93ef 100644
--- a/apps/web/lib/i18n/locales/en/translation.json
+++ b/apps/web/lib/i18n/locales/en/translation.json
@@ -167,6 +167,54 @@
"asset_link": "Asset Link",
"delete_asset": "Delete Asset",
"delete_asset_confirmation": "Are you sure you want to delete this asset?"
+ },
+ "rules": {
+ "rules": "Rule Engine",
+ "rule_name": "Rule Name",
+ "description": "You can use rules to trigger actions when an event fires.",
+ "ceate_rule": "Create Rule",
+ "edit_rule": "Edit Rule",
+ "save_rule": "Save Rule",
+ "delete_rule": "Delete Rule",
+ "delete_rule_confirmation": "Are you sure you want to delete this rule?",
+ "whenever": "Whenever ...",
+ "if": "If ...",
+ "enter_rule_name": "Enter rule name",
+ "describe_what_this_rule_does": "Describe what this rule does",
+ "rule_has_been_created": "Rule has been created!",
+ "rule_has_been_updated": "Rule has been updated!",
+ "rule_has_been_deleted": "Rule has been deleted!",
+ "no_rules_created_yet": "No rules created yet",
+ "create_your_first_rule": "Create your first rule to automate your workflow",
+ "conditions_types": {
+ "always": "Always",
+ "url_contains": "URL Contains",
+ "imported_from_feed": "Imported From Feed",
+ "bookmark_type_is": "Bookmark Type Is",
+ "has_tag": "Has Tag",
+ "is_favourited": "Is Favourited",
+ "is_archived": "Is Archived",
+ "and": "All of the following are true",
+ "or": "Any of the following are true"
+ },
+ "actions_types": {
+ "add_tag": "Add Tag",
+ "remove_tag": "Remove Tag",
+ "add_to_list": "Add to List",
+ "remove_from_list": "Remove from List",
+ "download_full_page_archive": "Download Full Page Archive",
+ "favourite_bookmark": "Favourite Bookmark",
+ "archive_bookmark": "Archive Bookmark"
+ },
+ "events_types": {
+ "bookmark_added": "A bookmark is added",
+ "tag_added": "This tag is added to a bookmark",
+ "tag_removed": "This tag is removed from a bookmark",
+ "added_to_list": "A bookmark is added to this list",
+ "removed_from_list": "A bookmark is removed from this list",
+ "favourited": "A bookmark is favourited",
+ "archived": "A bookmark is archived"
+ }
}
},
"admin": {