Skip to content

Commit

Permalink
Merge pull request #7 from moh-slimani/master
Browse files Browse the repository at this point in the history
Fix language files and add break-words to media name
  • Loading branch information
3x1io authored Jul 22, 2024
2 parents f9eb507 + bc29571 commit c882c97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions resources/lang/ar/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
'image' => 'الصورة',
'model' => 'النموذج',
'collection_name' => 'اسم المجموعة',
'size' => 'الججم',
'order_column' => 'عمود الترتيب',
],
'actions' => [
'sub_folder'=> [
Expand Down
2 changes: 2 additions & 0 deletions resources/lang/en/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
'image' => 'Image',
'model' => 'Model',
'collection_name' => 'Collection Name',
'size' => 'Size',
'order_column' => 'Order Column',
],
'actions' => [
'sub_folder'=> [
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages/media.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div>
<div class="flex flex-col justify-between border-t dark:border-gray-700 p-4">
<div>
<h1 class="font-bold">{{ $item->hasCustomProperty('title') ? $item->getCustomProperty('title') : $item->name }}</h1>
<h1 class="font-bold break-words">{{ $item->hasCustomProperty('title') ? $item->getCustomProperty('title') : $item->name }}</h1>
</div>

@if($item->hasCustomProperty('description'))
Expand Down

0 comments on commit c882c97

Please sign in to comment.