i18n: Translate bulk action categories

This commit is contained in:
Elian Doran 2024-11-19 23:38:49 +02:00
parent da95e15b01
commit 779218849a
No known key found for this signature in database
3 changed files with 17 additions and 8 deletions

View File

@ -13,22 +13,23 @@ import ExecuteScriptBulkAction from "../widgets/bulk_actions/execute_script.js";
import AddLabelBulkAction from "../widgets/bulk_actions/label/add_label.js";
import AddRelationBulkAction from "../widgets/bulk_actions/relation/add_relation.js";
import RenameNoteBulkAction from "../widgets/bulk_actions/note/rename_note.js";
import { t } from "./i18n.js";
const ACTION_GROUPS = [
{
title: 'Labels',
title: t("bulk_actions.labels"),
actions: [AddLabelBulkAction, UpdateLabelValueBulkAction, RenameLabelBulkAction, DeleteLabelBulkAction]
},
{
title: 'Relations',
title: t("bulk_actions.relations"),
actions: [AddRelationBulkAction, UpdateRelationTargetBulkAction, RenameRelationBulkAction, DeleteRelationBulkAction]
},
{
title: 'Notes',
title: t("bulk_actions.notes"),
actions: [RenameNoteBulkAction, MoveNoteBulkAction, DeleteNoteBulkAction, DeleteRevisionsBulkAction],
},
{
title: 'Other',
title: t("bulk_actions.other"),
actions: [ExecuteScriptBulkAction]
}
];

View File

@ -51,7 +51,11 @@
"chosen_actions": "Chosen actions",
"execute_bulk_actions": "Execute bulk actions",
"bulk_actions_executed": "Bulk actions have been executed successfully.",
"none_yet": "None yet... add an action by clicking one of the available ones above."
"none_yet": "None yet... add an action by clicking one of the available ones above.",
"labels": "Labels",
"relations": "Relations",
"notes": "Notes",
"other": "Other"
},
"clone_to": {
"clone_notes_to": "Clone notes to...",
@ -1382,8 +1386,8 @@
"find": {
"case_sensitive": "Case sensitive",
"match_words": "Match words",
"find_placeholder":"Find in text...",
"replace_placeholder":"Replace with...",
"find_placeholder": "Find in text...",
"replace_placeholder": "Replace with...",
"replace": "Replace",
"replace_all": "Replace all"
},

View File

@ -299,7 +299,11 @@
"close": "Închide",
"execute_bulk_actions": "Execută acțiunile în masă",
"include_descendants": "Include descendenții notiței selectate",
"none_yet": "Nicio acțiune... adaugați una printr-un click pe cele disponibile mai jos."
"none_yet": "Nicio acțiune... adaugați una printr-un click pe cele disponibile mai jos.",
"labels": "Etichete",
"notes": "Notițe",
"other": "Altele",
"relations": "Relații"
},
"calendar": {
"april": "Aprilie",