Skip to content

Commit

Permalink
fix(l10n): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Nov 27, 2024
1 parent d9ab916 commit b5af21d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/BarcodeScannerDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-dialog scrollable max-height="80%" min-width="50%">
<v-card>
<v-card-title>
{{ $t('BarcodeScanner.Scan') }} <v-btn style="float:right;" variant="text" density="compact" icon="mdi-close" @click="close" />
{{ $t('Common.BarcodeScan') }} <v-btn style="float:right;" variant="text" density="compact" icon="mdi-close" @click="close" />
</v-card-title>

<v-divider />
Expand Down
8 changes: 4 additions & 4 deletions src/components/ProductInputRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
</h3>
<v-sheet v-if="productForm.mode === 'barcode'">
<v-btn class="mb-2 mr-2" size="small" prepend-icon="mdi-barcode-scan" @click="showBarcodeScannerDialog">
<span class="d-sm-none">{{ $t('AddPriceSingle.ProductInfo.Scan') }}</span>
<span class="d-none d-sm-inline-flex">{{ $t('AddPriceSingle.ProductInfo.ScanBarcode') }}</span>
<span class="d-sm-none">{{ $t('AddPriceSingle.ProductInfo.ScanBarcodeShort') }}</span>
<span class="d-none d-sm-inline-flex">{{ $t('Common.BarcodeScan') }}</span>
</v-btn>
<v-btn class="mb-2" size="small" prepend-icon="mdi-numeric" @click.prevent="showBarcodeManualInputDialog">
<span class="d-sm-none">{{ $t('AddPriceSingle.ProductInfo.Type') }}</span>
<span class="d-none d-sm-inline-flex">{{ $t('AddPriceSingle.ProductInfo.TypeBarcode') }}</span>
<span class="d-sm-none">{{ $t('AddPriceSingle.ProductInfo.TypeBarcodeShort') }}</span>
<span class="d-none d-sm-inline-flex">{{ $t('Common.BarcodeType') }}</span>
</v-btn>
<ProductCard v-if="productForm.product" class="mb-2" :product="productForm.product" :hideCategoriesAndLabels="true" :hideProductActions="true" :readonly="true" elevation="1" />
</v-sheet>
Expand Down
8 changes: 6 additions & 2 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@
"ProductBarcode": "Product barcode",
"Scan": "Scan",
"ScanBarcode": "Scan a barcode",
"Type": "Tipo",
"ScanBarcodeShort": "Scan",
"Type": "Type",
"TypeBarcode": "Type a barcode",
"TypeBarcodeShort": "Type",
"SetProduct": "Set a product",
"Title": "Product info"
},
Expand Down Expand Up @@ -149,6 +151,8 @@
"AdditionalInfo": "Additional information",
"Barcode": "Barcode",
"Barcodes": "Barcodes",
"BarcodeScan": "Scan a barcode",
"BarcodeType": "Type a barcode",
"BarcodeInvalid": "Invalid barcode",
"Brand": "Brand",
"Price": "Price",
Expand Down Expand Up @@ -267,7 +271,7 @@
"Today": "Today",
"Top": "Top",
"Total": "Total",
"Type": "Tipo",
"Type": "Type",
"Upload": "Upload",
"UploadMultipleImages": "Upload {count} image | Upload {count} images",
"URL": "URL",
Expand Down

0 comments on commit b5af21d

Please sign in to comment.