3
0

Add missing translations for schema alterations

This commit is contained in:
Tomaž Jerman 2023-10-30 10:23:49 +01:00
parent 760760f7f6
commit 59b381c9c1
2 changed files with 25 additions and 6 deletions

View File

@ -324,27 +324,27 @@ export default {
}, },
stringifyAttributeAddParams ({ attr = {} }) { stringifyAttributeAddParams ({ attr = {} }) {
return this.$t('module.schemaAlteration.params.attribute.add', { ident: attr.ident, storeType: attr.store.type, attrType: attr.type.type }) return this.$t('params.attribute.add', { ident: attr.ident, storeType: attr.store.type, attrType: attr.type.type })
}, },
stringifyAttributeDeleteParams ({ attr = {} }) { stringifyAttributeDeleteParams ({ attr = {} }) {
return this.$t('module.schemaAlteration.params.attribute.delete', { ident: attr.ident, storeType: attr.store.type }) return this.$t('params.attribute.delete', { ident: attr.ident, storeType: attr.store.type })
}, },
stringifyAttributeReTypeParams ({ attr = {}, to = {} }) { stringifyAttributeReTypeParams ({ attr = {}, to = {} }) {
return this.$t('module.schemaAlteration.params.attribute.reType', { ident: attr.ident, toType: to.type }) return this.$t('params.attribute.reType', { ident: attr.ident, toType: to.type })
}, },
stringifyAttributeReEncodeParams ({ attr = {}, to = {} }) { stringifyAttributeReEncodeParams ({ attr = {}, to = {} }) {
return this.$t('module.schemaAlteration.params.attribute.reEncode', { ident: attr.ident, toType: to.type }) return this.$t('params.attribute.reEncode', { ident: attr.ident, toType: to.type })
}, },
stringifyModelAddParams ({ attr = {} }) { stringifyModelAddParams ({ attr = {} }) {
return this.$t('module.schemaAlteration.params.model.add', { ident: attr.ident }) return this.$t('params.model.add', { ident: attr.ident })
}, },
stringifyModelDeleteParams ({ attr = {} }) { stringifyModelDeleteParams ({ attr = {} }) {
return this.$t('module.schemaAlteration.params.model.delete', { ident: attr.ident }) return this.$t('params.model.delete', { ident: attr.ident })
}, },
canDismiss (alteration) { canDismiss (alteration) {

View File

@ -252,3 +252,22 @@ searchPlaceholder: Type here to search all modules in this namespace
title: List of Modules title: List of Modules
tooltip: tooltip:
permissions: Module permissions permissions: Module permissions
schemaAlterations:
title: Schema Alterations
alteration: AlterationID
change: Change
status: Status
resolve: Resolve
resolveAuto: Resolve automatically
dismiss: Dismiss
params:
attribute:
add: Add attribute
delete: Delete attribute
reType: Change attribute type
reEncode: Change attribute encoding
model:
add: Add model
delete: Delete model