Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Turkish translations #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
![Image description](previews/preview-desktop.png)

## Features
- Multi-Language support (English, বাংলা, हिन्दी, العربية, German, Indonesian, 日本語).
- Multi-Language support (English, বাংলা, हिन्दी, العربية, German, Indonesian, 日本語, Turkish).
- Popular Editor Support: TinyMCE 4, TinyMCE 5, CKEditor, Summernote
- Clean & fresh responsive UI
- Easy to install
Expand Down
38 changes: 28 additions & 10 deletions src/views/partials/action.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,52 @@
class="btn_desktop_preview select"
type="button"
title="{{trans('filemanager::filemanager.preview')}}"
ng-click="previewPhoto(photo)"><i class="fa fa-eye"></i>
ng-click="previewPhoto(photo)">
<i class="fa fa-eye"></i>
</button>

<button ng-if="isPreviewable(photo)"
class="btn_mobile_preview select"
type="button"
title="{{trans('filemanager::filemanager.preview')}}"
ng-click="mobilePreview(photo)"><i class="fa fa-eye"></i>
ng-click="mobilePreview(photo)">
<i class="fa fa-eye"></i>
</button>

<button type="button"
title="{{trans('filemanager::filemanager.edit')}}"
ng-click="editName(photo,$index)"
class="default"><i class="fa fa-edit"></i></button>
class="default">
<i class="fa fa-edit"></i>
</button>

<button type="button"
title="convert"
title="{{trans('filemanager::filemanager.convert')}}"
ng-if="isPreviewable(photo)"
ng-click="openConvertPopup(photo,$index)"
class="default"><i class="fa fa-recycle"></i></button>
class="default">
<i class="fa fa-recycle"></i>
</button>

<button type="button"
title="{{trans('filemanager::filemanager.select')}}"
ng-click="select(photo)"
ng-show="!bulkMode && selectMode"
class="select"><i class="fa fa-check"></i></button>
class="select">
<i class="fa fa-check"></i>
</button>

<a download ng-href="@{{ photo.absolute_url }}" class="btn warning"><i
class="fa fa-download"></i></a>
<button type="button" class="delete" ladda="photo.deleting"
<a download
title="{{trans('filemanager::filemanager.download')}}"
ng-href="@{{ photo.absolute_url }}"
class="btn warning">
<i class="fa fa-download"></i>
</a>

<button type="button"
class="delete"
ladda="photo.deleting"
title="{{trans('filemanager::filemanager.delete')}}"
ng-click="deletePhoto(photo,$index)">
<i class="fa fa-trash"></i>
</button>
</button>
3 changes: 3 additions & 0 deletions translations/en/filemanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
'action' => 'Action',
'bulk-select' => 'Bulk Select',
'showing-files' => 'Showing :current of :total files',
'select' => 'Select',
'download' => 'İndir',
'edit' => 'Edit',
'update' => 'Update',
'convert' => 'Convert',
'format' => 'Format',
'choose_format' => 'Choose Format',
'delete' => 'Delete',
];
28 changes: 28 additions & 0 deletions translations/tr/filemanager.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
return [
'title' => 'Dosya Yöneticisi',
'upload' => 'Yükle',
'upload-message' => 'Yükleyeceğiniz dosyayı sürükleyip bırakın',
'success-upload' => 'Başarıyla yüklendi!',
'search' => 'Ara',
'doc' => 'Belgeler',
'bulk-delete' => 'Çoklu Sil',
'preview' => 'Önizleme',
'name' => 'Ad',
'size' => 'Boyut',
'type' => 'Tür',
'modified' => 'Değiştirme tarihi',
'created' => 'Oluşturma tarihi',
'dimension' => 'Ölçüler',
'action' => 'İşlemler',
'bulk-select' => 'Çoklu Seçim',
'showing-files' => ':total dosyadan :current öğe gösteriliyor',
'select' => 'Seç',
'download' => 'İndir',
'edit' => 'Düzenle',
'update' => 'Güncelle',
'convert' => 'Dönüştür',
'format' => 'Dosya tipi',
'choose_format' => 'Dosya tipi seçiniz',
'delete' => 'Sil',
];