Skip to content

Commit

Permalink
#312 Phrases
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed Dec 3, 2024
1 parent cc7c61f commit 70b0235
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 8 deletions.
4 changes: 3 additions & 1 deletion app/lang/da/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,5 +461,7 @@
'date_select_today' => 'Brug dagens dato',
'plant_sorting_view_cards' => 'Se som kort',
'plant_sorting_view_list' => 'Se som liste',
'amount' => 'Beløb'
'amount' => 'Beløb',
'confirm_remove_preview_photo' => 'Do you really want to remove this photo?',
'move_current_photo_to_gallery' => 'Move current photo to gallery'
];
4 changes: 3 additions & 1 deletion app/lang/de/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,5 +461,7 @@
'date_select_today' => 'Das heutige Datum verwenden',
'plant_sorting_view_cards' => 'Als Karten anzeigen',
'plant_sorting_view_list' => 'Als Liste anzeigen',
'amount' => 'Menge'
'amount' => 'Menge',
'confirm_remove_preview_photo' => 'Soll dieses Foto wirklich entfernt werden?',
'move_current_photo_to_gallery' => 'Aktuelles Foto in die Galerie verschieben'
];
3 changes: 1 addition & 2 deletions app/lang/en/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@
'plant_sorting_view_cards' => 'View as cards',
'plant_sorting_view_list' => 'View as list',
'amount' => 'Amount',
'remove_generic_item' => 'Remove item',
'confirm_remove_generic_item' => 'Do you really want to remove this item?',
'confirm_remove_preview_photo' => 'Do you really want to remove this photo?',
'move_current_photo_to_gallery' => 'Move current photo to gallery'
];
4 changes: 3 additions & 1 deletion app/lang/es/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,5 +461,7 @@
'date_select_today' => 'Utilice la fecha de hoy',
'plant_sorting_view_cards' => 'Ver como tarjetas',
'plant_sorting_view_list' => 'Ver como lista',
'amount' => 'Cantidad'
'amount' => 'Cantidad',
'confirm_remove_preview_photo' => 'Do you really want to remove this photo?',
'move_current_photo_to_gallery' => 'Move current photo to gallery'
];
4 changes: 3 additions & 1 deletion app/lang/fr/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,5 +461,7 @@
'date_select_today' => 'Utilisez la date du jour',
'plant_sorting_view_cards' => 'Afficher sous forme de cartes',
'plant_sorting_view_list' => 'Afficher sous forme de liste',
'amount' => 'Quantité'
'amount' => 'Quantité',
'confirm_remove_preview_photo' => 'Do you really want to remove this photo?',
'move_current_photo_to_gallery' => 'Move current photo to gallery'
];
4 changes: 3 additions & 1 deletion app/lang/pl/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,5 +461,7 @@
'date_select_today' => 'Użyj dzisiejszej daty',
'plant_sorting_view_cards' => 'Zobacz jako karty',
'plant_sorting_view_list' => 'Wyświetl jako listę',
'amount' => 'Ilość'
'amount' => 'Ilość',
'confirm_remove_preview_photo' => 'Do you really want to remove this photo?',
'move_current_photo_to_gallery' => 'Move current photo to gallery'
];
2 changes: 1 addition & 1 deletion app/views/details.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
<div class="plant-photo-view is-pointer" onclick="window.vue.showImagePreview('{{ str_replace('_thumb', '', abs_photo($plant->get('photo'))) }}');"><i class="fas fa-expand fa-lg"></i></div>
<div class="plant-photo-edit is-pointer" onclick="{{ (($plant->get('photo') === PlantsModel::PLANT_PLACEHOLDER_FILE) ? 'document.getElementById(\'checkbox-move-to-gallery\').style.display = \'none\';': '') }}window.vue.showEditPhoto({{ $plant->get('id') }}, 'photo', '{{ __('app.plant_photo_orientation_hint') }}');"><i class="fas fa-upload fa-lg"></i></div>
@if ($plant->get('photo') !== PlantsModel::PLANT_PLACEHOLDER_FILE)
<div class="plant-photo-clear is-pointer" onclick="if (confirm('{{ __('app.confirm_remove_generic_item') }}')) { window.vue.removePlantPreviewPhoto({{ $plant->get('id') }}, '.plant-photo'); }"><i class="far fa-minus-square fa-lg"></i></div>
<div class="plant-photo-clear is-pointer" onclick="if (confirm('{{ __('app.confirm_remove_preview_photo') }}')) { window.vue.removePlantPreviewPhoto({{ $plant->get('id') }}, '.plant-photo'); }"><i class="far fa-minus-square fa-lg"></i></div>
@endif
@if (app('enable_media_share', false))
Expand Down

0 comments on commit 70b0235

Please sign in to comment.