mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14:05 +00:00
92c48fba22
Every file write went straight to the API, so offline a star snapped back
without a word and moving a file to the trash failed with "Failed to delete
file". Notes, the place or booking of a file, a further link, the star, the
trash move, restore, delete for good and emptying the trash now go through
fileRepo and the mutation queue like the other trip data: the local copy
changes at once, and an online write to a file that still has an older one
queued joins the queue behind it, since file writes carry no version token.
The desktop file manager, its assign dialog and the phone's files tab,
menu, link and trash sheets all write through it.
The single file answers carry no ids of further links, so a replayed edit,
star or restore keeps the ones the local copy holds, and the link answer
({ success, links }) writes no row.
What only works online says so instead of failing: an upload shows that it
needs a connection, a place saved with newly picked files is stopped with a
hint, and removing a further link (its row id is known only to the server)
asks to try again once online.
Refs #2601
74 lines
3.4 KiB
TypeScript
74 lines
3.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const files: TranslationStrings = {
|
||
'files.filterStarred': 'Yıldızlı',
|
||
'files.link': 'Bağla',
|
||
'files.linkTitle': 'Dosyayı bağla',
|
||
'files.linkEmpty': 'Bağlanacak yer veya rezervasyon yok',
|
||
'files.menu': 'Diğer seçenekler',
|
||
'files.uploadErrorSize': 'Dosya çok büyük (maks. {max} MB)',
|
||
'files.title': 'Dosyalar',
|
||
'files.pageTitle': 'Dosyalar ve Belgeler',
|
||
'files.subtitle': '{trip} için {count} dosya',
|
||
'files.subtitle.one': '{trip} için {count} dosya',
|
||
'files.download': 'İndir',
|
||
'files.openError': 'Dosya açılamadı',
|
||
'files.downloadPdf': 'PDF İndir',
|
||
'files.count': '{count} dosya',
|
||
'files.count.one': '{count} dosya',
|
||
'files.uploaded': '{count} dosya yüklendi',
|
||
'files.uploaded.one': '{count} dosya yüklendi',
|
||
'files.uploadError': 'Yükleme başarısız oldu',
|
||
'files.uploadErrorType': 'Bu dosya türü desteklenmiyor',
|
||
'files.dropzone': 'Dosyaları buraya bırakın',
|
||
'files.dropzoneHint': 'veya göz atmak için tıklayın',
|
||
'files.allowedTypes': 'Görsel, PDF, DOC, DOCX, XLS, XLSX, TXT, CSV · Maks. 50 MB',
|
||
'files.uploading': 'Yükleniyor...',
|
||
'files.filterAll': 'Tüm',
|
||
'files.filterPdf': "PDF'ler",
|
||
'files.filterImages': 'Görseller',
|
||
'files.filterDocs': 'Belgeler',
|
||
'files.filterCollab': 'İşbirliği Notları',
|
||
'files.sourceCollab': 'İşbirliği notlarından',
|
||
'files.empty': 'Henüz dosya yok',
|
||
'files.emptyHint': 'Seyahatinize eklemek için dosya yükleyin',
|
||
'files.openTab': 'Yeni sekmede aç',
|
||
'files.confirm.delete': 'Bu dosyayı silmek istediğinizden emin misiniz?',
|
||
'files.toast.deleted': 'Dosya silindi',
|
||
'files.toast.deleteError': 'Dosya silinemedi',
|
||
'files.sourcePlan': 'Gün Planı',
|
||
'files.sourceBooking': 'Rezervasyon',
|
||
'files.sourceTransport': 'Ulaşım',
|
||
'files.attach': 'Ekle',
|
||
'files.pasteHint': 'Panodan görsel de yapıştırabilirsiniz (Ctrl+V)',
|
||
'files.trash': 'Çöp kutusu',
|
||
'files.trashEmpty': 'Çöp kutusu boş',
|
||
'files.emptyTrash': 'Çöp kutusunu boşalt',
|
||
'files.restore': 'Geri yükle',
|
||
'files.star': 'Yıldızla',
|
||
'files.unstar': 'Yıldızı kaldır',
|
||
'files.assign': 'Ata',
|
||
'files.assignTitle': 'Dosya Ata',
|
||
'files.assignPlace': 'Yer',
|
||
'files.assignBooking': 'Rezervasyon',
|
||
'files.assignTransport': 'Ulaşım',
|
||
'files.unassigned': 'Atanmamış',
|
||
'files.unlink': 'Bağlantıyı kaldır',
|
||
'files.toast.trashed': 'Çöp kutusuna taşındı',
|
||
'files.toast.restored': 'Dosya geri yüklendi',
|
||
'files.toast.trashEmptied': 'Çöp kutusu boşaltıldı',
|
||
'files.toast.assigned': 'Dosya atandı',
|
||
'files.toast.assignError': 'Atama başarısız',
|
||
'files.toast.restoreError': 'Geri yükleme başarısız',
|
||
'files.confirm.permanentDelete': 'Bu dosya kalıcı olarak silinsin mi? Bu işlem geri alınamaz.',
|
||
'files.confirm.emptyTrash': 'Çöp kutusundaki tüm dosyalar kalıcı olarak silinsin mi? Bu işlem geri alınamaz.',
|
||
'files.noteLabel': 'Not',
|
||
'files.notePlaceholder': 'Not ekleyin...',
|
||
'files.uploadNeedsConnection': 'Yükleme için bağlantı gerekiyor. TREK yeniden çevrimiçi olduğunda tekrar dene.',
|
||
'files.linkNeedsConnection':
|
||
'Bu bağlantıyı kaldırmak için internet bağlantısı gerekiyor. TREK yeniden çevrimiçi olduğunda tekrar dene.',
|
||
'files.placeFilesNeedConnection':
|
||
'Dosyaları yüklemek için bağlantı gerekiyor. Yeri çevrimdışı kaydetmek için yenilerini kaldır ya da yeniden çevrimiçi olduğunda kaydet.',
|
||
};
|
||
export default files;
|