Skip to content

Commit

Permalink
Resolves #202
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed May 15, 2024
1 parent a53f866 commit f8e9288
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 6 deletions.
7 changes: 6 additions & 1 deletion app/lang/da/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,5 +381,10 @@
'attributes_hint' => 'Her kan du vælge, hvilke standard anlægsattributter, der skal være tilgængelige.',
'confirm_remove_task' => 'Vil du virkelig fjerne denne opgave?',
'plant_photo_orientation_hint' => 'Brug venligst portrætretning til hovedbilledet.',
'select' => 'Vælg'
'select' => 'Vælg',
'custom_attribute_datatype_bool' => 'Sand/falsk værdi',
'custom_attribute_datatype_int' => 'Heltal',
'custom_attribute_datatype_double' => 'Flydende kommanummer',
'custom_attribute_datatype_string' => 'Tekst',
'custom_attribute_datatype_datetime' => 'Dato',
];
7 changes: 6 additions & 1 deletion app/lang/de/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,5 +382,10 @@
'attributes_hint' => 'Hier kann die Sichtbarkeit von Standard-Attributen eingestellt werden.',
'confirm_remove_task' => 'Soll diese Aufgabe wirklich gelöscht werden?',
'plant_photo_orientation_hint' => 'Für das Hauptfoto wird das Hochformat empfohlen.',
'select' => 'Auswählen'
'select' => 'Auswählen',
'custom_attribute_datatype_bool' => 'Wahr/Falsch Wert',
'custom_attribute_datatype_int' => 'Ganzzahl',
'custom_attribute_datatype_double' => 'Gleitkommazahl',
'custom_attribute_datatype_string' => 'Text',
'custom_attribute_datatype_datetime' => 'Datum',
];
7 changes: 6 additions & 1 deletion app/lang/en/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,5 +382,10 @@
'attributes_hint' => 'Here you can choose which default plant attributes shall be available.',
'confirm_remove_task' => 'Do you really want to remove this task?',
'plant_photo_orientation_hint' => 'Please use portrait orientation for the main photo.',
'select' => 'Select'
'select' => 'Select',
'custom_attribute_datatype_bool' => 'Yes/No Value',
'custom_attribute_datatype_int' => 'Integer',
'custom_attribute_datatype_double' => 'Floating-Point Number',
'custom_attribute_datatype_string' => 'Text',
'custom_attribute_datatype_datetime' => 'Date',
];
7 changes: 6 additions & 1 deletion app/lang/es/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,5 +382,10 @@
'attributes_hint' => 'Aquí puede elegir qué atributos de planta predeterminados estarán disponibles.',
'confirm_remove_task' => '¿Realmente quieres eliminar esta tarea?',
'plant_photo_orientation_hint' => 'Utilice la orientación vertical para la foto principal.',
'select' => 'Seleccionar'
'select' => 'Seleccionar',
'custom_attribute_datatype_bool' => 'Sí/No valor',
'custom_attribute_datatype_int' => 'Entero',
'custom_attribute_datatype_double' => 'Número de punto flotante',
'custom_attribute_datatype_string' => 'Texto',
'custom_attribute_datatype_datetime' => 'Fecha',
];
4 changes: 2 additions & 2 deletions app/views/layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@
<select class="input" name="datatype" onchange="window.vue.selectDataTypeInputField(this, document.querySelector('#field-custom-add-attribute-content'));" onfocus="this.selectedIndex = -1;" required>
<option value="" selected disabled>- {{ __('app.select') }} -</option>
@foreach (CustPlantAttrModel::$data_types as $datatype)
<option value="{{ $datatype }}">{{ $datatype }}</option>
<option value="{{ $datatype }}">{{ __('app.custom_attribute_datatype_' . $datatype) }}</option>
@endforeach
</select>
</div>
Expand Down Expand Up @@ -1263,7 +1263,7 @@
<div class="control">
<select class="input" name="datatype" id="edit-plant-attribute-datatype" onchange="window.vue.selectDataTypeInputField(this, document.querySelector('#field-custom-edit-attribute-content'));" required>
@foreach (CustPlantAttrModel::$data_types as $datatype)
<option value="{{ $datatype }}">{{ $datatype }}</option>
<option value="{{ $datatype }}">{{ __('app.custom_attribute_datatype_' . $datatype) }}</option>
@endforeach
</select>
</div>
Expand Down

0 comments on commit f8e9288

Please sign in to comment.