From 8264c308e1c7674cded408b70d0989ff6d47f276 Mon Sep 17 00:00:00 2001 From: Janis Streib <janis.streib@kit.edu> Date: Mon, 5 Aug 2024 13:02:44 +0200 Subject: [PATCH] FIX: display netdb transaltaions for object types/functions/parameters/attributes (#733) --- frontend/src/components/db-editor/APIObjectDataEditField.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/db-editor/APIObjectDataEditField.vue b/frontend/src/components/db-editor/APIObjectDataEditField.vue index 0fde7ca5f..bdf1d6bc3 100644 --- a/frontend/src/components/db-editor/APIObjectDataEditField.vue +++ b/frontend/src/components/db-editor/APIObjectDataEditField.vue @@ -2,10 +2,10 @@ <div v-if="object_attribute"> <b-form-group :title="`Name: ${attribute_name}\nReference: ${attribute_reference_name}\nReferencing: ${attribute_referencing}`" - :description="object_attribute.description_detail"> + :description="$t_netdb(object_attribute.description_detail)"> <template v-slot:label> <netvs-icon icon="transaction_api_object"/> - {{ object_attribute.description_sys_scope }} + {{ $t_netdb(object_attribute.description_global_scope) }} </template> <b-form-input :value="attribute_preset || ''" v-if="(input_reducer === null || input_reducer instanceof Boolean) && (object_attribute.data_type.includes('integer'))" -- GitLab