Browse Source

fix: i18n for PgBinaryOption

pull/6519/head
Muhammed Mustafa 11 months ago
parent
commit
57124940be
  1. 12
      packages/nc-gui/components/smartsheet/column/PgBinaryOptions.vue
  2. 3
      packages/nc-gui/lang/en.json

12
packages/nc-gui/components/smartsheet/column/PgBinaryOptions.vue

@ -23,10 +23,14 @@ vModel.value.meta = {
<template>
<a-row class="my-2" gutter="8">
<a-col :span="24">
<a-form-item v-bind="validateInfos['meta.format']" label="Binary encoding format">
<a-select v-model:value="vModel.meta.format" placeholder="Binary encoding format" class="!w-full nc-link-singular">
<a-select-option value="escape">Escape</a-select-option>
<a-select-option value="hex">Hex</a-select-option>
<a-form-item v-bind="validateInfos['meta.format']" :label="$t('labels.binaryEncodingFormat')">
<a-select
v-model:value="vModel.meta.format"
:placeholder="$t('labels.binaryEncodingFormat')"
class="!w-full nc-link-singular"
>
<a-select-option value="escape">{{ $t('general.escape') }}</a-select-option>
<a-select-option value="hex">{{ $t('general.hex') }}</a-select-option>
</a-select>
</a-form-item>
</a-col>

3
packages/nc-gui/lang/en.json

@ -63,6 +63,8 @@
"saving": "Saving",
"cancel": "Cancel",
"null": "Null",
"escape": "Escape",
"hex": "Hex",
"clear": "Clear",
"submit": "Submit",
"create": "Create",
@ -356,6 +358,7 @@
}
},
"labels": {
"binaryEncodingFormat": "Binary encoding format",
"syntax": "Syntax",
"examples": "Examples",
"durationInfo": "A duration of time in minutes or seconds (e.g. 1:23).",

Loading…
Cancel
Save