Browse Source

code scanner button: improve text hints/labels

pull/5114/head
Daniel Spaude 2 years ago
parent
commit
6b4b529dcc
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 1
      packages/nc-gui/components/smartsheet/toolbar/QrScannerButton.vue
  2. 5
      packages/nc-gui/lang/en.json

1
packages/nc-gui/components/smartsheet/toolbar/QrScannerButton.vue

@ -141,6 +141,7 @@ const onDecode = async (codeValue: string) => {
@cancel="scannerIsReady = false" @cancel="scannerIsReady = false"
> >
<div class="relative flex flex-col h-full"> <div class="relative flex flex-col h-full">
<div class="text-left text-wrap mt-2 text-xl mb-4">{{ $t('title.findRowByScanningCode') }}</div>
<a-form-item :label="$t('labels.columnToScanFor')" class="nc-dropdown-scanner-column-id"> <a-form-item :label="$t('labels.columnToScanFor')" class="nc-dropdown-scanner-column-id">
<a-select <a-select
v-model:value="idOfSelectedColumnToScanFor" v-model:value="idOfSelectedColumnToScanFor"

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

@ -210,7 +210,8 @@
"advancedSettings": "Advanced Settings", "advancedSettings": "Advanced Settings",
"codeSnippet": "Code Snippet", "codeSnippet": "Code Snippet",
"keyboardShortcut": "Keyboard Shortcuts", "keyboardShortcut": "Keyboard Shortcuts",
"generateRandomName": "Generate Random Name" "generateRandomName": "Generate Random Name",
"findRowByScanningCode": "Find row by scanning a QR or Barcode"
}, },
"labels": { "labels": {
"createdBy": "Created By", "createdBy": "Created By",
@ -539,7 +540,7 @@
}, },
"codeScanner": { "codeScanner": {
"loadingScanner": "Loading the scanner...", "loadingScanner": "Loading the scanner...",
"selectColumn": "Please select a column", "selectColumn": "Select a column (QR code or Barcode) that you want to use for finding a row by scanning.",
"moreThanOneRowFoundForCode": "More than one row found for this code. Currently only unique codes are supported.", "moreThanOneRowFoundForCode": "More than one row found for this code. Currently only unique codes are supported.",
"noRowFoundForCode": "No row found for this code for the selected column" "noRowFoundForCode": "No row found for this code for the selected column"
}, },

Loading…
Cancel
Save