Skip to content
Snippets Groups Projects
Commit 078df615 authored by Tobias Kuhnert's avatar Tobias Kuhnert
Browse files

extracted text from device - measuredquantities

parent b84380cd
Branches 150-text-usage
No related tags found
1 merge request!154Draft: Resolve "Text Usage"
......@@ -32,55 +32,55 @@ permissions and limitations under the Licence.
<div>
<v-row>
<v-col cols="12" md="3">
<label>Label</label>
<label>{{ $t('Label') }}</label>
{{ value.label }}
</v-col>
</v-row>
<v-row>
<v-col cols="12" md="3">
<label>Compartment</label>
<label>{{ $t('deviceComponents.measuredQuantity.compartment') }}</label>
{{ compartmentValue | orDefault }}
</v-col>
<v-col cols="12" md="3">
<label>Sampling Media</label>
<label>{{ $t('deviceComponents.measuredQuantity.samplingMedia') }}</label>
{{ samplingMediaValue | orDefault }}
</v-col>
<v-col cols="12" md="3">
<label>Measured Quantity</label>
<label>{{ $t('deviceComponents.measuredQuantity.MeasuredQuantity') }}</label>
{{ measuredQuantityValue | orDefault }}
</v-col>
</v-row>
<v-row>
<v-col cols="12" md="3">
<label>Unit</label>
<label>{{ $t('deviceComponents.measuredQuantity.unit') }}</label>
{{ unitValue | orDefault }}
</v-col>
<v-col cols="12" md="3">
<label>Measuring range min</label>
<label>{{ $t('deviceComponents.measuredQuantity.measuringRangeMin') }}</label>
{{ value.measuringRange.min | orDefault }}
</v-col>
<v-col cols="12" md="3">
<label>Measuring range max</label>
<label>{{ $t('deviceComponents.measuredQuantity.measuringRangeMax') }}</label>
{{ value.measuringRange.max | orDefault }}
</v-col>
</v-row>
<v-row>
<v-col cols="12" md="3">
<label>Accuracy</label>
<label>{{ $t('deviceComponents.measuredQuantity.accuracy') }}</label>
{{ value.accuracy | orDefault }}
</v-col>
<v-col cols="12" md="3">
<label>Failure Value</label>
<label>{{ $t('deviceComponents.measuredQuantity.failureValue') }}</label>
{{ value.failureValue | orDefault }}
</v-col>
</v-row>
<v-row>
<v-col cols="12" md="3">
<label>Resolution</label>
<label>{{ $t('deviceComponents.measuredQuantity.resolution') }}</label>
{{ value.resolution | orDefault }}
</v-col>
<v-col cols="12" md="3">
<label>Unit of Resolution</label>
<label>{{ $t('deviceComponents.measuredQuantity.unitOfResolution') }}</label>
{{ resolutionUnitValue | orDefault }}
</v-col>
</v-row>
......
......@@ -18,8 +18,13 @@
"Search": "Search",
"Extended Search": "Extended Search",
"Clear": "Clear",
"Apply": "Apply",
"cancel": "cancel",
"Cancel": "Cancel",
"create": "create",
"Copy": "Copy",
"Edit": "Edit",
"Delete": "Delete",
"Name": "Name",
"placeholderDeviceName":"Name of device",
"placeholderDeviceExtendedSearchSelectManufacturer": "Select a manufacturer",
......@@ -33,8 +38,6 @@
"platforms": "platforms",
"configurations": "configurations",
"CSV": "CSV",
"Copy": "Copy",
"Delete": "Delete",
"View": "View",
"Manufacturer": "Manufacturer",
"Model": "Model",
......@@ -44,6 +47,7 @@
"deleteEntity": "Delete {entity}",
"deleteConfirmationDialog": "Do you really want to delete the {entity}",
"Website": "Website",
"Label": "Label",
"deviceComponents": {
"basicData": {
"URN": "URN",
......@@ -63,6 +67,20 @@
"givenName": "Given name",
"familyName": "Family name",
"eMail": "E-Mail"
},
"measuredQuantity": {
"addMeasuredQuantity": "Add Measured Quantity",
"MeasuredQuantity": "Measured Quantity",
"measuredQuantity": "measured quantity",
"compartment": "Compartment",
"samplingMedia": "Sampling Media",
"unit": "Unit",
"measuringRangeMin": "Measuring range min",
"measuringRangeMax": "Measuring range max",
"accuracy": "Accuracy",
"failureValue": "Failure Value",
"resolution": "Resolution",
"unitOfResolution":"Unit of Resolution"
}
}
}
......@@ -43,7 +43,7 @@ permissions and limitations under the Licence.
small
@click="addProperty"
>
Add Measured Quantity
{{ $t('deviceComponents.measuredQuantity.addMeasuredQuantity') }}
</v-btn>
</v-card-actions>
<v-expansion-panels
......@@ -70,7 +70,7 @@ permissions and limitations under the Licence.
small
@click.prevent.stop="openInEditMode(property)"
>
Edit
{{ $t('Edit') }}
</v-btn>
<template
v-if="$auth.loggedIn && (isEditModeForProperty(property))"
......@@ -80,14 +80,14 @@ permissions and limitations under the Licence.
small
@click.prevent.stop="cancelEditMode()"
>
Cancel
{{ $t('Cancel') }}
</v-btn>
<v-btn
color="green"
small
@click.prevent.stop="saveProperty(property)"
>
Apply
{{ $t('Apply') }}
</v-btn>
</template>
......@@ -126,7 +126,7 @@ permissions and limitations under the Licence.
>
mdi-content-copy
</v-icon>
Copy
{{ $t('Copy') }}
</v-list-item-title>
</v-list-item>
<v-list-item
......@@ -138,7 +138,7 @@ permissions and limitations under the Licence.
<v-icon left small color="red">
mdi-delete
</v-icon>
Delete
{{ $t('Delete') }}
</v-list-item-title>
</v-list-item-content>
</v-list-item>
......@@ -149,17 +149,17 @@ permissions and limitations under the Licence.
<v-dialog v-model="showDeleteDialog[property.id]" max-width="400">
<v-card>
<v-card-title class="headline">
Delete Measured Quantity
{{ $t('deleteEntity',{entity: $t('deviceComponents.measuredQuantity.MeasuredQuantity')}) }}
</v-card-title>
<v-card-text>
Do you really want to delete the measured quantity <em>{{ property.label }}</em>?
{{ $t('deleteConfirmationDialog',{entity: $t('deviceComponents.measuredQuantity.measuredQuantity')}) }} <em>{{ property.label }}</em>?
</v-card-text>
<v-card-actions>
<v-btn
text
@click="hideDeleteDialogFor(property.id)"
>
No
{{ $t('No') }}
</v-btn>
<v-spacer />
<v-btn
......@@ -170,7 +170,7 @@ permissions and limitations under the Licence.
<v-icon left>
mdi-delete
</v-icon>
Delete
{{ $t('Delete') }}
</v-btn>
</v-card-actions>
</v-card>
......@@ -213,7 +213,7 @@ permissions and limitations under the Licence.
small
@click="addProperty"
>
Add Measured Quantity
{{ $t('deviceComponents.measuredQuantity.addMeasuredQuantity') }}
</v-btn>
</v-card-actions>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment