Add provision for page button resource translations
This commit is contained in:
committed by
Jože Fortun
parent
9b5c59ded4
commit
67e7698b28
@@ -178,30 +178,6 @@ page: {
|
||||
keys: {
|
||||
title: {}
|
||||
description: {}
|
||||
recordToolbarButtonNewLabel: {
|
||||
path: ["recordToolbar", "new", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonEditLabel: {
|
||||
path: ["recordToolbar", "edit", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonSubmitLabel: {
|
||||
path: ["recordToolbar", "submit", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonDeleteLabel: {
|
||||
path: ["recordToolbar", "delete", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonCloneLabel: {
|
||||
path: ["recordToolbar", "clone", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonBackLabel: {
|
||||
path: ["recordToolbar", "back", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
blockTitle: {
|
||||
path: ["pageBlock", {part: "blockID", var: true}, "title"]
|
||||
customHandler: true
|
||||
|
||||
@@ -142,6 +142,31 @@ pageLayout: {
|
||||
description: {
|
||||
path: ["meta", "description"]
|
||||
}
|
||||
|
||||
recordToolbarButtonNewLabel: {
|
||||
path: ["config", "buttons", "new", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonEditLabel: {
|
||||
path: ["config", "buttons", "edit", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonSubmitLabel: {
|
||||
path: ["config", "buttons", "submit", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonDeleteLabel: {
|
||||
path: ["config", "buttons", "delete", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonCloneLabel: {
|
||||
path: ["config", "buttons", "clone", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
recordToolbarButtonBackLabel: {
|
||||
path: ["config", "buttons", "back", "label"]
|
||||
customHandler: true
|
||||
}
|
||||
actionLabel: {
|
||||
path: ["config", "actions", {part: "actionID", var: true}, "label"]
|
||||
customHandler: true
|
||||
|
||||
Generated
+6
-6
@@ -50,18 +50,18 @@ var (
|
||||
LocaleKeyNamespaceMetaDescription = LocaleKey{Path: "meta.description"}
|
||||
LocaleKeyPageTitle = LocaleKey{Path: "title"}
|
||||
LocaleKeyPageDescription = LocaleKey{Path: "description"}
|
||||
LocaleKeyPageRecordToolbarNewLabel = LocaleKey{Path: "recordToolbar.new.label"}
|
||||
LocaleKeyPageRecordToolbarEditLabel = LocaleKey{Path: "recordToolbar.edit.label"}
|
||||
LocaleKeyPageRecordToolbarSubmitLabel = LocaleKey{Path: "recordToolbar.submit.label"}
|
||||
LocaleKeyPageRecordToolbarDeleteLabel = LocaleKey{Path: "recordToolbar.delete.label"}
|
||||
LocaleKeyPageRecordToolbarCloneLabel = LocaleKey{Path: "recordToolbar.clone.label"}
|
||||
LocaleKeyPageRecordToolbarBackLabel = LocaleKey{Path: "recordToolbar.back.label"}
|
||||
LocaleKeyPagePageBlockBlockIDTitle = LocaleKey{Path: "pageBlock.{{blockID}}.title"}
|
||||
LocaleKeyPagePageBlockBlockIDDescription = LocaleKey{Path: "pageBlock.{{blockID}}.description"}
|
||||
LocaleKeyPagePageBlockBlockIDButtonButtonIDLabel = LocaleKey{Path: "pageBlock.{{blockID}}.button.{{buttonID}}.label"}
|
||||
LocaleKeyPagePageBlockBlockIDContentBody = LocaleKey{Path: "pageBlock.{{blockID}}.content.body"}
|
||||
LocaleKeyPageLayoutMetaTitle = LocaleKey{Path: "meta.title"}
|
||||
LocaleKeyPageLayoutMetaDescription = LocaleKey{Path: "meta.description"}
|
||||
LocaleKeyPageLayoutConfigButtonsNewLabel = LocaleKey{Path: "config.buttons.new.label"}
|
||||
LocaleKeyPageLayoutConfigButtonsEditLabel = LocaleKey{Path: "config.buttons.edit.label"}
|
||||
LocaleKeyPageLayoutConfigButtonsSubmitLabel = LocaleKey{Path: "config.buttons.submit.label"}
|
||||
LocaleKeyPageLayoutConfigButtonsDeleteLabel = LocaleKey{Path: "config.buttons.delete.label"}
|
||||
LocaleKeyPageLayoutConfigButtonsCloneLabel = LocaleKey{Path: "config.buttons.clone.label"}
|
||||
LocaleKeyPageLayoutConfigButtonsBackLabel = LocaleKey{Path: "config.buttons.back.label"}
|
||||
LocaleKeyPageLayoutConfigActionsActionIDLabel = LocaleKey{Path: "config.actions.{{actionID}}.label"}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user