TagSpaces is an offline, open source, document manager with tagging support
redesign entry extension badge in the opener and grid perspective (#1281)
Ilianc71cfa27c7b9
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsxindex b6ade41cc..6ccf5ed17 100644--- a/app/components/EntryContainer.tsx+++ b/app/components/EntryContainer.tsx@@ -33,7 +33,6 @@ import ArrowRightIcon from '@material-ui/icons/KeyboardArrowRight';import FileDownloadIcon from '@material-ui/icons/AssignmentReturned';import DetailsIcon from '@material-ui/icons/Info';import ExpandIcon from '@material-ui/icons/SettingsEthernet';-import FolderIcon from '@material-ui/icons/FolderOpen';import SplitPane from 'react-split-pane';import DeleteIcon from '@material-ui/icons/Delete';import ShareIcon from '@material-ui/icons/Share';@@ -95,11 +94,14 @@ const styles: any = (theme: any) => ({entryProperties: {display: 'inline',flex: '1 1 100%',+ backgroundColor: theme.palette.background.default,+ zIndex: 1,padding: '0 0 60px 0',height: '50%'},fileOpener: {width: '100%',+ zIndex: 3,border: 0},toolbar: {@@ -119,6 +121,7 @@ const styles: any = (theme: any) => ({display: 'flex',flexDirection: 'row',justifyContent: 'flex-start',+ zIndex: 2,borderBottom: '1px solid ' + theme.palette.divider,overflowX: AppConfig.isFirefox ? 'auto' : 'overlay'},@@ -132,15 +135,17 @@ const styles: any = (theme: any) => ({fileBadge: {color: 'white',backgroundColor: AppConfig.defaultFileColor,- padding: '2px 6px 0px 6px',- minHeight: 22,- marginRight: 5,- borderRadius: 5+ padding: '2px 5px 0px 5px',+ minHeight: 18,+ fontSize: 13,+ marginLeft: 3,+ marginTop: -2,+ borderRadius: 3},entryNameButton: {- paddingTop: 0,+ paddingTop: 1,paddingRight: 0,- paddingLeft: 0,+ paddingLeft: 6,paddingBottom: 0,minWidth: 20,height: 44,@@ -1090,12 +1095,21 @@ const EntryContainer = (props: Props) => {<Box className={classes.flexLeft}>{openedFile.isFile ? (<Button- // onClick={togglePanel}disabledtitle={openedFile.url || openedFile.path}aria-label={i18n.t('core:toggleEntryProperties')}className={classes.entryNameButton}>+ <Box+ style={{+ color: props.theme.palette.text.primary+ }}+ >+ {openedFile.editMode && openedFile.changed+ ? String.fromCharCode(0x25cf) + ' '+ : ''}+ {fileTitle}+ </Box><BoxclassName={classes.fileBadge}title={i18n.t('core:toggleEntryProperties')}@@ -1109,42 +1123,30 @@ const EntryContainer = (props: Props) => {PlatformIO.getDirSeparator())}</Box>- <Typography- style={{- color: props.theme.palette.text.primary- }}- >- {openedFile.editMode && openedFile.changed- ? String.fromCharCode(0x25cf) + ' '- : ''}- {fileTitle}- </Typography></Button>) : (<Buttondisabled- // onClick={togglePanel}title={openedFile.url || openedFile.path}aria-label={i18n.t('core:toggleEntryProperties')}className={classes.entryNameButton}>- <div- className={classes.fileBadge}- title={i18n.t('core:toggleEntryProperties')}+ <Boxstyle={{- backgroundColor: AppConfig.defaultFolderColor,- paddingTop: 5+ color: props.theme.palette.text.primary}}>- <FolderIcon />- </div>- <Typography+ {fileTitle}+ </Box>+ <Box+ className={classes.fileBadge}+ title={i18n.t('core:toggleEntryProperties')}style={{- color: props.theme.palette.text.primary+ backgroundColor: AppConfig.defaultFolderColor}}>- {fileTitle}- </Typography>+ {i18n.t('core:folder')}+ </Box></Button>)}</Box>diff --git a/app/config.ts b/app/config.tsindex 35ec917e2..aecf5bdcf 100644--- a/app/config.ts+++ b/app/config.ts@@ -44,7 +44,7 @@ export const AppConfig = {maxIndexAge: 10 * 60 * 1000, // 10 minutes// maxSearchResult: 1000,defaultFileColor: '#808080',- defaultFolderColor: '#555', // transparent #FDEEBD #ff791b #2c001e #880e4f+ defaultFolderColor: '#582727', // 555 transparent #FDEEBD #ff791b #2c001e #880e4flinks: {checkNewVersionURL: 'https://www.tagspaces.org/releases/tagspaces.json',productsOverview: 'https://www.tagspaces.org/products/',diff --git a/app/locales/id_ID/core.json b/app/locales/id_ID/core.jsonindex dade3d759..964c9a17f 100644--- a/app/locales/id_ID/core.json+++ b/app/locales/id_ID/core.json@@ -1,14 +1,14 @@{- "ok": "Ok",+ "ok": "Oke","confirm": "Konfirmasi",- "cancel": "Cancel",- "yes": "Yes",- "no": "No",+ "cancel": "Batal",+ "yes": "Iya",+ "no": "Tidak","titleConfirm": "Konfirmasi","titleAlert": "Perhatian","aboutTitle": "Tentang TagSpaces",- "deleteTagGroupContentConfirm": "Do you want to delete the tag group '{{tagGroup}}' ?",- "deleteLocationContentAlert": "Do you want to delete the location '{{locationName}}'?",+ "deleteTagGroupContentConfirm": "Apakah Anda ingin hapus grup tag '{{tagGroup}}' ?",+ "deleteLocationContentAlert": "Apakah Anda ingin hapus lokasi '{{locationName}}'?","deleteLocationTitleAlert": "Hapus Lokasi","newFileType": "Tipe","renameFileTitle": "Ganti Nama File",@@ -21,7 +21,7 @@"tagOperationTagsPlaceholder": "Tag","tagOperationAddTag": "Tambahkan Tag","tagOperationRemoveTag": "Hapus Tag",- "tagOperationCleanTags": "Clean All Tags",+ "tagOperationCleanTags": "Bersihkan Semua Tag","copyMoveFilesTitle": "Pindah atau Salin File","moveCopyToPath": "Target Lokasi","moveFilesButton": "Pindahkan File",@@ -30,320 +30,320 @@"addTagsToGroupTitle": "Tambah tag ke tag group","addTagsToGroupTags": "Tag","addTagsToGroupTagsPlaceholder": "Daftar Tag yang dipisah koma",- "editTagGroupTitle": "Edit tag group",- "editTagGroupNewName": "Nama Tag Group",- "createTagGroupTitle": "Buat Tag Group",- "createTagGroupName": "Nama Tag Group",- "createNewDirectoryTitle": "Buat Nama Direktori",- "createFileTitle": "Create File / Note",- "createNote": "Create Note",- "createNoteTitle": "Press 'N' to create a note (rech text formatting)",+ "editTagGroupTitle": "Edit grup tag",+ "editTagGroupNewName": "Nama Grup Tag",+ "createTagGroupTitle": "Buat Grup Tag",+ "createTagGroupName": "Nama Grup Tag",+ "createNewDirectoryTitle": "Buat Direktori Baru",+ "createFileTitle": "Buat File / Catatan",+ "createNote": "Buat Catatan",+ "createNoteTitle": "Tekan 'N' untuk buat catatan (pemformatan teks kaya)","createNewDirectoryTitleName": "Nama Direktori Baru","renameDirectoryTitle": "Ganti Nama Direktori","deleteDirectoryTitleConfirm": "Konfirmasi Hapus Direktori",- "deleteDirectoryContentConfirm": "Do you want to delete the directory '{{dirPath}}' ?",- "errorDeletingDirectoryAlert": "Deleting '{{dirPath}}' failed. Directory probably not empty.",- "deletingDirectorySuccessfull": "Directory '{{dirPath}}' successfully deleted.",- "renameDirectoryTitleName": "New directory name",- "filePropertiesDescription": "Description",- "directoryPropertiesTitle": "Directory Properties",+ "deleteDirectoryContentConfirm": "Apakah Anda ingin hapus direktori '{{dirPath}}' ?",+ "errorDeletingDirectoryAlert": "Menghapus '{{dirPath}}' gagal. Direktori mungkin tidak kosong.",+ "deletingDirectorySuccessfull": "Direktori '{{dirPath}}' berhasil dihapus.",+ "renameDirectoryTitleName": "Nama direktori baru",+ "filePropertiesDescription": "Deskripsi",+ "directoryPropertiesTitle": "Properti Direktori","createLocationTitle": "Sambungkan ke Lokasi",- "createLocationPath": "Lokasi",+ "createLocationPath": "Jalur Lokasi","createLocationName": "Nama Lokasi","createLocationDefaultPerspective": "Perspektif Default","editLocationTitle": "Edit Lokasi",- "editLocationPath": "Lokasi",+ "editLocationPath": "Jalur Lokasi","editLocationName": "Nama Lokasi","editLocationDefaultPerspective": "Perspektif Default",- "startupLocation": "Startup location",+ "startupLocation": "Lokasi mulai","removeLocation": "Hapus Lokasi",- "closeLocation": "Close Location",+ "closeLocation": "Tutup Lokasi","generalTab": "Umum","fileTypeTab": "Tipe File","keyBindingsTab": "Kaitan Tombol",- "fileViewer": "Viewer File",- "reloadDocument": "Baca Ulang Dokumen",- "selectAllFiles": "Select all files",- "selectAllTagGroups": "Select/Deselect All Tag Groups",+ "fileViewer": "Penampil File",+ "reloadDocument": "Muat Ulang Dokumen",+ "selectAllFiles": "Pilih semua file",+ "selectAllTagGroups": "Pilih/Batal Pilih Semua Grup Tag","closeViewer": "Tutup Dokumen","propertiesDocument": "Properti Dokumen","saveDocument": "Simpan Dokumen","nextDocument": "Dokumen Selanjutnya","prevDocument": "Dokumen Sebelumnya","editDocument": "Edit Dokumen",- "zoomReset": "Actual Size",+ "zoomReset": "Ukuran Aktual","zoomIn": "Perbesar","zoomOut": "Perkecil","showHelp": "Edit Dokumen",- "openDevTools": "Open Dev Tools",- "showTagLibrary": "Tampilkan Daftar Tag",- "showLocationManager": "Show Location Manager",- "toggleShowHiddenEntries": "Toggle Show Hidden Entries",- "showSearch": "Show Search",- "deleteDocument": "Delete Document",- "openFileExternally": "Open File Externally",- "showUnixHiddenFiles": "Tampilkan file/direktori dengan titik (.) didepan nama (seperti hidden file di Unix, Linux, OS X)",- "checkForNewVersionOnStartup": "Cek versi baru pada startup",- "calculateTag": "Extracts the tags used in the current folder",- "tagDelimiter": "Pemisah tag (contoh: Nama file [TAG1_TAG2], _ adalah pemisah tag)",- "prefixTagContainer": "Prefix kumpulan tag (contoh: 'Nama file_[TAG1].txt', '_' adalah prefix)",- "fileNameHelp": "File name should be at least one character long and should not contain the following characters: # / \\ : * ? \" < > |",- "directoryNameHelp": "Directory name should be at least one character long and should not contain the following characters: # / \\ : * ? \" < > |",- "exportTagGroupsButton": "Export Tag Library",- "showMainMenu": "Tampilkan menu utama (restart diperlukan)",- "useDefaultLocation": "Use default location as a startup location",- "enablingUsingMetaFolder": "Enable the use of a hidden folder(.ts) for storing meta data and thumbnails",- "persistTagsInSidecarFile": "Use sidecar files for file tagging",- "addTagsToLibrary": "Collect new tags in the tag library",- "useTrashCan": "Move deleted files or folders to trash bin",- "invalidImportFile": "Format file yang diimport tidak valid",- "invalidPath": "Invalid Path",+ "openDevTools": "Buka Alat Pengembang",+ "showTagLibrary": "Tampilkan PustakaTag",+ "showLocationManager": "Tampilkan Manajer Lokasi",+ "toggleShowHiddenEntries": "Tampilkan Entri Tersembunyi",+ "showSearch": "Tampilkan Pencarian",+ "deleteDocument": "Hapus Dokumen",+ "openFileExternally": "Buka File Dengan Eksternal",+ "showUnixHiddenFiles": "Tampilkan file/direktori dengan titik(.) di depan nama (seperti file tersembunyi di Unix, Linux, OS X)",+ "checkForNewVersionOnStartup": "Cek versi baru saat mulai",+ "calculateTag": "Ekstrak tag yang digunakan di folder ini",+ "tagDelimiter": "Pemisah tag (contoh: Namafile[TAG1_TAG2], _ adalah pemisah)",+ "prefixTagContainer": "Prefiks untuk wadah tag (contoh: 'Namafile_[TAG1].txt', '_' adalah prefix)",+ "fileNameHelp": "Nama file harus minimal satu karakter dan tidak boleh terdapat karakter berikut: # / \\ : * ? \" < > |",+ "directoryNameHelp": "Nama direktori harus minimal satu karakter dan tidak boleh terdapat karakter: # / \\ : * ? \" < > |",+ "exportTagGroupsButton": "Ekspor Pustaka Tag",+ "showMainMenu": "Tampilkan menu utama (mulai ulang diperlukan)",+ "useDefaultLocation": "Gunakan lokasi default sebagai lokasi mulai",+ "enablingUsingMetaFolder": "Aktifkan penggunaan folder tersembunyi(.ts) untuk menyimpan meta data dan gambar mini ",+ "persistTagsInSidecarFile": "Gunakan sisi file untuk pemberian tag file",+ "addTagsToLibrary": "Kumpulkan tag baru di pustaka tag",+ "useTrashCan": "Pindahkan file atau folder yang terhapus ke keranjang sampah",+ "invalidImportFile": "Format file yang diimpor tidak valid",+ "invalidPath": "Jalur Tidak Valid","importGroupTagsTitle": "Impor tag dari file",- "exportGroupTagsTitle": "Export Tags Groups from TagSpaces",- "successfullyImportedGroupTags": "TagGroups are successfully imported",- "successfullyExportedGroupTags": "TagGroups are successfully exported",- "confirmSaveButton": "Save",- "useOCR": "Enable OCR of images",- "useTextExtraction": "Enable text extraction from files",- "useGenerateThumbnails": "Enable thumbnails generation",- "interfaceLanguage": "Interface Language",- "loadLocationMetaData": "Loads location meta data (currently only tag groups)",- "useSearchInSubfolders": "Search in sub-folders by default",- "watchCurrentDirectory": "Watch current directory for changes",- "createEditDateTitle": "Create/Edit Date",- "editDateTag": "Edit Date",- "dateTimeTab": "Date Time",- "dateCalendarTab": "Date",- "dateTime": "Date Time",- "dateRangeTab": "Date Range",- "fromDateTime": "From",- "toDateTime": "To",- "coloredFileExtensionsEnabled": "Enable colored file type extensions",- "showTagAreaOnStartup": "Always show tag area on startup",- "tagBackgroundColor": "Default tag background color",- "tagForegroundColor": "Default tag text color",- "colorChangesToAllTags": "Apply color changes to all tags of the group",- "delete": "Delete",- "enableGlobalKeyboardShortcuts": "Enable global keyboard shortcuts",+ "exportGroupTagsTitle": "Ekspor grup tag dari TagSpaces",+ "successfullyImportedGroupTags": "GrupTag berhasil diimpor",+ "successfullyExportedGroupTags": "GrupTag berhasil diekspor",+ "confirmSaveButton": "Simpan",+ "useOCR": "Aktifkan OCR gambar",+ "useTextExtraction": "Aktifkan ekstrasi teks dari file",+ "useGenerateThumbnails": "Aktifkan generasi gambar mini",+ "interfaceLanguage": "Bahasa Antarmuka",+ "loadLocationMetaData": "Muat lokasi meta data (sekarang hanya grup tag)",+ "useSearchInSubfolders": "Cari di sub-folder secara default",+ "watchCurrentDirectory": "Lihat direktori ini untuk perubahan",+ "createEditDateTitle": "Buat/Edit Tanggal",+ "editDateTag": "Edit Tanggal",+ "dateTimeTab": "Waktu Tanggal",+ "dateCalendarTab": "Tanggal",+ "dateTime": "Waktu Tanggal",+ "dateRangeTab": "Rentang Tanggal",+ "fromDateTime": "Dari",+ "toDateTime": "Ke",+ "coloredFileExtensionsEnabled": "Aktifkan ekstensi tipe file berwarna",+ "showTagAreaOnStartup": "Selalu tampilkan area tag saat mulai",+ "tagBackgroundColor": "Warna latar belakang tag default",+ "tagForegroundColor": "Warna teks tag default",+ "colorChangesToAllTags": "Terapkan perubahan warna ke semua tag dari grup",+ "delete": "Hapus",+ "enableGlobalKeyboardShortcuts": "Aktifkan pintasan keyboard global","name": "TagSpaces","fileOperations": "Operasi File","addRemoveTags": "Tambah / Hapus Tag","openFile": "Buka File","downloadFile": "Unduh","openFileNatively": "Buka menggunakan aplikasi",- "openContainingFolder": "Buka folder pada lokasi",+ "openContainingFolder": "Buka Foldernya","showInFileManager": "Tampilkan dalam File Manager",- "fullscreen": "Open in Fullscreen",+ "fullscreen": "Buka dalam Layar Penuh","renameFile": "Ganti Nama File","moveCopyFile": "Pindah / Salin File","duplicateFile": "Duplikasi File",- "deleteEntry": "Delete",+ "deleteEntry": "Hapus","reloadFile": "Baca Ulang","closeFile": "Tutup File","fileProperties": "Properti",- "editFile": "Edit file",+ "editFile": "Edit File","saveFile": "Simpan File","openPrevFileTooltip": "Buka file sebelumnya","openPrevFile": "File sebelumnya","openNextFileTooltip": "Buka file berikutnya","openNextFile": "File Berikutnya",- "showFilesWithThisTag": "Tampilkan File dengan tag ini",+ "showFilesWithThisTag": "Tampilkan File dengan Tag Ini","editTag": "Edit Tag",- "removeTagTooltip": "Do you really want to remove this tag?",+ "removeTagTooltip": "Apaka Anda yakin ingin hapus tag ini?","removeTag": "Hapus Tag",- "tagSelectedFiles": "Tag File Terpilih",+ "tagSelectedFiles": "Beri Tag yang Dipilih","deleteTagFromTagGroup": "Hapus Tag",- "deleteTagFromTagGroupContentConfirm": "Do you want to delete the tag '{{tagName}}' from the taggroup?",- "tagGroupOperations": "Operasi tag group",+ "deleteTagFromTagGroupContentConfirm": "Apakah Anda ingin menghapus tag '{{tagName}}' dari the gruptag?",+ "tagGroupOperations": "Operasi Grup Tag","addTags": "Tambahkan Tag",- "addTag": "Add Tag",- "importTags": "Import Tag Library",- "createTagGroup": "Buat Tag Group",- "moveTagGroupUp": "Geser Tag Group ke Atas",- "moveTagGroupDown": "Geser Tag Group ke Bawah",- "editTagGroup": "Edit Tag Group",- "toggleTagGroup": "On/Off Tag Group",- "deleteTagGroup": "Hapus Tag Group",- "sortTagGroup": "Urutkan Tag Group",- "reloadDirectory": "Baca Ulang Direktori",- "newSubdirectory": "Buat Sub Direktori Baru",- "openParentDirectory": "Open Parent Directory",- "openDirectory": "Open Directory",+ "addTag": "Tambahkan Tag",+ "importTags": "Impor Pustaka Tag",+ "createTagGroup": "Buat Grup Tag",+ "moveTagGroupUp": "Pindah Grup Tag ke Atas",+ "moveTagGroupDown": "Pindah Grup Tag ke Bawah",+ "editTagGroup": "Edit Grup Tag",+ "toggleTagGroup": "Ubah Grup Tag",+ "deleteTagGroup": "Hapus Grup Tag",+ "sortTagGroup": "Urutkan Grup Tag",+ "reloadDirectory": "Muat Ulang Direktori",+ "newSubdirectory": "Sub-Direktori Baru",+ "openParentDirectory": "Buka Direktori Induk",+ "openDirectory": "Buka Direktori","aboutTagSpaces": "Tentang TagSpaces",- "startingHints": "Tips",- "whatsNew": "Hal yang baru",- "suggestNewFeatures": "Suggest a feature",- "reportIssues": "Report a problem",- "followOnTwitter": "Follow us on Twitter",- "likeUsOnFacebook": "Contact us on Facebook",- "searchPlaceholder": "Search current location",- "tagSearchOR": "At least one tag",- "tagSearchORTitle": "Entry should contain at least one of the tags (OR search)",- "tagSearchAND": "All tags",- "tagSearchANDTitle": "Entry should contain all of the tags (AND search)",+ "startingHints": "Tips Memulai",+ "whatsNew": "Berita Terbaru",+ "suggestNewFeatures": "Usulkan fitur",+ "reportIssues": "Laporkan masalah",+ "followOnTwitter": "Ikuti kami di Twitter",+ "likeUsOnFacebook": "Kontak kami di Facebook",+ "searchPlaceholder": "Cari lokasi saat ini",+ "tagSearchOR": "Minimal satu tag",+ "tagSearchORTitle": "Entri harus terdapat minimal salah satu dari tag (pencarian ATAU)",+ "tagSearchAND": "Semua tag",+ "tagSearchANDTitle": "Entri harus terdapat semua dari tag (pencarian DAN)","perspectiveSwitch": "Ganti Perspektif",- "perspectiveManager": "Perspective Manager",+ "perspectiveManager": "Manajer Perspektif","noSubfoldersFound": "Tidak ada subfolder","editLocation": "Edit Lokasi",- "toggleDirectory": "On/Off Direktori",+ "toggleDirectory": "Hidupkan/Matikan Direktori","renameDirectory": "Ganti Nama Direktori","deleteDirectory": "Hapus Direktori",- "showDevTools": "Tampilkan Perangkat Pengembang",- "toggleFullScreen": "On/Off Tampilan Full",- "reloadApplication": "Baca Ulang Aplikasi",+ "showDevTools": "Tampilkan Alat Pengembang",+ "toggleFullScreen": "Hidupkan/Matikan Tampilan Full",+ "reloadApplication": "Muat Ulang Aplikasi","edit": "Edit",- "undo": "Undo",- "redo": "Redo",- "cut": "Cut",- "copy": "Copy",- "paste": "Paste",- "selectAll": "Select All",+ "undo": "Batalkan",+ "redo": "Kembalikan",+ "cut": "Potong",+ "copy": "Salin",+ "paste": "Tempel",+ "selectAll": "Pilih Semua","view": "Tampilan","help": "Bantuan",- "license": "License Agreement",- "agreeLicense": "I Agree",- "shortcutKeys": "Keyboard Shortcuts",+ "license": "Perjanjian Lisensi",+ "agreeLicense": "Saya Setuju",+ "shortcutKeys": "Pintasan Keyboard","settings": "Pengaturan",- "fileExists": "Target file '{{fileName}}' already exists.",+ "fileExists": "File target '{{fileName}}' sudah ada.","searchTitle": "Cari","resetBtn": "Reset",- "services": "Services",- "quit": "Quit",- "next": "Next",- "prev": "Back",- "done": "Done",- "searchWordsWithInterval": "Search words separated by space",- "tagsWithInterval": "Tags separated by spaces",+ "services": "Servis",+ "quit": "Keluar",+ "next": "Berikutnya",+ "prev": "Kembali",+ "done": "Selesai",+ "searchWordsWithInterval": "Cari kata dipisah dengan spasi",+ "tagsWithInterval": "Tag dipisah dengan spasi","searchTags": "Tag",- "searchFileTypes": "File Type (e.g. documents, pictures, ...)",- "searchHistory": "Search History",- "searchPictures": "Pictures & Photos",- "searchDocuments": "Documents",- "searchNotes": "Notes",+ "searchFileTypes": "Tipe File (Contoh: dokumen, gambar, ...)",+ "searchHistory": "Riwayat Pencarian",+ "searchPictures": "Gambar dan Foto",+ "searchDocuments": "Dokumen",+ "searchNotes": "Catatan","searchAudio": "Audio",- "searchVideoFiles": "Videos",- "searchArchives": "Archives",- "searchBookmarks": "Bookmarks",- "searchEbooks": "eBooks",- "searchFolders": "Folders",- "searchFiles": "Files",- "searchUntaggedEntries": "Untagged files or folders",- "searchSubFolder": "Search in subfolders",+ "searchVideoFiles": "Video",+ "searchArchives": "Arsip",+ "searchBookmarks": "Bookmark",+ "searchEbooks": "eBook",+ "searchFolders": "Folder",+ "searchFiles": "File",+ "searchUntaggedEntries": "File atau folder yang tidak bertag",+ "searchSubFolder": "Cari di subfolder","file": "File",- "newFileNote": "New File / Note",- "createNewContent": "Create New Content",- "createTextFile": "Create Text File",- "createTextFileTitle": "Press 'T' to create a simple text file",- "createMarkdown": "Create Markdown File",- "createMarkdownTitle": "Press 'M' to create a markdown file",- "createRichTextFile": "Rich Text (html)",- "createDirectory": "New Directory",- "addFiles": "Add Files",- "addFilesTitle": "Press 'A' to add a files",- "exitApp": "Exit",- "closeWin": "Close Window",- "openNewInstance": "New Application Window",- "documentation": "Documentation",- "selectFile": "Please select a file first.",- "geoTaggingNotPossible": "Geo Tagging not possible!",- "needProVersion": "This feature is available in TagSpaces PRO.",+ "newFileNote": "File / Catatan Baru",+ "createNewContent": "Buat Konten Baru",+ "createTextFile": "Buat File Teks",+ "createTextFileTitle": "Tekan 'T' untuk buat file teks sederhana",+ "createMarkdown": "Buat File Markdown",+ "createMarkdownTitle": "Tekan 'M' untuk buat file markdown",+ "createRichTextFile": "Teks Kaya (html)",+ "createDirectory": "Direktori Baru",+ "addFiles": "Tambahkan File",+ "addFilesTitle": "Tekan 'A' untuk tambahkan file",+ "exitApp": "Keluar",+ "closeWin": "Tutup Jendela",+ "openNewInstance": "Jendela Aplikasi Baru",+ "documentation": "Dokumentasi",+ "selectFile": "Pilih file dahulu",+ "geoTaggingNotPossible": "Pemberian Tag Geo tidak bisa!",+ "needProVersion": "Fitur ini tersedia di TagSpaces PRO","sizeInBytes": "bytes","error": "Error",- "warning": "Warning",+ "warning": "Peringatan","info": "Info",- "fileExtension": "Eks. File",+ "fileExtension": "File Ext.","fileTitle": "Judul","fileTags": "Tag","fileSize": "Ukuran","fileLDTM": "Tanggal Modifikasi",- "random": "Random",- "fileDirectory": "Directory",- "fileFirstTag": "First Tag",+ "random": "Acak",+ "fileDirectory": "Direktori",+ "fileFirstTag": "Tag Pertama","filePath": "Lokasi","fileName": "Nama File",- "createTXTFile": "Buat File Plain Text",- "cameraTakePicture": "Take Picture",- "deleteConfirmationTitle": "Confirm Delete",- "deleteConfirmationContent": "The selected entries will be permanently deleted. Are you sure?",- "changeBackgroundColor": "Change Background Color",- "moreOperations": "More Operations",+ "createTXTFile": "File Teks Biasa Baru",+ "cameraTakePicture": "Ambil Gambar",+ "deleteConfirmationTitle": "Konfirmasi Hapus",+ "deleteConfirmationContent": "Entri yang dipilih akan dihapus permanen. Anda yakin?",+ "changeBackgroundColor": "Ganti Latar Belakang Warna",+ "moreOperations": "Operasi Lainnya","options": "Opsi",- "desktopMode": "Desktop mode",- "locationManager": "Location Manager",- "chooseLocation": "Open Location",- "colorPickerDialogTitle": "Choose color",- "themeSelector": "Theme selector",- "moveUp": "Move Up",- "moveDown": "Move Down",- "chooseSearchQuery": "Choose a search query",- "closeButton": "Close",- "addNewFileType": "Add new file type",- "dropHere": "Drop tags here",- "confirmFileTypeDeletion": "Do you want to delete this file type?",- "confirmTagDeletion": "Are you sure you want to remove this tag?",- "confirmSelectedTagsDeletion": "Are you sure you want to delete the selected tags?",- "confirmAllTagsDeletion": "Are you sure you want to remove all tags?",- "existingTags": "Existing tags",- "addDescription": "Adding description with markdown support available in TagSpaces PRO",- "addMarkdownDescription": "Click to add description, some markdown supported",- "addEntryTags": "Add",- "modifiedDate": "Last modified",- "latestVersion": "You are on the latest version of {{productName}}",- "taggroupTitleHelper": "Empty Title",- "toggleProperties": "Toggle properties",- "switchToFullscreen": "Switch to fullscreen",- "openInFullWidth": "Open in full width",- "openDirectoryExternally": "Open directory externally",- "toggleEntryProperties": "Toggle entry properties",- "closeEntry": "Close entry",- "saveFileBeforeClosingFile": "Do you want to save the changes before closing the file?",- "openDirectoryMenu": "Open directory menu",- "pleaseOpenLocation": "Please open location",- "thisIsStartupLocation": "This is the startup location",- "thisFunctionalityIsAvailableInPro": "This functionality is available in the PRO version",- "fileType": "File type",+ "desktopMode": "Mode dekstop",+ "locationManager": "Manajer Lokasi",+ "chooseLocation": "Buka Lokasi",+ "colorPickerDialogTitle": "Pilih warna",+ "themeSelector": "Pemilih tema",+ "moveUp": "Pindah ke Atas",+ "moveDown": "Pindah ke Bawah",+ "chooseSearchQuery": "Pilih kueri pencarian",+ "closeButton": "Tutup",+ "addNewFileType": "Tambahkan tipe file baru",+ "dropHere": "Jatuhkan tag di sini",+ "confirmFileTypeDeletion": "Apakah Anda ingin hapus tipe file ini?",+ "confirmTagDeletion": "Apakah Anda yakin Anda ingin hapus tag ini?",+ "confirmSelectedTagsDeletion": "Apakah Anda yakin Anda ingin hapus tag yang terpilih?",+ "confirmAllTagsDeletion": "Apakah Anda yakin Anda ingin hapus semua tag?",+ "existingTags": "Tag yang ada",+ "addDescription": "Menambahkan deskripsi dengan dukungan markdown terdapat di TagSpaces PRO",+ "addMarkdownDescription": "Klik untuk tambahkan deskripsi, beberapa markdown didukung",+ "addEntryTags": "Tambahkan",+ "modifiedDate": "Terakhir dimodifikasi",+ "latestVersion": "Anda menggunakan versi terbaru dari {{productName}}",+ "taggroupTitleHelper": "Judul Kosong",+ "toggleProperties": "Hidupkan/Matikan properti",+ "switchToFullscreen": "Pindah ke layar penuh",+ "openInFullWidth": "Buka dalam lebar penuh",+ "openDirectoryExternally": "Buka direktori eksternal",+ "toggleEntryProperties": "Hidupkan/Matikan properti entri",+ "closeEntry": "Tutup entri",+ "saveFileBeforeClosingFile": "Apakah Anda ingin menyimpan perubahan sebelum tutup file?",+ "openDirectoryMenu": "Buka menu direktori",+ "pleaseOpenLocation": "Buka lokasi",+ "thisIsStartupLocation": "Ini lokasi mulai",+ "thisFunctionalityIsAvailableInPro": "Fungsionalitas ini tersedia di versi PRO",+ "fileType": "Tipe file","fileEditor": "Editor File",- "anyType": "Any type",- "anyTime": "Any date or time",- "today": "Today",- "yesterday": "Yesterday",- "past7Days": "Past 7 days",- "past30Days": "Past 30 days",- "past6Months": "Past 6 months",- "pastYear": "Past year",- "moreThanYear": "More than one year",- "fileOpener": "File Opener",- "removeFileType": "Remove file type {{itemType}}",- "entries": "entries",- "tagLibrary": "Tag library",- "fileSavedSuccessfully": "File saved successfully",- "errorSavingFile": "Error saving file",- "doYouWantToDeleteFile": "Do you want to delete the file",- "checkForNewVersion": "Check for new version",- "getNewVersion": "Get new version {{newVersion}}",- "currentlyFileChangedSaveOrClose": "Currently opened file was changed, please first save or close it.",- "noFileFolderFound": "No file or folder found",- "toggleSelectAllFiles": "On/Off Pilih Semua File",- "entryDescription": "Entry description",- "noEntrySelected": "No entry selected",- "navigateToParentDirectory": "Navigate to parent directory",- "switchToGridView": "Switch to grid view",- "switchToListView": "Switch to list view",- "tagSelectedEntries": "Tag selected entries",- "copyMoveSelectedEntries": "Copy or move selected entries",- "deleteSelectedEntries": "Delete selected entries",- "showHideDirectories": "Show folders",- "showTags": "Show tags",- "sort": "Sort",- "thirdPartyLibs": "Third Party Libraries",- "indexLocation": "Refresh Location Index",- "readonlyModeSwitch": "Open this location in read-only mode",- "persistIndexSwitch": "Switch to manual index creation with persisted search index",- "createFullTextIndex": "Enable full text search for TXT, MD and HTML files (BETA)",- "watchForChangesInLocation": "Watch for external changes in this location",- "proFeature": "feature available in the PRO version",- "collectedTags": "Collected Tags",+ "anyType": "Tipe apa pun",+ "anyTime": "Tanggal atau waktu kapan pun",+ "today": "Hari ini",+ "yesterday": "Kemarin",+ "past7Days": "7 hari lalu",+ "past30Days": "30 hari lalu",+ "past6Months": "6 bulan lalu",+ "pastYear": "Tahun lalu",+ "moreThanYear": "Lebih dari satu tahun",+ "fileOpener": "Pembuka File",+ "removeFileType": "Hapus tipe file {{itemType}}",+ "entries": "entri",+ "tagLibrary": "Pustaka tag",+ "fileSavedSuccessfully": "File berhasil tersimpan",+ "errorSavingFile": "Gagal menyimpan file",+ "doYouWantToDeleteFile": "Apakah Anda ingin menghapus file",+ "checkForNewVersion": "Cek versi terbaru",+ "getNewVersion": "Dapatkan versi terbaru {{newVersion}}",+ "currentlyFileChangedSaveOrClose": "File terbuka saat ini telah diubah, simpan atau tutup file terlebih dahulu",+ "noFileFolderFound": "Tidak ada file atau folder ditemukan",+ "toggleSelectAllFiles": "Ubah Pilih Semua File",+ "entryDescription": "Deskripsi entri",+ "noEntrySelected": "Tidak ada entri dipilih",+ "navigateToParentDirectory": "Navigasikan ke direktori induk",+ "switchToGridView": "Pindah ke tampilan kisi",+ "switchToListView": "Pindah ke tampilan lis",+ "tagSelectedEntries": "Beri tag entri yang dipilih",+ "copyMoveSelectedEntries": "Salin atau pindahkan entri yang dipilih",+ "deleteSelectedEntries": "Hapus entri yang dipilih",+ "showHideDirectories": "Tampilkan folder",+ "showTags": "Tampilkan tag",+ "sort": "Urutkan",+ "thirdPartyLibs": "Pustaka Pihak Ketiga",+ "indexLocation": "Refresh Indeks Lokasi",+ "readonlyModeSwitch": "Buka lokasi ini di mode baca-saja",+ "persistIndexSwitch": "Pindah ke pembuatan indeks manual dengan indeks pencarian yang menetap",+ "createFullTextIndex": "Aktifkan pencarian teks penuh untuk file TXT, MD dan HTML (BETA)",+ "watchForChangesInLocation": "Lihat perubahan eksternal di lokasi ini",+ "proFeature": "Fitur tersedia di versi PRO",+ "collectedTags": "Tag Terkoleksi","pauseResumePlayback": "Pause/Resume Playback","showTagSpaces": "Show TagSpaces","quitTagSpaces": "Quit TagSpaces",diff --git a/app/perspectives/grid-perspective/components/CellContent.tsx b/app/perspectives/grid-perspective/components/CellContent.tsxindex 75949e931..e8b46c319 100644--- a/app/perspectives/grid-perspective/components/CellContent.tsx+++ b/app/perspectives/grid-perspective/components/CellContent.tsx@@ -17,7 +17,6 @@*/import React from 'react';-import formatDistance from 'date-fns/formatDistance';import removeMd from 'remove-markdown';import classNames from 'classnames';import Grid from '@material-ui/core/Grid';@@ -183,17 +182,20 @@ const CellContent = (props: Props) => {>{entryTitle}</Typography>- {fsEntry.isFile ? (- <div className={classes.gridDetails}>- <Typography- className={classes.gridFileExtension}- style={{ backgroundColor: fsEntryColor }}- noWrap={true}- variant="button"- title={fsEntry.path}- >- {fsEntry.extension}- </Typography>+ <div className={classes.gridDetails}>+ <Typography+ className={classes.gridFileExtension}+ style={{+ backgroundColor: fsEntryColor,+ maxWidth: fsEntry.isFile ? 50 : 100+ }}+ noWrap={true}+ variant="button"+ title={fsEntry.path}+ >+ {fsEntry.isFile ? fsEntry.extension : i18n.t('core:folder')}+ </Typography>+ {fsEntry.isFile && fsEntry.lmdt && (<Typography className={classes.gridSizeDate} variant="caption"><spantitle={@@ -202,25 +204,14 @@ const CellContent = (props: Props) => {formatDateTime(fsEntry.lmdt, true)}>- {fsEntry.lmdt &&- ' ' +- formatDistance(fsEntry.lmdt, new Date(), {- addSuffix: true- })}+ {formatDateTime(fsEntry.lmdt, false)}</span><span title={fsEntry.size + ' ' + i18n.t('core:sizeInBytes')}>- {' ' + formatFileSize(fsEntry.size)}+ {' | ' + formatFileSize(fsEntry.size)}</span></Typography>- </div>- ) : (- <div className={classes.gridDetails} title={fsEntry.path}>- <FolderIcon- className={classes.gridFolder}- style={{ backgroundColor: fsEntryColor }}- />- </div>- )}+ )}+ </div></div>);}@@ -317,14 +308,10 @@ const CellContent = (props: Props) => {>{fsEntry.isFile &&fsEntry.lmdt &&- '️ ' +- formatDistance(fsEntry.lmdt, new Date(), {- addSuffix: true- }) +- ' '}+ formatDateTime(fsEntry.lmdt, false)}</span><span title={i18n.t('core:entryDescription')}>- {description && description}+ {description && ' | ' + description}</span></Typography></Grid>diff --git a/app/perspectives/grid-perspective/components/styles.css.tsx b/app/perspectives/grid-perspective/components/styles.css.tsxindex 74d123677..e69338908 100644--- a/app/perspectives/grid-perspective/components/styles.css.tsx+++ b/app/perspectives/grid-perspective/components/styles.css.tsx@@ -88,13 +88,14 @@ export default (theme: any): any => ({display: 'block'},gridFileExtension: {- flex: 1,padding: 5,- lineHeight: '20px',+ paddingTop: 3,+ paddingBottom: 7,+ fontSize: 13,marginRight: 5,- maxWidth: 50,- minWidth: 40,- height: 20,+ marginTop: 7,+ minWidth: 20,+ height: 16,color: 'white',borderRadius: 3,textAlign: 'center'@@ -120,11 +121,10 @@ export default (theme: any): any => ({},gridSizeDate: {overflow: AppConfig.isFirefox ? 'auto' : 'overlay',- flex: 3,- textAlign: 'right',whiteSpace: 'nowrap',marginRight: 5,- paddingTop: 5+ marginLeft: 'auto',+ paddingTop: 12},gridDetails: {display: 'flex',diff --git a/app/reducers/app.ts b/app/reducers/app.tsindex 605f9ce11..19fa9e022 100644--- a/app/reducers/app.ts+++ b/app/reducers/app.ts@@ -1871,9 +1871,9 @@ function findExtensionsForEntry(supportedFileTypes.map(fileType => {if (fileType.viewer && fileType.type.toLowerCase() === fileExtension) {fileForOpening.viewingExtensionId = fileType.viewer;- /* if (fileType.color) {+ if (fileType.color) {fileForOpening.color = fileType.color;- } */+ }fileForOpening.viewingExtensionPath = findExtensionPathForId(fileType.viewer);