diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index e7604db..0000000 --- a/AUTHORS +++ /dev/null @@ -1,6 +0,0 @@ -Upstream Authors: - LXQt team: https://lxqt.org - Hong Jen Yee (PCMan) - -Copyright: - Copyright (c) 2013-2017 LXQt team diff --git a/CHANGELOG b/CHANGELOG deleted file mode 100644 index 8a51d61..0000000 --- a/CHANGELOG +++ /dev/null @@ -1,787 +0,0 @@ -pcmanfm-qt-0.14.1 / 2019-02-24 -============================== - - * Corrected the logic of sorting. When a tab page's sorting is changed in - whatever way, remember it. - * Use user name for home desktop shortcut - * Give window parents to some app-modal dialogs - * Save/restore custom columns of detailed view - * Allow double-clicking an item on the autorun dialog to do that action - * Fix crash on sorting by group - * Updated translations - * Note for packagers: pcmanfm-qt now depends on liblxqt >= 0.14.1 and - libfm-qt >= 0.14.1 - -pcmanfm-qt-0.14.0 / 2019-01-25 -============================== - - * Removed the use of libfm C APIs. - * An option for showing full names (instead of display names). - * Prefer theme icons for view actions. - * Shadow hidden icons optionally. - * Fixed DND and drop indicator on desktop. - * Fixed closing tab on ejecting/unmounting. - * Fixed a rare crash on unmounting. - * Fixed filtering for detailed list mode. - * Fixed status-bar message when some selected files were filtered out. - * Restart warning bar for Preferences. - * A (warning) bar for the root instance. - * Transient filter-bar by default. - * Added split view. - * Delete trashed files with Delete key. - * Select the first row of Preferences by default. - * Optional Desktop shortcuts (Trash, Home, Computer, and Network). The Trash shortcut is interactive. - * A Tool menu item (and shortcut) to copy the full path of the selected file. - * Really use the terminal emulator chosen by user when launching desktop files. - * Preserve relative positions of Desktop items with DND. - * Dropped QDesktopWidget, and used QScreen instead. - -pcmanfm-qt-0.13.0 / 2018-05-21 -============================== - - * Check minimum version of libfm-qt - * Bumped minor version to 13 - * Spanish translation update - * Avoid using the old FmPath struct in libfm and use libfm-qt Fm::FilePath instead. - * Just changed a label in Preferences - * Replace the deprecated Fm::MountOperation::mount() with Fm::MountOperation::mountEnclosingVolume(). - * Cleanup - * Migrate to the new libfm-qt Fm::FileLauncher API. - * CMake: Prevent in-source builds - * Use new libfm-qt Fm::Archiver API. (#660) - * Fixed tab close button setting - * Optionally select newly created files - * fixes http -> https - * Fixed some lxde mentions - * Drop usage of Fm::IconTheme - * Add symlink target info to statusbar - * Add Simplified Chinese desktop entries (#640) - * Follow GLib to know if a file is hidden - * Remember hidden Places items between sessions - * Drop Qt foreach - * Use QString Use multi-arg - * Prevent a possible c++11 range-loop detach container (QList) - * Don't call QList::first() on temporary - * Warnings (#625) - * move config to /usr/share/pcmanfm-qt/lxqt - * Fixed the setting for "backup as hidden"" (#614) - * Sweep a desktop mess under the carpet - * cmake: Don't set CMP0063 - * cmake: Handle CMP0071 - Mark DBus files with SKIP_AUTOGEN - * cmake: Handle CMP0071 related to UI files. - * Refer to PCManFM-Qt in desktop entries - * Add Spanish desktop entries - * Use QChars - * Simplify if statements - * Const it - * Fix typos, move encloseWithBidiMarks to private and fix its behaviour - * Fix direction of statusbar message - * Give context to singleShot() - * Added a short comment - * Wait for events to be processed before chdir - * Rename progress dialog - * Basic bulk rename - * Really cancel multiple renaming on cancelling - * Initialize dragStarted_ in constructor - * Compact disconnection format - * Tab DND - * View tool-buttons - -pcmanfm-qt-0.12.0 / 2017-10-21 -============================== - - * Release 0.12.0: Update changelog - * Set Version - * removed dangeling symlink to debian dir - * Text eliding, long texts and newline - * Update status message appropriately - * fixup...use static const - * Fix icon sizes - * Just fixed my typo in search settings (#574) - * Lithuanian translation - * Lithuanian translation - * Disable menubar actions that cannot be used - * Save and restore search settings - * Don't export github templates - * Wallpaper Slide Show - * Inline renaming with F2 for detailed list view (#554) - * Inline renaming with F2 - * Fix showing/hiding hidden files (#535) - * Don't select or scroll to child folder on reloading (#536) - * Replace customized DesktopItemDelegate hacks with the standard Fm::FolderItemDelegate provided by libfm-qt. (#529) - * liblxqt version make no sense here - * Copied issue template - * Fix Ctrl+A on desktop (#526) - * Update statusbar size info when needed - * Drops Qt5Core_VERSION_STRING - * set Qt::AA_UseHighDpiPixmaps to true - * Fix jerky desktop items - * Place dropped item at drop position (#504) - * Make custom pos checkbox work for multiple items (#499) - * Fix crash on removing desktop items with custom position (#496) - * Fix cursor on hovering desktop items - * Fix pressing RETURN in location bar - * Remove the old tilde replacement - * Included LXQTConfigVars - * Fixed config/CMakeLists.txt - removed not needed things - * Added merged autostart and config to CMakeLists.txt - * Updated *_da.desktop files and removed *_da_DK.desktop files - * Update desktop entries and Replace fr_FR by fr - * lxqt-rc.xml: Change default config install path - * PCManFM-Qt: Update default wallpaper (#49) - * Merge pull request #48 from lxde/pcmanfm-qt-sort-order - * Settings Openbox updated. - * Default key shortcuts added to lxqt-globalkeysd. - * Use lxqt-sudo in pcmanfm-qt config file by default. - * Update Greek translation (el) Remove country variant from language code - * CMake: Adds Runtime and Devel install COMPONENTs - * Coding style changes - * Adds double quotes to everything that may break - * Updates the build system to use the Targets infrastructure - * adjust default wallpaper to default theme - * Drops hardcoded /etc/xdg paths - * Updated german translation, replaced Qt4 by Qt in all xsession/translations - * Updates translations infrastructure - * Update the required minimum cmake version - * remove dead template lines switch OnlyShowIn from Razor -> LXQt stringchanges LxQt -> LXQt - * Add session.conf and windowmanagers.conf. - * Support lxqt-session and add necessary xdg autostart desktop entry files. - * Rename dirs and replace razor with lxqt. Install lxqt.conf to /etc/xdg/lxqt and provide theme config. - * Properly set default wallpaper for pcmanfm-qt. Comment out openbox config handling in startlxde-qt since it's not needed. - * Remove custom openbox config file in desktop.conf temporarily until lxsession is fixed. - * Fix file paths, replacing razor with lxqt. * Remove Alt+F2 and Ctrl+Esc from openbox config file to avoid conflicts with lxqt-panel & lxqt-globalkeys. - * Add default configuration files for lxde-qt session. - * Use const iterators (Fix a FTBFS in debug mode) (#483) - * Fixed desktop items movement - * Fixes some pedantic bugs - * Correct alignment of small icons on desktop - * Rename namespace Fm2 to Fm. - * Remove unused header includes. - * Fix a bug in correct tab page dir path which causes problems of file searching. - * Fix incorrect URI of application menu. - * Fix the broken folder reload. - * Fix incorrect title update of tabs. - * Add basic error handling when folder loading is failed. - * Port status message handling to the new libfm C++ API. - * Use Fm2::Path::homePath() API. - * Use the new libfm C++ terminal emulator APIs. - * Adopt to changes of libfm C++ APIs. - * Deprecate the use of Fm::Thumbnailer. - * Replace all NULL with C++ 11 nullptr. - * Initial port to the new C++ libfm API. - * DesktopWindow: Render tilled wallpaper manually - * Use const iterators - * Checks bookmarks iterators validity (#444) - -pcmanfm-qt-0.11.3 / 2017-01-14 -============================== - - * Release 0.11.3: Update changelog - * remove 0.11.3 changelog entries - * Bump patch version - * Release 0.11.3: Update changelog - * Add a workaround for the Qt5 bug which causes broken wallpaper background. - * Update AUTHORS - -pcmanfm-qt-0.11.2 / 2016-12-21 -============================== - - * Release 0.11.2: Update changelog - * Use static_cast instead of the C style cast - * Fix sign-compare warnings - * Prevent wrong clearing of filter-bar with path buttons (#432) - * bump patch version (#429) - * Add *da.desktop files - * Re-layout on Changing Display Name. (#355) - * Add Pathbar Separator - * New tab on middle clicking a path button - * Make dialogue "About" point out it's the Qt version of PCManFM. (#421) - * CMake: Drop finding XCB - * Avoid code duplication. - * Added a wallpaper zooming option - * Implement a "Connect to server" dialog for easily mounting remote filesystems. Add new API PCManFM::MainWindow::lastActive() to get last active window. - * Use the new button-style path bar by default. Properly handle the editing of button-style path bar. - * Add missing ui file. - * Move the pcmanfm-qt_pt_BR.ts file to lxqt-l10n repo. - * Remove context menu from toolbar and menubar - * Support button-style path bar and adjust the layout of the view menu slightly. - * Create pcmanfm-qt_fr.desktop - * Create pcmanfm-qt-desktop-pref_fr.desktop - * Adds Build PROJECT_NAME with Qt version message - * Moved LIBFM_DATA_DIR compile definition from libfm-qt - * Use target_compile_definitions(). - * Use the new lxqt-build-tools package - * Added very basic .gitattributes - * remove "building with cpack" from CMakeLists.txt - not used anymore - * Add Catalan translations - * Added Brazilian Portuguese Translation (pt_BR) - -pcmanfm-qt-0.11.1 / 2016-09-24 -============================== - - * Release 0.11.1: Add changelog - * Bump version to 0.11.1 (#399) - * Extend README.md - * Ensure the existence of libfm dir. - * Fix the bug that breaks sort folder first option. - * Preserve per-folder view settings. * Code refactor and cleanup. * Use Fm::FolderConfig internally for storing the per-folder settings. - * Per-folder saving of sorting and view mode - * Use libfm-qt C++ wrappers instead of the original libfm C API whenever possible. - * Replace tilde with home path (#371) - * Fix -Wswitch warning - * Use LXQtCompilerSettings cmake module - * Replaces deprecated QStyleOptionViewItemV4 - * Fixes two typos (#381) - * Add Arabic Translations for Desktop Files - * I18N: Fix plural string (#374) - * Fix some icons for RTL (#366) - * Use a wide spread icon theme as fallback for the time beeing (#359) - * build: Use external translations - * ts-files removal (#352) - * Fix memory leak in main window tool bar (#350) - * Change "compact icon view" in "icon view" (#349) - * Merge pull request #341 from lxde/desktop_sort_settings - * Add some tooltips to Pref dialog - * Add setting for Desktop con size - * Fix a few compiler warnings - -pcmanfm-qt-0.11.0 / 2016-03-13 -============================== - - * Switch automatically to newly opened tabs - * Fixes libfm-qt dependency contradiction on README.md - * Optional fullwidth tabbar By default, the tabbar is stretched over the left pane too. This commit makes that optional with a check button in the UI page of the Preferences dialog. It's checked by default but if unchecked, the tabbar will be positioned right above the folder-view. - * A toolbar button appearing on hiding menubar It has a dropdown menu containing all menubar items, is added to the end of toolbar, after a separator, when menubar is hidden and is removed (hidden) with its separator when menubar is shown. - * fix new grep 2.23 behaviour for the time beeing - * Bump year - * Bump version number to 0.11.0, preparing for a new release. - * Add hide menu bar menu entry - * Add menubar actions to the main window - * Return focus to the folder view when hitting escape - * Added options for min. item margins. Also included a fix (or workaround) for text shadow resetting. - * Added shortcut(s) for filterbar. Also added Ctrl+F, in addition to F3, for the search utility and cleared filter string for all tabs when closing the filterbar. - * Make it possible to hide the menu bar - * Set quit shortcut from the ui file - * Update the tab bar visibility when the settings change - * Add quit shortcut - * Always draw the text shadow on desktop. Also fixed the selected text color. - * Update czech translation (by Petr Balíček ) - * Improve french translation - * Move the XdndWorkaround to libfm-qt internal instead. - * Fixed a crash on right clicking trashed files. - * Select all of the text in the path entry when focusing it using shortcut keys Alt+D and Ctrl+L. - * Use lxqt-sudo as the default su tool instead of gksu. - * Add some ``beautiful'' workarounds that bypass Qt bug #49947 and 47981. This should fix the bug lxqt/#688 temporarily. - * Prevent large gaps at desktop bottom - * Update pcmanfm-qt_it.ts - * Let the style engine draw the text selection rect on desktop. - * options: Make options of wallpaper-mode switch untranslatable - * turkiash translate files added - * Fix --wallpaper-mode description in translations - * Polish translation updated - * Polish translation updated - * Fix --show-pref option not switching to next name - * Add config values for customizing "places" (not implemented yet). - * Updated Russian translation Removed ru_RU files - -pcmanfm-qt-0.10.1 / 2015-12-05 -============================== - - * hide 'Create New...' menu for files - * Russian translation update - * Deal with CMAKE POLICY 0063 - * Use CMAKE_CXX_VISIBILITY_PRESET and CMAKE_VISIBILITY_INLINES_HIDDEN - * Adds Clang support to symbols visibility - * Fix typo in setting key - * hide 'Paste' in file context menu - * restore 'Open with...' for directories in left panel - * Fix referencing generated headers in translations - * CMake: Drop qt5_use_modules() - * CMake: Use the new libfm-qt Targets - * Move libfm-qt to its own repository. - -split-libfm-qt / 2015-11-24 -=========================== - - * Fix typos in man page - * Update French translation - * Tab context menu for closing other tabs - * Italian translation updates - * Add bindings to Ctrl+PgUp/Ctrl+PgDn. - * Update French translation of GPL license - * Fix a random crash related to editing the bookmarks by disconnecting from GObject signals properly. - * Fix a crash triggered when unmounting a volume from the side pane. - * Avoid duplicated volumes and mounts in the side panel. (This fixes the mtp:// problem.) - * Select the item of the previously folder in current folder view if it's a direct child of the current folder. - * Fix missing null pointer check in Fm::Path::parent() and use nullptr instead of NULL in path.h. - * Code cleanup, «using» directive only if necessary - * Upgrade of pcmanfm-qt to C++11 - * Fix setting a SIGTERM handler with undefined flags - * Fix two typos in README - * Force the root config dir on the root instance - * Fix --version option not displaying version - * hu translations updated - * Fixed several problems with item selection and alignment - * Fix CMake LICENSE path - * Fix compiling with Qt < 5.4 - * Move LICENSE file - * Check for null pointers. - * Changed the static wentUp to the private variable wentUp_. - * Select the folder from where we have gone up. - -0.10.0 / 2015-11-02 -=================== - - * Release 0.10.0 - * Remove unnecessary qDebug traces - * Update zh_TW translations. - * Update translations. - * Provide an option in the view menu to turn off the filter bar (turned off by default). - * The signal QAbstractItemView::iconSizeChanged is only available after Qt 5.5. Add workarounds for older Qt versions. - * Add more null pointer checks in the thumbnail loader to avoid crashes caused by older versions of libfm. - * Fix CPack README path - * Update translations - * Use markdown for README - * Bump minimum CMake to 3.0.2 - * Reduce margin and spacing of the central widget - * Avoid the column resizing tricks for the detailed list view when the view contains no columns. - * Improve the column width computation for the detailed view - * Some code cleanup. - * desktop: Makes the Desktop Folder Edit functionality optional - * desktop: Renames Advanced page config layout manager - * PlacesView: activate on click on the second column - * SidePane: reduce size of button's column width - * Remove ugly board of main window's central widget - * Added a filterbar + Handle virtually hidden files - * Russian translation update - * Prevent the desktop window from being closed accidentally. This fixes #194. - * mouse fix - * Update cs_CZ translation with the strings provided by petrbal in pull request #218. - * Add apply button to desktop preferences dialog - * Removed pcmanfm-qt.kdev4 and fixed .gitignore - * desktop: Makes the preferences dialog General page tighter - * Add a shortcut key "F3" for launching the file searching utility. * Small UI layout adjistment. - * Allow adding or removing paths in the file search dialog. Fix bugs in searching for documents. - * Try to implement file searching by using the new Fm::FileSearchDialog class. - * Fix a incorrecy free() in fm_search_free() API. - * Add Fm::Path::take() API to take the ownership of a raw FmPath pointer. - * Add class Fm::FileSearchDialog used to show a dialog for searching files. - * Add FmSearch API which is used to build a search:// URI. (implemented in C and might become part of libfm later). - * Fix #197 by using a different method to forward the XCB mouse events to the root window. - * Fix #195 - Crash when rightclick on item in trash. - * Add a null check for FmFileInfo in Fm::ProxyFolderModel::lessThan(). This closes #205. - * Fix (workaround) for right-click crash in placesview. - * Russian translation: update - * Italian translation: add desktop entry files, adjust TS files - * placesview: middle-click correct item to activate (fix of segfault) - * Paste into folder from its context menu. - * libfm-qt: updated german translation - * libfm-qt: lupdated translation files - * Add Greek (el) translation - * added support for mouse back/forward buttons - * Add few missing Polish translations and modify few existing. - * xdg main category added - * Update German translation - * fixed paths in .ts files + lupdate - * Update German translation - * Update Russian translation - * CMake: Remove unused INSTALL variables - * Support opening items in the bookmarks menu in new tabs or new windows. - * Add new signal prepareFileMenu() to Fm::SidePane and Fm::DirTree so there's a chance to customize the file menu before its shown. - * Port some missing config options from the gtk+ version of pcmanfm. - * Also show hidden dirs in the directory tree when the "Show Hidden" option in the menu is turned on. - * Fix #190 - Column layout is not always updated. - * Fix relative paths in command line arguments. Close lxde/pcmanfm-qt#170 - relative paths stated by xdg-open not considered. - * Create New menu actions, context menu in tree side pane, #163. - * Install SIGTERM handler to save settings when logging out, #157. - * Store side pane mode setting, #157. - * Adds UPDATE_TRANSLATIONS option to the top CMakeLists - * Fixes an translation regression - * Updates translations - * Handles .desktop files translations - * Uses LXQt lxqt_translate_ts() to handle translations - * Add German translation of pcmanfm-qt.desktop - * Fix lxde/lxqt#447 - missing actions in Places' context menus - * Remove trailing whitespaces - * polishing German translation - * Add menu items and shortcuts for new folder and blank file, fixes #163. - *_hu desktops added - * Display folders first when active and sort order descending, fixes #179. - * Avoid space wasted by incorrect decoration in detailed view columns, fixes #177. - * Avoid flickering column header while resizing manually, fixes #176. - * Update pcmanfm-qt_it.ts - * Fix loading new desktop dir - * Hungarian translation - * Fix #627 - long startup time. (This blocking is caused by checking the availability of "network:///".) - * Enable text selection in file properties dialog - * Fixes #168 - qunsetenv("QT_NO_GLIB"); required before constructing the application. - * Fix some memory leaks reported by valgrind. - * Fix warnings reported by cppcheck. - * Fix warnings reported by scan-build. - * Sort indicators in detailed view, store column and order in settings, fixes #109. - * Fix lxde/lxqt#512 - pcmanfm-qt: cannot delete to trash. - * Fix lxde/lxqt#512 - "pcmanfm-qt: cannot delete to trash" by using a safer way to check trash:/// support. - * Polish translations added - * Bumps version - * Rearrange tab order (tabstops) - * Use 'user-trash' icon for 'Move to Trash' - * The "Custom" option in the application chooser combo box inside file properties dialog is broken. Fix by preventing recursive signal handler invocation. - * The file property dialog does not show correct default applications. Fix a bug in AppChooserComboBox::setMimeType() that does incorrect app comparison. - * When converting an UID or GID to its name, show the number as string when the user or group does not exists. - -0.9.0 / 2015-02-05 -================== - - * Add more null checks. - * Fix #130 - Remember width of side panel. - * Portuguese update - * Add very basic "remaining time" display to the progress dialog. Fix lxde/lxqt#463 - Progress dialog of pcmanfm-qt does not show remaining time. - * Fix lxde/pcmanfm-qt#120 - Foucs "Rename" button when file name changed. - * remember maximized state - * Remove unnecessary '\n' charactor from the translated strings. - * Fix translations (the newly added string comes from the translation of libfm). - * Improve trash can handling: provide an option to delete the files if moving to trashcan fails. - * Fix broken filenames of translation files. - * Support NoUsbTrash option and fix #125 - "Move to trash " on mounted devices. - * Bump version numbers, preparing for a new release. - * Completely remove dependency on libqtxdg. - * More migration to Qt5 new signal/slot syntax for better type safety & speed. - * Migrade to new Qt5 signal/slot syntax for better type safety and speed. - * Fix the broken sorting option. - * Fix lxde/lxqt#448 - PCmanFM-QT renaming place bookmarks does nothing. - * Fix broken rememberWindowSize settings. - * Portuguese update - * Support linguistic sorting of file names. This fixes #105. - * Avoid using Qt 5.4 API if compiled with older Qt versions. Fix #121. - * Update the folder model & view after files are changed. - * Open folders in new tabs by middle clicking on items in the side pane. - * Support reordering of tabs using drag and drop. - * Portuguese update - * Fix a crash of the context menu of places view caused by change of items. - * Save the result of "Edit bookmarks" to gtk+3 bookmarks file instead of the deprecated ~/.gtkbookmarks file. This fixes bug #112 partially. - * Fix #396: pcmanfm-qt back and/or up does not remember position. - * Add spanish translations - * Adds GUI to change desktop dir in Desktop preferences. Uses libqtxdg. - * Add .gitignore - * Update Japanese translation - * Add German translation - * add Japanese translation - * Implement "UnTrash" for files in trash:/// and close lxde/lxqt#136. - * Handle command line URIs correctly and fix bug lxde/lxqt#414. - * Handle command line arguments with QCommandLineParser instead of using glib. Requires Qt >= 5.2. - * Add Russian translation - * Drop Qt4 support in code - * Clean up CMakeLists.txt and drop Qt4 support - * New files added from LXDE Pootle server based on templates - -0.8.0 / 2014-09-28 -================== - - * Commit from LXDE Pootle server by user Julius22.: 1007 of 1008 strings translated (2 need review). - * Commit from LXDE Pootle server by user Julius22.: 709 of 1008 strings translated (2 need review). - * Commit from LXDE Pootle server by user mbouzada.: 1008 of 1008 strings translated (0 need review). - * Commit from LXDE Pootle server by user mbouzada.: 891 of 1008 strings translated (0 need review). - * Commit from LXDE Pootle server by user mbouzada.: 615 of 1008 strings translated (0 need review). - * Commit from LXDE Pootle server by user mbouzada.: 364 of 364 strings translated (0 need review). - * New files added from LXDE Pootle server based on templates - * Keep CMAKE_CXX_FLAGS value - * Update ts files. - * Add manpage for pcmanfm-qt - * Add cs_CZ translation for libfm-qt. - * Commit from LXDE Pootle server by user dforsi.: 520 of 644 strings translated (0 need review). - * Commit from LXDE Pootle server by user dforsi.: 364 of 364 strings translated (0 need review). - * Commit from LXDE Pootle server by user dforsi.: 358 of 364 strings translated (0 need review). - * Change version number to 0.8 and update the info in the about dialog. - * Ensure that Qt 5.1 and above is used when built with Qt5 support. - * Bump package version number and library soversion to prepare for 0.2 release. - * queue relayout of desktop items when the desktop window is resized. - * Add cs_CZ translation for pcmanfm-qt. - * Fix broken Qt4 build. - * Fix bugs in multihead support and also add workaround for Qt5 bug #40681. * Handle switches between virtual desktop mode and non-virtual mode correctly. * Disable desktop wallpaper cache for non-primary screens. - * Correctly reposition desktop items when the icon size, font, or Qt style is changed. - * Slight improvement of the preference dialog for the newly added "remember window size" option. - * Fix #85 - Scrolling doesn't work in compact view. - * Hide UI elements that are not usable and disable trash can when gvfs is not available. * Add new API Fm::isUriSchemeSupported(). - * Avoid showing the popup menu when moving desktop items. - * Improve handling of file selection and fixing FolderView::selectAll(), which is reported in #45. Delay the handling of selectionChanged() signal to avoid too frequent UI updates. - * Little adjustment for the grid of the folder view to decrease unnecessary margins. - * Use a new way to optimize the size of filename display based on current view mode and font size. This also fixes lxde/lxde-qt #198 - PCmanFM-qt incorrectly displays 256x256 Thumbnails. - * Replace the very broken QDesktopWidget with QScreen in Qt 5 when handling multihead support. - * Fully support single click activation and auto-selection with associated options added to the preference dialog. - * Add single click and auto-selection on hover support to Fm::FolderView. - * Re-layout desktop icons properly on QEvent::StyleChange and QEvent::FontChange. - * Try to support multihead setup in virtual screen mode (used by XRandR). - * Handle QEvent::WinIdChange event and reset X11 window properties correctly. - * New files added from LXDE Pootle server based on templates - * New files added from LXDE Pootle server based on templates - * Support forced deletion of files which bypasses the trash can with "Shift+Delete" shortcut key. * Simplify shortcut setup code a little. - * Add proper keyboard shortcuts to the desktop window. This closes bug #67. - * Add an option to go to home directory when the currently shown folder is deleted or unmounted. - * Improve update of translations to avoid unnecessary regeneration of ts files. - * Improve handling of fallback icons. This closes bug #57. - * Fix the mark for current history item in the popup menu of forward and backward buttons. - * Translations are lost accidentally in a previous commit. Restore them all. - * Add a workaround for Qt bug 32567 which causes bug #251 of lxde/lxde-qt. Now the desktop window should monitor the change of work area correctly. - * Avoid ambiguity when including path.h from libfm-qt. - * Fix a crash in Fm::PlacesModel when gvfs is not available. This closes bug #35 - Ctrl+W closes all windows. - * Fix a memory leak and free the file info list properly when renaming files. - * Do not detect filename extension and select the whole filename by default while renaming directories. This closes bug #71 - Don't try to detect extensions on directories. * API changed: Fm::renameFile() now accepect FmFileInfo as its first parameter. - * Show browse history in the context menu of back and forward tool buttons. - * Remove an unnecessary slot. - * Backspace to go up - * Fix bug #80 - make execute in context menu doesn't do change permissions. - * Remove unnecessary matrix set on the background brush. - * Avoid unnecessary writes to the desktop icon config file. - * Revert "fixed selection issue #45" This patch breaks copying files by DND in icon view mode and moving desktop icons. - * Avoid unnecessary relayout. - * Fix lxde/lxde-qt #184 - cannot move icons on desktop. - * Support showing the desktop menu provided by the window manager. - * Use qss instead of QPalette to set the background color of ColorButton. This fixed bug #192 of lxde-qt. - * Adds option to remember last window size - * Replace hard-coded version number 0x050000 with QT_VERSION_CHECK(5, 0, 0) for better readability. - * Rename the library from libfm-qt to libfm-qt5 when built with Qt5. - * fixed selection issue #45 - * Make settings of size of icons be properly loaded - * Makes the "Show Hidden" option be saved in settings file and properly loaded. I don't understand why it was not done yet, bu here it is. - * Close tabs by middle click - * Fix middle click position calculation in detailed view mode - * Fix crash when context menu is requested but selection is empty - * Activate view items only if clicked with left mouse button - * Do not emit activated signal when keyboard modifiers are on. - * Splits the checks for needed libraries - * Removes duplicated include_directories() entry - * Replaces ${CMAKE_SOURCE_DIR} by ${PROJECT_SOURCE_DIR} - * Fix LICENSE. It's GPL2. Oops. - * Make sure clang compiler does not complain - * Clean up desktop files - * Install pkgconfig file of libfm-qt to correct location in FreeBSD - * Fix missing return values in several methods. - -0.7.0 / 2014-05-07 -================== - - * Update README - * Avoid endless popups of error dialogs when there are errors launching files. - * Fix encoding handling of filenames passed via command line arguments. - * Save thumbnails as png files correctly. - -0.6.99 / 2014-04-29 -=================== - - * Update AUTHORS and COPYING - * Cached the scaled version of the wallpaper as needed to speed up program startup. - * Correctly relayout items when the work area is changed - * Adjust size of the preference dialog - * Remember custom positions for desktop icons and fix #29. - * Use new FmTerminal APIs provided by libfm. Also fix #31. - * Add template support to the folder context menus and fix #39. - * Show "owner" in the detailed list view mode. * Fix a crash when switching to detailed list mode in qt5. - * Use xcb to set EWMH window type hint to the desktop window in Qt5. * Some more cleanup for the CMakeList.txt files - * Add initial support for Qt5. - * Try to fix #36 again. - * Fix a seg fault caused by the widget being deleted during glib signal handling. - * Code cleanup, removing unnecessary header inclusion to speed up compilation. - * Avoid further handling of MountOperation in the gio finished callback if the object is deleted. - * Last fix for #36 is incorrect. Fix it again. - * Delete the tab if the folder currently being shown is deleted or unmounted. - * Use modeless dialogs for app chooser and error reporting in Fm::FileLauncher and Fm::FileMenu. - * Add an small emblem for symlinks (using icon name "emblem-symbolic-link"). Fix bug #27. - * Add missing file to git. - * Move internal implementation details to private headers which are not installed to the system. - * Add Doxygen support for API doc generation. - * Fix a regression bug, hiding "Open with..." sub menu of Fm::FileMenu for selected folders. - * Implement Fm::AppChooserDialog and Fm::AppMenuView classes. * Add / menu item to Fm::FileMenu. * Add custom app to Fm::AppChooserComboBox. - * Add Fm::AppChooserComboBox and use it in Fm::FilePropsDialog. - * Redesign Fm::FileLauncher APIs to make it more usable. * Add Fm::FileMenu::setFileLauncher() and Fm::FolderView::setFileLauncher() APIs. * Move PCManFM::View::onFileClick() and other popup menu handling to Fm::FolderView. - * Improve Fm::FileLaucher to make it easy to derive subclasses. * Implement a special dialog for opening executable files (Fix bug #13 - it does not launch executables) - * Fix bug #28 - Tash can icon does not refresh when the trash can changes its empty/full status - * Load autocompletion list for Fm::PathEdit only when the widget has the keyboard focus to avoid unnecessary I/O. - * Add proper popup menu items for selected folders and fix #20 and #19. * Some code refactors, adding openFolders() and openFolderInTerminal() to Application class. - * Fix #25 - Amount of items in the folder is not refreshed when the folder content changes. * Update status bar text properly on switching tab pages, selection changes, and folder content changes. - * Fix the broken compiler definitions caused by previous commit. - * Fix bug #22 - Do not select file extension by default on file rename. * Avoid installing private headers (*_p.h files) - * Setup pcmanfm-qt to support optional Custom Actions Menubar detects if libfm was built with vala or not if so a fm-actions.h will exist and support will be compiled in if not, will still compile with no actions menu - * Don't append library suffix to library install path, but use it by default - * Allow installation path configuration with standard CMake X_INSTALL_DIR - * Support reordering bookmark items in the places view with DND. - * Support adding bookmarks to the places view using drag and drop - * Preparing for implementing dnd for places view. - * Improve the usability of icon view mode, fixing github bug #24. - * Fix crashes caused by invalid pointer access. - * Switch current dir of the folder view correctly with dir tree view in the side pane. - * Finish chdir operation for Fm::DirTreeView. - * Support hiding hidden folders from DirTreeModel. - * Move some methods from DirTreeModel to DirTreeModelItem and fix some row updating problems. - * Implement dynamic folder loading/unloading when expanding or collapsing dir tree nodes. * Enable horizontal scrollbar of dir tree view. - * Move some code from Fm::DirTreeModel to Fm::DirTreeModelItem. - * Partially implement Fm::DirTreeView and Fm::DirTreeModel. (not finished yet) - * Fix an invalid pointer - * Implment different modes for Fm::SidePane, matching libfm-qtk design. * Add basic skeleton for dir tree view/model. - * Fix the cosmetic defect introduced by the eject buttons in the places view. - * Add eject buttons to mounted volumes in the places side pane. - * Fix #18 New windows should always show up in front. - * Fix #18 New windows should always show up in front. - * Remove x-directory/normal, close github bug #6 and #17. - * Add a wrapper class Fm::Path for FmPath C struct. - * Do not emit StyleChange events if the icon theme is not really changed. - * Initialize icon_ member of PlacesModelItem correctly. - * Fix fallback icon when a platform plugin is abscent. * Make Fm::IconTheme::checkUpdate() a static function. - * Remove xsettings support. Use a cleaner way to detect config changes by monitor StyleChange events. * Add Fm::IconTheme::changed() signal which is emitted when the icon theme name is changed. * Replace nested Fm::PlacesModel::Item and related classes with their own separate toplevel classes. - * Fix the icon for files of unknown mime types, again. - * Fix the icon for files of unknown mime types. - * Add DES-EMA custom actions to the popup menus. - * Make it safe to create multiple Fm::LibFmQt objects and only initialize libfm once. - * Fix incorrect export symbols and use GNUInstallDirs for installation destination - * Correctly save new wallpaper config. - * Support changing wallpaper from command line & dbus. - * Read fallback default settings from /etc/xdg/pcmanfm-qt. - * Use the latest libfm thumbnailer APIs. - * Fix #3614873 - Thumbnails in icon view shown upside down for some jpegs. - * Adopt recent changes of libfm. FmIcon is essentially identical to GIcon now. - * Add a UI file for application chooser dialog. - * Correctly handle display names of folders in path entry auto-completion. - * Add a global header and add proper definition for LIBFM_QT_API macro. - * Put cmake_minimum_required(VERSION 2.8.6) at the right place. - * Add "Empty trash" and fix a memory leak. - * Fix persistent busy cursor when loading menu://applications/ - * Fix memory leaks for bookmarks. Fix the broken "Network" item in places. - * Select correct folder view mode in the preference dialog. - * Reduce memory usage: Paint the folder items with our own code instead of using a dirty hacks duplicating pixmaps. - * Reduce of size of QPixmapCache in the hope of decreasing memory usage. - * Add fallback icons for places item "applications" and "network". - * Paint the background of the whole desktop window with wallpaper, including the reserved spaces. - * Set workare with QSS does not work properly. Revert the change. - * Add class Fm::CachedFolderModel, a convinient way to share Fm::FolderModel objects and reduce memory usage. - * Resize the columns of detailed list view when items are inserted or removed. - * Optimize column widths in detailed list mode when the view is resized. - * Resize the left list widget in the preference dialog according to its content. - * Detect icon theme name automatically using Xsettings or other desktop-specific way. * Rename "IconThemeName" key in the config file to "FallbackIconThemeName". * Hide the icon theme selection combo box if an icon theme name is detected automatically. - * Only show thumbnails for the first column in detailed list mode. - * Use new "automoc" feature of cmake 2.8.6 and remove cumbersome #include "*.moc" code. - * Fix work area problems of desktop window. - * Trivial fix. - * Add additional custom filter support to ProxyFolderModel. - * Add some keyboard shortcuts to the main window - * Fix some memory leaks. - * Fix some compiler errors and update translations. - * Support the latest libfm trunk. Remove -fpermissive compiler flag and fix compiler errors/warnings. - * Adopt new libfm thumbnail APIs. - * Enable thumbnail related settings. - * Adopt the latest thumbnail API in libfm (thumbnail branch) to speed up loading. - * Workardound incorrect thumbnail painting caused by bug of QStyledItemDelegate. :-( - * Fix a crash caused by accessing data for invalid model index. - * Add basic thumbnail support (need the latest thumbnail branch of libfm). - -0.1 / 2013-03-26 -================ - - * Add soname 0.0.0 for libfm-qt, preparing for 0.1 release. - * Fix crashes caused by incorrect deletion of dialog objects. - * Update zh_TW translations and translation templates. - * Add Portuguese translation (pt). - * Add Lithuanian translation (lt_LT). - * Fix a crash caused by accessing data for invalid model index. - * Add a Qt designer ui file for "Find Files" utility (not yet implemented). - * Add archiver integration for file context menus. - * Add archiver integration to file context menus. - * Add mnemonics for menu items. Make confirm dialog before delete and trash can optional. - * Update side pane according to current dir. Little fix. - * Implement "Open in Terminal" and "Open as Root". - * Enable auto-run related options in preferences dialog. - * Implement "Auto Run" for newly inserted removable devices. - * Add "Edit Bookmarks" dialog. - * Implement "Invert Selection". Little fix of UI, add a Tool menu to main window. - * Implement "Create New" menu in the folder popup menu. - * Modify make rules for translations. Avoid deleting generated ts files when "make clean". Fix a small error in zh_TW translation. - * Add auto-completion to path entry bar. - * Rename Fm::Application to Fm::LibFmQt to decrease confusion. Set required Qt version to 4.6. - * Load translation files correctly for pcmanfm-qt and libfm-qt. - * Add basic skeleton for i18n (using Qt QTranslator & Qt Linguist). - * Add separate CMakeLists.txt files for pcmanfm and libfm-qt. Hide more implementation details from libfm-qt headers. - * Fix copyright notice in all source files. - * Install desktop entry files for pcmanfm-qt & its desktop preferences dialog. - * Install a pkgconfig file for libfm-qt for use in other projects. - * Fix typos causing crashes. - * Fix a memory error caused by incorrect array size. Fix incorrect spacing of icons. - * Finish chown and chmod supports. - * Try to add file opermission settings UI. - * Implement very basic drag and drop support. - * Supress the incorrect default dnd handling of QListView. - * Try to implement Dnd. - * Make desktop preferences accessible from popup menu of desktop window. - * Convert enum values to/from strings for saving/loading config files. - * Finish desktop preferences. - * Improve desktop preferences and apply settings (partially done). - * Add desktop preferences dialog. - * Apply side pane icon size correctly. Add basic skeleton for archiver integration. - * Set shortcuts for frequently used menu options. Implement "rename file" support. Hide tabs when there is only one tab left (optional). - * Delete windows properly when they're closed with setAttribute(Qt::WA_DeleteOnClose); Apply settings to windows after clicking OK in the preference dialog. - * Improve preferences dialog. Improve loading/saving of config file. - * Improve preferences dialog. Change base class of SidePane to QWidget. - * Add basic skeleton of preferences dialog options. - * Add -fno-exceptions to compiler flags. - * Fix a crash during updating View menu. - * Sync the state of folder popup menu and main menu bar. - * Implement sort options for main window. - * Fix file sorting options for Fm::FolderMenu. - * Correctly implement browse history and fix crashes. - * Add very simple browse history (back/forward) handling. - * Apply gcc visiblility attributes to export less symbols. - * Correctly handle file rename/overwrite during file operations. - * Exclude unnecessary files from CPack. - * Add COPYING, AUTHORS, and README and add basic CPack support. - * Build libfm-qt as a separate shared library and install haeder files. - * Little fix for desktop item text shadow. - * Add DesktopItemDelegate to draw better desktop icons. - * Add code used to draw desktop wallpapers. - * Improve folder popup menu. - * Add folder popup menu. Some UI polishing. - * Fix a little crash. - * Fix crashes when turning off desktop manager. - * Show popup menu for blank area of folders. - * Do some refactor to make Fm::FolderView cleaner. Add PCManFM::View to do file manager-specific operations. - * Add desktopManagerEnabled dbus property. Little fix for command line descriptions. - * Little fix. - * Little fix for translatable strings. - * Improve desktop management support (wallpaper & icons). - * Replace QCommandLine with glib GOptionContext for command line parsing. * Improve IPC. - * Add command line parsing and basic IPC via dbus. - * Try to use QCommandLine for command line parsing. - * Move application initialization code to PCManFM::Applicaion class. - * Move files for libfm-qt and pcmanfm-qt to separate subdirs. - * Implement cut and copy files to clipboard. - * Add a item delegate to overriding the incredibly small width of text label. Special thanks to razor-qt developers for the hint! - * Make Settings class more complete, add getters and setters. - * Trivial fix. - * Add PCManFM::Settings class for config file loading/saving. Enable dragging of items in Fm::Folderview (Dnd does not fully work yet). - * Add missing files again. - * Add missing files. - * Add the basic skeleton of "ask for rename or overwrite" dialog. - * Polishing file operation dialogs. - * Add a very primitive desktop icons window implementation. - * Add basic skeleton for preferences dialog. - * Put PCManFM specific classes under new namespace PCManFM. - * Implement very primitive and basic file operations and partial clipboard support. - * Fix bugs in Fm::FileLauncher (should not free string returned by DisplayString()). - * Add a combobox to file properties dialog to select default application. - * Implement context menu for places view to remove bookmarks and unmount volumes. Little fixes for mount operation. - * Fully implement GUI for GMountOperation. - * Implement Qt-based GUI for GMountOperation. - * Improve icon theme handling. - * Implement bookmarks menu. - * Update PlacesModel when volumes/mounts/bookmarks change. - * Improve volume mounting APIs. - * Improve internal implementation of Fm::PlacesModel. Add skelaton of file operation progress dialog. - * Handle file selection correctly. - * Improve the file properties dialog. - * Add primitive implementation of properties dialog. * Some UI polishing. - * Use Fm::ProxyFolderModel to do filter and sorting. * Little fix for Fm::IconTheme and Fm::PlacesView/Model. - * Rework Fm::IconTheme, replacing QPixmap with QIcon. Improve Fm::ProxyFolderModel and use it to implement showHidden(). - * Add a more professional about dialog. - * Little fix to ensure glib/GObject and libfm are correctly initialized. - * Use QTabBar + QStackedWidget to replace QTabWidget so we can share the same side pane among all tab pages. - * Slightly improve places view/model. - * Rename to pcmanfm-qt. * Implement tabbed-browsing. * Implement basic skeleton of GMountOperation. * Implement basic skeleton of Fm::PlacesView. - * Handle "returnPressed()" of the path entry. - * Use both of QListView and QTreeView to implement Fm::FolderView. - * Initial import, an attempt to create qt4 support for libfm. diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 4836700..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,74 +0,0 @@ -cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) -# CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level -# CMakeLists.txt file even before calling the project() command. -# The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION) -# command to specify that the current project code is written for the given range of CMake -# versions. -project(pcmanfm-qt) - -# PcmanFm-Qt Version -set(PCMANFM_QT_VERSION_MAJOR 0) -set(PCMANFM_QT_VERSION_MINOR 14) -set(PCMANFM_QT_VERSION_PATCH 1) - -set(PCMANFM_QT_VERSION ${PCMANFM_QT_VERSION_MAJOR}.${PCMANFM_QT_VERSION_MINOR}.${PCMANFM_QT_VERSION_PATCH}) - -# Minimum versions -set(LIBFMQT_MINIMUM_VERSION "0.14.1") -set(LXQTBT_MINIMUM_VERSION "0.6.0") -set(QT_MINIMUM_VERSION "5.7.1") - -list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") - -find_package(Qt5DBus ${QT_MINIMUM_VERSION} REQUIRED) -find_package(Qt5LinguistTools ${QT_MINIMUM_VERSION} REQUIRED) -find_package(Qt5Widgets ${QT_MINIMUM_VERSION} REQUIRED) -find_package(Qt5X11Extras ${QT_MINIMUM_VERSION} REQUIRED) -find_package(fm-qt ${LIBFMQT_MINIMUM_VERSION} REQUIRED) -find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) - -message(STATUS "Building ${PROJECT_NAME} with Qt ${Qt5Core_VERSION}") - -option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF) -include(GNUInstallDirs) -include(LXQtPreventInSourceBuilds) -include(LXQtConfigVars) -include(LXQtTranslateTs) -include(LXQtTranslateDesktop) -include(LXQtCompilerSettings NO_POLICY_SCOPE) - -set(CMAKE_AUTOMOC TRUE) -set(CMAKE_AUTOUIC ON) -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -add_subdirectory(pcmanfm) - -# manpage for pcmanfm-qt -configure_file( - "${CMAKE_CURRENT_SOURCE_DIR}/pcmanfm-qt.1.in" - "${CMAKE_CURRENT_BINARY_DIR}/pcmanfm-qt.1" - @ONLY -) -install(FILES - "${CMAKE_CURRENT_BINARY_DIR}/pcmanfm-qt.1" - DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" -) - -# add Doxygen support to generate API docs -# References: -# http://majewsky.wordpress.com/2010/08/14/tip-of-the-day-cmake-and-doxygen/ -# http://www.bluequartz.net/projects/EIM_Segmentation/SoftwareDocumentation/html/usewithcmakeproject.html -option(BUILD_DOCUMENTATION "Use Doxygen to create the HTML based API documentation" OFF) -if(BUILD_DOCUMENTATION) - find_package(Doxygen REQUIRED) - configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in" "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" @ONLY) - add_custom_target(doc ALL - ${DOXYGEN_EXECUTABLE} "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" - WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" - COMMENT "Generating API documentation with Doxygen" VERBATIM - ) - install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/docs" DESTINATION "${CMAKE_INSTALL_DOCDIR}") -endif() - -add_subdirectory(autostart) -add_subdirectory(config) diff --git a/Doxyfile.in b/Doxyfile.in deleted file mode 100644 index 8378572..0000000 --- a/Doxyfile.in +++ /dev/null @@ -1,1890 +0,0 @@ -# Doxyfile 1.8.4 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project. -# -# All text after a double hash (##) is considered a comment and is placed -# in front of the TAG it is preceding . -# All text after a hash (#) is considered a comment and will be ignored. -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG + = value [value, ...] -# Values that contain spaces should be placed between quotes (" "). - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all -# text before the first occurrence of this tag. Doxygen uses libiconv (or the -# iconv built into libc) for the transcoding. See -# http://www.gnu.org/software/libiconv for the list of possible encodings. - -DOXYFILE_ENCODING = UTF-8 - -# The PROJECT_NAME tag is a single word (or sequence of words) that should -# identify the project. Note that if you do not use Doxywizard you need -# to put quotes around the project name if it contains spaces. - -PROJECT_NAME = "PCManFM-Qt" - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = - -# Using the PROJECT_BRIEF tag one can provide an optional one line description -# for a project that appears at the top of each page and should give viewer -# a quick idea about the purpose of the project. Keep the description short. - -PROJECT_BRIEF = - -# With the PROJECT_LOGO tag one can specify an logo or icon that is -# included in the documentation. The maximum height of the logo should not -# exceed 55 pixels and the maximum width should not exceed 200 pixels. -# Doxygen will copy the logo to the output directory. - -PROJECT_LOGO = - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = @PROJECT_BINARY_DIR@/docs - -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create -# 4096 sub-directories (in 2 levels) under the output directory of each output -# format and will distribute the generated files over these directories. -# Enabling this option can be useful when feeding doxygen a huge amount of -# source files, where putting all generated files in the same directory would -# otherwise cause performance problems for the file system. - -CREATE_SUBDIRS = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, -# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, -# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English -# messages), Korean, Korean-en, Latvian, Lithuanian, Norwegian, Macedonian, -# Persian, Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, -# Slovak, Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. - -OUTPUT_LANGUAGE = English - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is -# used as the annotated text. Otherwise, the brief description is used as-is. -# If left blank, the following values are used ("$name" is automatically -# replaced with the name of the entity): "The $name class" "The $name widget" -# "The $name file" "is" "provides" "specifies" "contains" -# "represents" "a" "an" "the" - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment -# operators of the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = NO - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the -# path to strip. Note that you specify absolute paths here, but also -# relative paths, which will be relative from the directory where doxygen is -# started. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of -# the path mentioned in the documentation of a class, which tells -# the reader which header file to include in order to use a class. -# If left blank only the name of the header file containing the class -# definition is used. Otherwise one should specify the include paths that -# are normally passed to the compiler using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful if your file system -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like regular Qt-style comments -# (thus requiring an explicit @brief command for a brief description.) - -JAVADOC_AUTOBRIEF = NO - -# If the QT_AUTOBRIEF tag is set to YES then Doxygen will -# interpret the first line (until the first dot) of a Qt-style -# comment as the brief description. If set to NO, the comments -# will behave just like regular Qt-style comments (thus requiring -# an explicit \brief command for a brief description.) - -QT_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - -INHERIT_DOCS = YES - -# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce -# a new page for each member. If set to NO, the documentation of a member will -# be part of the file/class/namespace that contains it. - -SEPARATE_MEMBER_PAGES = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 4 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name = value". -# For example adding "sideeffect = \par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# This tag can be used to specify a number of word-keyword mappings (TCL only). -# A mapping has the form "name = value". For example adding -# "class = itcl::class" will allow you to use the command class in the -# itcl::class meaning. - -TCL_SUBST = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C -# sources only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java -# sources only. Doxygen will then generate output that is more tailored for -# Java. For instance, namespaces will be presented as packages, qualified -# scopes will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources only. Doxygen will then generate output that is more tailored for -# Fortran. - -OPTIMIZE_FOR_FORTRAN = NO - -# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for -# VHDL. - -OPTIMIZE_OUTPUT_VHDL = NO - -# Doxygen selects the parser to use depending on the extension of the files it -# parses. With this tag you can assign which parser to use for a given -# extension. Doxygen has a built-in mapping, but you can override or extend it -# using this tag. The format is ext = language, where ext is a file extension, -# and language is one of the parsers supported by doxygen: IDL, Java, -# Javascript, CSharp, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, -# C++. For instance to make doxygen treat .inc files as Fortran files (default -# is PHP), and .f files as C (default is Fortran), use: inc = Fortran f = C. Note -# that for custom extensions you also need to set FILE_PATTERNS otherwise the -# files are not read by doxygen. - -EXTENSION_MAPPING = - -# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all -# comments according to the Markdown format, which allows for more readable -# documentation. See http://daringfireball.net/projects/markdown/ for details. -# The output of markdown processing is further processed by doxygen, so you -# can mix doxygen, HTML, and XML commands with Markdown formatting. -# Disable only in case of backward compatibilities issues. - -MARKDOWN_SUPPORT = YES - -# When enabled doxygen tries to link words that correspond to documented -# classes, or namespaces to their corresponding documentation. Such a link can -# be prevented in individual cases by by putting a % sign in front of the word -# or globally by setting AUTOLINK_SUPPORT to NO. - -AUTOLINK_SUPPORT = YES - -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should -# set this tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. -# func(std::string) {}). This also makes the inheritance and collaboration -# diagrams that involve STL classes more complete and accurate. - -BUILTIN_STL_SUPPORT = NO - -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. - -CPP_CLI_SUPPORT = NO - -# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. -# Doxygen will parse them like normal C++ but will assume all classes use public -# instead of private inheritance when no explicit protection keyword is present. - -SIP_SUPPORT = NO - -# For Microsoft's IDL there are propget and propput attributes to indicate -# getter and setter methods for a property. Setting this option to YES (the -# default) will make doxygen replace the get and set methods by a property in -# the documentation. This will only work if the methods are indeed getting or -# setting a simple type. If this is not the case, or you want to show the -# methods anyway, you should set this option to NO. - -IDL_PROPERTY_SUPPORT = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - -SUBGROUPING = YES - -# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and -# unions are shown inside the group in which they are included (e.g. using -# @ingroup) instead of on a separate page (for HTML and Man pages) or -# section (for LaTeX and RTF). - -INLINE_GROUPED_CLASSES = NO - -# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and -# unions with only public data fields or simple typedef fields will be shown -# inline in the documentation of the scope in which they are defined (i.e. file, -# namespace, or group documentation), provided this scope is documented. If set -# to NO (the default), structs, classes, and unions are shown on a separate -# page (for HTML and Man pages) or section (for LaTeX and RTF). - -INLINE_SIMPLE_STRUCTS = NO - -# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum -# is documented as struct, union, or enum with the name of the typedef. So -# typedef struct TypeS {} TypeT, will appear in the documentation as a struct -# with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically -# be useful for C code in case the coding convention dictates that all compound -# types are typedef'ed and only the typedef is referenced, never the tag name. - -TYPEDEF_HIDES_STRUCT = NO - -# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This -# cache is used to resolve symbols given their name and scope. Since this can -# be an expensive process and often the same symbol appear multiple times in -# the code, doxygen keeps a cache of pre-resolved symbols. If the cache is too -# small doxygen will become slower. If the cache is too large, memory is wasted. -# The cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid -# range is 0..9, the default is 0, corresponding to a cache size of 2^16 = 65536 -# symbols. - -LOOKUP_CACHE_SIZE = 0 - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = NO - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal -# scope will be included in the documentation. - -EXTRACT_PACKAGE = NO - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. When set to YES local -# methods, which are defined in the implementation section but not in -# the interface are included in the documentation. -# If set to NO (the default) only methods in the interface are included. - -EXTRACT_LOCAL_METHODS = NO - -# If this flag is set to YES, the members of anonymous namespaces will be -# extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base -# name of the file that contains the anonymous namespace. By default -# anonymous namespaces are hidden. - -EXTRACT_ANON_NSPACES = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. - -CASE_SENSE_NAMES = YES - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = YES - -# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen -# will list include files with double quotes in the documentation -# rather than with sharp brackets. - -FORCE_LOCAL_INCLUDES = NO - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in -# declaration order. - -SORT_BRIEF_DOCS = NO - -# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen -# will sort the (brief and detailed) documentation of class members so that -# constructors and destructors are listed first. If set to NO (the default) -# the constructors will appear in the respective orders defined by -# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. -# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO -# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. - -SORT_MEMBERS_CTORS_1ST = NO - -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the -# hierarchy of group names into alphabetical order. If set to NO (the default) -# the group names will appear in their defined order. - -SORT_GROUP_NAMES = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the -# alphabetical list. - -SORT_BY_SCOPE_NAME = NO - -# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to -# do proper type resolution of all parameters of a function it will reject a -# match between the prototype and the implementation of a member function even -# if there is only one candidate or it is obvious which candidate to choose -# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen -# will still accept a match between prototype and implementation in such cases. - -STRICT_PROTO_MATCHING = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST = YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if section-label ... \endif -# and \cond section-label ... \endcond blocks. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or macro consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and macros in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES - -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. -# This will remove the Files entry from the Quick Index and from the -# Folder Tree View (if specified). The default is YES. - -SHOW_FILES = YES - -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the -# Namespaces page. -# This will remove the Namespaces entry from the Quick Index -# and from the Folder Tree View (if specified). The default is YES. - -SHOW_NAMESPACES = YES - -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from -# the version control system). Doxygen will invoke the program by executing (via -# popen()) the command , where is the value of -# the FILE_VERSION_FILTER tag, and is the name of an input file -# provided by doxygen. Whatever the program writes to standard output -# is used as the file version. See the manual for examples. - -FILE_VERSION_FILTER = - -# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed -# by doxygen. The layout file controls the global structure of the generated -# output files in an output format independent way. To create the layout file -# that represents doxygen's defaults, run doxygen with the -l option. -# You can optionally specify a file name after the option, if omitted -# DoxygenLayout.xml will be used as the name of the layout file. - -LAYOUT_FILE = - -# The CITE_BIB_FILES tag can be used to specify one or more bib files -# containing the references data. This must be a list of .bib files. The -# .bib extension is automatically appended if omitted. Using this command -# requires the bibtex tool to be installed. See also -# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style -# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this -# feature you need bibtex and perl available in the search path. Do not use -# file names with spaces, bibtex cannot handle them. - -CITE_BIB_FILES = - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# The WARN_NO_PARAMDOC option can be enabled to get warnings for -# functions that are documented, but have no documentation for their parameters -# or return value. If set to NO (the default) doxygen will only warn about -# wrong or incomplete parameter documentation, but not about the absence of -# documentation. - -WARN_NO_PARAMDOC = NO - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. Optionally the format may contain -# $version, which will be replaced by the version of the file (if it could -# be obtained via FILE_VERSION_FILTER) - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = "@PROJECT_SOURCE_DIR@/libfm-qt" "@PROJECT_SOURCE_DIR@/pcmanfm" - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is -# also the default input encoding. Doxygen uses libiconv (or the iconv built -# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for -# the list of possible encodings. - -INPUT_ENCODING = UTF-8 - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh -# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py -# *.f90 *.f *.for *.vhd *.vhdl - -FILE_PATTERNS = - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = NO - -# The EXCLUDE tag can be used to specify files and/or directories that should be -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. -# Note that relative paths are relative to the directory from which doxygen is -# run. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or -# directories that are symbolic links (a Unix file system feature) are excluded -# from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. Note that the wildcards are matched -# against the file with absolute path, so to exclude all test directories -# for example use the pattern */test/* - -EXCLUDE_PATTERNS = */*_p.h - -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the -# output. The symbol name can be a fully qualified name, a word, or if the -# wildcard * is used, a substring. Examples: ANamespace, AClass, -# AClass::ANamespace, ANamespace::*Test - -EXCLUDE_SYMBOLS = FakeTr _* LibFmQtData - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. -# If FILTER_PATTERNS is specified, this tag will be ignored. -# Note that the filter must not add or remove lines; it is applied before the -# code is scanned, but not when the output code is generated. If lines are added -# or removed, the anchors will not be placed correctly. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. -# Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. -# The filters are a list of the form: -# pattern = filter (like *.cpp = my_cpp_filter). See INPUT_FILTER for further -# info on how filters are used. If FILTER_PATTERNS is empty or if -# non of the patterns match the file name, INPUT_FILTER is applied. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file -# pattern. A pattern will override the setting for FILTER_PATTERN (if any) -# and it is also possible to disable source filtering for a specific pattern -# using *.ext = (so without naming a filter). This option only has effect when -# FILTER_SOURCE_FILES is enabled. - -FILTER_SOURCE_PATTERNS = - -# If the USE_MD_FILE_AS_MAINPAGE tag refers to the name of a markdown file that -# is part of the input, its contents will be placed on the main page -# (index.html). This can be useful if you have a project on for instance GitHub -# and want reuse the introduction page also for the doxygen output. - -USE_MDFILE_AS_MAINPAGE = - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - -SOURCE_BROWSER = NO - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C, C++ and Fortran comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = NO - -# If the REFERENCES_RELATION tag is set to YES -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = NO - -# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) -# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from -# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will -# link to the source code. -# Otherwise they will link to the documentation. - -REFERENCES_LINK_SOURCE = YES - -# If the USE_HTAGS tag is set to YES then the references to source code -# will point to the HTML generated by the htags(1) tool instead of doxygen -# built-in source browser. The htags tool is part of GNU's global source -# tagging system (see http://www.gnu.org/software/global/global.html). You -# will need version 4.8.6 or higher. - -USE_HTAGS = NO - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = YES - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = YES - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. Note that when using a custom header you are responsible -# for the proper inclusion of any scripts and style sheets that doxygen -# needs, which is dependent on the configuration options used. -# It is advised to generate a default header using "doxygen -w html -# header.html footer.html stylesheet.css YourConfigFile" and then modify -# that header. Note that the header is subject to change so you typically -# have to redo this when upgrading to a newer version of doxygen or when -# changing the value of configuration settings such as GENERATE_TREEVIEW! - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If left blank doxygen will -# generate a default style sheet. Note that it is recommended to use -# HTML_EXTRA_STYLESHEET instead of this one, as it is more robust and this -# tag will in the future become obsolete. - -HTML_STYLESHEET = - -# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional -# user-defined cascading style sheet that is included after the standard -# style sheets created by doxygen. Using this option one can overrule -# certain style aspects. This is preferred over using HTML_STYLESHEET -# since it does not replace the standard style sheet and is therefor more -# robust against future updates. Doxygen will copy the style sheet file to -# the output directory. - -HTML_EXTRA_STYLESHEET = - -# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or -# other source files which should be copied to the HTML output directory. Note -# that these files will be copied to the base HTML output directory. Use the -# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these -# files. In the HTML_STYLESHEET file, use the file name only. Also note that -# the files will be copied as-is; there are no commands or markers available. - -HTML_EXTRA_FILES = - -# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. -# Doxygen will adjust the colors in the style sheet and background images -# according to this color. Hue is specified as an angle on a colorwheel, -# see http://en.wikipedia.org/wiki/Hue for more information. -# For instance the value 0 represents red, 60 is yellow, 120 is green, -# 180 is cyan, 240 is blue, 300 purple, and 360 is red again. -# The allowed range is 0 to 359. - -HTML_COLORSTYLE_HUE = 220 - -# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of -# the colors in the HTML output. For a value of 0 the output will use -# grayscales only. A value of 255 will produce the most vivid colors. - -HTML_COLORSTYLE_SAT = 100 - -# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to -# the luminance component of the colors in the HTML output. Values below -# 100 gradually make the output lighter, whereas values above 100 make -# the output darker. The value divided by 100 is the actual gamma applied, -# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, -# and 100 does not change the gamma. - -HTML_COLORSTYLE_GAMMA = 80 - -# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML -# page will contain the date and time when the page was generated. Setting -# this to NO can help when comparing the output of multiple runs. - -HTML_TIMESTAMP = YES - -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. - -HTML_DYNAMIC_SECTIONS = NO - -# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of -# entries shown in the various tree structured indices initially; the user -# can expand and collapse entries dynamically later on. Doxygen will expand -# the tree to such a level that at most the specified number of entries are -# visible (unless a fully collapsed tree already exceeds this amount). -# So setting the number of entries 1 will produce a full collapsed tree by -# default. 0 is a special value representing an infinite number of entries -# and will result in a full expanded tree by default. - -HTML_INDEX_NUM_ENTRIES = 100 - -# If the GENERATE_DOCSET tag is set to YES, additional index files -# will be generated that can be used as input for Apple's Xcode 3 -# integrated development environment, introduced with OSX 10.5 (Leopard). -# To create a documentation set, doxygen will generate a Makefile in the -# HTML output directory. Running make will produce the docset in that -# directory and running "make install" will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find -# it at startup. -# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html -# for more information. - -GENERATE_DOCSET = NO - -# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the -# feed. A documentation feed provides an umbrella under which multiple -# documentation sets from a single provider (such as a company or product suite) -# can be grouped. - -DOCSET_FEEDNAME = "Doxygen generated docs" - -# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that -# should uniquely identify the documentation set bundle. This should be a -# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen -# will append .docset to the name. - -DOCSET_BUNDLE_ID = org.doxygen.Project - -# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely -# identify the documentation publisher. This should be a reverse domain-name -# style string, e.g. com.mycompany.MyDocSet.documentation. - -DOCSET_PUBLISHER_ID = org.doxygen.Publisher - -# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher. - -DOCSET_PUBLISHER_NAME = Publisher - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - -CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING -# is used to encode HtmlHelp index (hhk), content (hhc) and project file -# content. - -CHM_INDEX_ENCODING = - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - -TOC_EXPAND = NO - -# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and -# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated -# that can be used as input for Qt's qhelpgenerator to generate a -# Qt Compressed Help (.qch) of the generated HTML documentation. - -GENERATE_QHP = NO - -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can -# be used to specify the file name of the resulting .qch file. -# The path specified is relative to the HTML output folder. - -QCH_FILE = - -# The QHP_NAMESPACE tag specifies the namespace to use when generating -# Qt Help Project output. For more information please see -# http://doc.trolltech.com/qthelpproject.html#namespace - -QHP_NAMESPACE = org.doxygen.Project - -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating -# Qt Help Project output. For more information please see -# http://doc.trolltech.com/qthelpproject.html#virtual-folders - -QHP_VIRTUAL_FOLDER = doc - -# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to -# add. For more information please see -# http://doc.trolltech.com/qthelpproject.html#custom-filters - -QHP_CUST_FILTER_NAME = - -# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the -# custom filter to add. For more information please see -# -# Qt Help Project / Custom Filters. - -QHP_CUST_FILTER_ATTRS = - -# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this -# project's -# filter section matches. -# -# Qt Help Project / Filter Attributes. - -QHP_SECT_FILTER_ATTRS = - -# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can -# be used to specify the location of Qt's qhelpgenerator. -# If non-empty doxygen will try to run qhelpgenerator on the generated -# .qhp file. - -QHG_LOCATION = - -# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files -# will be generated, which together with the HTML files, form an Eclipse help -# plugin. To install this plugin and make it available under the help contents -# menu in Eclipse, the contents of the directory containing the HTML and XML -# files needs to be copied into the plugins directory of eclipse. The name of -# the directory within the plugins directory should be the same as -# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before -# the help appears. - -GENERATE_ECLIPSEHELP = NO - -# A unique identifier for the eclipse help plugin. When installing the plugin -# the directory name containing the HTML and XML files should also have -# this name. - -ECLIPSE_DOC_ID = org.doxygen.Project - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) -# at top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. Since the tabs have the same information as the -# navigation tree you can set this option to NO if you already set -# GENERATE_TREEVIEW to YES. - -DISABLE_INDEX = NO - -# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. -# If the tag value is set to YES, a side panel will be generated -# containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). -# Windows users are probably better off using the HTML help feature. -# Since the tree basically has the same information as the tab index you -# could consider to set DISABLE_INDEX to NO when enabling this option. - -GENERATE_TREEVIEW = NO - -# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values -# (range [0,1..20]) that doxygen will group on one line in the generated HTML -# documentation. Note that a value of 0 will completely suppress the enum -# values from appearing in the overview section. - -ENUM_VALUES_PER_LINE = 4 - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open -# links to external symbols imported via tag files in a separate window. - -EXT_LINKS_IN_WINDOW = NO - -# Use this tag to change the font size of Latex formulas included -# as images in the HTML documentation. The default is 10. Note that -# when you change the font size after a successful doxygen run you need -# to manually remove any form_*.png images from the HTML output directory -# to force them to be regenerated. - -FORMULA_FONTSIZE = 10 - -# Use the FORMULA_TRANPARENT tag to determine whether or not the images -# generated for formulas are transparent PNGs. Transparent PNGs are -# not supported properly for IE 6.0, but are supported on all modern browsers. -# Note that when changing this option you need to delete any form_*.png files -# in the HTML output before the changes have effect. - -FORMULA_TRANSPARENT = YES - -# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax -# (see http://www.mathjax.org) which uses client side Javascript for the -# rendering instead of using prerendered bitmaps. Use this if you do not -# have LaTeX installed or if you want to formulas look prettier in the HTML -# output. When enabled you may also need to install MathJax separately and -# configure the path to it using the MATHJAX_RELPATH option. - -USE_MATHJAX = NO - -# When MathJax is enabled you can set the default output format to be used for -# the MathJax output. Supported types are HTML-CSS, NativeMML (i.e. MathML) and -# SVG. The default value is HTML-CSS, which is slower, but has the best -# compatibility. - -MATHJAX_FORMAT = HTML-CSS - -# When MathJax is enabled you need to specify the location relative to the -# HTML output directory using the MATHJAX_RELPATH option. The destination -# directory should contain the MathJax.js script. For instance, if the mathjax -# directory is located at the same level as the HTML output directory, then -# MATHJAX_RELPATH should be ../mathjax. The default value points to -# the MathJax Content Delivery Network so you can quickly see the result without -# installing MathJax. -# However, it is strongly recommended to install a local -# copy of MathJax from http://www.mathjax.org before deployment. - -MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest - -# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension -# names that should be enabled during MathJax rendering. - -MATHJAX_EXTENSIONS = - -# The MATHJAX_CODEFILE tag can be used to specify a file with javascript -# pieces of code that will be used on startup of the MathJax code. - -MATHJAX_CODEFILE = - -# When the SEARCHENGINE tag is enabled doxygen will generate a search box -# for the HTML output. The underlying search engine uses javascript -# and DHTML and should work on any modern browser. Note that when using -# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets -# (GENERATE_DOCSET) there is already a search function so this one should -# typically be disabled. For large projects the javascript based search engine -# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution. - -SEARCHENGINE = YES - -# When the SERVER_BASED_SEARCH tag is enabled the search engine will be -# implemented using a web server instead of a web client using Javascript. -# There are two flavours of web server based search depending on the -# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for -# searching and an index file used by the script. When EXTERNAL_SEARCH is -# enabled the indexing and searching needs to be provided by external tools. -# See the manual for details. - -SERVER_BASED_SEARCH = NO - -# When EXTERNAL_SEARCH is enabled doxygen will no longer generate the PHP -# script for searching. Instead the search results are written to an XML file -# which needs to be processed by an external indexer. Doxygen will invoke an -# external search engine pointed to by the SEARCHENGINE_URL option to obtain -# the search results. Doxygen ships with an example indexer (doxyindexer) and -# search engine (doxysearch.cgi) which are based on the open source search -# engine library Xapian. See the manual for configuration details. - -EXTERNAL_SEARCH = NO - -# The SEARCHENGINE_URL should point to a search engine hosted by a web server -# which will returned the search results when EXTERNAL_SEARCH is enabled. -# Doxygen ships with an example search engine (doxysearch) which is based on -# the open source search engine library Xapian. See the manual for configuration -# details. - -SEARCHENGINE_URL = - -# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed -# search data is written to a file for indexing by an external tool. With the -# SEARCHDATA_FILE tag the name of this file can be specified. - -SEARCHDATA_FILE = searchdata.xml - -# When SERVER_BASED_SEARCH AND EXTERNAL_SEARCH are both enabled the -# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is -# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple -# projects and redirect the results back to the right project. - -EXTERNAL_SEARCH_ID = - -# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen -# projects other than the one defined by this configuration file, but that are -# all added to the same external search index. Each project needs to have a -# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id -# of to a relative location where the documentation can be found. -# The format is: EXTRA_SEARCH_MAPPINGS = id1 = loc1 id2 = loc2 ... - -EXTRA_SEARCH_MAPPINGS = - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = NO - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. -# Note that when enabling USE_PDFLATEX this option is only used for -# generating bitmaps for formulas in the HTML output, but not in the -# Makefile that is written to the output directory. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, letter, legal and -# executive. If left blank a4 will be used. - -PAPER_TYPE = a4 - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for -# the generated latex document. The footer should contain everything after -# the last chapter. If it is left blank doxygen will generate a -# standard footer. Notice: only use this tag if you know what you are doing! - -LATEX_FOOTER = - -# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images -# or other source files which should be copied to the LaTeX output directory. -# Note that the files will be copied as-is; there are no commands or markers -# available. - -LATEX_EXTRA_FILES = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = YES - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = YES - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - -LATEX_HIDE_INDICES = NO - -# If LATEX_SOURCE_CODE is set to YES then doxygen will include -# source code with syntax highlighting in the LaTeX output. -# Note that which sources are shown also depends on other settings -# such as SOURCE_BROWSER. - -LATEX_SOURCE_CODE = NO - -# The LATEX_BIB_STYLE tag can be used to specify the style to use for the -# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See -# http://en.wikipedia.org/wiki/BibTeX for more info. - -LATEX_BIB_STYLE = plain - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load style sheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - -XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options related to the DOCBOOK output -#--------------------------------------------------------------------------- - -# If the GENERATE_DOCBOOK tag is set to YES Doxygen will generate DOCBOOK files -# that can be used to generate PDF. - -GENERATE_DOCBOOK = NO - -# The DOCBOOK_OUTPUT tag is used to specify where the DOCBOOK pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in -# front of it. If left blank docbook will be used as the default path. - -DOCBOOK_OUTPUT = docbook - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. -# This is useful -# if you want to understand what is going on. -# On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_DEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# pointed to by INCLUDE_PATH will be searched when a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name = definition (no spaces). If the definition and the = are -# omitted = 1 is assumed. To prevent a macro definition from being -# undefined via #undef or recursively expanded use the : = operator -# instead of the = operator. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition that -# overrules the definition found in the source code. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all references to function-like macros -# that are alone on a line, have an all uppercase name, and do not end with a -# semicolon, because these will confuse the parser if not removed. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. For each -# tag file the location of the external documentation should be added. The -# format of a tag file without this location is as follows: -# -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# -# TAGFILES = file1 = loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths -# or URLs. Note that each tag file must have a unique name (where the name does -# NOT include the path). If a tag file is not located in the directory in which -# doxygen is run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# If the EXTERNAL_PAGES tag is set to YES all external pages will be listed -# in the related pages index. If set to NO, only the current project's -# pages will be listed. - -EXTERNAL_PAGES = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base -# or super classes. Setting the tag to NO turns the diagrams off. Note that -# this option also works with HAVE_DOT disabled, but it is recommended to -# install and use dot, since it yields more powerful graphs. - -CLASS_DIAGRAMS = YES - -# You can define message sequence charts within doxygen comments using the \msc -# command. Doxygen will then run the mscgen tool (see -# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the -# documentation. The MSCGEN_PATH tag allows you to specify the directory where -# the mscgen tool resides. If left empty the tool is assumed to be found in the -# default search path. - -MSCGEN_PATH = - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = NO - -# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is -# allowed to run in parallel. When set to 0 (the default) doxygen will -# base this on the number of processors available in the system. You can set it -# explicitly to a value larger than 0 to get control over the balance -# between CPU load and processing speed. - -DOT_NUM_THREADS = 0 - -# By default doxygen will use the Helvetica font for all dot files that -# doxygen generates. When you want a differently looking font you can specify -# the font name using DOT_FONTNAME. You need to make sure dot is able to find -# the font, which can be done by putting it in a standard location or by setting -# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the -# directory containing the font. - -DOT_FONTNAME = Helvetica - -# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. -# The default size is 10pt. - -DOT_FONTSIZE = 10 - -# By default doxygen will tell dot to use the Helvetica font. -# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to -# set the path where dot can find it. - -DOT_FONTPATH = - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for groups, showing the direct groups dependencies - -GROUP_GRAPHS = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - -UML_LOOK = NO - -# If the UML_LOOK tag is enabled, the fields and methods are shown inside -# the class node. If there are many fields or methods and many nodes the -# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS -# threshold limits the number of items for each type to make the size more -# manageable. Set this to 0 for no limit. Note that the threshold may be -# exceeded by 50% before the limit is enforced. - -UML_LIMIT_NUM_FIELDS = 10 - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = NO - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH and HAVE_DOT options are set to YES then -# doxygen will generate a call dependency graph for every global function -# or class method. Note that enabling this option will significantly increase -# the time of a run. So in most cases it will be better to enable call graphs -# for selected functions only using the \callgraph command. - -CALL_GRAPH = NO - -# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then -# doxygen will generate a caller dependency graph for every global function -# or class method. Note that enabling this option will significantly increase -# the time of a run. So in most cases it will be better to enable caller -# graphs for selected functions only using the \callergraph command. - -CALLER_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will generate a graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES -# then doxygen will show the dependencies a directory has on other directories -# in a graphical way. The dependency relations are determined by the #include -# relations between the files in the directories. - -DIRECTORY_GRAPH = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are svg, png, jpg, or gif. -# If left blank png will be used. If you choose svg you need to set -# HTML_FILE_EXTENSION to xhtml in order to make the SVG files -# visible in IE 9+ (other browsers do not have this requirement). - -DOT_IMAGE_FORMAT = png - -# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to -# enable generation of interactive SVG images that allow zooming and panning. -# Note that this requires a modern browser other than Internet Explorer. -# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you -# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files -# visible. Older versions of IE do not have SVG support. - -INTERACTIVE_SVG = NO - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found in the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The MSCFILE_DIRS tag can be used to specify one or more directories that -# contain msc files that are included in the documentation (see the -# \mscfile command). - -MSCFILE_DIRS = - -# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of -# nodes that will be shown in the graph. If the number of nodes in a graph -# becomes larger than this value, doxygen will truncate the graph, which is -# visualized by representing a node as a red box. Note that doxygen if the -# number of direct children of the root node in a graph is already larger than -# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note -# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. - -DOT_GRAPH_MAX_NODES = 50 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes -# that lay further from the root node will be omitted. Note that setting this -# option to 1 or 2 may greatly reduce the computation time needed for large -# code bases. Also note that the size of a graph can be further restricted by -# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. - -MAX_DOT_GRAPH_DEPTH = 0 - -# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent -# background. This is disabled by default, because dot on Windows does not -# seem to support this out of the box. Warning: Depending on the platform used, -# enabling this option may lead to badly anti-aliased labels on the edges of -# a graph (i.e. they become hard to read). - -DOT_TRANSPARENT = NO - -# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output -# files in one run (i.e. multiple -o and -T options on the command line). This -# makes dot run faster, but since only newer versions of dot (>1.8.10) -# support this, this feature is disabled by default. - -DOT_MULTI_TARGETS = YES - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES diff --git a/LICENSE b/LICENSE deleted file mode 100644 index d8cf7d4..0000000 --- a/LICENSE +++ /dev/null @@ -1,280 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS diff --git a/README.md b/README.md deleted file mode 100644 index b5f112e..0000000 --- a/README.md +++ /dev/null @@ -1,69 +0,0 @@ -# PCManFM-Qt - -## Overview - -PCManFM-Qt is the Qt port of PCManFM, the file manager of [LXDE](https://lxde.org). - -In LXQt sessions it is in addition used to handle the desktop. Nevertheless it -can be used independently of LXQt as well. - -PCManFM-Qt is licensed under the terms of the -[GPLv2](https://www.gnu.org/licenses/gpl-2.0.en.html) or any later version. See -file LICENSE for its full text. - -## Installation - -### Compiling source code - -Runtime dependencies are qtx11extras, lxmenu-data, -[liblxqt](https://github.com/lxqt/liblxqt) and -[libfm-qt](https://github.com/lxqt/libfm-qt). -Additional build dependencies are CMake and optionally Git to pull latest VCS -checkouts. The localization files were outsourced to repository -[lxqt-l10n](https://github.com/lxqt/lxqt-l10n) so the corresponding dependencies -are needed, too. Please refer to this repository's `README.md` for further information. - -Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` -has to be set to `/usr` on most operating systems, depending on the way library -paths are dealt with on 64bit systems variables like `CMAKE_INSTALL_LIBDIR` may -have to be set as well. - -To build run `make`, to install `make install` which accepts variable `DESTDIR` -as usual. - -### Binary packages - -Official binary packages are available in Arch Linux, Debian (as of Debian stretch), -Fedora (version 0.10.0 only so far) and openSUSE (Leap 42.1 and Tumbleweed). - -## Usage - -The file manager functionality should be self-explanatory, handling of the -desktop deserves some notes: - -To handle the desktop binary `pcmanfm-qt` has to be launched with switch -`--desktop` set. Optionally switch `--profile` can be used to safe settings -specific to certain session types like the different desktop environments. -In LXQt sessions, PCManFM-Qt is launched with theses switches set as -[LXQt Module](https://github.com/lxqt/lxqt-session#lxqt-modules). - -To configure the desktop there's a dialogue "Desktop Preferences". Technically -it corresponds with launching `pcmanfm-qt` with switch `--desktop-pref` set. It -is available in the desktop's context menu and included as topic "Desktop" in -sub-menu Preferences - LXQt settings of the panel's main menu as well as the -[Configuration Center](https://github.com/lxqt/lxqt-config#configuration-center) -of lxqt-config. - -All switches (command line options) mentioned above are explained in detail in -`man 1 pcmanfm-qt`. - -## Development - -Issues should go to the tracker of PCManFM-Qt at https://github.com/lxqt/pcmanfm-qt/issues. - - -### Translation (Weblate) - - -Translation status - diff --git a/autostart/CMakeLists.txt b/autostart/CMakeLists.txt deleted file mode 100644 index 3f6e199..0000000 --- a/autostart/CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ -file(GLOB DESKTOP_FILES_IN *.desktop.in) - -# Translations ********************************** -lxqt_translate_desktop(DESKTOP_FILES - SOURCES - ${DESKTOP_FILES_IN} -) -add_custom_target(autostart_desktop_files ALL DEPENDS ${DESKTOP_FILES}) -#************************************************ - -install(FILES - ${DESKTOP_FILES} - DESTINATION "${LXQT_ETC_XDG_DIR}/autostart" - COMPONENT Runtime -) diff --git a/autostart/lxqt-desktop.desktop.in b/autostart/lxqt-desktop.desktop.in deleted file mode 100644 index b5ba08d..0000000 --- a/autostart/lxqt-desktop.desktop.in +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Desktop -Exec=pcmanfm-qt --desktop --profile=lxqt -TryExec=pcmanfm-qt -OnlyShowIn=LXQt; -X-LXQt-Module=true - -#TRANSLATIONS_DIR=translations diff --git a/autostart/translations/lxqt-desktop_ar.desktop b/autostart/translations/lxqt-desktop_ar.desktop deleted file mode 100644 index 488c8f2..0000000 --- a/autostart/translations/lxqt-desktop_ar.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[ar]=سطح المكتب diff --git a/autostart/translations/lxqt-desktop_cs.desktop b/autostart/translations/lxqt-desktop_cs.desktop deleted file mode 100644 index 41772aa..0000000 --- a/autostart/translations/lxqt-desktop_cs.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[cs]=Plocha diff --git a/autostart/translations/lxqt-desktop_da.desktop b/autostart/translations/lxqt-desktop_da.desktop deleted file mode 100644 index 27a277c..0000000 --- a/autostart/translations/lxqt-desktop_da.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[da]=Skrivebord diff --git a/autostart/translations/lxqt-desktop_de.desktop b/autostart/translations/lxqt-desktop_de.desktop deleted file mode 100644 index 032c706..0000000 --- a/autostart/translations/lxqt-desktop_de.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[de]=Arbeitsfläche diff --git a/autostart/translations/lxqt-desktop_el.desktop b/autostart/translations/lxqt-desktop_el.desktop deleted file mode 100644 index 6794a7a..0000000 --- a/autostart/translations/lxqt-desktop_el.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[el]=Επιφάνεια εργασίας diff --git a/autostart/translations/lxqt-desktop_eo.desktop b/autostart/translations/lxqt-desktop_eo.desktop deleted file mode 100644 index 5eed7a0..0000000 --- a/autostart/translations/lxqt-desktop_eo.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[eo]=Labortablo diff --git a/autostart/translations/lxqt-desktop_es.desktop b/autostart/translations/lxqt-desktop_es.desktop deleted file mode 100644 index cc88ff1..0000000 --- a/autostart/translations/lxqt-desktop_es.desktop +++ /dev/null @@ -1 +0,0 @@ -Name[es]=Escritorio diff --git a/autostart/translations/lxqt-desktop_es_VE.desktop b/autostart/translations/lxqt-desktop_es_VE.desktop deleted file mode 100644 index f6f5cef..0000000 --- a/autostart/translations/lxqt-desktop_es_VE.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[es_VE]=Escritorio diff --git a/autostart/translations/lxqt-desktop_eu.desktop b/autostart/translations/lxqt-desktop_eu.desktop deleted file mode 100644 index b5d67f1..0000000 --- a/autostart/translations/lxqt-desktop_eu.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[eu]=Mahaigaina diff --git a/autostart/translations/lxqt-desktop_fi.desktop b/autostart/translations/lxqt-desktop_fi.desktop deleted file mode 100644 index 00bc361..0000000 --- a/autostart/translations/lxqt-desktop_fi.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[fi]=Työpöytä diff --git a/autostart/translations/lxqt-desktop_fr.desktop b/autostart/translations/lxqt-desktop_fr.desktop deleted file mode 100644 index 5ec4dae..0000000 --- a/autostart/translations/lxqt-desktop_fr.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[fr]=Bureau diff --git a/autostart/translations/lxqt-desktop_hu.desktop b/autostart/translations/lxqt-desktop_hu.desktop deleted file mode 100644 index f562df9..0000000 --- a/autostart/translations/lxqt-desktop_hu.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[hu]=Asztal diff --git a/autostart/translations/lxqt-desktop_ia.desktop b/autostart/translations/lxqt-desktop_ia.desktop deleted file mode 100644 index 084a547..0000000 --- a/autostart/translations/lxqt-desktop_ia.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[ia]=Scriptorio diff --git a/autostart/translations/lxqt-desktop_it_IT.desktop b/autostart/translations/lxqt-desktop_it_IT.desktop deleted file mode 100644 index cf53f2f..0000000 --- a/autostart/translations/lxqt-desktop_it_IT.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[it_IT]=Desktop diff --git a/autostart/translations/lxqt-desktop_ja.desktop b/autostart/translations/lxqt-desktop_ja.desktop deleted file mode 100644 index 997c2ca..0000000 --- a/autostart/translations/lxqt-desktop_ja.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[ja]=デスクトップ diff --git a/autostart/translations/lxqt-desktop_lt.desktop b/autostart/translations/lxqt-desktop_lt.desktop deleted file mode 100644 index e32a241..0000000 --- a/autostart/translations/lxqt-desktop_lt.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[lt]=Darbalaukis diff --git a/autostart/translations/lxqt-desktop_nl.desktop b/autostart/translations/lxqt-desktop_nl.desktop deleted file mode 100644 index 9d5a268..0000000 --- a/autostart/translations/lxqt-desktop_nl.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[nl]=Bureaublad diff --git a/autostart/translations/lxqt-desktop_pl_PL.desktop b/autostart/translations/lxqt-desktop_pl_PL.desktop deleted file mode 100644 index 8842c2e..0000000 --- a/autostart/translations/lxqt-desktop_pl_PL.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[pl_PL]=Pulpit diff --git a/autostart/translations/lxqt-desktop_pt.desktop b/autostart/translations/lxqt-desktop_pt.desktop deleted file mode 100644 index 168881a..0000000 --- a/autostart/translations/lxqt-desktop_pt.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[pt]=Área de trabalho diff --git a/autostart/translations/lxqt-desktop_pt_BR.desktop b/autostart/translations/lxqt-desktop_pt_BR.desktop deleted file mode 100644 index 525b1cf..0000000 --- a/autostart/translations/lxqt-desktop_pt_BR.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[pt_BR]=Área de trabalho diff --git a/autostart/translations/lxqt-desktop_ro_RO.desktop b/autostart/translations/lxqt-desktop_ro_RO.desktop deleted file mode 100644 index 67c3c8c..0000000 --- a/autostart/translations/lxqt-desktop_ro_RO.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[ro_RO]=Desktop diff --git a/autostart/translations/lxqt-desktop_ru.desktop b/autostart/translations/lxqt-desktop_ru.desktop deleted file mode 100644 index 212067a..0000000 --- a/autostart/translations/lxqt-desktop_ru.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[ru]=Pабочий стол diff --git a/autostart/translations/lxqt-desktop_ru_RU.desktop b/autostart/translations/lxqt-desktop_ru_RU.desktop deleted file mode 100644 index cd0ea09..0000000 --- a/autostart/translations/lxqt-desktop_ru_RU.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[ru_RU]=Рабочий стол diff --git a/autostart/translations/lxqt-desktop_sl.desktop b/autostart/translations/lxqt-desktop_sl.desktop deleted file mode 100644 index b22f360..0000000 --- a/autostart/translations/lxqt-desktop_sl.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[sl]=Namizje diff --git a/autostart/translations/lxqt-desktop_th_TH.desktop b/autostart/translations/lxqt-desktop_th_TH.desktop deleted file mode 100644 index 9884b62..0000000 --- a/autostart/translations/lxqt-desktop_th_TH.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[th_TH]=เดสก์ท็อป diff --git a/autostart/translations/lxqt-desktop_tr.desktop b/autostart/translations/lxqt-desktop_tr.desktop deleted file mode 100644 index 4de2076..0000000 --- a/autostart/translations/lxqt-desktop_tr.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[tr]=Masaüstü diff --git a/autostart/translations/lxqt-desktop_uk.desktop b/autostart/translations/lxqt-desktop_uk.desktop deleted file mode 100644 index c31081a..0000000 --- a/autostart/translations/lxqt-desktop_uk.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[uk]=Стільниця diff --git a/autostart/translations/lxqt-desktop_zh_CN.desktop b/autostart/translations/lxqt-desktop_zh_CN.desktop deleted file mode 100644 index a6312e1..0000000 --- a/autostart/translations/lxqt-desktop_zh_CN.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[zh_CN]=桌面 diff --git a/autostart/translations/lxqt-desktop_zh_TW.desktop b/autostart/translations/lxqt-desktop_zh_TW.desktop deleted file mode 100644 index e474b74..0000000 --- a/autostart/translations/lxqt-desktop_zh_TW.desktop +++ /dev/null @@ -1,2 +0,0 @@ -# Translations -Name[zh_TW]=桌面 diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt deleted file mode 100644 index c86bfb3..0000000 --- a/config/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -# install default config files to /etc/xdg - -configure_file(pcmanfm-qt/lxqt/settings.conf.in pcmanfm-qt/lxqt/settings.conf @ONLY) -install(FILES - "${CMAKE_CURRENT_BINARY_DIR}/pcmanfm-qt/lxqt/settings.conf" - DESTINATION "${CMAKE_INSTALL_DATADIR}/pcmanfm-qt/lxqt" - COMPONENT Runtime -) diff --git a/config/pcmanfm-qt/lxqt/settings.conf.in b/config/pcmanfm-qt/lxqt/settings.conf.in deleted file mode 100644 index b7ef002..0000000 --- a/config/pcmanfm-qt/lxqt/settings.conf.in +++ /dev/null @@ -1,53 +0,0 @@ -[System] -IconThemeName=elementary -SuCommand=lxqt-sudo %s -TerminalCommand= -Archiver=file-roller -SIUnit=false -TerminalDirCommand=xterm -TerminalExecCommand=xterm -e %s - -[Behavior] -BookmarkOpenMethod=0 -UseTrash=true -SingleClick=false -ConfirmDelete=true - -[Desktop] -WallpaperMode=stretch -Wallpaper=@LXQT_SHARE_DIR@/themes/frost/lxqt-origami-light.png -BgColor=#000000 -FgColor=#ffffff -ShadowColor=#000000 -ShowHidden=false -SortOrder=ascending -SortColumn=name -Font="Sans Serif,10,-1,5,50,0,0,0,0,0" - -[Volume] -MountOnStartup=true -MountRemovable=true -AutoRun=true - -[FolderView] -Mode=icon -ShowHidden=false -SortOrder=ascending -SortColumn=name -BigIconSize=48 -SmallIconSize=24 -SidePaneIconSize=24 -ThumbnailIconSize=128 - -[Window] -Width=640 -Height=480 -AlwaysShowTabs=false -ShowTabClose=true -SplitterPos=150 -SidePaneMode=0 - -[Thumbnail] -ShowThumbnails=true -MaxThumbnailFileSize=4096 -ThumbnailLocalFilesOnly=true diff --git a/debian/changelog b/debian/changelog index 9347ae6..754cd69 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,390 +1,100 @@ -pcmanfm-qt (0.14.1-1) unstable; urgency=medium +pavucontrol-qt (0.14.1-1ubuntu1) disco; urgency=medium - * Cherry-picking upstream release 0.14.1. - * Bumped minimum version libfm-qt-dev (>= 0.14.1~) - * Depend now on libfm-qt6 (>= 0.14.1~) - * Improved the description of the language package + * Lubuntuify the package. - -- Alf Gaida Sun, 24 Feb 2019 23:23:24 +0100 + -- Simon Quigley Sat, 09 Mar 2019 12:29:43 -0600 -pcmanfm-qt (0.14.0-1) unstable; urgency=medium +pavucontrol-qt (0.14.1-1) unstable; urgency=medium - * Cherry-picking upstream release 0.14.0. + * Cherry-picked upstream release 0.14.1. + + -- Alf Gaida Tue, 26 Feb 2019 00:51:28 +0100 + +pavucontrol-qt (0.14.0-1) unstable; urgency=medium + + * Cherry-picked upstream release 0.14.0. * Bumped Standards to 4.3.0, no changes needed * Dropped d/compat, use debhelper-compat = 12, no changes needed * Fixed years in d/copyright - * Bumped minimum version libfm-qt-dev (>= 0.14.0~) * Bumped minimum version lxqt-build-tools (>= 0.6.0~) - * Depend now on libfm-qt6 (>= 0.14.0~) * Removed obsolete PULL_TRANSLATIONS= OFF from dh_auto_configure - * Added Build-Depends-Package field to symbols * Added l10n-package, moved from lxqt-l10n * Added d/upstream/metadata - -- Alf Gaida Sun, 27 Jan 2019 19:40:51 +0100 - -pcmanfm-qt (0.13.0-2) unstable; urgency=medium - - * Switch to unstable - * Bumped build dependency libfm-qt-dev to >= 0.13.1~ - * Bumped Standards to 4.1.5, no changes needed + -- Alf Gaida Sun, 27 Jan 2019 15:25:30 +0100 - -- Alf Gaida Sat, 07 Jul 2018 14:37:15 +0200 +pavucontrol-qt (0.4.0-1) unstable; urgency=medium -pcmanfm-qt (0.13.0-1) experimental; urgency=medium + * Cherry-picked upstream release 0.4.0 + * Bump lxqt-build-tools to >= 0.5.0~ + * Fixed watch file lxde -> lxqt + * Moved .gitignore from debian to ./ + * Cleaned up debian/source/options - * Cherry-picking upstream release 0.13.0. - * Bumped build dependency libfm-qt-dev to >= 0.13.0~ - * Bumped build dependency lxqt-build-tools to >= 0.5.0~ - * Added papirus-icon-theme as default alternative for icon-themes - * Bumped year in copyright - * Removed ported back upstream patches. - * Moved debian/.gitignore -> ./.gitignore + -- Alf Gaida Wed, 23 May 2018 20:29:30 +0200 - -- Alf Gaida Sat, 26 May 2018 02:25:19 +0200 - -pcmanfm-qt (0.12.0-6) unstable; urgency=medium +pavucontrol-qt (0.3.0-4) unstable; urgency=medium * Bumped compat to 11 * Bumped debhelper to >= 11~ * Bumped Standards to 4.1.4, no changes needed - * Fixed a glitch in VCS fields + * Changed VCS fields for salsa * Changed Homepage, Source and watch to lxqt - * Bumped year in copyright - - -- Alf Gaida Sat, 28 Apr 2018 18:43:40 +0200 - -pcmanfm-qt (0.12.0-5) unstable; urgency=medium - - * Moved git to salsa, changed the VCS fields that way - * Bumped Standards to 4.1.3, no changes needed - * Added gfvs-fuse to recommends, thanks robert - (Closes: #886166) - - -- Alf Gaida Fri, 05 Jan 2018 19:12:49 +0100 - -pcmanfm-qt (0.12.0-4) unstable; urgency=medium - - * Really bumped Standards. + * Bumped years in copyright + * Removed trailing whitespaces in changelog - -- Alf Gaida Sat, 16 Dec 2017 03:48:34 +0100 + -- Alf Gaida Sat, 28 Apr 2018 18:21:55 +0200 -pcmanfm-qt (0.12.0-3) unstable; urgency=medium +pavucontrol-qt (0.3.0-3) unstable; urgency=medium * Bumped Standards to 4.1.2, no changes needed - * Move config to /usr/share/pcmanfm-qt/lxqt * Removed branch from VCS fields * Removed debian/gbp.conf - -- Alf Gaida Fri, 15 Dec 2017 00:49:17 +0100 + -- Alf Gaida Thu, 14 Dec 2017 23:51:12 +0100 -pcmanfm-qt (0.12.0-2) unstable; urgency=medium +pavucontrol-qt (0.3.0-2) unstable; urgency=medium * Transition to unstable - -- Alf Gaida Tue, 05 Dec 2017 01:51:44 +0100 + -- Alf Gaida Mon, 04 Dec 2017 20:00:17 +0100 -pcmanfm-qt (0.12.0-1) experimental; urgency=medium +pavucontrol-qt (0.3.0-1) experimental; urgency=medium - * Cherry-picking upstream release 0.12.0. - * Bumped Standards to 4.1.1 - * Bumped build-tools >= 0.4.0 - * Bumped libfm-qt-dev >= 0.12.0 + * Cherry-picking new upstream release 0.3.0. + * Switched to experimental + * Bumped Standards to 0.4.0, no changes needed + * Bumped minimum version lxqt-build-tools (>= 0.4.0) * Bumped years in copyright - * Added build dependency libexif-dev - * Added Breaks and Replaces for lxqt-common << 0.12.0 - - -- Alf Gaida Tue, 24 Oct 2017 21:53:39 +0200 - -pcmanfm-qt (0.11.3-4) unstable; urgency=medium - - * Depend on desktop-file-utils (Closes: #866900) - * Recommend ffmpegthumbnailer (Closes: #867460) - * Removed the alternative dependency gksu. Reason: #867236 - - -- Alf Gaida Thu, 06 Jul 2017 19:58:03 +0200 -pcmanfm-qt (0.11.3-3) unstable; urgency=medium + -- Alf Gaida Sun, 24 Sep 2017 15:19:13 +0200 - * Bumped Standards to 4.0.0 - * Depend on lxqt-sudo | gksu we need at least one UI for sudo - * Added Recommends: lximage-qt, lxqt-policykit, lxqt-qtplugin - (Closes: #866347) - * pcmanfm-qt allow multiple file selections with mouse, the implementation is - horrible in some places, but it works. (Closes: #853201) +pavucontrol-qt (0.2.0-1) unstable; urgency=medium - -- Alf Gaida Sun, 02 Jul 2017 18:05:08 +0200 - -pcmanfm-qt (0.11.3-2) unstable; urgency=medium - - * set oxygen-icon-theme as default alternative recommendation - (Closes: #851411) - - -- Alf Gaida Sun, 15 Jan 2017 01:35:46 +0100 - -pcmanfm-qt (0.11.3-1) unstable; urgency=medium - - * Cherry-picking upstream release 0.11.3. - - -- Alf Gaida Sat, 14 Jan 2017 03:54:54 +0100 - -pcmanfm-qt (0.11.2-1) unstable; urgency=medium - - * Cherry-picking upstream release 0.11.2. - * Removed build dependencies: - - libfm-dev + * Cherry-picking upstream release 0.2.0. + * Removed some no longer needed build dependencies: + - cmake - liblxqt0-dev - * Bumped minimum versions - - libfm-qt-dev (>= 0.11.2) - - lxqt-build-tools (>= 0.3.0) - - libfm-qt3 (>= 0.11.2) - * Suggests: cdtool -> cdtool [linux-any] - - -- Alf Gaida Thu, 22 Dec 2016 02:02:37 +0100 - -pcmanfm-qt (0.11.1-3) unstable; urgency=medium - - * Added versioned dependency libfm-qt3 (>= 0.11.1), dh detect only - a minimum version of 0.11.0 - false because some symbols are added - which are needed for pcmanfm-qt (>= 0.11.1) (Closes: #842080) - * Removed build dependencies - libqt5xdg-dev - - pkg-config, - - qttools5-dev, + - libqt5xdgiconloader-dev + - pkg-config + - qttools5-dev - qttools5-dev-tools - * Added build dependency lxqt-build-tools - - -- Alf Gaida Sat, 05 Nov 2016 02:06:06 +0100 - -pcmanfm-qt (0.11.1-2) unstable; urgency=medium - - * Cherry-picking upstream release 0.11.1. - * Synced debian foo with experimental - * Removed --parallel from rules, standard compat 10 - * New dep. default-dbus-session-bus | dbus-session-bus | dbus-x11 - (Closes: #836284) - * Fixed Crashes while copying (Closes: #823753) - * Bumped minimum version libfm-qt-dev (>= 0.11.1) - * Bumped minimum version libqt5xdg-dev (>= 2.0.0) - * Added build dependency libkf5windowsystem-dev - * Added build dependency libqt5svg5-dev - * Added build dependency liblxqt0-dev (>= 0.11.0) - * Added Recommends pcmanfm-qt-l10n - * Fixed VCS fields, using plain /git/ - * Fixed copyright Format field, using https - * Dropped patches, applied upstream - * Added translation controls - * Set CMAKE_BUILD_TYPE=RelWithDebInfo - - -- Alf Gaida Tue, 18 Oct 2016 22:59:30 +0200 - -pcmanfm-qt (0.11.0-10) unstable; urgency=medium - - * Fixed typo in Recommends: oyxgen-icon-theme -> oxygen-icon-theme - - -- Alf Gaida Mon, 19 Sep 2016 21:50:10 +0200 - -pcmanfm-qt (0.11.0-9) unstable; urgency=medium - - * Bumped compat to 10 - * Bumped build dependency debhelper (>=10) - * Fixed typo in Recommends: faenza--icon-theme > faenza-icon-theme - - -- Alf Gaida Mon, 19 Sep 2016 04:23:26 +0200 - -pcmanfm-qt (0.11.0-8) unstable; urgency=medium - - * Replace dep. dbus-x11 with default-dbus-session-bus | dbus-session-bus - (Closes: #836284) - * Set CMAKE_BUILD_TYPE=RelWithDebInfo - - -- Alf Gaida Thu, 01 Sep 2016 22:56:35 +0200 - -pcmanfm-qt (0.11.0-7) unstable; urgency=medium - - * Fixed VCS fields, use plain /git/ - * Reworked icon-theme recommends (Closes: #833590) - Thanks Pino Toscano - - -- Alf Gaida Sun, 07 Aug 2016 11:14:08 +0200 - -pcmanfm-qt (0.11.0-6) unstable; urgency=medium - - * Set LC_ALL for reproducible builds. - - -- ChangZhuo Chen (陳昌倬) Sat, 16 Jul 2016 11:16:41 +0800 - -pcmanfm-qt (0.11.0-5) unstable; urgency=medium - - * Backported temporary upstream fix for #826311 - (https://github.com/lxde/pcmanfm-qt/pull/359) - * Bumped standards version to 3.9.8 - no changes needed - - -- Alf Gaida Sat, 04 Jun 2016 19:39:22 +0200 - -pcmanfm-qt (0.11.0-4) unstable; urgency=medium - - * Added oxygen-icon-theme | oxygen5-icon-theme | gnome-icon-theme - to recommends. (Closes: #826311) - - -- Alf Gaida Sat, 04 Jun 2016 15:54:21 +0200 - -pcmanfm-qt (0.11.0-3) unstable; urgency=low - - * Adding "Depends: dbus-x11". Closes: #820079 - - -- Yuan CHAO Tue, 19 Apr 2016 20:30:00 +0800 - -pcmanfm-qt (0.11.0-2) unstable; urgency=medium - - * Merge experimental to unstable - - -- Alf Gaida Thu, 31 Mar 2016 22:07:11 +0200 - -pcmanfm-qt (0.11.0-1) experimental; urgency=medium - - * New upstream release - * Removed grep patch - * Bump libfm-qt-dev (>= 0.11.0) - - -- Alf Gaida Mon, 28 Mar 2016 18:12:27 +0200 - -pcmanfm-qt (0.10.1-2) unstable; urgency=medium - - * Bump Standards to 3.9.7 - * Fix years in copyright - * Add hardending=+all - * simplify rules - * make pcmanfm-qt reproducible again, thanks to Eduard Sanou for the - bugreport and the patch, but it was fixed before (Closes: #815818) - - -- Alf Gaida Fri, 26 Feb 2016 00:16:22 +0100 - -pcmanfm-qt (0.10.1-1) unstable; urgency=medium + * Added build dependency lxqt-build-tools (>= 0.3.0) + * Added dependency pulseaudio (Closes: #847373) + * Fixed Recommends: obconf-qt-l10n -> pavucontrol-qt-l10n - * New upstream release. - * Remove libfm-qt as upstream moved it into another source repository. - * Remove dbg package in favor of dbgsym. - * Update Vcs-Browser. + -- Alf Gaida Mon, 12 Dec 2016 18:56:14 +0100 - -- ChangZhuo Chen (陳昌倬) Sun, 07 Feb 2016 16:13:27 +0800 +pavucontrol-qt (0.1.0-2) unstable; urgency=medium -pcmanfm-qt (0.10.0-2) unstable; urgency=medium + * Moved to unstable + * Fixed signing-key, thanks Rohan Garg - * Merge from experimental. - * New upstream release. - * Update minimum version of liblxqt. - * Update symbols. - * Remove menu file, see CTTE #741573. + -- Alf Gaida Tue, 18 Oct 2016 20:34:41 +0200 - -- ChangZhuo Chen (陳昌倬) Sun, 15 Nov 2015 21:14:41 +0800 +pavucontrol-qt (0.1.0-1) experimental; urgency=medium -pcmanfm-qt (0.9.0+20150908-2) unstable; urgency=medium + * Initial release (Closes: #838724) - * Menufile deleted - * debian/rules --fail-missing included --list-missig, so - --list-missing deleted - - -- Alf Gaida Fri, 13 Nov 2015 02:37:53 +0100 - -pcmanfm-qt (0.9.0+20150908-1) unstable; urgency=medium - - [ Alf Gaida ] - * Cherry-picked upstream version 0.9.0+20150908. - * Tar-ignore .gitignore - * Fixed control with cme fix - * Added upstream signing-key and use it in watch file - * Removed automoc build dependency - not needed with Qt5 - * Fixed symbols for i386 and amd64 - - [ ChangZhuo Chen (陳昌倬) ] - * Use arch-bits to fix 32 bit architecture symbols. - * Add Shih-Yuan Lee (FourDollars) as Uploaders. - - -- ChangZhuo Chen (陳昌倬) Tue, 15 Sep 2015 23:30:13 +0800 - -pcmanfm-qt (0.9.0+20150816-1) unstable; urgency=medium - - [ ChangZhuo Chen (陳昌倬) ] - * Import debian directory from Wen.Liao. - * Initial release (Closes: #747605) - * Merge debian directory. - * Backup *.ts. - * Fix package-contains-empty-directory. - * Don't use variable for command. - * Add libfm-qt1 and libfm-qt-dev. - * Update copyright. - * Add Pre-Depends: ${misc:Pre-Depends} to libfm-qt1. - * Create manpage for pcmanfm-qt. - * add libfm-qt1.symbols. - * Revert "Create manpage for pcmanfm-qt". - * Add pcmanfm-qt.manpages. - * Fix manpage. - * Install include to libfm-qt-dev. - * Update package description. - * Use patch to install manpage. - * Migrate to QT5. - * Update d/copyright. - * Fix copyright typo. - * Revert accidiently ts changed. - - [ Alf Gaida ] - * gitignore added. - * new upstream translation files. - * some cleanup in debian rules. - * two missed symbols added. - * they need a little bit of beautyfing. - * we should not save translations in debian/bak. if there is a real - problem with the translations this should be fixed upstream. - * add two symbols @czchen - would you be so kind and clean them up. - * catch up with upstream Patch descriptions changed. - * Imported Upstream version 0.8.0 - * Min Qt version 5.3.2. - * bump standards to 3.9.6. - * removed all patches, integrated in upstream. - * fix symbols (two symbols added). - * fix prefs desktop file. - * fix arch for dbg packages. - * Imported Upstream version 0.8.0. - * Min Qt version 5.3.2. - * bump standards to 3.9.6. - * removed all patches, integrated in upstream. - * fix symbols (two symbols added). - * fix prefs desktop file. - * fix arch for dbg packages. - * patch added released. - * fixing arch dependent symbols. - * recommend gfvs-backends. - * Some cleanup in debian $foo. - * some changes in debian $foo. - * drop transitional packages. - - [ ChangZhuo Chen (陳昌倬) ] - * Unapply Debian patch. - * Add debian/source/local-options. - * Backup / Restore translations. - * Fix override_dh_clean. - * Use override_dh_auto_clean to restore translations. - * Update symbol control file. - * Quote in symbol control file. - * Restore upstream file. - * Imported Upstream version 0.9.0+20150816. - * Add (c++) to symbol control file. - * Update changelog. - * Update symbol control file. - * Fix symbol control file. - * Fix Architecture. - * Add Multi-Arch: same. - - [ Shih-Yuan Lee (FourDollars) ] - * Polish debian/control by 'cme fix dpkg-control'. - * Update package description. - - [ Andrew Lee (李健秋) ] - * Added myself as Uploader. - * Removing whitespaces at EOL and EOF. - * Refine descriptions. - * Don't need to backup/restore translation files, this fixed upstream. - * Warpped lines in copyright. - - -- Andrew Lee (李健秋) Mon, 17 Aug 2015 21:04:54 +0800 + -- Alf Gaida Sat, 24 Sep 2016 16:18:14 +0200 diff --git a/debian/control b/debian/control index 7c58cdb..d8e5553 100644 --- a/debian/control +++ b/debian/control @@ -1,61 +1,41 @@ -Source: pcmanfm-qt -Maintainer: LXQt Packaging Team -Uploaders: Alf Gaida , - ChangZhuo Chen (陳昌倬) , - Andrew Lee (李健秋) , - Shih-Yuan Lee (FourDollars) , - Yuan CHAO -Section: x11 +Source: pavucontrol-qt +Maintainer: Lubuntu Developers +XSBC-Original-Maintainer: LXQt Packaging Team +Uploaders: Simon Quigley +Section: utils Priority: optional Build-Depends: debhelper-compat (= 12), - libexif-dev, - libfm-qt-dev (>= 0.14.1~), libkf5windowsystem-dev, - libmenu-cache-dev, + libpulse-dev, libqt5svg5-dev, libqt5x11extras5-dev, - libx11-dev, - lxqt-build-tools (>= 0.6.0~) + lxqt-build-tools (>= 0.6.0~), + xdg-user-dirs Standards-Version: 4.3.0 -Vcs-Browser: https://salsa.debian.org/lxqt-team/pcmanfm-qt -Vcs-Git: https://salsa.debian.org/lxqt-team/pcmanfm-qt.git -Homepage: https://github.com/lxqt/pcmanfm-qt +Vcs-Browser: https://phab.lubuntu.me/source/pavucontrol-qt/ +Vcs-Git: https://phab.lubuntu.me/source/pavucontrol-qt.git +XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/pavucontrol-qt +XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/pavucontrol-qt.git +Homepage: https://github.com/lxqt/pavucontrol-qt -Package: pcmanfm-qt +Package: pavucontrol-qt Architecture: any -Depends: ${misc:Depends}, - ${shlibs:Depends}, - default-dbus-session-bus | dbus-session-bus | dbus-x11, - desktop-file-utils, - libfm-qt6 (>= 0.14.1~), - lxqt-sudo -Recommends: eject, - ffmpegthumbnailer, - gvfs-backends, - gvfs-fuse, - lximage-qt, - lxqt-policykit, - lxqt-qtplugin, - papirus-icon-theme | breeze-icon-theme | faenza-icon-theme | oxygen-icon-theme, - pcmanfm-qt-l10n -Suggests: cdtool [linux-any] -Breaks: lxqt-common (<< 0.12.0) -Replaces: lxqt-common (<< 0.12.0) -Description: extremely fast and lightweight file and desktop icon manager - PCManFM-Qt is the Qt port of the LXDE file manager PCManFM. +Depends: pulseaudio, ${misc:Depends}, ${shlibs:Depends} +Recommends: pavucontrol-qt-l10n +Description: Qt port of volume control pavucontrol + Qt port of volume control pavucontrol of sound server PulseAudio. As such it + can be used to adjust all controls provided by PulseAudio as well as some + additional settings. . - Libfm-Qt is a companion library providing components to build desktop file - managers. + The software belongs to the LXQt project but its usage isn't limited to this + desktop environment. + . + This package contain the application files. -Package: pcmanfm-qt-l10n +Package: pavucontrol-qt-l10n Architecture: all Multi-Arch: foreign Section: localization -Depends: ${misc:Depends}, - qttranslations5-l10n -Breaks: pcmanfm-qt (<< 0.11.1) -Replaces: pcmanfm-qt (<< 0.11.1) -Description: Language package for pcmanfm-qt - PCManFM-Qt is the Qt port of the LXDE file manager PCManFM. - . - This package contains the l10n files needed by the pcmanfm-qt. +Depends: qttranslations5-l10n, ${misc:Depends} +Description: Language package for pavucontrol-qt + This package contains the l10n files needed by the pavucontrol-qt. diff --git a/debian/copyright b/debian/copyright index d7ed388..be9f086 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,32 +1,59 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: pcmanfm-qt -Source: https://github.com/lxqt/pcmanfm-qt +Upstream-Name: pavucontrol-qt +Source: https://github.com/lxqt/pavucontrol-qt Files: * -Copyright: 2013-2019 LXQt team - 2013-2018 Hong Jen Yee (PCMan) - 2012-2013 Andriy Grytsenko (LStranger) - 2014 Kuzma Shapran +Copyright: 2016-2019 LXQt team + 2016-2017 Hong Jen Yee (PCMan) + 2016-2017 Palo Kisa +License: GPL-2.0+ + +Files: src/cardwidget.cc + src/cardwidget.h + src/channel.cc + src/channel.h + src/devicewidget.cc + src/devicewidget.h + src/mainwindow.cc + src/mainwindow.h + src/minimalstreamwidget.cc + src/minimalstreamwidget.h + src/rolewidget.cc + src/rolewidget.h + src/sinkinputwidget.cc + src/sinkinputwidget.h + src/sinkwidget.cc + src/sinkwidget.h + src/sourceoutputwidget.cc + src/sourceoutputwidget.h + src/sourcewidget.cc + src/sourcewidget.h + src/streamwidget.cc + src/streamwidget.h +Copyright: 2006-2008 Lennart Poettering + 2009 Colin Guthrie +License: GPL-2.0+ + +Files: src/pavucontrol.cc + src/pavucontrol.h +Copyright: 2006-2008 Lennart Poettering + 2008 Sjoerd Simons License: GPL-2.0+ Files: debian/* -Copyright: 2014-2015 Wen Liao - 2014-2016 ChangZhuo Chen (陳昌倬) - 2013-2019 Alf Gaida - 2015 Andrew Lee (李健秋) +Copyright: 2016-2019 Alf Gaida License: GPL-2.0+ License: GPL-2.0+ - This package is free software; you can redistribute it and/or modify + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . - This package is distributed in the hope that it will be useful, + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . - On Debian systems, the complete text of the GNU General - Public License version 2 can be found in - "/usr/share/common-licenses/GPL-2". + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/lintian-overrides b/debian/lintian-overrides new file mode 100644 index 0000000..04ff2bc --- /dev/null +++ b/debian/lintian-overrides @@ -0,0 +1,4 @@ +# yes, we know +pavucontrol-qt: binary-without-manpage usr/bin/pavucontrol-qt +pavucontrol-qt: desktop-entry-lacks-keywords-entry usr/share/applications/pavucontrol-qt.desktop + diff --git a/debian/pavucontrol-qt-l10n.install b/debian/pavucontrol-qt-l10n.install new file mode 100644 index 0000000..b79f18d --- /dev/null +++ b/debian/pavucontrol-qt-l10n.install @@ -0,0 +1 @@ +usr/share/pavucontrol-qt/translations/ diff --git a/debian/pavucontrol-qt.install b/debian/pavucontrol-qt.install new file mode 100644 index 0000000..7e7762f --- /dev/null +++ b/debian/pavucontrol-qt.install @@ -0,0 +1,2 @@ +usr/bin/pavucontrol-qt +usr/share/applications/pavucontrol-qt.desktop diff --git a/debian/source/options b/debian/source/options index efee896..e88cc6c 100644 --- a/debian/source/options +++ b/debian/source/options @@ -1 +1 @@ -tar-ignore = .gitignore +tar-ignore=.gitignore \ No newline at end of file diff --git a/debian/upstream/metadata b/debian/upstream/metadata index c4f8351..40c2727 100644 --- a/debian/upstream/metadata +++ b/debian/upstream/metadata @@ -1,7 +1,7 @@ -Name: pcmanfm-qt -Bug-Database: https://github.com/lxqt/pcmanfm-qt/issues -Bug-Submit: https://github.com/lxqt/pcmanfm-qt/issues/new -Changelog: https://github.com/lxqt/pcmanfm-qt/blob/master/CHANGELOG -Repository: https://github.com/lxqt/pcmanfm-qt -Repository-Browser: https://github.com/lxqt/pcmanfm-qt +Name: pavucontrol-qt +Bug-Database: https://github.com/lxqt/pavucontrol-qt/issues +Bug-Submit: https://github.com/lxqt/pavucontrol-qt/issues/new +Changelog: https://github.com/lxqt/pavucontrol-qt/blob/master/CHANGELOG +Repository: https://github.com/lxqt/pavucontrol-qt +Repository-Browser: https://github.com/lxqt/pavucontrol-qt diff --git a/debian/watch b/debian/watch index b3208a2..ba46a9d 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,3 @@ version=4 opts="pgpsigurlmangle=s/$/.asc/" \ -https://github.com/lxqt/pcmanfm-qt/releases .*/pcmanfm-qt-([\d\.]+).tar.xz +https://github.com/lxqt/pavucontrol-qt/releases .*/pavucontrol-qt-([\d\.]+).tar.xz diff --git a/pcmanfm-qt.1.in b/pcmanfm-qt.1.in deleted file mode 100644 index 81bd758..0000000 --- a/pcmanfm-qt.1.in +++ /dev/null @@ -1,51 +0,0 @@ -.TH PCManFM-Qt "1" "September 2014" "@CMAKE_PROJECT_NAME@ @PCMANFM_QT_VERSION@" "User Commands" -.SH NAME -PCManFM-Qt \- A lightweight Qt-based file manager for X Window. -.SH SYNOPSIS -pcmanfm\-qt [OPTION...] [FILE1, FILE2,...] -.SH DESCRIPTION -PCMan File Manager Qt (\fBPCManFM-Qt\fP) is an extremely fast, lightweight, yet -feature-rich file manager with tabbed browsing. It is the default file manager -for the lightweight desktop environment \fBLXQt\fP. -.SH OPTIONS -.SS "Help Options:" -.TP -\fB\-h\fR, \fB\-\-help\fR -Show help options -.SS "Application Options:" -.TP -\fB\-p\fR, \fB\-\-profile\fR=\fI\,PROFILE\/\fR -Set name of configuration profile -.TP -\fB\-d\fR, \fB\-\-daemon\-mode\fR -Run PCManFM as a daemon -.TP -\fB\-\-quit\fR -Quit PCManFM -.TP -\fB\-\-desktop\fR -Launch desktop manager -.TP -\fB\-\-desktop\-off\fR -Turn off desktop manager if it's running -.TP -\fB\-\-desktop\-pref\fR=\fI\,NAME\/\fR -Open desktop preference dialog on the page with the specified name -.TP -\fB\-w\fR, \fB\-\-set\-wallpaper\fR=\fI\,FILE\/\fR -Set desktop wallpaper from image FILE -.TP -\fB\-\-wallpaper\-mode\fR=\fI\,MODE\/\fR -Set mode of desktop wallpaper. MODE=(color|stretch|fit|center|tile) -.TP -\fB\-\-show\-pref\fR=\fI\,NAME\/\fR -Open Preferences dialog on the page with the specified name -.TP -\fB\-n\fR, \fB\-\-new\-window\fR -Open new window -.TP -\fB\-f\fR, \fB\-\-find\-files\fR -Open Find Files utility -.SH "AUTHORS" -.B pcmanfm-qt -was primarily written by Hong Jen Yee (PCMan) . diff --git a/pcmanfm/CMakeLists.txt b/pcmanfm/CMakeLists.txt deleted file mode 100644 index 66a56c6..0000000 --- a/pcmanfm/CMakeLists.txt +++ /dev/null @@ -1,92 +0,0 @@ -set(pcmanfm_SRCS - application.cpp - pcmanfm.cpp - mainwindow.cpp - tabpage.cpp - tabbar.cpp - statusbar.cpp - view.cpp - launcher.cpp - preferencesdialog.cpp - xdgdir.cpp - desktoppreferencesdialog.cpp - desktopwindow.cpp - autorundialog.cpp - connectserverdialog.cpp - settings.cpp - bulkrename.cpp -) - -qt5_add_dbus_adaptor(pcmanfm_DBUS_SRCS - org.pcmanfm.Application.xml - application.h - PCManFM::Application - applicationadaptor - ApplicationAdaptor -) - -# qt5_add_dbus_adaptor() already generated the moc files. It also marked the -# files with SKIP_AUTOMOC but we still need to mark them witk SKIP_AUTOGEN. -# TODO: Check if this behaviour is a CMake bug. -set_source_files_properties(${pcmanfm_DBUS_SRCS} PROPERTIES SKIP_AUTOGEN ON) - -set(pcmanfm_UIS - main-win.ui - about.ui - preferences.ui - desktop-preferences.ui - desktop-folder.ui - autorun.ui - connect.ui - bulk-rename.ui -) - -# add translation for pcmanfm-qt -lxqt_translate_ts(QM_FILES - UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS} - SOURCES ${pcmanfm_SRCS} ${pcmanfm_UIS} - INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/translations" -) - -# translate desktop entry files for pcmanfm-qt and desktop preferences -lxqt_translate_desktop(DESKTOP_FILES - SOURCES - pcmanfm-qt.desktop.in - pcmanfm-qt-desktop-pref.desktop.in -) - -add_executable(pcmanfm-qt - ${pcmanfm_SRCS} - ${pcmanfm_DBUS_SRCS} - ${pcmanfm_UIS} - ${QM_FILES} - ${DESKTOP_FILES} -) - -target_compile_definitions(pcmanfm-qt - PRIVATE - PCMANFM_DATA_DIR="${CMAKE_INSTALL_PREFIX}/share/pcmanfm-qt" - PCMANFM_QT_VERSION="${PCMANFM_QT_VERSION}" - LIBFM_DATA_DIR="${PKG_FM_PREFIX}/share/libfm" -) - -target_include_directories(pcmanfm-qt - PRIVATE - "${Qt5Gui_PRIVATE_INCLUDE_DIRS}" -) - -target_link_libraries(pcmanfm-qt - Qt5::X11Extras - Qt5::Widgets - Qt5::DBus - fm-qt -) - -install(TARGETS pcmanfm-qt RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) - -# install a desktop entry file for pcmanfm-qt and desktop preferences -install(FILES ${DESKTOP_FILES} DESTINATION "${CMAKE_INSTALL_DATADIR}/applications" -) - -# prevent the generated files from being deleted during make clean -set_directory_properties(PROPERTIES CLEAN_NO_CUSTOM true) diff --git a/pcmanfm/about.ui b/pcmanfm/about.ui deleted file mode 100644 index 27bdd12..0000000 --- a/pcmanfm/about.ui +++ /dev/null @@ -1,180 +0,0 @@ - - - AboutDialog - - - - 0 - 0 - 430 - 325 - - - - About - - - - - - - - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - Qt::RichText - - - Qt::AlignCenter - - - - - - - - - - Qt::AlignCenter - - - - - - - Lightweight file manager - - - Qt::AlignCenter - - - - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - Qt::RichText - - - Qt::AlignCenter - - - - - - - 0 - - - false - - - - Authors - - - - - - true - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - false - - - - - - - - License - - - - - - true - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Close - - - - - - - - - buttonBox - accepted() - AboutDialog - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - AboutDialog - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff --git a/pcmanfm/application.cpp b/pcmanfm/application.cpp deleted file mode 100644 index 0e7950d..0000000 --- a/pcmanfm/application.cpp +++ /dev/null @@ -1,897 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#include "application.h" -#include "mainwindow.h" -#include "desktopwindow.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include -#include -#include -#include -#include - -#include "applicationadaptor.h" -#include "preferencesdialog.h" -#include "desktoppreferencesdialog.h" -#include "autorundialog.h" -#include "launcher.h" -#include "xdgdir.h" -#include "connectserverdialog.h" - -#include - - -namespace PCManFM { - -static const char* serviceName = "org.pcmanfm.PCManFM"; -static const char* ifaceName = "org.pcmanfm.Application"; - -int ProxyStyle::styleHint(StyleHint hint, const QStyleOption* option, const QWidget* widget, QStyleHintReturn* returnData) const { - Application* app = static_cast(qApp); - if(hint == QStyle::SH_ItemView_ActivateItemOnSingleClick) { - return app->settings().singleClick(); - } - return QProxyStyle::styleHint(hint, option, widget, returnData); -} - -Application::Application(int& argc, char** argv): - QApplication(argc, argv), - libFm_(), - settings_(), - profileName_("default"), - daemonMode_(false), - enableDesktopManager_(false), - desktopWindows_(), - preferencesDialog_(), - editBookmarksialog_(), - volumeMonitor_(nullptr), - userDirsWatcher_(nullptr), - lxqtRunning_(false) { - - argc_ = argc; - argv_ = argv; - - setApplicationVersion(PCMANFM_QT_VERSION); - - // QDBusConnection::sessionBus().registerObject("/org/pcmanfm/Application", this); - QDBusConnection dbus = QDBusConnection::sessionBus(); - if(dbus.registerService(serviceName)) { - // we successfully registered the service - isPrimaryInstance = true; - setStyle(new ProxyStyle()); - //desktop()->installEventFilter(this); - - new ApplicationAdaptor(this); - dbus.registerObject("/Application", this); - - connect(this, &Application::aboutToQuit, this, &Application::onAboutToQuit); - // aboutToQuit() is not signalled on SIGTERM, install signal handler - installSigtermHandler(); - - // Check if LXQt Session is running. LXQt has it's own Desktop Folder - // editor. We just hide our editor when LXQt is running. - QDBusInterface* lxqtSessionIface = new QDBusInterface( - QStringLiteral("org.lxqt.session"), - QStringLiteral("/LXQtSession")); - if(lxqtSessionIface) { - if(lxqtSessionIface->isValid()) { - lxqtRunning_ = true; - userDesktopFolder_ = XdgDir::readDesktopDir(); - initWatch(); - } - delete lxqtSessionIface; - lxqtSessionIface = 0; - } - } - else { - // an service of the same name is already registered. - // we're not the first instance - isPrimaryInstance = false; - } -} - -Application::~Application() { - //desktop()->removeEventFilter(this); - - if(volumeMonitor_) { - g_signal_handlers_disconnect_by_func(volumeMonitor_, gpointer(onVolumeAdded), this); - g_object_unref(volumeMonitor_); - } - - // if(enableDesktopManager_) - // removeNativeEventFilter(this); -} - -void Application::initWatch() { - QFile file_(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QStringLiteral("/user-dirs.dirs")); - if(! file_.open(QIODevice::ReadOnly | QIODevice::Text)) { - qDebug() << Q_FUNC_INFO << "Could not read: " << userDirsFile_; - userDirsFile_ = QString(); - } - else { - userDirsFile_ = file_.fileName(); - } - - userDirsWatcher_ = new QFileSystemWatcher(this); - userDirsWatcher_->addPath(userDirsFile_); - connect(userDirsWatcher_, &QFileSystemWatcher::fileChanged, this, &Application::onUserDirsChanged); -} - -bool Application::parseCommandLineArgs() { - bool keepRunning = false; - QCommandLineParser parser; - parser.addHelpOption(); - parser.addVersionOption(); - - QCommandLineOption profileOption(QStringList() << "p" << "profile", tr("Name of configuration profile"), tr("PROFILE")); - parser.addOption(profileOption); - - QCommandLineOption daemonOption(QStringList() << "d" << "daemon-mode", tr("Run PCManFM as a daemon")); - parser.addOption(daemonOption); - - QCommandLineOption quitOption(QStringList() << "q" << "quit", tr("Quit PCManFM")); - parser.addOption(quitOption); - - QCommandLineOption desktopOption("desktop", tr("Launch desktop manager")); - parser.addOption(desktopOption); - - QCommandLineOption desktopOffOption("desktop-off", tr("Turn off desktop manager if it's running")); - parser.addOption(desktopOffOption); - - QCommandLineOption desktopPrefOption("desktop-pref", tr("Open desktop preference dialog on the page with the specified name"), tr("NAME")); - parser.addOption(desktopPrefOption); - - QCommandLineOption newWindowOption(QStringList() << "n" << "new-window", tr("Open new window")); - parser.addOption(newWindowOption); - - QCommandLineOption findFilesOption(QStringList() << "f" << "find-files", tr("Open Find Files utility")); - parser.addOption(findFilesOption); - - QCommandLineOption setWallpaperOption(QStringList() << "w" << "set-wallpaper", tr("Set desktop wallpaper from image FILE"), tr("FILE")); - parser.addOption(setWallpaperOption); - - QCommandLineOption wallpaperModeOption("wallpaper-mode", tr("Set mode of desktop wallpaper. MODE=(%1)").arg("color|stretch|fit|center|tile|zoom"), tr("MODE")); - parser.addOption(wallpaperModeOption); - - QCommandLineOption showPrefOption("show-pref", tr("Open Preferences dialog on the page with the specified name"), tr("NAME")); - parser.addOption(showPrefOption); - - parser.addPositionalArgument("files", tr("Files or directories to open"), tr("[FILE1, FILE2,...]")); - - parser.process(arguments()); - - if(isPrimaryInstance) { - qDebug("isPrimaryInstance"); - - if(parser.isSet(daemonOption)) { - daemonMode_ = true; - } - if(parser.isSet(profileOption)) { - profileName_ = parser.value(profileOption); - } - - // load app config - settings_.load(profileName_); - - // init per-folder config - QString perFolderConfigFile = settings_.profileDir(profileName_) + "/dir-settings.conf"; - Fm::FolderConfig::init(perFolderConfigFile.toLocal8Bit().constData()); - - // decrease the cache size to reduce memory usage - QPixmapCache::setCacheLimit(2048); - - if(settings_.useFallbackIconTheme()) { - QIcon::setThemeName(settings_.fallbackIconThemeName()); - } - - // desktop icon management - if(parser.isSet(desktopOption)) { - desktopManager(true); - keepRunning = true; - } - else if(parser.isSet(desktopOffOption)) { - desktopManager(false); - } - - if(parser.isSet(desktopPrefOption)) { // desktop preference dialog - desktopPrefrences(parser.value(desktopPrefOption)); - keepRunning = true; - } - else if(parser.isSet(findFilesOption)) { // file searching utility - findFiles(parser.positionalArguments()); - keepRunning = true; - } - else if(parser.isSet(showPrefOption)) { // preferences dialog - preferences(parser.value(showPrefOption)); - keepRunning = true; - } - else if(parser.isSet(setWallpaperOption) || parser.isSet(wallpaperModeOption)) { // set wall paper - setWallpaper(parser.value(setWallpaperOption), parser.value(wallpaperModeOption)); - } - else { - if(!parser.isSet(desktopOption) && !parser.isSet(desktopOffOption)) { - QStringList paths = parser.positionalArguments(); - if(paths.isEmpty()) { - // if no path is specified and we're using daemon mode, - // don't open current working directory - if(!daemonMode_) { - paths.push_back(QDir::currentPath()); - } - } - if(!paths.isEmpty()) { - launchFiles(QDir::currentPath(), paths, parser.isSet(newWindowOption)); - } - keepRunning = true; - } - } - } - else { - QDBusConnection dbus = QDBusConnection::sessionBus(); - QDBusInterface iface(serviceName, "/Application", ifaceName, dbus, this); - if(parser.isSet(quitOption)) { - iface.call("quit"); - return false; - } - - if(parser.isSet(desktopOption)) { - iface.call("desktopManager", true); - } - else if(parser.isSet(desktopOffOption)) { - iface.call("desktopManager", false); - } - - if(parser.isSet(desktopPrefOption)) { // desktop preference dialog - iface.call("desktopPrefrences", parser.value(desktopPrefOption)); - } - else if(parser.isSet(findFilesOption)) { // file searching utility - iface.call("findFiles", parser.positionalArguments()); - } - else if(parser.isSet(showPrefOption)) { // preferences dialog - iface.call("preferences", parser.value(showPrefOption)); - } - else if(parser.isSet(setWallpaperOption) || parser.isSet(wallpaperModeOption)) { // set wall paper - iface.call("setWallpaper", parser.value(setWallpaperOption), parser.value(wallpaperModeOption)); - } - else { - if(!parser.isSet(desktopOption) && !parser.isSet(desktopOffOption)) { - QStringList paths = parser.positionalArguments(); - if(paths.isEmpty()) { - paths.push_back(QDir::currentPath()); - } - iface.call("launchFiles", QDir::currentPath(), paths, parser.isSet(newWindowOption)); - } - } - } - return keepRunning; -} - -void Application::init() { - - // install the translations built-into Qt itself - qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath)); - installTranslator(&qtTranslator); - - // install libfm-qt translator - installTranslator(libFm_.translator()); - - // install our own tranlations - translator.load("pcmanfm-qt_" + QLocale::system().name(), PCMANFM_DATA_DIR "/translations"); - installTranslator(&translator); -} - -int Application::exec() { - - if(!parseCommandLineArgs()) { - return 0; - } - - if(daemonMode_) { // keep running even when there is no window opened. - setQuitOnLastWindowClosed(false); - } - - volumeMonitor_ = g_volume_monitor_get(); - // delay the volume manager a little because in newer versions of glib/gio there's a problem. - // when the first volume monitor object is created, it discovers volumes asynchonously. - // g_volume_monitor_get() immediately returns while the monitor is still discovering devices. - // So initially g_volume_monitor_get_volumes() returns nothing, but shortly after that - // we get volume-added signals for all of the volumes. This is not what we want. - // So, we wait for 3 seconds here to let it finish device discovery. - QTimer::singleShot(3000, this, SLOT(initVolumeManager())); - - return QCoreApplication::exec(); -} - - -void Application::onUserDirsChanged() { - qDebug() << Q_FUNC_INFO; - bool file_deleted = !userDirsWatcher_->files().contains(userDirsFile_); - if(file_deleted) { - // if our config file is already deleted, reinstall a new watcher - userDirsWatcher_->addPath(userDirsFile_); - } - - const QString d = XdgDir::readDesktopDir(); - if(d != userDesktopFolder_) { - userDesktopFolder_ = d; - const QDir dir(d); - if(dir.exists()) { - const int N = desktopWindows_.size(); - for(int i = 0; i < N; ++i) { - desktopWindows_.at(i)->setDesktopFolder(); - } - } - else { - qWarning("Application::onUserDirsChanged: %s doesn't exist", - userDesktopFolder_.toUtf8().constData()); - } - } -} - -void Application::onAboutToQuit() { - qDebug("aboutToQuit"); - settings_.save(); -} - -/*bool Application::eventFilter(QObject* watched, QEvent* event) { - if(watched == desktop()) { - if(event->type() == QEvent::StyleChange || - event->type() == QEvent::ThemeChange) { - setStyle(new ProxyStyle()); - } - } - return QObject::eventFilter(watched, event); -}*/ - -void Application::onLastWindowClosed() { - -} - -void Application::onSaveStateRequest(QSessionManager& /*manager*/) { - -} - -void Application::desktopManager(bool enabled) { - // TODO: turn on or turn off desktpo management (desktop icons & wallpaper) - //qDebug("desktopManager: %d", enabled); - if(enabled) { - if(!enableDesktopManager_) { - // installNativeEventFilter(this); - const auto allScreens = screens(); - for(QScreen* screen : allScreens) { - connect(screen, &QScreen::virtualGeometryChanged, this, &Application::onVirtualGeometryChanged); - connect(screen, &QScreen::availableGeometryChanged, this, &Application::onAvailableGeometryChanged); - connect(screen, &QObject::destroyed, this, &Application::onScreenDestroyed); - } - connect(this, &QApplication::screenAdded, this, &Application::onScreenAdded); - connect(this, &QApplication::screenRemoved, this, &Application::onScreenRemoved); - - // NOTE: there are two modes - // When virtual desktop is used (all screens are combined to form a large virtual desktop), - // we only create one DesktopWindow. Otherwise, we create one for each screen. - if(primaryScreen() && primaryScreen()->virtualSiblings().size() > 1) { - DesktopWindow* window = createDesktopWindow(-1); - desktopWindows_.push_back(window); - } - else { - int n = qMax(allScreens.size(), 1); - desktopWindows_.reserve(n); - for(int i = 0; i < n; ++i) { - DesktopWindow* window = createDesktopWindow(i); - desktopWindows_.push_back(window); - } - } - } - } - else { - if(enableDesktopManager_) { - int n = desktopWindows_.size(); - for(int i = 0; i < n; ++i) { - DesktopWindow* window = desktopWindows_.at(i); - delete window; - } - desktopWindows_.clear(); - const auto allScreens = screens(); - for(QScreen* screen : allScreens) { - disconnect(screen, &QScreen::virtualGeometryChanged, this, &Application::onVirtualGeometryChanged); - disconnect(screen, &QScreen::availableGeometryChanged, this, &Application::onAvailableGeometryChanged); - disconnect(screen, &QObject::destroyed, this, &Application::onScreenDestroyed); - } - disconnect(this, &QApplication::screenAdded, this, &Application::onScreenAdded); - disconnect(this, &QApplication::screenRemoved, this, &Application::onScreenRemoved); - // removeNativeEventFilter(this); - } - } - enableDesktopManager_ = enabled; -} - -void Application::desktopPrefrences(QString page) { - // show desktop preference window - if(!desktopPreferencesDialog_) { - desktopPreferencesDialog_ = new DesktopPreferencesDialog(); - - // Should be used only one time - desktopPreferencesDialog_->setEditDesktopFolder(!lxqtRunning_); - } - desktopPreferencesDialog_.data()->selectPage(page); - desktopPreferencesDialog_.data()->show(); - desktopPreferencesDialog_.data()->raise(); - desktopPreferencesDialog_.data()->activateWindow(); -} - -void Application::onFindFileAccepted() { - Fm::FileSearchDialog* dlg = static_cast(sender()); - // get search settings - settings_.setSearchNameCaseInsensitive(dlg->nameCaseInsensitive()); - settings_.setsearchContentCaseInsensitive(dlg->contentCaseInsensitive()); - settings_.setSearchNameRegexp(dlg->nameRegexp()); - settings_.setSearchContentRegexp(dlg->contentRegexp()); - settings_.setSearchRecursive(dlg->recursive()); - settings_.setSearchhHidden(dlg->searchhHidden()); - - Fm::FilePathList paths; - paths.emplace_back(dlg->searchUri()); - MainWindow* window = MainWindow::lastActive(); - Launcher(window).launchPaths(nullptr, paths); -} - -void Application::onConnectToServerAccepted() { - ConnectServerDialog* dlg = static_cast(sender()); - QString uri = dlg->uriText(); - Fm::FilePathList paths; - paths.push_back(Fm::FilePath::fromUri(uri.toUtf8().constData())); - MainWindow* window = MainWindow::lastActive(); - Launcher(window).launchPaths(nullptr, paths); -} - -void Application::findFiles(QStringList paths) { - // launch file searching utility. - Fm::FileSearchDialog* dlg = new Fm::FileSearchDialog(paths); - connect(dlg, &QDialog::accepted, this, &Application::onFindFileAccepted); - dlg->setAttribute(Qt::WA_DeleteOnClose); - // set search settings - dlg->setNameCaseInsensitive(settings_.searchNameCaseInsensitive()); - dlg->setContentCaseInsensitive(settings_.searchContentCaseInsensitive()); - dlg->setNameRegexp(settings_.searchNameRegexp()); - dlg->setContentRegexp(settings_.searchContentRegexp()); - dlg->setRecursive(settings_.searchRecursive()); - dlg->setSearchhHidden(settings_.searchhHidden()); - - dlg->show(); -} - -void Application::connectToServer() { - ConnectServerDialog* dlg = new ConnectServerDialog(); - connect(dlg, &QDialog::accepted, this, &Application::onConnectToServerAccepted); - dlg->setAttribute(Qt::WA_DeleteOnClose); - dlg->show(); -} - -void Application::launchFiles(QString cwd, QStringList paths, bool /*inNewWindow*/) { - Fm::FilePathList pathList; - Fm::FilePath cwd_path; - QStringList::iterator it; - for(const QString& it : qAsConst(paths)) { - QByteArray pathName = it.toLocal8Bit(); - Fm::FilePath path; - if(pathName == "~") { // special case for home dir - path = Fm::FilePath::homeDir(); - } - if(pathName[0] == '/') { // absolute path - path = Fm::FilePath::fromLocalPath(pathName.constData()); - } - else if(pathName.contains(":/")) { // URI - path = Fm::FilePath::fromUri(pathName.constData()); - } - else { // basename - if(Q_UNLIKELY(!cwd_path)) { - cwd_path = Fm::FilePath::fromLocalPath(cwd.toLocal8Bit().constData()); - } - path = cwd_path.relativePath(pathName.constData()); - } - pathList.push_back(std::move(path)); - } - - Launcher(nullptr).launchPaths(nullptr, pathList); -} - -void Application::openFolders(Fm::FileInfoList files) { - Launcher(nullptr).launchFiles(nullptr, std::move(files)); -} - -void Application::openFolderInTerminal(Fm::FilePath path) { - if(!settings_.terminal().isEmpty()) { - Fm::GErrorPtr err; - auto terminalName = settings_.terminal().toUtf8(); - if(!Fm::launchTerminal(terminalName.constData(), path, err)) { - QMessageBox::critical(nullptr, tr("Error"), err.message()); - } - } - else { - // show an error message and ask the user to set the command - QMessageBox::critical(nullptr, tr("Error"), tr("Terminal emulator is not set.")); - preferences("advanced"); - } -} - -void Application::preferences(QString page) { - // open preference dialog - if(!preferencesDialog_) { - preferencesDialog_ = new PreferencesDialog(page); - } - else { - preferencesDialog_.data()->selectPage(page); - } - preferencesDialog_.data()->show(); - preferencesDialog_.data()->raise(); - preferencesDialog_.data()->activateWindow(); -} - -void Application::setWallpaper(QString path, QString modeString) { - static const char* valid_wallpaper_modes[] = {"color", "stretch", "fit", "center", "tile"}; - DesktopWindow::WallpaperMode mode = settings_.wallpaperMode(); - bool changed = false; - - if(!path.isEmpty() && path != settings_.wallpaper()) { - if(QFile(path).exists()) { - settings_.setWallpaper(path); - changed = true; - } - } - // convert mode string to value - for(std::size_t i = 0; i < G_N_ELEMENTS(valid_wallpaper_modes); ++i) { - if(modeString == valid_wallpaper_modes[i]) { - // We don't take safety checks because valid_wallpaper_modes[] is - // defined in this function and we can clearly see that it does not - // overflow. - mode = static_cast(i); - if(mode != settings_.wallpaperMode()) { - changed = true; - } - break; - } - } - // FIXME: support different wallpapers on different screen. - // update wallpaper - if(changed) { - if(enableDesktopManager_) { - for(DesktopWindow* desktopWin : qAsConst(desktopWindows_)) { - if(!path.isEmpty()) { - desktopWin->setWallpaperFile(path); - } - if(mode != settings_.wallpaperMode()) { - desktopWin->setWallpaperMode(mode); - } - desktopWin->updateWallpaper(); - } - settings_.save(); // save the settings to the config file - } - } -} - -DesktopWindow* Application::createDesktopWindow(int screenNum) { - DesktopWindow* window = new DesktopWindow(screenNum); - - if(screenNum == -1) { // one large virtual desktop only - QRect rect = primaryScreen()->virtualGeometry(); - window->setGeometry(rect); - } - else { - QRect rect; - const auto allScreens = screens(); - if(auto screen = window->getDesktopScreen()) { - rect = screen->geometry(); - } - window->setGeometry(rect); - } - - window->updateFromSettings(settings_); - window->show(); - return window; -} - -// called when Settings is changed to update UI -void Application::updateFromSettings() { - // if(iconTheme.isEmpty()) - // Fm::IconTheme::setThemeName(settings_.fallbackIconThemeName()); - - // update main windows and desktop windows - QWidgetList windows = this->topLevelWidgets(); - QWidgetList::iterator it; - for(it = windows.begin(); it != windows.end(); ++it) { - QWidget* window = *it; - if(window->inherits("PCManFM::MainWindow")) { - MainWindow* mainWindow = static_cast(window); - mainWindow->updateFromSettings(settings_); - } - } - if(desktopManagerEnabled()) { - updateDesktopsFromSettings(); - } -} - -void Application::updateDesktopsFromSettings(bool changeSlide) { - QVector::iterator it; - for(it = desktopWindows_.begin(); it != desktopWindows_.end(); ++it) { - DesktopWindow* desktopWin = static_cast(*it); - desktopWin->updateFromSettings(settings_, changeSlide); - } -} - -void Application::editBookmarks() { - if(!editBookmarksialog_) { - editBookmarksialog_ = new Fm::EditBookmarksDialog(Fm::Bookmarks::globalInstance()); - } - editBookmarksialog_.data()->show(); -} - -void Application::initVolumeManager() { - - g_signal_connect(volumeMonitor_, "volume-added", G_CALLBACK(onVolumeAdded), this); - - if(settings_.mountOnStartup()) { - /* try to automount all volumes */ - GList* vols = g_volume_monitor_get_volumes(volumeMonitor_); - for(GList* l = vols; l; l = l->next) { - GVolume* volume = G_VOLUME(l->data); - if(g_volume_should_automount(volume)) { - autoMountVolume(volume, false); - } - g_object_unref(volume); - } - g_list_free(vols); - } -} - -bool Application::autoMountVolume(GVolume* volume, bool interactive) { - if(!g_volume_should_automount(volume) || !g_volume_can_mount(volume)) { - return FALSE; - } - - GMount* mount = g_volume_get_mount(volume); - if(!mount) { // not mounted, automount is needed - // try automount - Fm::MountOperation* op = new Fm::MountOperation(interactive); - op->mount(volume); - if(!op->wait()) { - return false; - } - if(!interactive) { - return true; - } - mount = g_volume_get_mount(volume); - } - - if(mount) { - if(interactive && settings_.autoRun()) { // show autorun dialog - AutoRunDialog* dlg = new AutoRunDialog(volume, mount); - dlg->show(); - } - g_object_unref(mount); - } - return true; -} - -// static -void Application::onVolumeAdded(GVolumeMonitor* /*monitor*/, GVolume* volume, Application* pThis) { - if(pThis->settings_.mountRemovable()) { - pThis->autoMountVolume(volume, true); - } -} - -#if 0 -bool Application::nativeEventFilter(const QByteArray& eventType, void* message, long* result) { - if(eventType == "xcb_generic_event_t") { // XCB event - // filter all native X11 events (xcb) - xcb_generic_event_t* generic_event = reinterpret_cast(message); - // qDebug("XCB event: %d", generic_event->response_type & ~0x80); - Q_FOREACH(DesktopWindow* window, desktopWindows_) { - } - } - return false; -} -#endif - -void Application::onScreenAdded(QScreen* newScreen) { - if(enableDesktopManager_) { - connect(newScreen, &QScreen::virtualGeometryChanged, this, &Application::onVirtualGeometryChanged); - connect(newScreen, &QScreen::availableGeometryChanged, this, &Application::onAvailableGeometryChanged); - connect(newScreen, &QObject::destroyed, this, &Application::onScreenDestroyed); - const auto siblings = primaryScreen()->virtualSiblings(); - if(siblings.contains(newScreen)) { // the primary screen is changed - if(desktopWindows_.size() == 1) { - desktopWindows_.at(0)->setGeometry(newScreen->virtualGeometry()); - if(siblings.size() > 1) { // a virtual desktop is created - desktopWindows_.at(0)->setScreenNum(-1); - } - } - else if(desktopWindows_.isEmpty()) { // for the sake of certainty - DesktopWindow* window = createDesktopWindow(desktopWindows_.size()); - desktopWindows_.push_back(window); - } - } - else { // a separate screen is added - DesktopWindow* window = createDesktopWindow(desktopWindows_.size()); - desktopWindows_.push_back(window); - } - } -} - -void Application::onScreenRemoved(QScreen* oldScreen) { - if(enableDesktopManager_){ - disconnect(oldScreen, &QScreen::virtualGeometryChanged, this, &Application::onVirtualGeometryChanged); - disconnect(oldScreen, &QScreen::availableGeometryChanged, this, &Application::onAvailableGeometryChanged); - disconnect(oldScreen, &QObject::destroyed, this, &Application::onScreenDestroyed); - if(desktopWindows_.isEmpty()) { - return; - } - if(desktopWindows_.size() == 1) { // a single desktop is changed - if(primaryScreen() != nullptr) { - desktopWindows_.at(0)->setGeometry(primaryScreen()->virtualGeometry()); - if(primaryScreen()->virtualSiblings().size() == 1) { - desktopWindows_.at(0)->setScreenNum(0); // there is no virtual desktop anymore - } - } - else if (screens().isEmpty()) { // for the sake of certainty - desktopWindows_.at(0)->setScreenNum(0); - } - } - else { // a separate desktop is removed - int n = desktopWindows_.size(); - for(int i = 0; i < n; ++i) { - DesktopWindow* window = desktopWindows_.at(i); - if(window->getDesktopScreen() == oldScreen) { - desktopWindows_.remove(i); - delete window; - break; - } - } - } - } -} - -void Application::onScreenDestroyed(QObject* screenObj) { - // NOTE by PCMan: This is a workaround for Qt 5 bug #40681. - // With this very dirty workaround, we can fix lxqt/lxqt bug #204, #205, and #206. - // Qt 5 has two new regression bugs which breaks lxqt-panel in a multihead environment. - // #40681: Regression bug: QWidget::winId() returns old value and QEvent::WinIdChange event is not emitted sometimes. (multihead setup) - // #40791: Regression: QPlatformWindow, QWindow, and QWidget::winId() are out of sync. - // Explanations for the workaround: - // Internally, Qt mantains a list of QScreens and update it when XRandR configuration changes. - // When the user turn off an monitor with xrandr --output --off, this will destroy the QScreen - // object which represent the output. If the QScreen being destroyed contains our panel widget, - // Qt will call QWindow::setScreen(0) on the internal windowHandle() of our panel widget to move it - // to the primary screen. However, moving a window to a different screen is more than just changing - // its position. With XRandR, all screens are actually part of the same virtual desktop. However, - // this is not the case in other setups, such as Xinerama and moving a window to another screen is - // not possible unless you destroy the widget and create it again for a new screen. - // Therefore, Qt destroy the widget and re-create it when moving our panel to a new screen. - // Unfortunately, destroying the window also destroy the child windows embedded into it, - // using XEMBED such as the tray icons. (#206) - // Second, when the window is re-created, the winId of the QWidget is changed, but Qt failed to - // generate QEvent::WinIdChange event so we have no way to know that. We have to set - // some X11 window properties using the native winId() to make it a dock, but this stop working - // because we cannot get the correct winId(), so this causes #204 and #205. - // - // The workaround is very simple. Just completely destroy the window before Qt has a chance to do - // QWindow::setScreen() for it. Later, we recreate the window ourselves. So this can bypassing the Qt bugs. - if(enableDesktopManager_) { - bool reloadNeeded = false; - // FIXME: add workarounds for Qt5 bug #40681 and #40791 here. - for(DesktopWindow* desktopWin : qAsConst(desktopWindows_)) { - if(desktopWin->windowHandle()->screen() == screenObj) { - desktopWin->destroy(); // destroy the underlying native window - reloadNeeded = true; - } - } - if(reloadNeeded) { - QTimer::singleShot(0, this, SLOT(reloadDesktopsAsNeeded())); - } - } -} - -void Application::reloadDesktopsAsNeeded() { - if(enableDesktopManager_) { - // workarounds for Qt5 bug #40681 and #40791 here. - for(DesktopWindow* desktopWin : qAsConst(desktopWindows_)) { - if(!desktopWin->windowHandle()) { - desktopWin->create(); // re-create the underlying native window - desktopWin->queueRelayout(); - desktopWin->show(); - } - } - } -} - -void Application::onVirtualGeometryChanged(const QRect& /*rect*/) { - // update desktop geometries - if(enableDesktopManager_) { - for(DesktopWindow* desktopWin : qAsConst(desktopWindows_)) { - auto desktopScreen = desktopWin->getDesktopScreen(); - if(desktopScreen) { - desktopWin->setGeometry(desktopScreen->virtualGeometry()); - } - } - } -} - -void Application::onAvailableGeometryChanged(const QRect& /*rect*/) { - // update desktop layouts - if(enableDesktopManager_) { - for(DesktopWindow* desktopWin : qAsConst(desktopWindows_)) { - desktopWin->queueRelayout(); - } - } -} - - -static int sigterm_fd[2]; - -static void sigtermHandler(int) { - char c = 1; - ::write(sigterm_fd[0], &c, sizeof(c)); -} - -void Application::installSigtermHandler() { - if(::socketpair(AF_UNIX, SOCK_STREAM, 0, sigterm_fd) == 0) { - QSocketNotifier* notifier = new QSocketNotifier(sigterm_fd[1], QSocketNotifier::Read, this); - connect(notifier, &QSocketNotifier::activated, this, &Application::onSigtermNotified); - - struct sigaction action; - action.sa_handler = sigtermHandler; - ::sigemptyset(&action.sa_mask); - action.sa_flags = SA_RESTART; - if(::sigaction(SIGTERM, &action, 0) != 0) { - qWarning("Couldn't install SIGTERM handler"); - } - } - else { - qWarning("Couldn't create SIGTERM socketpair"); - } -} - -void Application::onSigtermNotified() { - if(QSocketNotifier* notifier = qobject_cast(sender())) { - notifier->setEnabled(false); - char c; - ::read(sigterm_fd[1], &c, sizeof(c)); - quit(); - notifier->setEnabled(true); - } -} - -} // namespace PCManFM diff --git a/pcmanfm/application.h b/pcmanfm/application.h deleted file mode 100644 index 32d3be7..0000000 --- a/pcmanfm/application.h +++ /dev/null @@ -1,157 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#ifndef PCMANFM_APPLICATION_H -#define PCMANFM_APPLICATION_H - -#include -#include "settings.h" -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -class QScreen; - -class QFileSystemWatcher; - -namespace PCManFM { - -class MainWindow; -class DesktopWindow; -class PreferencesDialog; -class DesktopPreferencesDialog; - -class ProxyStyle: public QProxyStyle { - Q_OBJECT -public: - ProxyStyle() : QProxyStyle() {} - virtual ~ProxyStyle() {} - virtual int styleHint(StyleHint hint, const QStyleOption* option = 0, const QWidget* widget = 0, QStyleHintReturn* returnData = 0) const; -}; - -class Application : public QApplication { - Q_OBJECT - Q_PROPERTY(bool desktopManagerEnabled READ desktopManagerEnabled) - -public: - Application(int& argc, char** argv); - virtual ~Application(); - - void init(); - int exec(); - - Settings& settings() { - return settings_; - } - - Fm::LibFmQt& libFm() { - return libFm_; - } - - // public interface exported via dbus - void launchFiles(QString cwd, QStringList paths, bool inNewWindow); - void setWallpaper(QString path, QString modeString); - void preferences(QString page); - void desktopPrefrences(QString page); - void editBookmarks(); - void desktopManager(bool enabled); - void findFiles(QStringList paths = QStringList()); - void connectToServer(); - - bool desktopManagerEnabled() { - return enableDesktopManager_; - } - - void updateFromSettings(); - void updateDesktopsFromSettings(bool changeSlide = true); - - void openFolderInTerminal(Fm::FilePath path); - void openFolders(Fm::FileInfoList files); - - QString profileName() { - return profileName_; - } - -protected Q_SLOTS: - void onAboutToQuit(); - void onSigtermNotified(); - - void onLastWindowClosed(); - void onSaveStateRequest(QSessionManager& manager); - void initVolumeManager(); - - void onVirtualGeometryChanged(const QRect& rect); - void onAvailableGeometryChanged(const QRect& rect); - void onScreenDestroyed(QObject* screenObj); - void onScreenAdded(QScreen* newScreen); - void onScreenRemoved(QScreen* oldScreen); - void reloadDesktopsAsNeeded(); - - void onFindFileAccepted(); - void onConnectToServerAccepted(); - -protected: - //virtual bool eventFilter(QObject* watched, QEvent* event); - bool parseCommandLineArgs(); - DesktopWindow* createDesktopWindow(int screenNum); - bool autoMountVolume(GVolume* volume, bool interactive = true); - - static void onVolumeAdded(GVolumeMonitor* monitor, GVolume* volume, Application* pThis); - -private Q_SLOTS: - void onUserDirsChanged(); - -private: - void initWatch(); - void installSigtermHandler(); - - bool isPrimaryInstance; - Fm::LibFmQt libFm_; - Settings settings_; - QString profileName_; - bool daemonMode_; - bool enableDesktopManager_; - QVector desktopWindows_; - QPointer preferencesDialog_; - QPointer desktopPreferencesDialog_; - QPointer editBookmarksialog_; - QTranslator translator; - QTranslator qtTranslator; - GVolumeMonitor* volumeMonitor_; - - QFileSystemWatcher* userDirsWatcher_; - QString userDirsFile_; - QString userDesktopFolder_; - bool lxqtRunning_; - - int argc_; - char** argv_; -}; - -} - -#endif // PCMANFM_APPLICATION_H diff --git a/pcmanfm/autorun.ui b/pcmanfm/autorun.ui deleted file mode 100644 index e59a48a..0000000 --- a/pcmanfm/autorun.ui +++ /dev/null @@ -1,117 +0,0 @@ - - - AutoRunDialog - - - - 0 - 0 - 334 - 312 - - - - Removable medium is inserted - - - - ../../../.designer/backup../../../.designer/backup - - - - - - - - - - - - - - - <b>Removable medium is inserted</b> - - - - - - - Type of medium: - - - - - - - Detecting... - - - - - - - - - Please select the action you want to perform: - - - - - - - - 0 - 1 - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - AutoRunDialog - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - AutoRunDialog - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff --git a/pcmanfm/autorundialog.cpp b/pcmanfm/autorundialog.cpp deleted file mode 100644 index 12d2fff..0000000 --- a/pcmanfm/autorundialog.cpp +++ /dev/null @@ -1,144 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#include "autorundialog.h" -#include -#include "application.h" -#include "mainwindow.h" -#include -#include - -namespace PCManFM { - -AutoRunDialog::AutoRunDialog(GVolume* volume, GMount* mount, QWidget* parent, Qt::WindowFlags f): - QDialog(parent, f), - cancellable(g_cancellable_new()), - applications(nullptr), - mount_(G_MOUNT(g_object_ref(mount))) { - - setAttribute(Qt::WA_DeleteOnClose); - ui.setupUi(this); - - GIcon* gicon = g_volume_get_icon(volume); - QIcon icon = Fm::IconInfo::fromGIcon(gicon)->qicon(); - ui.icon->setPixmap(icon.pixmap(QSize(48, 48))); - - // add actions - QListWidgetItem* item = new QListWidgetItem(QIcon::fromTheme("system-file-manager"), tr("Open in file manager")); - ui.listWidget->addItem(item); - - g_mount_guess_content_type(mount, TRUE, cancellable, (GAsyncReadyCallback)onContentTypeFinished, this); - - connect(ui.listWidget, &QListWidget::itemDoubleClicked, this, &QDialog::accept); -} - -AutoRunDialog::~AutoRunDialog() { - g_list_foreach(applications, (GFunc)g_object_unref, nullptr); - g_list_free(applications); - - if(mount_) { - g_object_unref(mount_); - } - - if(cancellable) { - g_cancellable_cancel(cancellable); - g_object_unref(cancellable); - } -} - -void AutoRunDialog::accept() { - QListWidgetItem* item = ui.listWidget->selectedItems().first(); - if(item) { - GFile* gf = g_mount_get_root(mount_); - void* p = item->data(Qt::UserRole).value(); - if(p) { // run the selected application - GAppInfo* app = G_APP_INFO(p); - GList* filelist = g_list_prepend(nullptr, gf); - g_app_info_launch(app, filelist, nullptr, nullptr); - g_list_free(filelist); - } - else { - // the default action, open the mounted folder in the file manager - Application* app = static_cast(qApp); - Settings& settings = app->settings(); - Fm::FilePath path{gf, true}; - // open the path in a new window - // FIXME: or should we open it in a new tab? Make this optional later - MainWindow* win = new MainWindow(path); - win->resize(settings.windowWidth(), settings.windowHeight()); - if(settings.windowMaximized()) { - win->setWindowState(win->windowState() | Qt::WindowMaximized); - } - win->show(); - } - g_object_unref(gf); - } - QDialog::accept(); -} - -// static -void AutoRunDialog::onContentTypeFinished(GMount* mount, GAsyncResult* res, AutoRunDialog* pThis) { - if(pThis->cancellable) { - g_object_unref(pThis->cancellable); - pThis->cancellable = nullptr; - } - - char** types = g_mount_guess_content_type_finish(mount, res, nullptr); - char* desc = nullptr; - - if(types) { - if(types[0]) { - for(char** type = types; *type; ++type) { - GList* l = g_app_info_get_all_for_type(*type); - if(l) { - pThis->applications = g_list_concat(pThis->applications, l); - } - } - desc = g_content_type_get_description(types[0]); - } - g_strfreev(types); - - if(pThis->applications) { - int pos = 0; - for(GList* l = pThis->applications; l; l = l->next, ++pos) { - GAppInfo* app = G_APP_INFO(l->data); - GIcon* gicon = g_app_info_get_icon(app); - QIcon icon = Fm::IconInfo::fromGIcon(gicon)->qicon(); - QString text = QString::fromUtf8(g_app_info_get_name(app)); - QListWidgetItem* item = new QListWidgetItem(icon, text); - item->setData(Qt::UserRole, qVariantFromValue(app)); - pThis->ui.listWidget->insertItem(pos, item); - } - } - } - - if(desc) { - pThis->ui.mediumType->setText(QString::fromUtf8(desc)); - g_free(desc); - } - else { - pThis->ui.mediumType->setText(tr("Removable Disk")); - } - - // select the first item - pThis->ui.listWidget->item(0)->setSelected(true); -} - -} // namespace PCManFM diff --git a/pcmanfm/autorundialog.h b/pcmanfm/autorundialog.h deleted file mode 100644 index 44f4f81..0000000 --- a/pcmanfm/autorundialog.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#ifndef PCMANFM_AUTORUNDIALOG_H -#define PCMANFM_AUTORUNDIALOG_H - -#include -#include "ui_autorun.h" -#include - -namespace PCManFM { - -class AutoRunDialog : public QDialog { -Q_OBJECT - -public: - explicit AutoRunDialog(GVolume* volume, GMount* mount, QWidget* parent = 0, Qt::WindowFlags f = 0); - virtual ~AutoRunDialog(); - - virtual void accept(); - -private Q_SLOTS: - -private: - - static void onContentTypeFinished(GMount* mount, GAsyncResult* res, AutoRunDialog* pThis); - -private: - Ui::AutoRunDialog ui; - GCancellable* cancellable; - GList* applications; - GMount* mount_; -}; - -} - -#endif // PCMANFM_AUTORUNDIALOG_H diff --git a/pcmanfm/bulk-rename.ui b/pcmanfm/bulk-rename.ui deleted file mode 100644 index 8efb4cc..0000000 --- a/pcmanfm/bulk-rename.ui +++ /dev/null @@ -1,92 +0,0 @@ - - - BulkRenameDialog - - - Bulk Rename - - - - 4 - - - - - -1000 - - - 1000 - - - - - - - Qt::Vertical - - - QSizePolicy::MinimumExpanding - - - - 5 - 5 - - - - - - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - # will be replaced by numbers starting with: - - - - - - - Qt::Horizontal - - - QSizePolicy::MinimumExpanding - - - - 5 - 5 - - - - - - - - Rename selected files to: - - - - - - - - 0 - 0 - - - - Name# - - - - - - - - diff --git a/pcmanfm/bulkrename.cpp b/pcmanfm/bulkrename.cpp deleted file mode 100644 index 59a6643..0000000 --- a/pcmanfm/bulkrename.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/* - Copyright (C) 2017 Pedram Pourang (Tsu Jan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#include "bulkrename.h" -#include -#include -#include -#include - -#include - -namespace PCManFM { - -BulkRenameDialog::BulkRenameDialog(QWidget* parent, Qt::WindowFlags flags) : - QDialog(parent, flags) { - ui.setupUi(this); - ui.lineEdit->setFocus(); - connect(ui.buttonBox->button(QDialogButtonBox::Ok), &QAbstractButton::clicked, this, &QDialog::accept); - connect(ui.buttonBox->button(QDialogButtonBox::Cancel), &QAbstractButton::clicked, this, &QDialog::reject); - resize(minimumSize()); - setMaximumHeight(minimumHeight()); // no vertical resizing -} - -void BulkRenameDialog::showEvent(QShowEvent* event) { - QDialog::showEvent(event); - if(ui.lineEdit->text().endsWith(QLatin1Char('#'))) { // select what's before "#" - QTimer::singleShot(0, [this]() { - ui.lineEdit->setSelection(0, ui.lineEdit->text().size() - 1); - }); - } -} - -BulkRenamer::BulkRenamer(const Fm::FileInfoList& files, QWidget* parent) { - if(files.size() <= 1) { // no bulk rename with just one file - return; - } - QString baseName; - int start = 0; - BulkRenameDialog dlg(parent); - switch(dlg.exec()) { - case QDialog::Accepted: - baseName = dlg.getBaseName(); - start = dlg.getStart(); - break; - default: - return; - } - - if(!baseName.contains(QLatin1Char('#'))) { - // insert "#" before the last dot - int end = baseName.lastIndexOf(QLatin1Char('.')); - if(end == -1) { - end = baseName.size(); - } - baseName.insert(end, QLatin1Char('#')); - } - QProgressDialog progress(QObject::tr("Renaming files..."), QObject::tr("Abort"), 0, files.size(), parent); - progress.setWindowModality(Qt::WindowModal); - int i = 0, failed = 0; - for(auto& file: files) { - progress.setValue(i); - if(progress.wasCanceled()) { - progress.close(); - QMessageBox::warning(parent, QObject::tr("Warning"), QObject::tr("Renaming is aborted.")); - return; - } - auto fileName = QString::fromStdString(file->name()); - QString newName = baseName; - newName.replace(QLatin1Char('#'), QString::number(start + i)); - if (newName == fileName || !Fm::changeFileName(file->path(), newName, nullptr, false)) { - ++failed; - } - ++i; - } - progress.setValue(i); - if(failed == i) { - QMessageBox::critical(parent, QObject::tr("Error"), QObject::tr("No file could be renamed.")); - } - else if(failed > 0) { - QMessageBox::critical(parent, QObject::tr("Error"), QObject::tr("Some files could not be renamed.")); - } -} - -BulkRenamer::~BulkRenamer() { - -} - -} //namespace PCManFM diff --git a/pcmanfm/bulkrename.h b/pcmanfm/bulkrename.h deleted file mode 100644 index 7be8d15..0000000 --- a/pcmanfm/bulkrename.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - Copyright (C) 2017 Pedram Pourang (Tsu Jan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#ifndef PCMANFM_BULKRENAME_H -#define PCMANFM_BULKRENAME_H - -#include "ui_bulk-rename.h" -#include - -#include - -namespace PCManFM { - -class BulkRenameDialog : public QDialog { -Q_OBJECT - -public: - explicit BulkRenameDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = 0); - - QString getBaseName() const { - return ui.lineEdit->text(); - } - int getStart() const { - return ui.spinBox->value(); - } - -protected: - virtual void showEvent(QShowEvent* event) override; - -private: - Ui::BulkRenameDialog ui; -}; - -class BulkRenamer { -public: - BulkRenamer(const Fm::FileInfoList& files, QWidget* parent = nullptr); - ~BulkRenamer(); -}; - -} - -#endif // PCMANFM_BULKRENAME_H diff --git a/pcmanfm/connect.ui b/pcmanfm/connect.ui deleted file mode 100644 index 5238e00..0000000 --- a/pcmanfm/connect.ui +++ /dev/null @@ -1,173 +0,0 @@ - - - ConnectServerDialog - - - - 0 - 0 - 450 - 256 - - - - Connect to remote server - - - - - - - - - Anonymous &login - - - true - - - - - - - - - - Login as &user: - - - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - 0 - 0 - - - - Specify remote folder to connect - - - - - - - Type: - - - - - - - Port: - - - - - - - Path: - - - - - - - - - - Host: - - - - - - - 65535 - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - buttonBox - accepted() - ConnectServerDialog - accept() - - - 254 - 249 - - - 157 - 274 - - - - - buttonBox - rejected() - ConnectServerDialog - reject() - - - 322 - 249 - - - 286 - 274 - - - - - loginAsUser - toggled(bool) - userName - setEnabled(bool) - - - 65 - 194 - - - 163 - 184 - - - - - diff --git a/pcmanfm/connectserverdialog.cpp b/pcmanfm/connectserverdialog.cpp deleted file mode 100644 index 741973c..0000000 --- a/pcmanfm/connectserverdialog.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include "connectserverdialog.h" -#include -#include - -namespace PCManFM { - -ConnectServerDialog::ConnectServerDialog(QWidget *parent): QDialog(parent) { - serverTypes = QList{ - {tr("SSH"), "sftp", 22, false}, - {tr("FTP"), "ftp", 21, true}, - {tr("WebDav"), "dav", 80, true}, - {tr("Secure WebDav"), "davs", 443, false}, - {tr("HTTP"), "http", 80, true}, - {tr("HTTPS"), "https", 443, true}, - }; - - ui.setupUi(this); - - connect(ui.serverType, static_cast(&QComboBox::currentIndexChanged), - this, &ConnectServerDialog::onCurrentIndexChanged); - - connect(ui.host, &QLineEdit::textChanged, this, &ConnectServerDialog::checkInput); - connect(ui.userName, &QLineEdit::textChanged, this, &ConnectServerDialog::checkInput); - for(const auto& serverType : const_cast&>(serverTypes)) { - ui.serverType->addItem(serverType.name); - } - - ui.serverType->setCurrentIndex(0); - onCurrentIndexChanged(0); -} - -ConnectServerDialog::~ConnectServerDialog() { -} - - -QString ConnectServerDialog::uriText() { - QString uri; - int serverTypeIdx = ui.serverType->currentIndex(); - const auto& serverType = serverTypes[serverTypeIdx]; - - // make an URI from the data - uri = QString::fromLatin1(serverType.scheme); - uri += QStringLiteral("://"); - if(ui.loginAsUser->isChecked()) { - uri += ui.userName->text(); - uri += '@'; - } - - uri += ui.host->text(); - int port = ui.port->value(); - if(port != serverType.defaultPort) { - uri += ':'; - uri += QString::number(port); - } - - QString path = ui.path->text(); - if(path.isEmpty() || path[0] != '/') { - uri += '/'; - } - uri += path; - return uri; -} - -void ConnectServerDialog::onCurrentIndexChanged(int /*index*/) { - int serverTypeIdx = ui.serverType->currentIndex(); - const auto& serverType = serverTypes[serverTypeIdx]; - ui.port->setValue(serverType.defaultPort); - ui.ananymousLogin->setEnabled(serverType.canAnonymous); - if(serverType.canAnonymous) - ui.ananymousLogin->setChecked(true); - else - ui.loginAsUser->setChecked(true); - ui.host->setFocus(); - checkInput(); -} - -void ConnectServerDialog::checkInput() { - bool valid = true; - if(ui.host->text().isEmpty()) { - valid = false; - } - else if(ui.loginAsUser->isChecked() && ui.userName->text().isEmpty()) { - valid = false; - } - ui.buttonBox->button(QDialogButtonBox::Ok)->setEnabled(valid); -} - -} // namespace PCManFM diff --git a/pcmanfm/connectserverdialog.h b/pcmanfm/connectserverdialog.h deleted file mode 100644 index 7c19a27..0000000 --- a/pcmanfm/connectserverdialog.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef CONNECTSERVERDIALOG_H -#define CONNECTSERVERDIALOG_H - -#include -#include -#include "ui_connect.h" - -namespace PCManFM { - -class ConnectServerDialog : public QDialog { - Q_OBJECT - -public: - ConnectServerDialog(QWidget* parent=nullptr); - virtual ~ConnectServerDialog(); - - QString uriText(); - -private: - struct ServerType { - QString name; - const char* scheme; - int defaultPort; - bool canAnonymous; - }; - -private Q_SLOTS: - void onCurrentIndexChanged(int index); - void checkInput(); - -private: - Ui::ConnectServerDialog ui; - QList serverTypes; -}; - -} // namespace PCManFM - -#endif // CONNECTSERVERDIALOG_H diff --git a/pcmanfm/desktop-folder.ui b/pcmanfm/desktop-folder.ui deleted file mode 100644 index 4e4829c..0000000 --- a/pcmanfm/desktop-folder.ui +++ /dev/null @@ -1,60 +0,0 @@ - - - DesktopFolder - - - - 0 - 0 - 352 - 81 - - - - Form - - - - - - true - - - Desktop - - - - - - Desktop folder: - - - - - - - Image file - - - - - - Folder path - - - - - - - &Browse - - - - - - - - - - - diff --git a/pcmanfm/desktop-preferences.ui b/pcmanfm/desktop-preferences.ui deleted file mode 100644 index 0ad0e1f..0000000 --- a/pcmanfm/desktop-preferences.ui +++ /dev/null @@ -1,601 +0,0 @@ - - - DesktopPreferencesDialog - - - - 0 - 0 - 534 - 434 - - - - Desktop Preferences - - - - - - 0 - - - - General - - - - - - Background - - - - - - - 0 - 0 - - - - - - - - - 0 - 0 - - - - Wallpaper mode: - - - - - - - - 0 - 0 - - - - Wallpaper image file: - - - - - - - - 0 - 0 - - - - - - - - - - - Select background color: - - - - - - - - - Image file - - - - - - Image file path - - - - - - - &Browse - - - - - - - - - - - - Icons - - - - - - Icon size: - - - - - - - - - - - - - Label Text - - - - - - - 0 - 0 - - - - - - - - - - - - 0 - 0 - - - - - - - - - - - - 0 - 0 - - - - Select text color: - - - - - - - - 0 - 0 - - - - Select shadow color: - - - - - - - - 0 - 0 - - - - Select font: - - - - - - - - 0 - 0 - - - - - - - - - - - - - - Spacing - - - - - - Minimum item margins: - - - - - - - 3 px by default. - - - px - - - 48 - - - 3 - - - - - - - x - - - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - - - px - - - 48 - - - 1 - - - - - - - Lock - - - - - - - Qt::Horizontal - - - - 20 - 5 - - - - - - - - - - - Qt::Vertical - - - - 20 - 10 - - - - - - - - - Slide Show - - - - - - Enable Slide Show - - - true - - - false - - - - - - Wallpaper image folder: - - - - - - - Browse - - - - - - - hour(s) - - - 24 - - - - - - - and - - - Qt::AlignCenter - - - 5 - - - - - - - Intervals less than 5min will be ignored - - - Interval: - - - - - - - minute(s) - - - 55 - - - 5 - - - - - - - Qt::Horizontal - - - - 10 - 5 - - - - - - - - Wallpaper folder - - - - - - - Qt::Horizontal - - - QSizePolicy::Minimum - - - - 5 - 5 - - - - - - - - Randomize the slide show - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - Advanced - - - - - - Visible Shortcuts - - - - - - Home - - - - .. - - - - - - - Trash - - - - .. - - - - - - - Computer - - - - .. - - - - - - - Network - - - - .. - - - - - - - - - - Window Manager - - - - - - Show menus provided by window managers when desktop is clicked - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - Fm::ColorButton - QPushButton -
libfm-qt/colorbutton.h
-
- - Fm::FontButton - QPushButton -
libfm-qt/fontbutton.h
-
-
- - - - buttonBox - accepted() - DesktopPreferencesDialog - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - DesktopPreferencesDialog - reject() - - - 316 - 260 - - - 286 - 274 - - - - -
diff --git a/pcmanfm/desktoppreferencesdialog.cpp b/pcmanfm/desktoppreferencesdialog.cpp deleted file mode 100644 index 327a8a8..0000000 --- a/pcmanfm/desktoppreferencesdialog.cpp +++ /dev/null @@ -1,284 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#include "desktoppreferencesdialog.h" -#include "desktopwindow.h" -#include "settings.h" -#include "application.h" -#include "xdgdir.h" -#include -#include -#include -#include -#include -#include -#include -#include - -namespace PCManFM { - -static int iconSizes[] = {96, 72, 64, 48, 36, 32, 24, 20}; - -DesktopPreferencesDialog::DesktopPreferencesDialog(QWidget* parent, Qt::WindowFlags f): - QDialog(parent, f), - editDesktopFolderEnabled(false), - desktopFolderWidget(0), - desktopFolder() { - - - setAttribute(Qt::WA_DeleteOnClose); - - Settings& settings = static_cast(qApp)->settings(); - ui.setupUi(this); - - // setup wallpaper modes - connect(ui.wallpaperMode, static_cast(&QComboBox::currentIndexChanged), this, &DesktopPreferencesDialog::onWallpaperModeChanged); - ui.wallpaperMode->addItem(tr("Fill with background color only"), DesktopWindow::WallpaperNone); - ui.wallpaperMode->addItem(tr("Stretch to fill the entire screen"), DesktopWindow::WallpaperStretch); - ui.wallpaperMode->addItem(tr("Stretch to fit the screen"), DesktopWindow::WallpaperFit); - ui.wallpaperMode->addItem(tr("Center on the screen"), DesktopWindow::WallpaperCenter); - ui.wallpaperMode->addItem(tr("Tile the image to fill the entire screen"), DesktopWindow::WallpaperTile); - ui.wallpaperMode->addItem(tr("Zoom the image to fill the entire screen"), DesktopWindow::WallpaperZoom); - int i; - switch(settings.wallpaperMode()) { - case DesktopWindow::WallpaperNone: - i = 0; - break; - case DesktopWindow::WallpaperStretch: - i = 1; - break; - case DesktopWindow::WallpaperFit: - i = 2; - break; - case DesktopWindow::WallpaperCenter: - i = 3; - break; - case DesktopWindow::WallpaperTile: - i = 4; - break; - case DesktopWindow::WallpaperZoom: - i = 5; - break; - default: - i = 0; - } - ui.wallpaperMode->setCurrentIndex(i); - - connect(ui.browse, &QPushButton::clicked, this, &DesktopPreferencesDialog::onBrowseClicked); - qDebug("wallpaper: %s", settings.wallpaper().toUtf8().data()); - ui.imageFile->setText(settings.wallpaper()); - - ui.slideShow->setChecked(settings.slideShowInterval() > 0); - ui.imageFolder->setText(settings.wallpaperDir()); - int minutes = qMax(settings.slideShowInterval() / 60000, 5); // 5 min at least - ui.hours->setValue(minutes / 60); - ui.minutes->setValue(minutes % 60); - ui.randomize->setChecked(settings.wallpaperRandomize()); - connect(ui.folderBrowse, &QPushButton::clicked, this, &DesktopPreferencesDialog::onFolderBrowseClicked); - - for(std::size_t i = 0; i < G_N_ELEMENTS(iconSizes); ++i) { - int size = iconSizes[i]; - ui.iconSize->addItem(QString("%1 x %1").arg(size), size); - if(settings.desktopIconSize() == size) - ui.iconSize->setCurrentIndex(i); - } - - ui.font->setFont(settings.desktopFont()); - - ui.backgroundColor->setColor(settings.desktopBgColor()); - ui.textColor->setColor(settings.desktopFgColor()); - ui.shadowColor->setColor(settings.desktopShadowColor()); - - const QStringList ds = settings.desktopShortcuts(); - ui.homeBox->setChecked(ds.contains(QLatin1String("Home"))); - ui.trashBox->setChecked(ds.contains(QLatin1String("Trash"))); - ui.computerBox->setChecked(ds.contains(QLatin1String("Computer"))); - ui.networkBox->setChecked(ds.contains(QLatin1String("Network"))); - - ui.showWmMenu->setChecked(settings.showWmMenu()); - - connect(ui.buttonBox->button(QDialogButtonBox::Apply), &QPushButton::clicked, - this, &DesktopPreferencesDialog::onApplyClicked); - - ui.hMargin->setValue(settings.desktopCellMargins().width()); - ui.vMargin->setValue(settings.desktopCellMargins().height()); - connect(ui.lockMargins, &QAbstractButton::clicked, this, &DesktopPreferencesDialog::lockMargins); -} - -DesktopPreferencesDialog::~DesktopPreferencesDialog() { -} - -void DesktopPreferencesDialog::setupDesktopFolderUi() -{ - desktopFolderWidget = new QWidget(); - uiDesktopFolder.setupUi(desktopFolderWidget); - ui.advancedPageLayout->insertWidget(1, desktopFolderWidget); - uiDesktopFolder.verticalLayout->setMargin(0); - - desktopFolder = XdgDir::readDesktopDir(); - qDebug("desktop folder: %s", desktopFolder.toStdString().c_str()); - - uiDesktopFolder.desktopFolder->setText(desktopFolder); - - connect(uiDesktopFolder.browseDesktopFolder, &QPushButton::clicked, - this, &DesktopPreferencesDialog::onBrowseDesktopFolderClicked); -} - -void DesktopPreferencesDialog::lockMargins(bool lock) { - ui.vMargin->setDisabled(lock); - if(lock) { - ui.vMargin->setValue(ui.hMargin->value()); - connect(ui.hMargin, static_cast(&QSpinBox::valueChanged), ui.vMargin, &QSpinBox::setValue); - } - else - disconnect(ui.hMargin, static_cast(&QSpinBox::valueChanged), ui.vMargin, &QSpinBox::setValue); -} - -void DesktopPreferencesDialog::applySettings() -{ - Settings& settings = static_cast(qApp)->settings(); - - if (editDesktopFolderEnabled) - XdgDir::setDesktopDir(uiDesktopFolder.desktopFolder->text()); - - settings.setWallpaper(ui.imageFile->text()); - int mode = ui.wallpaperMode->itemData(ui.wallpaperMode->currentIndex()).toInt(); - settings.setWallpaperMode(mode); - - settings.setWallpaperDir(ui.imageFolder->text()); - int interval = 0; - if(ui.slideShow->isChecked()) - interval = (ui.minutes->value() + 60 * ui.hours->value()) * 60000; - settings.setSlideShowInterval(interval); - settings.setWallpaperRandomize(ui.randomize->isChecked()); - - settings.setDesktopIconSize(ui.iconSize->itemData(ui.iconSize->currentIndex()).toInt()); - - settings.setDesktopFont(ui.font->font()); - settings.setDesktopBgColor(ui.backgroundColor->color()); - settings.setDesktopFgColor(ui.textColor->color()); - settings.setDesktopShadowColor(ui.shadowColor->color()); - - QStringList ds; - if(ui.homeBox->isChecked()) { - ds << QLatin1String("Home"); - } - if(ui.trashBox->isChecked()) { - ds << QLatin1String("Trash"); - } - if(ui.computerBox->isChecked()) { - ds << QLatin1String("Computer"); - } - if(ui.networkBox->isChecked()) { - ds << QLatin1String("Network"); - } - settings.setDesktopShortcuts(ds); - - settings.setShowWmMenu(ui.showWmMenu->isChecked()); - - settings.setDesktopCellMargins(QSize(ui.hMargin->value(), ui.vMargin->value())); - - settings.save(); -} - -void DesktopPreferencesDialog::onApplyClicked() -{ - applySettings(); - static_cast(qApp)->updateDesktopsFromSettings(); -} - -void DesktopPreferencesDialog::accept() { - applySettings(); - static_cast(qApp)->updateDesktopsFromSettings(false); // don't change slide wallpaper on clicking OK - QDialog::accept(); -} - -void DesktopPreferencesDialog::onWallpaperModeChanged(int index) { - int mode = ui.wallpaperMode->itemData(index).toInt(); - - bool enable = (mode != DesktopWindow::WallpaperNone); - ui.imageFile->setEnabled(enable); - ui.browse->setEnabled(enable); -} - -void DesktopPreferencesDialog::onBrowseClicked() { - QFileDialog dlg; - dlg.setAcceptMode(QFileDialog::AcceptOpen); - dlg.setFileMode(QFileDialog::ExistingFile); - // compose a name fileter from QImageReader - QString filter; - filter.reserve(256); - filter = tr("Image Files"); - filter += " ("; - const QList formats = QImageReader::supportedImageFormats(); - for(const QByteArray& format : formats) { - filter += "*."; - filter += format.toLower(); - filter += ' '; - } - filter += ')'; - dlg.setNameFilter(filter); - dlg.setNameFilterDetailsVisible(false); - if(dlg.exec() == QDialog::Accepted) { - QString filename; - filename = dlg.selectedFiles().constFirst(); - ui.imageFile->setText(filename); - } -} - -void DesktopPreferencesDialog::onFolderBrowseClicked() { - QFileDialog dlg; - dlg.setAcceptMode(QFileDialog::AcceptOpen); - dlg.setFileMode(QFileDialog::Directory); - dlg.setOption(QFileDialog::ShowDirsOnly); - dlg.setDirectory(QDir::home().path()); - if(dlg.exec() == QDialog::Accepted) { - QString foldername; - foldername = dlg.selectedFiles().constFirst(); - ui.imageFolder->setText(foldername); - } -} - -void DesktopPreferencesDialog::onBrowseDesktopFolderClicked() -{ - QFileDialog dlg; - dlg.setAcceptMode(QFileDialog::AcceptOpen); - dlg.setAcceptMode(QFileDialog::AcceptOpen); - dlg.setFileMode(QFileDialog::DirectoryOnly); - if (dlg.exec() == QDialog::Accepted) { - QString dir; - dir = dlg.selectedFiles().constFirst(); - uiDesktopFolder.desktopFolder->setText(dir); - } -} - -void DesktopPreferencesDialog::selectPage(QString name) { - QWidget* page = findChild(name + "Page"); - if(page) - ui.tabWidget->setCurrentWidget(page); -} - -void DesktopPreferencesDialog::setEditDesktopFolder(const bool enabled) -{ - editDesktopFolderEnabled = enabled; - if (editDesktopFolderEnabled) - setupDesktopFolderUi(); -} - -} // namespace PCManFM diff --git a/pcmanfm/desktoppreferencesdialog.h b/pcmanfm/desktoppreferencesdialog.h deleted file mode 100644 index 31a4fb0..0000000 --- a/pcmanfm/desktoppreferencesdialog.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#ifndef PCMANFM_DESKTOPPREFERENCESDIALOG_H -#define PCMANFM_DESKTOPPREFERENCESDIALOG_H - -#include -#include "ui_desktop-preferences.h" - -#include "ui_desktop-folder.h" - -namespace PCManFM { - -class DesktopPreferencesDialog : public QDialog { -Q_OBJECT - -public: - explicit DesktopPreferencesDialog(QWidget* parent = 0, Qt::WindowFlags f = 0); - virtual ~DesktopPreferencesDialog(); - - virtual void accept(); - - void selectPage(QString name); - - // Should only be used one time. - void setEditDesktopFolder(const bool enabled); - -protected Q_SLOTS: - void onApplyClicked(); - void onWallpaperModeChanged(int index); - void onBrowseClicked(); - void onFolderBrowseClicked(); - void onBrowseDesktopFolderClicked(); - void lockMargins(bool lock); - - void applySettings(); - -private: - Ui::DesktopPreferencesDialog ui; - Ui::DesktopFolder uiDesktopFolder; - - bool editDesktopFolderEnabled; - QWidget* desktopFolderWidget; - QString desktopFolder; - - void setupDesktopFolderUi(); -}; - -} - -#endif // PCMANFM_DESKTOPPREFERENCESDIALOG_H diff --git a/pcmanfm/desktopwindow.cpp b/pcmanfm/desktopwindow.cpp deleted file mode 100644 index 057b4ce..0000000 --- a/pcmanfm/desktopwindow.cpp +++ /dev/null @@ -1,1831 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#include "desktopwindow.h" -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "./application.h" -#include "mainwindow.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "xdgdir.h" -#include "bulkrename.h" - -#include -#include -#include -#include - -#define WORK_AREA_MARGIN 12 // margin of the work area -#define MIN_SLIDE_INTERVAL 5*60000 // 5 min -#define MAX_SLIDE_INTERVAL (24*60+55)*60000 // 24 h and 55 min - -namespace PCManFM { - -DesktopWindow::DesktopWindow(int screenNum): - View(Fm::FolderView::IconMode), - proxyModel_(nullptr), - model_(nullptr), - wallpaperMode_(WallpaperNone), - slideShowInterval_(0), - wallpaperTimer_(nullptr), - wallpaperRandomize_(false), - fileLauncher_(nullptr), - showWmMenu_(false), - desktopHideItems_(false), - screenNum_(screenNum), - relayoutTimer_(nullptr), - selectionTimer_(nullptr), - trashUpdateTimer_(nullptr), - trashMonitor_(nullptr) { - - setWindowFlags(Qt::Window | Qt::FramelessWindowHint); - setAttribute(Qt::WA_X11NetWmWindowTypeDesktop); - setAttribute(Qt::WA_DeleteOnClose); - - // set our custom file launcher - View::setFileLauncher(&fileLauncher_); - - listView_ = static_cast(childView()); - listView_->setMovement(QListView::Snap); - listView_->setResizeMode(QListView::Adjust); - listView_->setFlow(QListView::TopToBottom); - listView_->setDropIndicatorShown(false); // we draw the drop indicator ourself - - // This is to workaround Qt bug 54384 which affects Qt >= 5.6 - // https://bugreports.qt.io/browse/QTBUG-54384 - // Setting a QPixmap larger then the screen resolution to desktop's QPalette won't work. - // So we make the viewport transparent by preventing its backround from being filled automatically. - // Then we paint desktop's background ourselves by using its paint event handling method. - listView_->viewport()->setAutoFillBackground(false); - - Settings& settings = static_cast(qApp)->settings(); - - // NOTE: When XRandR is in use, the all screens are actually combined to form a - // large virtual desktop and only one DesktopWindow needs to be created and screenNum is -1. - // In some older multihead setups, such as xinerama, every physical screen - // is treated as a separate desktop so many instances of DesktopWindow may be created. - // In this case we only want to show desktop icons on the primary screen. - if((screenNum_ == 0 || qApp->primaryScreen()->virtualSiblings().size() > 1)) { - loadItemPositions(); - - setShadowHidden(settings.shadowHidden()); - - auto desktopPath = Fm::FilePath::fromLocalPath(XdgDir::readDesktopDir().toStdString().c_str()); - model_ = Fm::CachedFolderModel::modelFromPath(desktopPath); - folder_ = model_->folder(); - connect(folder_.get(), &Fm::Folder::startLoading, this, &DesktopWindow::onFolderStartLoading); - connect(folder_.get(), &Fm::Folder::finishLoading, this, &DesktopWindow::onFolderFinishLoading); - - proxyModel_ = new Fm::ProxyFolderModel(); - proxyModel_->setSourceModel(model_); - proxyModel_->setShowThumbnails(settings.showThumbnails()); - proxyModel_->sort(settings.desktopSortColumn(), settings.desktopSortOrder()); - proxyModel_->setFolderFirst(settings.desktopSortFolderFirst()); - setModel(proxyModel_); - - connect(proxyModel_, &Fm::ProxyFolderModel::rowsInserted, this, &DesktopWindow::onRowsInserted); - connect(proxyModel_, &Fm::ProxyFolderModel::rowsAboutToBeRemoved, this, &DesktopWindow::onRowsAboutToBeRemoved); - connect(proxyModel_, &Fm::ProxyFolderModel::layoutChanged, this, &DesktopWindow::onLayoutChanged); - connect(proxyModel_, &Fm::ProxyFolderModel::sortFilterChanged, this, &DesktopWindow::onModelSortFilterChanged); - connect(proxyModel_, &Fm::ProxyFolderModel::dataChanged, this, &DesktopWindow::onDataChanged); - } - - // remove frame - listView_->setFrameShape(QFrame::NoFrame); - // inhibit scrollbars FIXME: this should be optional in the future - listView_->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - listView_->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); - - connect(this, &DesktopWindow::openDirRequested, this, &DesktopWindow::onOpenDirRequested); - - listView_->installEventFilter(this); - listView_->viewport()->installEventFilter(this); - - // setup shortcuts - QShortcut* shortcut; - shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_X), this); // cut - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::onCutActivated); - - shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_C), this); // copy - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::onCopyActivated); - - shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_C), this); // copy full path - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::onCopyFullPathActivated); - - shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_V), this); // paste - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::onPasteActivated); - - shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_A), this); // select all - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::selectAll); - - shortcut = new QShortcut(QKeySequence(Qt::Key_Delete), this); // delete - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::onDeleteActivated); - - shortcut = new QShortcut(QKeySequence(Qt::Key_F2), this); // rename - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::onRenameActivated); - - shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_F2), this); // bulk rename - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::onBulkRenameActivated); - - shortcut = new QShortcut(QKeySequence(Qt::ALT + Qt::Key_Return), this); // properties - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::onFilePropertiesActivated); - - shortcut = new QShortcut(QKeySequence(Qt::SHIFT + Qt::Key_Delete), this); // force delete - connect(shortcut, &QShortcut::activated, this, &DesktopWindow::onDeleteActivated); -} - -DesktopWindow::~DesktopWindow() { - if(trashMonitor_) { - g_signal_handlers_disconnect_by_func(trashMonitor_, (gpointer)G_CALLBACK(onTrashChanged), this); - g_object_unref(trashMonitor_); - trashMonitor_ = nullptr; - } - - listView_->viewport()->removeEventFilter(this); - listView_->removeEventFilter(this); - - disconnect(folder_.get(), nullptr, this, nullptr); - - if(relayoutTimer_) { - relayoutTimer_->stop(); - delete relayoutTimer_; - } - - if(wallpaperTimer_) { - wallpaperTimer_->stop(); - delete wallpaperTimer_; - } - - if(proxyModel_) { - delete proxyModel_; - } - - if(model_) { - disconnect(model_, &Fm::FolderModel::filesAdded, this, &DesktopWindow::onFilesAdded); - model_->unref(); - } -} - -void DesktopWindow::updateShortcutsFromSettings(Settings& settings) { - // Shortcuts should be deleted only when the user removes them - // in the Preferences dialog, not when the desktop is created. - static bool firstCall = true; - - const QStringList ds = settings.desktopShortcuts(); - Fm::FilePathList paths; - // Trash - if(ds.contains(QLatin1String("Trash")) && settings.useTrash()) { - createTrash(); - } - else { - if(trashUpdateTimer_) { - trashUpdateTimer_->stop(); - delete trashUpdateTimer_; - trashUpdateTimer_ = nullptr; - } - if(trashMonitor_) { - g_signal_handlers_disconnect_by_func(trashMonitor_, (gpointer)G_CALLBACK(onTrashChanged), this); - g_object_unref(trashMonitor_); - trashMonitor_ = nullptr; - } - if(!firstCall) { - QString trash = XdgDir::readDesktopDir() + QLatin1String("/trash-can.desktop"); - if(QFile::exists(trash)) { - paths.push_back(Fm::FilePath::fromLocalPath(trash.toStdString().c_str())); - } - } - } - // Home - if(ds.contains(QLatin1String("Home"))) { - createHomeShortcut(); - } - else if(!firstCall) { - QString home = XdgDir::readDesktopDir() + QLatin1String("/user-home.desktop"); - if(QFile::exists(home)) { - paths.push_back(Fm::FilePath::fromLocalPath(home.toStdString().c_str())); - } - } - // Computer - if(ds.contains(QLatin1String("Computer"))) { - createComputerShortcut(); - } - else if(!firstCall) { - QString computer = XdgDir::readDesktopDir() + QLatin1String("/computer.desktop"); - if(QFile::exists(computer)) { - paths.push_back(Fm::FilePath::fromLocalPath(computer.toStdString().c_str())); - } - } - // Network - if(ds.contains(QLatin1String("Network"))) { - createNetworkShortcut(); - } - else if(!firstCall) { - QString network = XdgDir::readDesktopDir() + QLatin1String("/network.desktop"); - if(QFile::exists(network)) { - paths.push_back(Fm::FilePath::fromLocalPath(network.toStdString().c_str())); - } - } - - // WARNING: QFile::remove() is not compatible with libfm-qt and should not be used. - if(!paths.empty()) { - Fm::FileOperation::deleteFiles(paths, false); - } - - firstCall = false; // desktop is created -} - -void DesktopWindow::createTrashShortcut(int items) { - GKeyFile* kf = g_key_file_new(); - g_key_file_set_string(kf, "Desktop Entry", "Type", "Application"); - g_key_file_set_string(kf, "Desktop Entry", "Exec", "pcmanfm-qt trash:///"); - // icon - const char* icon_name = items > 0 ? "user-trash-full" : "user-trash"; - g_key_file_set_string(kf, "Desktop Entry", "Icon", icon_name); - // name - QString name; - if(items > 0) { - if (items == 1) { - name = tr("Trash (One item)"); - } - else { - name = tr("Trash (%Ln items)", "", items); - } - } - else { - name = tr("Trash (Empty)"); - } - g_key_file_set_string(kf, "Desktop Entry", "Name", name.toStdString().c_str()); - - auto path = Fm::FilePath::fromLocalPath(XdgDir::readDesktopDir().toStdString().c_str()).localPath(); - auto trash_can = Fm::CStrPtr{g_build_filename(path.get(), "trash-can.desktop", nullptr)}; - g_key_file_save_to_file(kf, trash_can.get(), nullptr); - g_key_file_free(kf); -} - -void DesktopWindow::createHomeShortcut() { - GKeyFile* kf = g_key_file_new(); - g_key_file_set_string(kf, "Desktop Entry", "Type", "Application"); - g_key_file_set_string(kf, "Desktop Entry", "Exec", Fm::CStrPtr(g_strconcat("pcmanfm-qt ", Fm::FilePath::homeDir().toString().get(), nullptr)).get()); - g_key_file_set_string(kf, "Desktop Entry", "Icon", "user-home"); - g_key_file_set_string(kf, "Desktop Entry", "Name", g_get_user_name()); - - auto path = Fm::FilePath::fromLocalPath(XdgDir::readDesktopDir().toStdString().c_str()).localPath(); - auto trash_can = Fm::CStrPtr{g_build_filename(path.get(), "user-home.desktop", nullptr)}; - g_key_file_save_to_file(kf, trash_can.get(), nullptr); - g_key_file_free(kf); -} - -void DesktopWindow::createComputerShortcut() { - GKeyFile* kf = g_key_file_new(); - g_key_file_set_string(kf, "Desktop Entry", "Type", "Application"); - g_key_file_set_string(kf, "Desktop Entry", "Exec", "pcmanfm-qt computer:///"); - g_key_file_set_string(kf, "Desktop Entry", "Icon", "computer"); - const QString name = tr("Computer"); - g_key_file_set_string(kf, "Desktop Entry", "Name", name.toStdString().c_str()); - - auto path = Fm::FilePath::fromLocalPath(XdgDir::readDesktopDir().toStdString().c_str()).localPath(); - auto trash_can = Fm::CStrPtr{g_build_filename(path.get(), "computer.desktop", nullptr)}; - g_key_file_save_to_file(kf, trash_can.get(), nullptr); - g_key_file_free(kf); -} - -void DesktopWindow::createNetworkShortcut() { - GKeyFile* kf = g_key_file_new(); - g_key_file_set_string(kf, "Desktop Entry", "Type", "Application"); - g_key_file_set_string(kf, "Desktop Entry", "Exec", "pcmanfm-qt network:///"); - g_key_file_set_string(kf, "Desktop Entry", "Icon", "folder-network"); - const QString name = tr("Network"); - g_key_file_set_string(kf, "Desktop Entry", "Name", name.toStdString().c_str()); - - auto path = Fm::FilePath::fromLocalPath(XdgDir::readDesktopDir().toStdString().c_str()).localPath(); - auto trash_can = Fm::CStrPtr{g_build_filename(path.get(), "network.desktop", nullptr)}; - g_key_file_save_to_file(kf, trash_can.get(), nullptr); - g_key_file_free(kf); -} - -void DesktopWindow::createTrash() { - if(trashMonitor_) { - return; - } - Fm::FilePath trashPath = Fm::FilePath::fromUri("trash:///"); - // check if trash is supported by the current vfs - // if gvfs is not installed, this can be unavailable. - if(!g_file_query_exists(trashPath.gfile().get(), nullptr)) { - trashMonitor_ = nullptr; - return; - } - - trashMonitor_ = g_file_monitor_directory(trashPath.gfile().get(), G_FILE_MONITOR_NONE, nullptr, nullptr); - if(trashMonitor_) { - if(trashUpdateTimer_ == nullptr) { - trashUpdateTimer_ = new QTimer(this); - trashUpdateTimer_->setSingleShot(true); - connect(trashUpdateTimer_, &QTimer::timeout, this, &DesktopWindow::updateTrashIcon); - } - updateTrashIcon(); - g_signal_connect(trashMonitor_, "changed", G_CALLBACK(onTrashChanged), this); - } -} - -// static -void DesktopWindow::onTrashChanged(GFileMonitor* /*monitor*/, GFile* /*gf*/, GFile* /*other*/, GFileMonitorEvent /*evt*/, DesktopWindow* pThis) { - if(pThis->trashUpdateTimer_ != nullptr && !pThis->trashUpdateTimer_->isActive()) { - pThis->trashUpdateTimer_->start(250); // don't update trash very fast - } -} - -void DesktopWindow::updateTrashIcon() { - struct UpdateTrashData { - QPointer desktop; - Fm::FilePath trashPath; - UpdateTrashData(DesktopWindow* _desktop) : desktop(_desktop) { - trashPath = Fm::FilePath::fromUri("trash:///"); - } - }; - - UpdateTrashData* data = new UpdateTrashData(this); - g_file_query_info_async(data->trashPath.gfile().get(), G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT, G_FILE_QUERY_INFO_NONE, G_PRIORITY_LOW, nullptr, - [](GObject * /*source_object*/, GAsyncResult * res, gpointer user_data) { - // the callback lambda function is called when the asyn query operation is finished - UpdateTrashData* data = reinterpret_cast(user_data); - DesktopWindow* _this = data->desktop.data(); - if(_this != nullptr) { - Fm::GFileInfoPtr inf{g_file_query_info_finish(data->trashPath.gfile().get(), res, nullptr), false}; - if(inf) { - guint32 n = g_file_info_get_attribute_uint32(inf.get(), G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT); - _this->createTrashShortcut(static_cast(n)); - } - } - delete data; // free the data used for this async operation. - }, data); -} - -bool DesktopWindow::isTrashCan(std::shared_ptr file) { - bool ret(false); - if(file && (file->isDesktopEntry() || file->isShortcut()) && trashMonitor_) { - const QString fileName = QString::fromStdString(file->name()); - const char* execStr = fileName == QLatin1String("trash-can.desktop") - ? "pcmanfm-qt trash:///" : nullptr; - if(execStr) { - GKeyFile* kf = g_key_file_new(); - if(g_key_file_load_from_file(kf, file->path().toString().get(), G_KEY_FILE_NONE, nullptr)) { - Fm::CStrPtr str{g_key_file_get_string(kf, "Desktop Entry", "Exec", nullptr)}; - if(str && strcmp(str.get(), execStr) == 0) { - ret = true; - } - } - g_key_file_free(kf); - } - } - return ret; -} - -void DesktopWindow::setBackground(const QColor& color) { - bgColor_ = color; -} - -void DesktopWindow::setForeground(const QColor& color) { - QPalette p = listView_->palette(); - p.setBrush(QPalette::Text, color); - listView_->setPalette(p); - fgColor_ = color; -} - -void DesktopWindow::setShadow(const QColor& color) { - shadowColor_ = color; - auto delegate = static_cast(listView_->itemDelegateForColumn(Fm::FolderModel::ColumnFileName)); - delegate->setShadowColor(color); -} - -void DesktopWindow::onOpenDirRequested(const Fm::FilePath& path, int target) { - Q_UNUSED(target); - // open in new window unconditionally. - Application* app = static_cast(qApp); - MainWindow* newWin = new MainWindow(path); - // apply window size from app->settings - newWin->resize(app->settings().windowWidth(), app->settings().windowHeight()); - newWin->show(); -} - -void DesktopWindow::resizeEvent(QResizeEvent* event) { - QWidget::resizeEvent(event); - - // resize wall paper if needed - if(isVisible() && wallpaperMode_ != WallpaperNone && wallpaperMode_ != WallpaperTile) { - updateWallpaper(); - update(); - } - queueRelayout(100); // Qt use a 100 msec delay for relayout internally so we use it, too. -} - -void DesktopWindow::setDesktopFolder() { - if(folder_) { - // free the previous model and folder - if(model_) { - disconnect(model_, &Fm::FolderModel::filesAdded, this, &DesktopWindow::onFilesAdded); - proxyModel_->setSourceModel(nullptr); - model_->unref(); // unref the cached model - model_ = nullptr; - } - disconnect(folder_.get(), nullptr, this, nullptr); - folder_ = nullptr; - } - - auto path = Fm::FilePath::fromLocalPath(XdgDir::readDesktopDir().toStdString().c_str()); - model_ = Fm::CachedFolderModel::modelFromPath(path); - folder_ = model_->folder(); - connect(folder_.get(), &Fm::Folder::startLoading, this, &DesktopWindow::onFolderStartLoading); - connect(folder_.get(), &Fm::Folder::finishLoading, this, &DesktopWindow::onFolderFinishLoading); - proxyModel_->setSourceModel(model_); - if(folder_->isLoaded()) { - onFolderStartLoading(); - onFolderFinishLoading(); - } - else { - onFolderStartLoading(); - } -} - -void DesktopWindow::setWallpaperFile(QString filename) { - wallpaperFile_ = filename; -} - -void DesktopWindow::setWallpaperMode(WallpaperMode mode) { - wallpaperMode_ = mode; -} - -void DesktopWindow::setLastSlide(QString filename) { - lastSlide_ = filename; -} - -void DesktopWindow::setWallpaperDir(QString dirname) { - wallpaperDir_ = dirname; -} - -void DesktopWindow::setSlideShowInterval(int interval) { - slideShowInterval_ = interval; -} - -void DesktopWindow::setWallpaperRandomize(bool randomize) { - wallpaperRandomize_ = randomize; -} - -QImage DesktopWindow::loadWallpaperFile(QSize requiredSize) { - // NOTE: for ease of programming, we only use the cache for the primary screen. - bool useCache = (screenNum_ == -1 || screenNum_ == 0); - QFile info; - QString cacheFileName; - if(useCache) { - // see if we have a scaled version cached on disk - cacheFileName = QString::fromLocal8Bit(qgetenv("XDG_CACHE_HOME")); - if(cacheFileName.isEmpty()) { - cacheFileName = QDir::homePath() % QLatin1String("/.cache"); - } - Application* app = static_cast(qApp); - cacheFileName += QLatin1String("/pcmanfm-qt/") % app->profileName(); - QDir().mkpath(cacheFileName); // ensure that the cache dir exists - cacheFileName += QLatin1String("/wallpaper.cache"); - - // read info file - QString origin; - info.setFileName(cacheFileName % ".info"); - if(info.open(QIODevice::ReadOnly)) { - // FIXME: we need to compare mtime to see if the cache is out of date - origin = QString::fromLocal8Bit(info.readLine()); - info.close(); - if(!origin.isEmpty()) { - // try to see if we can get the size of the cached image. - QImageReader reader(cacheFileName); - reader.setAutoDetectImageFormat(true); - QSize cachedSize = reader.size(); - qDebug() << "size of cached file" << cachedSize << ", requiredSize:" << requiredSize; - if(cachedSize.isValid()) { - if(cachedSize == requiredSize) { // see if the cached wallpaper has the size we want - QImage image = reader.read(); // return the loaded image - qDebug() << "origin" << origin; - if(origin == wallpaperFile_) { - return image; - } - } - } - } - } - qDebug() << "no cached wallpaper. generate a new one!"; - } - - // we don't have a cached scaled image, load the original file - QImage image(wallpaperFile_); - qDebug() << "size of original image" << image.size(); - if(image.isNull() || image.size() == requiredSize) { // if the original size is what we want - return image; - } - - // scale the original image - QImage scaled = image.scaled(requiredSize.width(), requiredSize.height(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation); - // FIXME: should we save the scaled image if its size is larger than the original image? - - if(useCache) { - // write the path of the original image to the .info file - if(info.open(QIODevice::WriteOnly)) { - info.write(wallpaperFile_.toLocal8Bit()); - info.close(); - - // write the scaled cache image to disk - const char* format; // we keep jpg format for *.jpg files, and use png format for others. - if(wallpaperFile_.endsWith(QLatin1String(".jpg"), Qt::CaseInsensitive) || wallpaperFile_.endsWith(QLatin1String(".jpeg"), Qt::CaseInsensitive)) { - format = "JPG"; - } - else { - format = "PNG"; - } - scaled.save(cacheFileName, format); - } - qDebug() << "wallpaper cached saved to " << cacheFileName; - // FIXME: we might delay the write of the cached image? - } - return scaled; -} - -// really generate the background pixmap according to current settings and apply it. -void DesktopWindow::updateWallpaper() { - if(wallpaperMode_ != WallpaperNone) { // use wallpaper - QPixmap pixmap; - QImage image; - if(wallpaperMode_ == WallpaperTile) { // use the original size - image = QImage(wallpaperFile_); - // Note: We can't use the QPainter::drawTiledPixmap(), because it doesn't tile - // correctly for background pixmaps bigger than the current screen size. - const QSize s = size(); - pixmap = QPixmap{s}; - QPainter painter{&pixmap}; - for (int x = 0; x < s.width(); x += image.width()) { - for (int y = 0; y < s.height(); y += image.height()) { - painter.drawImage(x, y, image); - } - } - } - else if(wallpaperMode_ == WallpaperStretch) { - image = loadWallpaperFile(size()); - pixmap = QPixmap::fromImage(image); - } - else { // WallpaperCenter || WallpaperFit - if(wallpaperMode_ == WallpaperCenter) { - image = QImage(wallpaperFile_); // load original image - } - else if(wallpaperMode_ == WallpaperFit || wallpaperMode_ == WallpaperZoom) { - // calculate the desired size - QSize origSize = QImageReader(wallpaperFile_).size(); // get the size of the original file - if(origSize.isValid()) { - QSize desiredSize = origSize; - Qt::AspectRatioMode mode = (wallpaperMode_ == WallpaperFit ? Qt::KeepAspectRatio : Qt::KeepAspectRatioByExpanding); - desiredSize.scale(width(), height(), mode); - image = loadWallpaperFile(desiredSize); // load the scaled image - } - } - if(!image.isNull()) { - pixmap = QPixmap(size()); - QPainter painter(&pixmap); - pixmap.fill(bgColor_); - int x = (width() - image.width()) / 2; - int y = (height() - image.height()) / 2; - painter.drawImage(x, y, image); - } - } - wallpaperPixmap_ = pixmap; - } -} - -bool DesktopWindow::pickWallpaper() { - if(slideShowInterval_ <= 0 - || !QFileInfo(wallpaperDir_).isDir()) { - return false; - } - - QList formats = QImageReader::supportedImageFormats(); - QStringList formatsFilters; - for (const QByteArray& format: formats) - formatsFilters << QString("*.") + format; - QDir folder(wallpaperDir_); - QStringList files = folder.entryList(formatsFilters, - QDir::Files | QDir::NoDotAndDotDot, - QDir::Name); - if(!files.isEmpty()) { - QString dir = wallpaperDir_ + QLatin1Char('/'); - if(!wallpaperRandomize_) { - if(!lastSlide_.startsWith(dir)) { // not in the directory - wallpaperFile_ = dir + files.first(); - } - else { - QString ls = lastSlide_.remove(0, dir.size()); - if(ls.isEmpty() // invalid - || ls.contains(QLatin1Char('/'))) { // in a subdirectory or invalid - wallpaperFile_ = dir + files.first(); - } - else { - int index = files.indexOf(ls); - if(index == -1) { // removed or invalid - wallpaperFile_ = dir + files.first(); - } - else { - wallpaperFile_ = dir + (index + 1 < files.size() - ? files.at(index + 1) - : files.first()); - } - } - } - } - else { - if(files.size() > 1) { - if(lastSlide_.startsWith(dir)) { - QString ls = lastSlide_.remove(0, dir.size()); - if(!ls.isEmpty() && !ls.contains(QLatin1Char('/'))) - files.removeOne(ls); // choose from other images - } - // this is needed for the randomness, especially when choosing the first wallpaper - qsrand((uint)QTime::currentTime().msec()); - int randomValue = qrand() % files.size(); - wallpaperFile_ = dir + files.at(randomValue); - } - else { - wallpaperFile_ = dir + files.first(); - } - } - - if (lastSlide_ != wallpaperFile_) { - lastSlide_ = wallpaperFile_; - Settings& settings = static_cast(qApp)->settings(); - settings.setLastSlide(lastSlide_); - return true; - } - } - - return false; -} - -void DesktopWindow::nextWallpaper() { - if(pickWallpaper()) { - updateWallpaper(); - update(); - } -} - -void DesktopWindow::updateFromSettings(Settings& settings, bool changeSlide) { - setDesktopFolder(); - setWallpaperFile(settings.wallpaper()); - setWallpaperMode(settings.wallpaperMode()); - setLastSlide(settings.lastSlide()); - QString wallpaperDir = settings.wallpaperDir(); - if(wallpaperDir_ != wallpaperDir) { - changeSlide = true; // another wallpapaer directory; change slide! - } - setWallpaperDir(wallpaperDir); - int interval = settings.slideShowInterval(); - if(interval > 0 && (interval < MIN_SLIDE_INTERVAL || interval > MAX_SLIDE_INTERVAL)) { - interval = qBound(MIN_SLIDE_INTERVAL, interval, MAX_SLIDE_INTERVAL); - settings.setSlideShowInterval(interval); - } - setSlideShowInterval(interval); - setWallpaperRandomize(settings.wallpaperRandomize()); - setFont(settings.desktopFont()); - setIconSize(Fm::FolderView::IconMode, QSize(settings.desktopIconSize(), settings.desktopIconSize())); - setMargins(settings.desktopCellMargins()); - updateShortcutsFromSettings(settings); - // setIconSize and setMargins may trigger relayout of items by QListView, so we need to do the layout again. - queueRelayout(); - setForeground(settings.desktopFgColor()); - setBackground(settings.desktopBgColor()); - setShadow(settings.desktopShadowColor()); - showWmMenu_ = settings.showWmMenu(); - desktopHideItems_ = settings.desktopHideItems(); - if(desktopHideItems_) { - // hide all items by hiding the list view and also - // prevent the current item from being changed by arrow keys - listView_->clearFocus(); - listView_->setVisible(false); - } - - if(slideShowInterval_ > 0 - && QFileInfo(wallpaperDir_).isDir()) { - if(!wallpaperTimer_) { - changeSlide = true; // slideshow activated; change slide! - wallpaperTimer_ = new QTimer(); - connect(wallpaperTimer_, &QTimer::timeout, this, &DesktopWindow::nextWallpaper); - } - else { - wallpaperTimer_->stop(); // restart the timer after updating wallpaper - } - if(changeSlide) { - pickWallpaper(); - } - else if(QFile::exists(lastSlide_)) { - /* show the last slide if it still exists, - otherwise show the wallpaper until timeout */ - wallpaperFile_ = lastSlide_; - } - } - else if(wallpaperTimer_) { - wallpaperTimer_->stop(); - delete wallpaperTimer_; - wallpaperTimer_ = nullptr; - } - - updateWallpaper(); - update(); - - if(wallpaperTimer_) { - wallpaperTimer_->start(slideShowInterval_); - } -} - -void DesktopWindow::onFileClicked(int type, const std::shared_ptr& fileInfo) { - if(!fileInfo && showWmMenu_) { - return; // do not show the popup if we want to use the desktop menu provided by the WM. - } - if(desktopHideItems_) { // only a context menu with desktop actions - if(type == Fm::FolderView::ActivatedClick) { - return; - } - QMenu* menu = new QMenu(this); - addDesktopActions(menu); - menu->exec(QCursor::pos()); - delete menu; - } - else { - // special right-click menus for our desktop shortcuts - if(fileInfo && (fileInfo->isDesktopEntry() || fileInfo->isShortcut()) - && type == Fm::FolderView::ContextMenuClick) { - Settings& settings = static_cast(qApp)->settings(); - const QStringList ds = settings.desktopShortcuts(); - if(!ds.isEmpty()) { - const QString fileName = QString::fromStdString(fileInfo->name()); - if((fileName == QLatin1String("trash-can.desktop") && ds.contains(QLatin1String("Trash"))) - || (fileName == QLatin1String("user-home.desktop") && ds.contains(QLatin1String("Home"))) - || (fileName == QLatin1String("computer.desktop") && ds.contains(QLatin1String("Computer"))) - || (fileName == QLatin1String("network.desktop") && ds.contains(QLatin1String("Network")))) { - QMenu* menu = new QMenu(this); - // "Open" action for all - QAction* action = menu->addAction(tr("Open")); - connect(action, &QAction::triggered, this, [this, fileInfo] { - onFileClicked(Fm::FolderView::ActivatedClick, fileInfo); - }); - // "Stick" action for all - action = menu->addAction(tr("Stic&k to Current Position")); - action->setCheckable(true); - action->setChecked(customItemPos_.find(fileInfo->name()) != customItemPos_.cend()); - connect(action, &QAction::toggled, this, &DesktopWindow::onStickToCurrentPos); - // "Empty Trash" action for Trash shortcut - if(fileName == QLatin1String("trash-can.desktop")) { - menu->addSeparator(); - action = menu->addAction(tr("Empty Trash")); - // disable the item is Trash is empty - GKeyFile* kf = g_key_file_new(); - if(g_key_file_load_from_file(kf, fileInfo->path().toString().get(), G_KEY_FILE_NONE, nullptr)) { - Fm::CStrPtr str{g_key_file_get_string(kf, "Desktop Entry", "Icon", nullptr)}; - if(str && strcmp(str.get(), "user-trash") == 0) { - action->setEnabled(false); - } - } - g_key_file_free(kf); - // empty Trash on clicking the item - connect(action, &QAction::triggered, this, [this, &settings] { - Fm::FilePathList files; - files.push_back(Fm::FilePath::fromUri("trash:///")); - Fm::FileOperation::deleteFiles(std::move(files), settings.confirmDelete(), this); - }); - } - menu->exec(QCursor::pos()); - delete menu; - return; - } - } - } - View::onFileClicked(type, fileInfo); - } -} - -void DesktopWindow::prepareFileMenu(Fm::FileMenu* menu) { - // qDebug("DesktopWindow::prepareFileMenu"); - PCManFM::View::prepareFileMenu(menu); - QAction* action = new QAction(tr("Stic&k to Current Position"), menu); - action->setCheckable(true); - menu->insertSeparator(menu->separator2()); - menu->insertAction(menu->separator2(), action); - - bool checked(true); - auto files = menu->files(); - for(const auto& file : files) { - if(customItemPos_.find(file->name()) == customItemPos_.cend()) { - checked = false; - break; - } - } - action->setChecked(checked); - connect(action, &QAction::toggled, this, &DesktopWindow::onStickToCurrentPos); -} - -void DesktopWindow::prepareFolderMenu(Fm::FolderMenu* menu) { - PCManFM::View::prepareFolderMenu(menu); - // remove file properties action - menu->removeAction(menu->propertiesAction()); - // add desktop actions instead - addDesktopActions(menu); -} - -void DesktopWindow::addDesktopActions(QMenu* menu) { - QAction* action = menu->addAction(tr("Hide Desktop Items")); - action->setCheckable(true); - action->setChecked(desktopHideItems_); - menu->addSeparator(); - connect(action, &QAction::triggered, this, &DesktopWindow::toggleDesktop); - action = menu->addAction(tr("Desktop Preferences")); - connect(action, &QAction::triggered, this, &DesktopWindow::onDesktopPreferences); -} - -void DesktopWindow::toggleDesktop() { - desktopHideItems_ = !desktopHideItems_; - Settings& settings = static_cast(qApp)->settings(); - settings.setDesktopHideItems(desktopHideItems_); - listView_->setVisible(!desktopHideItems_); - // a relayout is needed on showing the items for the first time - // because the positions aren't updated while the view is hidden - if(!desktopHideItems_) { - listView_->setFocus(); // refocus the view - queueRelayout(); - } - else { // prevent the current item from being changed by arrow keys - listView_->clearFocus(); - } -} - -void DesktopWindow::selectAll() { - if(!desktopHideItems_) { - FolderView::selectAll(); - } -} - -void DesktopWindow::onDesktopPreferences() { - static_cast(qApp)->desktopPrefrences(QString()); -} - -void DesktopWindow::onRowsInserted(const QModelIndex& parent, int start, int end) { - Q_UNUSED(parent); - Q_UNUSED(start); - Q_UNUSED(end); - // disable view updates temporarily and delay relayout to prevent items from shaking - listView_->setUpdatesEnabled(false); - queueRelayout(100); -} - -void DesktopWindow::onRowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { - Q_UNUSED(parent); - Q_UNUSED(start); - Q_UNUSED(end); - if(!customItemPos_.empty()) { - // also delete stored custom item positions for the items currently being removed. - // Here we can't rely on ProxyFolderModel::fileInfoFromIndex() because, although rows - // aren't removed yet, files are already removed. - bool changed = false; - QString desktopDir = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); - desktopDir += '/'; - for(auto it = customItemPos_.cbegin(); it != customItemPos_.cend();) { - auto& name = it->first; - if(!QFile::exists(desktopDir + QString::fromStdString(name))) { - it = customItemPos_.erase(it); - changed = true; - } - else { - ++it; - } - } - if(changed) { - saveItemPositions(); - } - } - listView_->setUpdatesEnabled(false); - queueRelayout(100); -} - -void DesktopWindow::onLayoutChanged() { - queueRelayout(); -} - -void DesktopWindow::onModelSortFilterChanged() { - Settings& settings = static_cast(qApp)->settings(); - settings.setDesktopSortColumn(static_cast(proxyModel_->sortColumn())); - settings.setDesktopSortOrder(proxyModel_->sortOrder()); - settings.setDesktopSortFolderFirst(proxyModel_->folderFirst()); -} - -void DesktopWindow::onDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { - /**************************************************************************** - NOTE: The display names of desktop entries and shortcuts may change without - their files being renamed and, on such occasions, a relayout will be needed. - Since there is no signal for that, we use the signal dataChanged() and the - QHash displayNames_, which remembers such display names with every relayout. - ****************************************************************************/ - if(topLeft.column() == 0) { - bool relayout(false); - for(int i = topLeft.row(); i <= bottomRight.row(); ++i) { - QModelIndex index = topLeft.sibling(i, 0); - if(index.isValid() && displayNames_.contains(index)) { - auto file = proxyModel_->fileInfoFromIndex(index); - if(displayNames_[index] != file->displayName()) { - relayout = true; - break; - } - } - } - if(relayout) { - queueRelayout(); - // parts of the old display name might still be visible if it's long - listView_->viewport()->update(); - } - } -} - -void DesktopWindow::onFolderStartLoading() { // desktop may be reloaded - if(model_) { - disconnect(model_, &Fm::FolderModel::filesAdded, this, &DesktopWindow::onFilesAdded); - } -} - -void DesktopWindow::onFolderFinishLoading() { - QTimer::singleShot(10, [this]() { // Qt delays the UI update (as in TabPage::onFolderFinishLoading) - if(model_) { - connect(model_, &Fm::FolderModel::filesAdded, this, &DesktopWindow::onFilesAdded); - } - }); -} - -void DesktopWindow::onFilesAdded(const Fm::FileInfoList files) { - if(static_cast(qApp)->settings().selectNewFiles()) { - if(!selectionTimer_) { - selectFiles(files, false); - selectionTimer_ = new QTimer (this); - selectionTimer_->setSingleShot(true); - selectionTimer_->start(200); - } - else { - selectFiles(files, selectionTimer_->isActive()); - selectionTimer_->start(200); - } - } -} - -void DesktopWindow::removeBottomGap() { - auto screen = getDesktopScreen(); - if(screen == nullptr) { - return; - } - /************************************************************ - NOTE: Desktop is an area bounded from below while icons snap - to its grid srarting from above. Therefore, we try to adjust - the vertical cell margin to prevent relatively large gaps - from taking shape at the desktop bottom. - ************************************************************/ - auto delegate = static_cast(listView_->itemDelegateForColumn(0)); - auto itemSize = delegate->itemSize(); - //qDebug() << "delegate:" << delegate->itemSize(); - QSize cellMargins = getMargins(); - int workAreaHeight = screen->availableVirtualGeometry().height() - - 2 * WORK_AREA_MARGIN; - int cellHeight = itemSize.height() + listView_->spacing(); - int iconNumber = workAreaHeight / cellHeight; - int bottomGap = workAreaHeight % cellHeight; - /******************************************* - First try to make room for an extra icon... - *******************************************/ - // If one pixel is subtracted from the vertical margin, cellHeight - // will decrease by 2 while bottomGap will increase by 2*iconNumber. - // So, we can add an icon to the bottom once this inequality holds: - // bottomGap + 2*n*iconNumber >= cellHeight - 2*n - // From here, we get our "subtrahend": - qreal exactNumber = ((qreal)cellHeight - (qreal)bottomGap) - / (2.0 * (qreal)iconNumber + 2.0); - int subtrahend = (int)exactNumber + ((int)exactNumber == exactNumber ? 0 : 1); - Settings& settings = static_cast(qApp)->settings(); - int minCellHeight = settings.desktopCellMargins().height(); - if(subtrahend > 0 - && cellMargins.height() - subtrahend >= minCellHeight) { - cellMargins -= QSize(0, subtrahend); - } - /*************************************************** - ... but if that can't be done, try to spread icons! - ***************************************************/ - else { - cellMargins += QSize(0, (bottomGap / iconNumber) / 2); - } - // set the new margins (if they're changed) - delegate->setMargins(cellMargins); - setMargins(cellMargins); - // in case the text shadow is reset to (0,0,0,0) - setShadow(settings.desktopShadowColor()); -} - -void DesktopWindow::paintBackground(QPaintEvent* event) { - // This is to workaround Qt bug 54384 which affects Qt >= 5.6 - // https://bugreports.qt.io/browse/QTBUG-54384 - QPainter painter(this); - if(wallpaperMode_ == WallpaperNone || wallpaperPixmap_.isNull()) { - painter.fillRect(event->rect(), QBrush(bgColor_)); - } - else { - painter.drawPixmap(event->rect(), wallpaperPixmap_, event->rect()); - } -} - -void DesktopWindow::trustOurDesktopShortcut(std::shared_ptr file) { - if(file->isTrustable()) { - return; - } - Settings& settings = static_cast(qApp)->settings(); - const QStringList ds = settings.desktopShortcuts(); - if(ds.isEmpty()) { - return; - } - const QString fileName = QString::fromStdString(file->name()); - auto homeExec = Fm::CStrPtr(g_strconcat("pcmanfm-qt ", Fm::FilePath::homeDir().toString().get(), nullptr)); - const char* execStr = fileName == QLatin1String("trash-can.desktop") && ds.contains(QLatin1String("Trash")) ? "pcmanfm-qt trash:///" : - fileName == QLatin1String("user-home.desktop") && ds.contains(QLatin1String("Home")) ? homeExec.get() : - fileName == QLatin1String("computer.desktop") && ds.contains(QLatin1String("Computer")) ? "pcmanfm-qt computer:///" : - fileName == QLatin1String("network.desktop") && ds.contains(QLatin1String("Network")) ? "pcmanfm-qt network:///" : nullptr; - if(execStr) { - GKeyFile* kf = g_key_file_new(); - if(g_key_file_load_from_file(kf, file->path().toString().get(), G_KEY_FILE_NONE, nullptr)) { - Fm::CStrPtr str{g_key_file_get_string(kf, "Desktop Entry", "Exec", nullptr)}; - if(str && strcmp(str.get(), execStr) == 0) { - file->setTrustable(true); - } - } - g_key_file_free(kf); - } -} - -// QListView does item layout in a very inflexible way, so let's do our custom layout again. -// FIXME: this is very inefficient, but due to the design flaw of QListView, this is currently the only workaround. -void DesktopWindow::relayoutItems() { - auto screen = getDesktopScreen(); - if(screen == nullptr) { - return; - } - displayNames_.clear(); - loadItemPositions(); // something may have changed - // qDebug("relayoutItems()"); - if(relayoutTimer_) { - // this slot might be called from the timer, so we cannot delete it directly here. - relayoutTimer_->deleteLater(); - relayoutTimer_ = nullptr; - } - - int row = 0; - int rowCount = proxyModel_->rowCount(); - - auto delegate = static_cast(listView_->itemDelegateForColumn(0)); - auto itemSize = delegate->itemSize(); - - QRect workArea = screen->availableVirtualGeometry(); - workArea.adjust(WORK_AREA_MARGIN, WORK_AREA_MARGIN, -WORK_AREA_MARGIN, -WORK_AREA_MARGIN); - // qDebug() << "workArea" << screenNum_ << workArea; - // FIXME: we use an internal class declared in a private header here, which is pretty bad. - QPoint pos = workArea.topLeft(); - for(; row < rowCount; ++row) { - QModelIndex index = proxyModel_->index(row, 0); - int itemWidth = delegate->sizeHint(listView_->getViewOptions(), index).width(); - auto file = proxyModel_->fileInfoFromIndex(index); - // remember display names of desktop entries and shortcuts - if(file->isDesktopEntry() || file->isShortcut()) { - displayNames_[index] = file->displayName(); - trustOurDesktopShortcut(file); - } - auto name = file->name(); - auto find_it = customItemPos_.find(name); - if(find_it != customItemPos_.cend()) { // the item has a custom position - QPoint customPos = find_it->second; - // center the contents vertically - listView_->setPositionForIndex(customPos + QPoint((itemSize.width() - itemWidth) / 2, 0), index); - // qDebug() << "set custom pos:" << name << row << index << customPos; - continue; - } - // check if the current pos is already occupied by a custom item - bool used = false; - for(auto it = customItemPos_.cbegin(); it != customItemPos_.cend(); ++it) { - QPoint customPos = it->second; - if(QRect(customPos, itemSize).contains(pos)) { - used = true; - break; - } - } - if(used) { // go to next pos - --row; - } - else { - // center the contents vertically - listView_->setPositionForIndex(pos + QPoint((itemSize.width() - itemWidth) / 2, 0), index); - // qDebug() << "set pos" << name << row << index << pos; - } - // move to next cell in the column - pos.setY(pos.y() + itemSize.height() + listView_->spacing()); - if(pos.y() + itemSize.height() > workArea.bottom() + 1) { - // if the next position may exceed the bottom of work area, go to the top of next column - pos.setX(pos.x() + itemSize.width() + listView_->spacing()); - pos.setY(workArea.top()); - } - } - - if(!listView_->updatesEnabled()) { - listView_->setUpdatesEnabled(true); - } -} - -void DesktopWindow::loadItemPositions() { - auto screen = getDesktopScreen(); - if(screen == nullptr) { - return; - } - // load custom item positions - customItemPos_.clear(); - Settings& settings = static_cast(qApp)->settings(); - QString configFile = QString("%1/desktop-items-%2.conf").arg(settings.profileDir(settings.profileName())).arg(screenNum_); - QSettings file(configFile, QSettings::IniFormat); - - auto delegate = static_cast(listView_->itemDelegateForColumn(0)); - auto grid = delegate->itemSize(); - QRect workArea = screen->availableVirtualGeometry(); - workArea.adjust(WORK_AREA_MARGIN, WORK_AREA_MARGIN, -WORK_AREA_MARGIN, -WORK_AREA_MARGIN); - QString desktopDir = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); - desktopDir += '/'; - std::vector usedPos; - for(auto& item: customItemPos_) { - usedPos.push_back(item.second); - } - - // FIXME: this is inefficient - const auto names = file.childGroups(); - for(const QString& name : names) { - if(!QFile::exists(desktopDir + name.toUtf8())) { - // the file may have been removed from outside LXQT - continue; - } - file.beginGroup(name); - QVariant var = file.value("pos"); - if(var.isValid()) { - QPoint customPos = var.toPoint(); - if(customPos.x() >= workArea.x() && customPos.y() >= workArea.y() - && customPos.x() + grid.width() <= workArea.right() + 1 - && customPos.y() + grid.height() <= workArea.bottom() + 1) { - // correct positions that are't aligned to the grid - alignToGrid(customPos, workArea.topLeft(), grid, listView_->spacing()); - // FIXME: this is very inefficient - while(std::find(usedPos.cbegin(), usedPos.cend(), customPos) != usedPos.cend()) { - customPos.setY(customPos.y() + grid.height() + listView_->spacing()); - if(customPos.y() + grid.height() > workArea.bottom() + 1) { - customPos.setX(customPos.x() + grid.width() + listView_->spacing()); - customPos.setY(workArea.top()); - } - } - customItemPos_[name.toStdString()] = customPos; - usedPos.push_back(customPos); - } - } - file.endGroup(); - } -} - -void DesktopWindow::saveItemPositions() { - Settings& settings = static_cast(qApp)->settings(); - // store custom item positions - QString configFile = QString("%1/desktop-items-%2.conf").arg(settings.profileDir(settings.profileName())).arg(screenNum_); - // FIXME: using QSettings here is inefficient and it's not friendly to UTF-8. - QSettings file(configFile, QSettings::IniFormat); - file.clear(); // remove all existing entries - - // FIXME: we have to remove dead entries not associated to any files? - for(auto it = customItemPos_.cbegin(); it != customItemPos_.cend(); ++it) { - auto& name = it->first; - auto& pos = it->second; - file.beginGroup(QString::fromStdString(name)); - file.setValue("pos", pos); - file.endGroup(); - } -} - -void DesktopWindow::onStickToCurrentPos(bool toggled) { - QModelIndexList indexes = listView_->selectionModel()->selectedIndexes(); - if(!indexes.isEmpty()) { - bool relayout(false); - QModelIndexList::const_iterator it; - for(it = indexes.constBegin(); it != indexes.constEnd(); ++it) { - auto file = proxyModel_->fileInfoFromIndex(*it); - auto name = file->name(); - if(toggled) { // remember the current custom position - QRect itemRect = listView_->rectForIndex(*it); - customItemPos_[name] = itemRect.topLeft(); - } - else { // cancel custom position and perform relayout - auto item = customItemPos_.find(name); - if(item != customItemPos_.end()) { - customItemPos_.erase(item); - relayout = true; - } - } - } - saveItemPositions(); - if(relayout) { - relayoutItems(); - } - } -} - -void DesktopWindow::queueRelayout(int delay) { - // qDebug() << "queueRelayout"; - removeBottomGap(); - if(!relayoutTimer_) { - relayoutTimer_ = new QTimer(); - relayoutTimer_->setSingleShot(true); - connect(relayoutTimer_, &QTimer::timeout, this, &DesktopWindow::relayoutItems); - relayoutTimer_->start(delay); - } -} - -// slots for file operations - -void DesktopWindow::onCutActivated() { - if(desktopHideItems_) { - return; - } - auto paths = selectedFilePaths(); - if(!paths.empty()) { - Fm::cutFilesToClipboard(paths); - } -} - -void DesktopWindow::onCopyActivated() { - if(desktopHideItems_) { - return; - } - auto paths = selectedFilePaths(); - if(!paths.empty()) { - Fm::copyFilesToClipboard(paths); - } -} - -void DesktopWindow::onCopyFullPathActivated() { - if(desktopHideItems_) { - return; - } - auto paths = selectedFilePaths(); - if(paths.size() == 1) { - QApplication::clipboard()->setText(QString(paths.front().toString().get()), QClipboard::Clipboard); - } -} - -void DesktopWindow::onPasteActivated() { - if(desktopHideItems_) { - return; - } - Fm::pasteFilesFromClipboard(path()); -} - -void DesktopWindow::onDeleteActivated() { - if(desktopHideItems_) { - return; - } - auto paths = selectedFilePaths(); - if(!paths.empty()) { - Settings& settings = static_cast(qApp)->settings(); - bool shiftPressed = (qApp->keyboardModifiers() & Qt::ShiftModifier ? true : false); - if(settings.useTrash() && !shiftPressed) { - Fm::FileOperation::trashFiles(paths, settings.confirmTrash(), this); - } - else { - Fm::FileOperation::deleteFiles(paths, settings.confirmDelete(), this); - } - } -} - -void DesktopWindow::onRenameActivated() { - if(desktopHideItems_) { - return; - } - // do inline renaming if only one item is selected, - // otherwise use the renaming dialog - if(selectedIndexes().size() == 1) { - QModelIndex cur = listView_->currentIndex(); - if (cur.isValid()) { - listView_->edit(cur); - return; - } - } - auto files = selectedFiles(); - if(!files.empty()) { - for(auto& info: files) { - if(!Fm::renameFile(info, nullptr)) { - break; - } - } - } -} - -void DesktopWindow::onBulkRenameActivated() { - if(desktopHideItems_) { - return; - } - BulkRenamer(selectedFiles(), this); -} - -void DesktopWindow::onFilePropertiesActivated() { - if(desktopHideItems_) { - return; - } - auto files = selectedFiles(); - if(!files.empty()) { - Fm::FilePropsDialog::showForFiles(std::move(files)); - } -} - -static void forwardMouseEventToRoot(QMouseEvent* event) { - xcb_ungrab_pointer(QX11Info::connection(), event->timestamp()); - // forward the event to the root window - xcb_button_press_event_t xcb_event; - uint32_t mask = 0; - xcb_event.state = 0; - switch(event->type()) { - case QEvent::MouseButtonPress: - xcb_event.response_type = XCB_BUTTON_PRESS; - mask = XCB_EVENT_MASK_BUTTON_PRESS; - break; - case QEvent::MouseButtonRelease: - xcb_event.response_type = XCB_BUTTON_RELEASE; - mask = XCB_EVENT_MASK_BUTTON_RELEASE; - break; - default: - return; - } - - // convert Qt button to XCB button - switch(event->button()) { - case Qt::LeftButton: - xcb_event.detail = 1; - xcb_event.state |= XCB_BUTTON_MASK_1; - break; - case Qt::MiddleButton: - xcb_event.detail = 2; - xcb_event.state |= XCB_BUTTON_MASK_2; - break; - case Qt::RightButton: - xcb_event.detail = 3; - xcb_event.state |= XCB_BUTTON_MASK_3; - break; - default: - xcb_event.detail = 0; - } - - // convert Qt modifiers to XCB states - if(event->modifiers() & Qt::ShiftModifier) { - xcb_event.state |= XCB_MOD_MASK_SHIFT; - } - if(event->modifiers() & Qt::ControlModifier) { - xcb_event.state |= XCB_MOD_MASK_SHIFT; - } - if(event->modifiers() & Qt::AltModifier) { - xcb_event.state |= XCB_MOD_MASK_1; - } - - xcb_event.sequence = 0; - xcb_event.time = event->timestamp(); - - WId root = QX11Info::appRootWindow(QX11Info::appScreen()); - xcb_event.event = root; - xcb_event.root = root; - xcb_event.child = 0; - - xcb_event.root_x = event->globalX(); - xcb_event.root_y = event->globalY(); - xcb_event.event_x = event->x(); - xcb_event.event_y = event->y(); - xcb_event.same_screen = 1; - - xcb_send_event(QX11Info::connection(), 0, root, mask, (char*)&xcb_event); - xcb_flush(QX11Info::connection()); -} - -bool DesktopWindow::event(QEvent* event) { - switch(event->type()) { - case QEvent::WinIdChange: { - //qDebug() << "winid change:" << effectiveWinId(); - if(effectiveWinId() == 0) { - break; - } - // set freedesktop.org EWMH hints properly - if(QX11Info::isPlatformX11() && QX11Info::connection()) { - xcb_connection_t* con = QX11Info::connection(); - const char* atom_name = "_NET_WM_WINDOW_TYPE_DESKTOP"; - xcb_atom_t atom = xcb_intern_atom_reply(con, xcb_intern_atom(con, 0, strlen(atom_name), atom_name), nullptr)->atom; - const char* prop_atom_name = "_NET_WM_WINDOW_TYPE"; - xcb_atom_t prop_atom = xcb_intern_atom_reply(con, xcb_intern_atom(con, 0, strlen(prop_atom_name), prop_atom_name), nullptr)->atom; - xcb_atom_t XA_ATOM = 4; - xcb_change_property(con, XCB_PROP_MODE_REPLACE, effectiveWinId(), prop_atom, XA_ATOM, 32, 1, &atom); - } - break; - } -#undef FontChange // FontChange is defined in the headers of XLib and clashes with Qt, let's undefine it. - case QEvent::StyleChange: - case QEvent::FontChange: - queueRelayout(); - break; - - default: - break; - } - - return QWidget::event(event); -} - -#undef FontChange // this seems to be defined in Xlib headers as a macro, undef it! - -bool DesktopWindow::eventFilter(QObject* watched, QEvent* event) { - if(watched == listView_) { - switch(event->type()) { - case QEvent::StyleChange: - case QEvent::FontChange: - if(model_) { - queueRelayout(); - } - break; - default: - break; - } - } - else if(watched == listView_->viewport()) { - switch(event->type()) { - case QEvent::MouseButtonPress: - case QEvent::MouseButtonRelease: - if(showWmMenu_) { - QMouseEvent* e = static_cast(event); - // If we want to show the desktop menus provided by the window manager instead of ours, - // we have to forward the mouse events we received to the root window. - // check if the user click on blank area - QModelIndex index = listView_->indexAt(e->pos()); - if(!index.isValid() && e->button() != Qt::LeftButton) { - forwardMouseEventToRoot(e); - } - } - break; - case QEvent::Paint: - // NOTE: The drop indicator isn't drawn/updated automatically, perhaps, - // because we paint desktop ourself. So, we draw it here. - paintDropIndicator(); - break; - case QEvent::Wheel: - // removal of scrollbars is not enough to prevent scrolling - return true; - default: - break; - } - } - return Fm::FolderView::eventFilter(watched, event); -} - -void DesktopWindow::childDragMoveEvent(QDragMoveEvent* e) { - // see DesktopWindow::eventFilter for an explanation - QRect oldDropRect = dropRect_; - dropRect_ = QRect(); - QModelIndex dropIndex = listView_->indexAt(e->pos()); - if(dropIndex.isValid()) { - bool dragOnSelf = false; - if(e->source() == listView_ && e->keyboardModifiers() == Qt::NoModifier) { // drag source is desktop - QModelIndex curIndx = listView_->currentIndex(); - if(curIndx.isValid() && curIndx == dropIndex) { - dragOnSelf = true; - } - } - if(!dragOnSelf && dropIndex.model()) { - QVariant data = dropIndex.model()->data(dropIndex, Fm::FolderModel::Role::FileInfoRole); - auto info = data.value>(); - if(info && (info->isDir() || isTrashCan(info))) { - dropRect_ = listView_->rectForIndex(dropIndex); - } - } - } - if(oldDropRect != dropRect_) { - listView_->viewport()->update(); - } -} - -void DesktopWindow::paintDropIndicator() -{ - if(!dropRect_.isNull()) { - QPainter painter(listView_->viewport()); - QStyleOption opt; - opt.init(listView_->viewport()); - opt.rect = dropRect_; - style()->drawPrimitive(QStyle::PE_IndicatorItemViewItemDrop, &opt, &painter, listView_); - } -} - -void DesktopWindow::childDropEvent(QDropEvent* e) { - const QMimeData* mimeData = e->mimeData(); - bool moveItem = false; - QModelIndex curIndx = listView_->currentIndex(); - if(e->source() == listView_ && e->keyboardModifiers() == Qt::NoModifier) { - // drag source is our list view, and no other modifier keys are pressed - // => we're dragging desktop items - if(mimeData->hasFormat("application/x-qabstractitemmodeldatalist")) { - QModelIndex dropIndex = listView_->indexAt(e->pos()); - if(dropIndex.isValid() // drop on an item - && curIndx.isValid() && curIndx != dropIndex) { // not a drop on self - if(auto file = proxyModel_->fileInfoFromIndex(dropIndex)) { - if(!file->isDir()) { // drop on a non-directory file - // if the files are dropped on our Trash shortcut item, - // move them to Trash instead of moving them on desktop - if(isTrashCan(file)) { - auto paths = selectedFilePaths(); - if(!paths.empty()) { - e->accept(); - Settings& settings = static_cast(qApp)->settings(); - Fm::FileOperation::trashFiles(paths, settings.confirmTrash(), this); - // remove the drop indicator - dropRect_ = QRect(); - listView_->viewport()->update(); - return; - } - } - moveItem = true; - } - } - } - else { // drop on a blank area (maybe, between other items) - moveItem = true; - } - } - } - if(moveItem) { - auto screen = getDesktopScreen(); - if(screen == nullptr) { - return; - } - e->accept(); - // move selected items to the drop position, preserving their relative positions - const QPoint dropPos = e->pos(); - if(curIndx.isValid()) { - auto delegate = static_cast(listView_->itemDelegateForColumn(0)); - auto grid = delegate->itemSize(); - QRect workArea = screen->availableVirtualGeometry(); - workArea.adjust(WORK_AREA_MARGIN, WORK_AREA_MARGIN, -WORK_AREA_MARGIN, -WORK_AREA_MARGIN); - QPoint curPoint = listView_->visualRect(curIndx).topLeft(); - - // first move the current item to the drop position - auto file = proxyModel_->fileInfoFromIndex(curIndx); - if(file) { - QPoint pos = dropPos; - stickToPosition(file->name(), pos, workArea, grid); - } - - // then move the other items so that their relative postions are preserved - const QModelIndexList selected = selectedIndexes(); - for(const QModelIndex& indx : selected) { - if(indx == curIndx) { - continue; - } - file = proxyModel_->fileInfoFromIndex(indx); - if(file) { - QPoint nxtDropPos = dropPos + listView_->visualRect(indx).topLeft() - curPoint; - nxtDropPos.setX(qBound(workArea.left(), nxtDropPos.x(), workArea.right() + 1)); - nxtDropPos.setY(qBound(workArea.top(), nxtDropPos.y(), workArea.bottom() + 1)); - stickToPosition(file->name(), nxtDropPos, workArea, grid); - } - } - } - saveItemPositions(); - queueRelayout(); - } - else { - // remove the drop indicator - dropRect_ = QRect(); - listView_->viewport()->update(); - - // move items to Trash if they are dropped on Trash shortcut - QModelIndex dropIndex = listView_->indexAt(e->pos()); - if(dropIndex.isValid()) { - if(auto file = proxyModel_->fileInfoFromIndex(dropIndex)) { - if(isTrashCan(file)) { - if(mimeData->hasUrls()) { - Fm::FilePathList paths; - const QList urlList = mimeData->urls(); - for(const QUrl& url : urlList) { - QString uri = url.toDisplayString(); - if(!uri.isEmpty()) { - paths.push_back(Fm::FilePath::fromUri(uri.toStdString().c_str())); - } - } - if(!paths.empty()) { - e->accept(); - Settings& settings = static_cast(qApp)->settings(); - Fm::FileOperation::trashFiles(paths, settings.confirmTrash(), this); - return; - } - } - } - } - } - - Fm::FolderView::childDropEvent(e); - // position dropped items successively, starting with the drop rectangle - if(mimeData->hasUrls() - && (e->dropAction() == Qt::CopyAction - || e->dropAction() == Qt::MoveAction - || e->dropAction() == Qt::LinkAction)) { - auto screen = getDesktopScreen(); - if(screen == nullptr) { - return; - } - auto delegate = static_cast(listView_->itemDelegateForColumn(0)); - auto grid = delegate->itemSize(); - QRect workArea = screen->availableVirtualGeometry(); - workArea.adjust(WORK_AREA_MARGIN, WORK_AREA_MARGIN, -WORK_AREA_MARGIN, -WORK_AREA_MARGIN); - const QString desktopDir = XdgDir::readDesktopDir() + QString(QLatin1String("/")); - QPoint dropPos = e->pos(); - const QList urlList = mimeData->urls(); - bool reachedLastCell = false; - for(const QUrl& url : urlList) { - QString name = url.fileName(); - if(!name.isEmpty() - // don't stick to the position if there is an overwrite prompt - && !QFile::exists(desktopDir + name)) { - reachedLastCell = stickToPosition(name.toStdString(), dropPos, workArea, grid, reachedLastCell); - } - } - saveItemPositions(); - } - } -} - -// NOTE: This function positions items from top to bottom and left to right, -// starting from the drop point, and carries the existing sticky items with them, -// until it reaches the last cell and then puts the remaining items in the opposite -// direction. In this way, it creates a natural DND, especially with multiple files. -bool DesktopWindow::stickToPosition(const std::string& file, QPoint& pos, const QRect& workArea, const QSize& grid, bool reachedLastCell) { - // normalize the position, depending on the positioning direction - if(!reachedLastCell) { // default direction: top -> bottom, left -> right - - // put the drop point inside the work area to prevent unnatural jumps - if(pos.y() + grid.height() > workArea.bottom() + 1) { - pos.setY(workArea.bottom() + 1 - grid.height()); - } - if(pos.x() + grid.width() > workArea.right() + 1) { - pos.setX(workArea.right() + 1 - grid.width()); - } - pos.setX(qMax(workArea.left(), pos.x())); - pos.setY(qMax(workArea.top(), pos.y())); - - alignToGrid(pos, workArea.topLeft(), grid, listView_->spacing()); - } - else { // backward direction: bottom -> top, right -> left - if(pos.y() < workArea.top()) { - // reached the top; go to the left bottom - pos.setY(workArea.bottom() + 1 - grid.height()); - pos.setX(pos.x() - grid.width() - listView_->spacing()); - } - - alignToGrid(pos, workArea.topLeft(), grid, listView_->spacing()); - - if (pos.x() < workArea.left()) { - // there's no space to the left, which means that - // the work area is exhausted, so ignore stickiness - return reachedLastCell; - } - } - - // find if there is a sticky item at this position - std::string otherFile; - auto oldItem = std::find_if(customItemPos_.cbegin(), - customItemPos_.cend(), - [pos](const std::pair& elem) { - return elem.second == pos; - }); - if(oldItem != customItemPos_.cend()) { - otherFile = oldItem->first; - } - - // stick to the position - customItemPos_[file] = pos; - - // check whether we are in the last visible cell if it isn't reached already - if(!reachedLastCell - && pos.y() + 2 * grid.height() + listView_->spacing() > workArea.bottom() + 1 - && pos.x() + 2 * grid.width() + listView_->spacing() > workArea.right() + 1) { - reachedLastCell = true; - } - - // find the next position - if(reachedLastCell) { - // when this is the last visible cell, reverse the positioning direction - // to avoid off-screen items later - pos.setY(pos.y() - grid.height() - listView_->spacing()); - } - else { - // the last visible cell is not reached yet; go forward - if(pos.y() + 2 * grid.height() + listView_->spacing() > workArea.bottom() + 1) { - pos.setY(workArea.top()); - pos.setX(pos.x() + grid.width() + listView_->spacing()); - } - else { - pos.setY(pos.y() + grid.height() + listView_->spacing()); - } - } - - // if there was another sticky item at the same position, move it to the next position - if(!otherFile.empty() && otherFile != file) { - reachedLastCell = stickToPosition(otherFile, pos, workArea, grid, reachedLastCell); - } - - return reachedLastCell; -} - -void DesktopWindow::alignToGrid(QPoint& pos, const QPoint& topLeft, const QSize& grid, const int spacing) { - int w = (pos.x() - topLeft.x()) / (grid.width() + spacing); // can be negative with DND - int h = (pos.y() - topLeft.y()) / (grid.height() + spacing); // can be negative with DND - pos.setX(topLeft.x() + w * (grid.width() + spacing)); - pos.setY(topLeft.y() + h * (grid.height() + spacing)); -} - -void DesktopWindow::closeEvent(QCloseEvent* event) { - // prevent the desktop window from being closed. - event->ignore(); -} - -void DesktopWindow::paintEvent(QPaintEvent* event) { - paintBackground(event); - QWidget::paintEvent(event); -} - -void DesktopWindow::setScreenNum(int num) { - if(screenNum_ != num) { - screenNum_ = num; - queueRelayout(); - } -} - -QScreen* DesktopWindow::getDesktopScreen() const { - QScreen* desktopScreen = nullptr; - if(screenNum_ == -1) { - desktopScreen = qApp->primaryScreen(); - } - else { - const auto allScreens = qApp->screens(); - if(allScreens.size() > screenNum_) { - desktopScreen = allScreens.at(screenNum_); - } - if(desktopScreen == nullptr && windowHandle()) { - desktopScreen = windowHandle()->screen(); - } - } - return desktopScreen; -} - -} // namespace PCManFM diff --git a/pcmanfm/desktopwindow.h b/pcmanfm/desktopwindow.h deleted file mode 100644 index 477cf07..0000000 --- a/pcmanfm/desktopwindow.h +++ /dev/null @@ -1,195 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#ifndef PCMANFM_DESKTOPWINDOW_H -#define PCMANFM_DESKTOPWINDOW_H - -#include "view.h" -#include "launcher.h" -#include -#include - -#include -#include -#include -#include -#include -#include - -namespace Fm { -class CachedFolderModel; -class ProxyFolderModel; -class FolderViewListView; -} - -namespace PCManFM { - -class Settings; - -class DesktopWindow : public View { - Q_OBJECT -public: - friend class Application; - - enum WallpaperMode { - WallpaperNone, - WallpaperStretch, - WallpaperFit, - WallpaperCenter, - WallpaperTile, - WallpaperZoom - }; - - explicit DesktopWindow(int screenNum); - virtual ~DesktopWindow(); - - void setForeground(const QColor& color); - void setShadow(const QColor& color); - void setBackground(const QColor& color); - void setDesktopFolder(); - void setWallpaperFile(QString filename); - void setWallpaperMode(WallpaperMode mode = WallpaperStretch); - void setLastSlide(QString filename); - void setWallpaperDir(QString dirname); - void setSlideShowInterval(int interval); - void setWallpaperRandomize(bool randomize); - - // void setWallpaperAlpha(qreal alpha); - void updateWallpaper(); - bool pickWallpaper(); - void nextWallpaper(); - void updateFromSettings(Settings& settings, bool changeSlide = true); - - void queueRelayout(int delay = 0); - - int screenNum() const { - return screenNum_; - } - - void setScreenNum(int num); - - QScreen* getDesktopScreen() const; - -protected: - virtual void prepareFolderMenu(Fm::FolderMenu* menu) override; - virtual void prepareFileMenu(Fm::FileMenu* menu) override; - virtual void resizeEvent(QResizeEvent* event) override; - virtual void onFileClicked(int type, const std::shared_ptr& fileInfo) override; - - void loadItemPositions(); - void saveItemPositions(); - - QImage loadWallpaperFile(QSize requiredSize); - - virtual bool event(QEvent* event) override; - virtual bool eventFilter(QObject* watched, QEvent* event) override; - - virtual void childDragMoveEvent(QDragMoveEvent* e) override; - virtual void childDropEvent(QDropEvent* e) override; - virtual void closeEvent(QCloseEvent* event) override; - virtual void paintEvent(QPaintEvent* event) override; - -protected Q_SLOTS: - void onOpenDirRequested(const Fm::FilePath& path, int target); - void onDesktopPreferences(); - void selectAll(); - void toggleDesktop(); - - void onRowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); - void onRowsInserted(const QModelIndex& parent, int start, int end); - void onLayoutChanged(); - void onModelSortFilterChanged(); - void onDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); - void onFolderStartLoading(); - void onFolderFinishLoading(); - void onFilesAdded(const Fm::FileInfoList files); - - void relayoutItems(); - void onStickToCurrentPos(bool toggled); - - // void updateWorkArea(); - - // file operations - void onCutActivated(); - void onCopyActivated(); - void onCopyFullPathActivated(); - void onPasteActivated(); - void onRenameActivated(); - void onBulkRenameActivated(); - void onDeleteActivated(); - void onFilePropertiesActivated(); - - void updateTrashIcon(); - -private: - void removeBottomGap(); - void addDesktopActions(QMenu* menu); - void paintBackground(QPaintEvent* event); - void paintDropIndicator(); - bool stickToPosition(const std::string& file, QPoint& pos, const QRect& workArea, const QSize& grid, bool reachedLastCell = false); - static void alignToGrid(QPoint& pos, const QPoint& topLeft, const QSize& grid, const int spacing); - - void updateShortcutsFromSettings(Settings& settings); - void createTrashShortcut(int items); - void createHomeShortcut(); - void createComputerShortcut(); - void createNetworkShortcut(); - - void createTrash(); - static void onTrashChanged(GFileMonitor* monitor, GFile* gf, GFile* other, GFileMonitorEvent evt, DesktopWindow* pThis); - void trustOurDesktopShortcut(std::shared_ptr file); - bool isTrashCan(std::shared_ptr file); - -private: - Fm::ProxyFolderModel* proxyModel_; - Fm::CachedFolderModel* model_; - std::shared_ptr folder_; - Fm::FolderViewListView* listView_; - - QColor fgColor_; - QColor bgColor_; - QColor shadowColor_; - QString wallpaperFile_; - WallpaperMode wallpaperMode_; - QString lastSlide_; - QString wallpaperDir_; - int slideShowInterval_; - QTimer* wallpaperTimer_; - bool wallpaperRandomize_; - QPixmap wallpaperPixmap_; - Launcher fileLauncher_; - bool showWmMenu_; - bool desktopHideItems_; - - int screenNum_; - std::unordered_map customItemPos_; - QHash displayNames_; // only for desktop entries and shortcuts - QTimer* relayoutTimer_; - QTimer* selectionTimer_; - - QRect dropRect_; - - QTimer* trashUpdateTimer_; - GFileMonitor* trashMonitor_; -}; - -} - -#endif // PCMANFM_DESKTOPWINDOW_H diff --git a/pcmanfm/launcher.cpp b/pcmanfm/launcher.cpp deleted file mode 100644 index 14ec4c4..0000000 --- a/pcmanfm/launcher.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* - * - * Copyright (C) 2014 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - -#include "launcher.h" -#include "mainwindow.h" -#include "application.h" -#include - -namespace PCManFM { - -Launcher::Launcher(PCManFM::MainWindow* mainWindow): - Fm::FileLauncher(), - mainWindow_(mainWindow) { - - Application* app = static_cast(qApp); - setQuickExec(app->settings().quickExec()); -} - -Launcher::~Launcher() { - -} - -bool Launcher::openFolder(GAppLaunchContext* /*ctx*/, const Fm::FileInfoList& folderInfos, Fm::GErrorPtr& /*err*/) { - auto fi = folderInfos[0]; - Application* app = static_cast(qApp); - MainWindow* mainWindow = mainWindow_; - Fm::FilePath path = fi->path(); - if(!mainWindow) { - mainWindow = new MainWindow(std::move(path)); - mainWindow->resize(app->settings().windowWidth(), app->settings().windowHeight()); - - if(app->settings().windowMaximized()) { - mainWindow->setWindowState(mainWindow->windowState() | Qt::WindowMaximized); - } - } - else { - mainWindow->chdir(std::move(path)); - } - - for(size_t i = 1; i < folderInfos.size(); ++i) { - fi = folderInfos[i]; - path = fi->path(); - mainWindow->addTab(std::move(path)); - } - mainWindow->show(); - mainWindow->raise(); - return true; -} - -} //namespace PCManFM diff --git a/pcmanfm/launcher.h b/pcmanfm/launcher.h deleted file mode 100644 index 7e0119c..0000000 --- a/pcmanfm/launcher.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Copyright (C) 2014 - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - -#ifndef PCMANFM_LAUNCHER_H -#define PCMANFM_LAUNCHER_H - -#include - -namespace PCManFM { - -class MainWindow; - -class Launcher : public Fm::FileLauncher { -public: - Launcher(MainWindow* mainWindow = nullptr); - ~Launcher(); - -protected: - bool openFolder(GAppLaunchContext* ctx, const Fm::FileInfoList& folderInfos, Fm::GErrorPtr& err) override; - -private: - MainWindow* mainWindow_; -}; - -} - -#endif // PCMANFM_LAUNCHER_H diff --git a/pcmanfm/main-win.ui b/pcmanfm/main-win.ui deleted file mode 100644 index 4f14c4a..0000000 --- a/pcmanfm/main-win.ui +++ /dev/null @@ -1,878 +0,0 @@ - - - MainWindow - - - - 0 - 0 - 460 - 369 - - - - File Manager - - - - .. - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Qt::Horizontal - - - - - 0 - 0 - - - - - - Qt::Horizontal - - - - - - - - - - 0 - 0 - 460 - 30 - - - - Qt::PreventContextMenu - - - - &File - - - - C&reate New - - - - - - - - - - - - - - - - - - &Help - - - - - - &View - - - - &Sorting - - - - - - - - - - - - - - - - - &View - - - - - - - - - - &Toolbars - - - - - - - Path &Bar - - - - - - - &Filtering - - - - - - - - - - - - - - - - - - - - &Edit - - - - - - - - - - - - - - - - - - &Bookmarks - - - - - - - &Go - - - - - - - - - - - - - - - - - &Tool - - - - - - - - - - - - - - - - - - Qt::PreventContextMenu - - - Main Toolbar - - - false - - - false - - - TopToolBarArea - - - false - - - - - - - - - - - - - - - - - - - .. - - - Go &Up - - - Go Up - - - Alt+Up - - - - - - .. - - - &Home - - - Alt+Home - - - - - - .. - - - &Reload - - - F5 - - - - - - .. - - - Go - - - - - - .. - - - Quit - - - - - - .. - - - &About - - - - - - .. - - - &New Window - - - New Window - - - Ctrl+N - - - - - true - - - Show &Hidden - - - Ctrl+H - - - - - - .. - - - &Computer - - - - - - .. - - - &Trash - - - - - &Network - - - - - - .. - - - &Desktop - - - - - - .. - - - &Add to Bookmarks - - - - - &Applications - - - - - Reload - - - - - true - - - &Icon View - - - - - true - - - &Compact View - - - - - true - - - &Detailed List - - - - - true - - - &Thumbnail View - - - - - - .. - - - Cu&t - - - Ctrl+X - - - - - - .. - - - &Copy - - - Ctrl+C - - - - - - .. - - - &Paste - - - Ctrl+V - - - - - Select &All - - - Ctrl+A - - - - - Pr&eferences - - - - - true - - - &Ascending - - - - - true - - - &Descending - - - - - true - - - &By File Name - - - - - true - - - By &Modification Time - - - - - true - - - By File &Type - - - - - true - - - By &Owner - - - - - true - - - By &Group - - - - - true - - - &Folder First - - - - - true - - - &Preserve sorting for this folder - - - - - - .. - - - New &Tab - - - New Tab - - - Ctrl+T - - - - - - .. - - - Go &Back - - - Go Back - - - Alt+Left - - - - - - .. - - - Go &Forward - - - Go Forward - - - Alt+Right - - - - - &Invert Selection - - - - - - .. - - - &Delete - - - Del - - - - - &Rename - - - F2 - - - - - C&lose Tab - - - Ctrl+W - - - - - File &Properties - - - Alt+Return - - - - - &Folder Properties - - - - - true - - - &Case Sensitive - - - - - true - - - By File &Size - - - - - &Close Window - - - Ctrl+Q - - - - - Edit Bookmarks - - - - - Open &Terminal - - - F4 - - - - - Open as &Root - - - - - &Edit Bookmarks - - - - - - .. - - - &Folder - - - Ctrl+Shift+N - - - - - - .. - - - &Blank File - - - Ctrl+Alt+N - - - - - &Find Files - - - F3 - - - - - true - - - Permanent &filter bar - - - Ctrl+B - - - - - &Clear All Filters - - - Ctrl+Shift+K - - - - - - .. - - - Close &previous tabs - - - - - - .. - - - Close &next tabs - - - - - Close &other tabs - - - - - true - - - &Menu bar - - - Menu bar - - - Ctrl+M - - - - - - .. - - - Menu - - - Menu - - - - - true - - - &Preserve Settings for This Folder - - - - - Connect to &Server - - - - - true - - - &Location - - - - - true - - - &Path Buttons - - - - - &Bulk Rename - - - Bulk Rename - - - Ctrl+F2 - - - - - &Show/Focus Filter Bar - - - Show Filter Bar - - - Ctrl+I - - - - - true - - - S&plit View - - - Split View - - - F6 - - - - - &Copy Full Path - - - Ctrl+Shift+C - - - - - - PCManFM::StatusBar - QStatusBar -
statusbar.h
- 1 -
- - Fm::SidePane - QWidget -
libfm-qt/sidepane.h
- 1 -
-
- - -
diff --git a/pcmanfm/mainwindow.cpp b/pcmanfm/mainwindow.cpp deleted file mode 100644 index 6f3b09f..0000000 --- a/pcmanfm/mainwindow.cpp +++ /dev/null @@ -1,1969 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#include "mainwindow.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "tabpage.h" -#include "launcher.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "ui_about.h" -#include "application.h" -#include "bulkrename.h" - -using namespace Fm; - -namespace PCManFM { - -ViewFrame::ViewFrame(QWidget* parent): - QFrame(parent), - topBar_(nullptr) { - QVBoxLayout* vBox = new QVBoxLayout; - vBox->setContentsMargins(0, 0, 0, 0); - - tabBar_ = new TabBar; - tabBar_->setFocusPolicy(Qt::NoFocus); - stackedWidget_ = new QStackedWidget; - vBox->addWidget(tabBar_); - vBox->addWidget(stackedWidget_, 1); - setLayout(vBox); - - // tabbed browsing interface - tabBar_->setDocumentMode(true); - tabBar_->setElideMode(Qt::ElideRight); - tabBar_->setExpanding(false); - tabBar_->setMovable(true); // reorder the tabs by dragging -#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) - // switch to the tab under the cursor during dnd. - tabBar_->setChangeCurrentOnDrag(true); - tabBar_->setAcceptDrops(true); -#endif - tabBar_->setContextMenuPolicy(Qt::CustomContextMenu); -} - -void ViewFrame::createTopBar(bool usePathButtons) { - if(QVBoxLayout* vBox = qobject_cast(layout())) { - if(usePathButtons) { - if (qobject_cast(topBar_)) { - delete topBar_; - topBar_ = nullptr; - } - if(topBar_ == nullptr) { - topBar_ = new Fm::PathBar(); - vBox->insertWidget(0, topBar_); - } - } - else { - if(qobject_cast(topBar_)) { - delete topBar_; - topBar_ = nullptr; - } - if(topBar_ == nullptr) { - topBar_ = new Fm::PathEdit(); - vBox->insertWidget(0, topBar_); - } - } - } -} - -void ViewFrame::removeTopBar() { - if(topBar_ != nullptr) { - if(QVBoxLayout* vBox = qobject_cast(layout())) { - vBox->removeWidget(topBar_); - delete topBar_; - topBar_ = nullptr; - } - } -} - -//====================================================================== - -// static -MainWindow* MainWindow::lastActive_ = nullptr; - -MainWindow::MainWindow(Fm::FilePath path): - QMainWindow(), - pathEntry_(nullptr), - pathBar_(nullptr), - bookmarks_{Fm::Bookmarks::globalInstance()}, - fileLauncher_(this), - rightClickIndex_(-1), - updatingViewMenu_(false), - menuSpacer_(nullptr), - activeViewFrame_(nullptr) { - - Settings& settings = static_cast(qApp)->settings(); - setAttribute(Qt::WA_DeleteOnClose); - // setup user interface - ui.setupUi(this); - - // add a warning label to the root instance - if(geteuid() == 0) { - QLabel *warningLabel = new QLabel(tr("Root Instance")); - warningLabel->setAlignment(Qt::AlignCenter); - warningLabel->setTextInteractionFlags(Qt::NoTextInteraction); - warningLabel->setStyleSheet(QLatin1String("QLabel {background-color: #7d0000; color: white; font-weight:bold; border-radius: 3px; margin: 2px; padding: 5px;}")); - ui.verticalLayout->addWidget(warningLabel); - ui.verticalLayout->setStretch(0, 1); - } - - splitView_ = settings.splitView(); - - // hide menu items that are not usable - //if(!uriExists("computer:///")) - // ui.actionComputer->setVisible(false); - if(!settings.supportTrash()) { - ui.actionTrash->setVisible(false); - } - - // add a context menu for showing browse history to back and forward buttons - QToolButton* forwardButton = static_cast(ui.toolBar->widgetForAction(ui.actionGoForward)); - forwardButton->setContextMenuPolicy(Qt::CustomContextMenu); - connect(forwardButton, &QToolButton::customContextMenuRequested, this, &MainWindow::onBackForwardContextMenu); - QToolButton* backButton = static_cast(ui.toolBar->widgetForAction(ui.actionGoBack)); - backButton->setContextMenuPolicy(Qt::CustomContextMenu); - connect(backButton, &QToolButton::customContextMenuRequested, this, &MainWindow::onBackForwardContextMenu); - - connect(ui.actionCloseRight, &QAction::triggered, this, &MainWindow::closeRightTabs); - connect(ui.actionCloseLeft, &QAction::triggered, this, &MainWindow::closeLeftTabs); - connect(ui.actionCloseOther, &QAction::triggered, this, &MainWindow::closeOtherTabs); - - ui.actionFilter->setChecked(settings.showFilter()); - - // side pane - ui.sidePane->setIconSize(QSize(settings.sidePaneIconSize(), settings.sidePaneIconSize())); - ui.sidePane->setMode(settings.sidePaneMode()); - ui.sidePane->restoreHiddenPlaces(settings.getHiddenPlaces()); - connect(ui.sidePane, &Fm::SidePane::chdirRequested, this, &MainWindow::onSidePaneChdirRequested); - connect(ui.sidePane, &Fm::SidePane::openFolderInNewWindowRequested, this, &MainWindow::onSidePaneOpenFolderInNewWindowRequested); - connect(ui.sidePane, &Fm::SidePane::openFolderInNewTabRequested, this, &MainWindow::onSidePaneOpenFolderInNewTabRequested); - connect(ui.sidePane, &Fm::SidePane::openFolderInTerminalRequested, this, &MainWindow::onSidePaneOpenFolderInTerminalRequested); - connect(ui.sidePane, &Fm::SidePane::createNewFolderRequested, this, &MainWindow::onSidePaneCreateNewFolderRequested); - connect(ui.sidePane, &Fm::SidePane::modeChanged, this, &MainWindow::onSidePaneModeChanged); - connect(ui.sidePane, &Fm::SidePane::hiddenPlaceSet, this, &MainWindow::onSettingHiddenPlace); - - // detect change of splitter position - connect(ui.splitter, &QSplitter::splitterMoved, this, &MainWindow::onSplitterMoved); - - // add filesystem info to status bar - fsInfoLabel_ = new QLabel(ui.statusbar); - ui.statusbar->addPermanentWidget(fsInfoLabel_); - - // setup the splitter - ui.splitter->setStretchFactor(1, 1); // only the right pane can be stretched - QList sizes; - sizes.append(settings.splitterPos()); - sizes.append(300); - ui.splitter->setSizes(sizes); - - // load bookmark menu - connect(bookmarks_.get(), &Fm::Bookmarks::changed, this, &MainWindow::onBookmarksChanged); - loadBookmarksMenu(); - - // use generic icons for view actions only if theme icons don't exist - ui.actionIconView->setIcon(QIcon::fromTheme(QLatin1String("view-list-icons"), style()->standardIcon(QStyle::SP_FileDialogContentsView))); - ui.actionThumbnailView->setIcon(QIcon::fromTheme(QLatin1String("dialog-information"), style()->standardIcon(QStyle::SP_FileDialogInfoView))); - ui.actionCompactView->setIcon(QIcon::fromTheme(QLatin1String("view-list-text"), style()->standardIcon(QStyle::SP_FileDialogListView))); - ui.actionDetailedList->setIcon(QIcon::fromTheme(QLatin1String("view-list-details"), style()->standardIcon(QStyle::SP_FileDialogDetailedView))); - - // Fix the menu groups which is not done by Qt designer - // To my suprise, this was supported in Qt designer 3 :-( - QActionGroup* group = new QActionGroup(ui.menu_View); - group->setExclusive(true); - group->addAction(ui.actionIconView); - group->addAction(ui.actionCompactView); - group->addAction(ui.actionThumbnailView); - group->addAction(ui.actionDetailedList); - - group = new QActionGroup(ui.menuSorting); - group->setExclusive(true); - group->addAction(ui.actionByFileName); - group->addAction(ui.actionByMTime); - group->addAction(ui.actionByFileSize); - group->addAction(ui.actionByFileType); - group->addAction(ui.actionByOwner); - group->addAction(ui.actionByGroup); - - group = new QActionGroup(ui.menuSorting); - group->setExclusive(true); - group->addAction(ui.actionAscending); - group->addAction(ui.actionDescending); - - group = new QActionGroup(ui.menuPathBarStyle); - group->setExclusive(true); - group->addAction(ui.actionLocationBar); - group->addAction(ui.actionPathButtons); - - // Add menubar actions to the main window this is necessary so that actions - // shortcuts are still working when the menubar is hidden. - addActions(ui.menubar->actions()); - - // Show or hide the menu bar - QMenu* menu = new QMenu(ui.toolBar); - menu->addMenu(ui.menu_File); - menu->addMenu(ui.menu_Edit); - menu->addMenu(ui.menu_View); - menu->addMenu(ui.menu_Go); - menu->addMenu(ui.menu_Bookmarks); - menu->addMenu(ui.menu_Tool); - menu->addMenu(ui.menu_Help); - ui.actionMenu->setMenu(menu); - if(ui.actionMenu->icon().isNull()) { - ui.actionMenu->setIcon(QIcon::fromTheme("applications-system")); - } - QToolButton* menuBtn = static_cast(ui.toolBar->widgetForAction(ui.actionMenu)); - menuBtn->setPopupMode(QToolButton::InstantPopup); - - menuSep_ = ui.toolBar->insertSeparator(ui.actionMenu); - menuSep_->setVisible(!settings.showMenuBar() && !splitView_); - ui.actionMenu->setVisible(!settings.showMenuBar()); - ui.menubar->setVisible(settings.showMenuBar()); - ui.actionMenu_bar->setChecked(settings.showMenuBar()); - connect(ui.actionMenu_bar, &QAction::triggered, this, &MainWindow::toggleMenuBar); - - // create shortcuts - QShortcut* shortcut; - shortcut = new QShortcut(QKeySequence(Qt::Key_Escape), this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::onResetFocus); - - shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_L), this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::focusPathEntry); - - shortcut = new QShortcut(Qt::ALT + Qt::Key_D, this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::focusPathEntry); - - shortcut = new QShortcut(Qt::CTRL + Qt::Key_Tab, this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::onShortcutNextTab); - - shortcut = new QShortcut(Qt::CTRL + Qt::SHIFT + Qt::Key_Tab, this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::onShortcutPrevTab); - - // Add Ctrl+PgUp and Ctrl+PgDown as well, because they are common in Firefox - // , Opera, Google Chromium/Google Chrome and most other tab-using - // applications. - shortcut = new QShortcut(Qt::CTRL + Qt::Key_PageDown, this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::onShortcutNextTab); - - shortcut = new QShortcut(Qt::CTRL + Qt::Key_PageUp, this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::onShortcutPrevTab); - - int i; - for(i = 0; i < 10; ++i) { - shortcut = new QShortcut(QKeySequence(Qt::ALT + Qt::Key_0 + i), this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::onShortcutJumpToTab); - - shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_0 + i), this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::onShortcutJumpToTab); - } - - shortcut = new QShortcut(QKeySequence(Qt::Key_Backspace), this); - connect(shortcut, &QShortcut::activated, [this, &settings] { - // pass Backspace to current page if it has a visible, transient filter-bar - if(!settings.showFilter() && currentPage() && currentPage()->isFilterBarVisible()) { - currentPage()->backspacePressed(); - return; - } - on_actionGoUp_triggered(); - }); - - shortcut = new QShortcut(QKeySequence(Qt::SHIFT + Qt::Key_Delete), this); - connect(shortcut, &QShortcut::activated, this, &MainWindow::on_actionDelete_triggered); - - // in addition to F3, for convenience - shortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_F), this); - connect(shortcut, &QShortcut::activated, ui.actionFindFiles, &QAction::trigger); - - addViewFrame(path); - if(splitView_) { - // put the menu button on the right (there's no path bar/entry on the toolbar) - QWidget* w = new QWidget(this); - w->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); - menuSpacer_ = ui.toolBar->insertWidget(ui.actionMenu, w); - - ui.actionSplitView->setChecked(true); - addViewFrame(path); - qApp->removeEventFilter(this); // precaution - qApp->installEventFilter(this); - } - else { - ui.actionSplitView->setChecked(false); - setAcceptDrops(true); // we want tab dnd in the simple mode - } - createPathBar(settings.pathBarButtons()); - - if(settings.pathBarButtons()) { - ui.actionPathButtons->setChecked(true); - } - else { - ui.actionLocationBar->setChecked(true); - } - - // size from settings - resize(settings.windowWidth(), settings.windowHeight()); - if(settings.rememberWindowSize() && settings.windowMaximized()) { - setWindowState(windowState() | Qt::WindowMaximized); - } - - if(QApplication::layoutDirection() == Qt::RightToLeft) { - setRTLIcons(true); - } -} - -MainWindow::~MainWindow() { -} - -// Activate a view frame appropriately and give a special style to the inactive one(s). -// NOTE: This function is called only with the split mode. -bool MainWindow::eventFilter(QObject* watched, QEvent* event) { - if(qobject_cast(watched)) { - if(event->type() == QEvent::FocusIn - // the event has happened inside the splitter - && ui.viewSplitter->isAncestorOf(qobject_cast(watched))) { - for(int i = 0; i < ui.viewSplitter->count(); ++i) { - if(ViewFrame* viewFrame = qobject_cast(ui.viewSplitter->widget(i))) { - if(viewFrame->isAncestorOf(qobject_cast(watched))) { - // a widget inside this view frame has gained focus; ensure the view is active - if(activeViewFrame_ != viewFrame) { - activeViewFrame_ = viewFrame; - updateUIForCurrentPage(false); // WARNING: never set focus here! - } - if(viewFrame->palette().color(QPalette::Base) - != qApp->palette().color(QPalette::Base)) { - viewFrame->setPalette(qApp->palette()); // restore the main palette - } - } - else if (viewFrame->palette().color(QPalette::Base) - == qApp->palette().color(QPalette::Base)) { - // Change the text and base palettes of an inactive view frame a little. - // NOTE: Style-sheets aren't used because they can interfere with QStyle. - QPalette palette = viewFrame->palette(); - QColor txtCol = palette.color(QPalette::Text); - txtCol.setAlphaF(txtCol.alphaF() * 0.7); - palette.setColor(QPalette::Text, txtCol); - palette.setColor(QPalette::WindowText, txtCol); // tabs - // the disabled text color of path-bars shouldn't change because it may be used by arrows - palette.setColor(QPalette::Active, QPalette::ButtonText, txtCol); - palette.setColor(QPalette::Inactive, QPalette::ButtonText, txtCol); - - // There are various ways of getting a distinct color near the base color - // but this one gives the best results with almost all palettes: - QColor baseCol = palette.color(QPalette::Base); - baseCol.setRgbF(0.9 * baseCol.redF() + 0.1 * txtCol.redF(), - 0.9 * baseCol.greenF() + 0.1 * txtCol.greenF(), - 0.9 * baseCol.blueF() + 0.1 * txtCol.blueF(), - baseCol.alphaF()); - palette.setColor(QPalette::Base, baseCol); - - viewFrame->setPalette(palette); - } - } - } - } - // Use the Tab key for switching between view frames - else if (event->type() == QEvent::KeyPress) { - if(QKeyEvent *ke = static_cast(event)) { - if(ke->key() == Qt::Key_Tab && ke->modifiers() == Qt::NoModifier) { - if(!qobject_cast(watched) // not during inline renaming - && ui.viewSplitter->isAncestorOf(qobject_cast(watched))) { - // wrap the focus - for(int i = 0; i < ui.viewSplitter->count(); ++i) { - if(ViewFrame* viewFrame = qobject_cast(ui.viewSplitter->widget(i))) { - if(activeViewFrame_ == viewFrame) { - int n = i < ui.viewSplitter->count() - 1 ? i + 1 : 0; - activeViewFrame_ = qobject_cast(ui.viewSplitter->widget(n)); - updateUIForCurrentPage(); // focuses the view and calls this function again - return true; - } - } - } - } - } - } - } - } - return QMainWindow::eventFilter(watched, event); -} - -void MainWindow::addViewFrame(const Fm::FilePath& path) { - ui.actionGo->setVisible(false); - Settings& settings = static_cast(qApp)->settings(); - ViewFrame* viewFrame = new ViewFrame(); - viewFrame->getTabBar()->setDetachable(!splitView_); // no tab DND with the split view - viewFrame->getTabBar()->setTabsClosable(settings.showTabClose()); - ui.viewSplitter->addWidget(viewFrame); // the splitter takes ownership of viewFrame - if(ui.viewSplitter->count() == 1) { - activeViewFrame_ = viewFrame; - } - else { // give equal widths to all view frames - QTimer::singleShot(0, this, [this] { - QList sizes; - for(int i = 0; i < ui.viewSplitter->count(); ++i) { - sizes << ui.viewSplitter->width() / ui.viewSplitter->count(); - } - ui.viewSplitter->setSizes(sizes); - }); - } - - connect(viewFrame->getTabBar(), &QTabBar::currentChanged, this, &MainWindow::onTabBarCurrentChanged); - connect(viewFrame->getTabBar(), &QTabBar::tabCloseRequested, this, &MainWindow::onTabBarCloseRequested); - connect(viewFrame->getTabBar(), &QTabBar::tabMoved, this, &MainWindow::onTabBarTabMoved); - connect(viewFrame->getTabBar(), &QTabBar::tabBarClicked, this, &MainWindow::onTabBarClicked); - connect(viewFrame->getTabBar(), &QTabBar::customContextMenuRequested, this, &MainWindow::tabContextMenu); - connect(viewFrame->getTabBar(), &TabBar::tabDetached, this, &MainWindow::detachTab); - connect(viewFrame->getStackedWidget(), &QStackedWidget::widgetRemoved, this, &MainWindow::onStackedWidgetWidgetRemoved); - - if(path) { - addTab(path, viewFrame); - } -} - -void MainWindow::on_actionSplitView_triggered(bool checked) { - if(splitView_ == checked) { - return; - } - Settings& settings = static_cast(qApp)->settings(); - splitView_ = checked; - settings.setSplitView(splitView_); - if(splitView_) { // split the view - // remove the path bar/entry from the toolbar - ui.actionGo->setVisible(false); - menuSep_->setVisible(false); - if(pathBar_ != nullptr) { - delete pathBar_; - pathBar_ = nullptr; - } - else if(pathEntry_ != nullptr) { - delete pathEntry_; - pathEntry_ = nullptr; - } - - // add a spacer before the menu action if not exisitng - if(menuSpacer_ == nullptr) { - QWidget* w = new QWidget(this); - w->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); - menuSpacer_ = ui.toolBar->insertWidget(ui.actionMenu, w); - } - menuSpacer_->setVisible(true); - - // disable tab DND - activeViewFrame_->getTabBar()->setDetachable(false); - setAcceptDrops(false); - - // add the current path to a new view frame - Fm::FilePath path; - TabPage* page = currentPage(); - if(page) { - path = page->path(); - } - addViewFrame(path); - qApp->removeEventFilter(this); // precaution - qApp->installEventFilter(this); - createPathBar(settings.pathBarButtons()); - - // reset the focus for the inactive view frame(s) to be styled by MainWindow::eventFilter() - if(page) { - page->folderView()->childView()->clearFocus(); - page->folderView()->childView()->setFocus(); - } - } - else { // remove splitting - menuSep_->setVisible(!settings.showMenuBar()); - qApp->removeEventFilter(this); - for(int i = 0; i < ui.viewSplitter->count(); ++i) { - if(ViewFrame* viewFrame = qobject_cast(ui.viewSplitter->widget(i))) { - if(viewFrame != activeViewFrame_) { - viewFrame->deleteLater(); // this may be called by onStackedWidgetWidgetRemoved() - } - } - } - - // enable tab DND - activeViewFrame_->getTabBar()->setDetachable(true); - setAcceptDrops(true); - - activeViewFrame_->removeTopBar(); - if(menuSpacer_ != nullptr) { - menuSpacer_->setVisible(false); - } - createPathBar(settings.pathBarButtons()); - } -} - -ViewFrame* MainWindow::viewFrameForTabPage(TabPage* page) { - if(page) { - if(QStackedWidget* sw = qobject_cast(page->parentWidget())) { - if(ViewFrame* viewFrame = qobject_cast(sw->parentWidget())) { - return viewFrame; - } - } - } - return nullptr; -} - -void MainWindow::chdir(Fm::FilePath path, ViewFrame* viewFrame) { - // wait until queued events are processed - QTimer::singleShot(0, viewFrame, [this, path, viewFrame] { - if(TabPage* page = currentPage(viewFrame)) { - page->chdir(path, true); - if(viewFrame == activeViewFrame_) { - updateUIForCurrentPage(); - } - else { - if(Fm::PathBar* pathBar = qobject_cast(viewFrame->getTopBar())) { - pathBar->setPath(page->path()); - } - else if(Fm::PathEdit* pathEntry = qobject_cast(viewFrame->getTopBar())) { - pathEntry->setText(page->pathName()); - } - } - } - }); -} - -void MainWindow::createPathBar(bool usePathButtons) { - // NOTE: Path bars/entries may be created after tab pages; so, their paths/texts should be set. - if(splitView_) { - for(int i = 0; i < ui.viewSplitter->count(); ++i) { - if(ViewFrame* viewFrame = qobject_cast(ui.viewSplitter->widget(i))) { - viewFrame->createTopBar(usePathButtons); - TabPage* curPage = currentPage(viewFrame); - if(Fm::PathBar* pathBar = qobject_cast(viewFrame->getTopBar())) { - connect(pathBar, &Fm::PathBar::chdir, this, &MainWindow::onPathBarChdir); - connect(pathBar, &Fm::PathBar::middleClickChdir, this, &MainWindow::onPathBarMiddleClickChdir); - connect(pathBar, &Fm::PathBar::editingFinished, this, &MainWindow::onResetFocus); - if(curPage) { - pathBar->setPath(curPage->path()); - } - } - else if(Fm::PathEdit* pathEntry = qobject_cast(viewFrame->getTopBar())) { - connect(pathEntry, &Fm::PathEdit::returnPressed, this, &MainWindow::onPathEntryReturnPressed); - if(curPage) { - pathEntry->setText(curPage->pathName()); - } - } - } - } - } - else { - QWidget* bar = nullptr; - TabPage* curPage = currentPage(); - if(usePathButtons) { - if(pathEntry_ != nullptr) { - delete pathEntry_; - pathEntry_ = nullptr; - } - if(pathBar_ == nullptr) { - bar = pathBar_ = new Fm::PathBar(this); - connect(pathBar_, &Fm::PathBar::chdir, this, &MainWindow::onPathBarChdir); - connect(pathBar_, &Fm::PathBar::middleClickChdir, this, &MainWindow::onPathBarMiddleClickChdir); - connect(pathBar_, &Fm::PathBar::editingFinished, this, &MainWindow::onResetFocus); - if(curPage) { - pathBar_->setPath(currentPage()->path()); - } - } - } - else { - if(pathBar_ != nullptr) { - delete pathBar_; - pathBar_ = nullptr; - } - if(pathEntry_ == nullptr) { - bar = pathEntry_ = new Fm::PathEdit(this); - connect(pathEntry_, &Fm::PathEdit::returnPressed, this, &MainWindow::onPathEntryReturnPressed); - if(curPage) { - pathEntry_->setText(curPage->pathName()); - } - } - } - if(bar != nullptr) { - ui.toolBar->insertWidget(ui.actionGo, bar); - ui.actionGo->setVisible(!usePathButtons); - } - } -} - -int MainWindow::addTabWithPage(TabPage* page, ViewFrame* viewFrame, Fm::FilePath path) { - if(page == nullptr || viewFrame == nullptr) { - return -1; - } - page->setFileLauncher(&fileLauncher_); - int index = viewFrame->getStackedWidget()->addWidget(page); - connect(page, &TabPage::titleChanged, this, &MainWindow::onTabPageTitleChanged); - connect(page, &TabPage::statusChanged, this, &MainWindow::onTabPageStatusChanged); - connect(page, &TabPage::openDirRequested, this, &MainWindow::onTabPageOpenDirRequested); - connect(page, &TabPage::sortFilterChanged, this, &MainWindow::onTabPageSortFilterChanged); - connect(page, &TabPage::backwardRequested, this, &MainWindow::on_actionGoBack_triggered); - connect(page, &TabPage::forwardRequested, this, &MainWindow::on_actionGoForward_triggered); - connect(page, &TabPage::folderUnmounted, this, &MainWindow::onFolderUnmounted); - - if(path) { - page->chdir(path, true); - } - viewFrame->getTabBar()->insertTab(index, page->windowTitle()); - - Settings& settings = static_cast(qApp)->settings(); - if(!settings.alwaysShowTabs()) { - viewFrame->getTabBar()->setVisible(viewFrame->getTabBar()->count() > 1); - } - return index; -} - -// add a new tab -int MainWindow::addTab(Fm::FilePath path, ViewFrame* viewFrame) { - TabPage* newPage = new TabPage(this); - return addTabWithPage(newPage, viewFrame, path); -} - -void MainWindow::toggleMenuBar(bool /*checked*/) { - Settings& settings = static_cast(qApp)->settings(); - bool showMenuBar = !settings.showMenuBar(); - - if(!showMenuBar) { - if(QMessageBox::Cancel == QMessageBox::warning(this, - tr("Hide menu bar"), - tr("This will hide the menu bar completely, use Ctrl+M to show it again."), - QMessageBox::Ok | QMessageBox::Cancel)) { - ui.actionMenu_bar->setChecked(true); - return; - } - } - - ui.menubar->setVisible(showMenuBar); - ui.actionMenu_bar->setChecked(showMenuBar); - menuSep_->setVisible(!showMenuBar); - ui.actionMenu->setVisible(!showMenuBar); - settings.setShowMenuBar(showMenuBar); -} - -void MainWindow::onPathEntryReturnPressed() { - Fm::PathEdit* pathEntry = pathEntry_; - if(pathEntry == nullptr) { - pathEntry = static_cast(sender()); - } - if(pathEntry != nullptr) { - QString text = pathEntry->text(); - QByteArray utext = text.toLocal8Bit(); - chdir(Fm::FilePath::fromPathStr(utext.constData())); - } -} - -void MainWindow::onPathBarChdir(const Fm::FilePath& dirPath) { - TabPage* page = nullptr; - ViewFrame* viewFrame = nullptr; - if(pathBar_ != nullptr) { - page = currentPage(); - viewFrame = activeViewFrame_; - } - else { - Fm::PathBar* pathBar = static_cast(sender()); - viewFrame = qobject_cast(pathBar->parentWidget()); - if(viewFrame != nullptr) { - page = currentPage(viewFrame); - } - } - if(page && dirPath != page->path()) { - chdir(dirPath, viewFrame); - } -} - -void MainWindow::onPathBarMiddleClickChdir(const Fm::FilePath& dirPath) { - ViewFrame* viewFrame = nullptr; - if(pathBar_ != nullptr) { - viewFrame = activeViewFrame_; - } - else { - Fm::PathBar* pathBar = static_cast(sender()); - viewFrame = qobject_cast(pathBar->parentWidget()); - } - if(viewFrame) { - addTab(dirPath, viewFrame); - } -} - -void MainWindow::on_actionGoUp_triggered() { - QTimer::singleShot(0, this, [this] { - if(TabPage* page = currentPage()) { - page->up(); - updateUIForCurrentPage(); - } - }); -} - -void MainWindow::on_actionGoBack_triggered() { - QTimer::singleShot(0, this, [this] { - if(TabPage* page = currentPage()) { - page->backward(); - updateUIForCurrentPage(); - } - }); -} - -void MainWindow::on_actionGoForward_triggered() { - QTimer::singleShot(0, this, [this] { - if(TabPage* page = currentPage()) { - page->forward(); - updateUIForCurrentPage(); - } - }); - -} - -void MainWindow::on_actionHome_triggered() { - chdir(Fm::FilePath::homeDir()); -} - -void MainWindow::on_actionReload_triggered() { - currentPage()->reload(); - if(pathEntry_ != nullptr) { - pathEntry_->setText(currentPage()->pathName()); - } -} - -void MainWindow::on_actionConnectToServer_triggered() { - Application* app = static_cast(qApp); - app->connectToServer(); -} - -void MainWindow::on_actionGo_triggered() { - onPathEntryReturnPressed(); -} - -void MainWindow::on_actionNewTab_triggered() { - auto path = currentPage()->path(); - int index = addTab(path); - activeViewFrame_->getTabBar()->setCurrentIndex(index); -} - -void MainWindow::on_actionNewWin_triggered() { - auto path = currentPage()->path(); - (new MainWindow(path))->show(); -} - -void MainWindow::on_actionNewFolder_triggered() { - if(TabPage* tabPage = currentPage()) { - auto dirPath = tabPage->folderView()->path(); - if(dirPath) { - createFileOrFolder(CreateNewFolder, dirPath, nullptr, this); - } - } -} - -void MainWindow::on_actionNewBlankFile_triggered() { - if(TabPage* tabPage = currentPage()) { - auto dirPath = tabPage->folderView()->path(); - if(dirPath) { - createFileOrFolder(CreateNewTextFile, dirPath, nullptr, this); - } - } -} - -void MainWindow::on_actionCloseTab_triggered() { - closeTab(activeViewFrame_->getTabBar()->currentIndex()); -} - -void MainWindow::on_actionCloseWindow_triggered() { - // FIXME: should we save state here? - close(); - // the window will be deleted automatically on close -} - -void MainWindow::on_actionFileProperties_triggered() { - TabPage* page = currentPage(); - if(page) { - auto files = page->selectedFiles(); - if(!files.empty()) { - Fm::FilePropsDialog::showForFiles(files); - } - } -} - -void MainWindow::on_actionFolderProperties_triggered() { - TabPage* page = currentPage(); - if(page) { - auto folder = page->folder(); - if(folder) { - auto info = folder->info(); - if(info) { - Fm::FilePropsDialog::showForFile(info); - } - } - } -} - -void MainWindow::on_actionShowHidden_triggered(bool checked) { - currentPage()->setShowHidden(checked); - ui.sidePane->setShowHidden(checked); -} - -void MainWindow::on_actionByFileName_triggered(bool /*checked*/) { - currentPage()->sort(Fm::FolderModel::ColumnFileName, currentPage()->sortOrder()); -} - -void MainWindow::on_actionByMTime_triggered(bool /*checked*/) { - currentPage()->sort(Fm::FolderModel::ColumnFileMTime, currentPage()->sortOrder()); -} - -void MainWindow::on_actionByOwner_triggered(bool /*checked*/) { - currentPage()->sort(Fm::FolderModel::ColumnFileOwner, currentPage()->sortOrder()); -} - -void MainWindow::on_actionByGroup_triggered(bool /*checked*/) { - currentPage()->sort(Fm::FolderModel::ColumnFileGroup, currentPage()->sortOrder()); -} - -void MainWindow::on_actionByFileSize_triggered(bool /*checked*/) { - currentPage()->sort(Fm::FolderModel::ColumnFileSize, currentPage()->sortOrder()); -} - -void MainWindow::on_actionByFileType_triggered(bool /*checked*/) { - currentPage()->sort(Fm::FolderModel::ColumnFileType, currentPage()->sortOrder()); -} - -void MainWindow::on_actionAscending_triggered(bool /*checked*/) { - currentPage()->sort(currentPage()->sortColumn(), Qt::AscendingOrder); -} - -void MainWindow::on_actionDescending_triggered(bool /*checked*/) { - currentPage()->sort(currentPage()->sortColumn(), Qt::DescendingOrder); -} - -void MainWindow::on_actionCaseSensitive_triggered(bool checked) { - currentPage()->setSortCaseSensitive(checked); -} - -void MainWindow::on_actionFolderFirst_triggered(bool checked) { - currentPage()->setSortFolderFirst(checked); -} - -void MainWindow::on_actionPreserveView_triggered(bool /*checked*/) { - TabPage* page = currentPage(); - page->setCustomizedView(!page->hasCustomizedView()); -} - -void MainWindow::on_actionFilter_triggered(bool checked) { - static_cast(qApp)->settings().setShowFilter(checked); - // show/hide filter-bars and disable/enable their transience for all tabs - // (of all view frames) in all windows because this is a global setting - QWidgetList windows = static_cast(qApp)->topLevelWidgets(); - QWidgetList::iterator it; - for(it = windows.begin(); it != windows.end(); ++it) { - QWidget* window = *it; - if(window->inherits("PCManFM::MainWindow")) { - MainWindow* mainWindow = static_cast(window); - mainWindow->ui.actionFilter->setChecked(checked); // doesn't call this function - for(int i = 0; i < mainWindow->ui.viewSplitter->count(); ++i) { - if(ViewFrame* viewFrame = qobject_cast(mainWindow->ui.viewSplitter->widget(i))) { - int n = viewFrame->getStackedWidget()->count(); - for(int j = 0; j < n; ++j) { - if(TabPage* page = static_cast(viewFrame->getStackedWidget()->widget(j))) { - page->transientFilterBar(!checked); - } - } - } - } - } - } -} - -void MainWindow::on_actionUnfilter_triggered() { - // clear filters for all tabs (of all view frames) - for(int i = 0; i < ui.viewSplitter->count(); ++i) { - if(ViewFrame* viewFrame = qobject_cast(ui.viewSplitter->widget(i))) { - int n = viewFrame->getStackedWidget()->count(); - for(int j = 0; j < n; ++j) { - if(TabPage* page = static_cast(viewFrame->getStackedWidget()->widget(j))) { - page->clearFilter(); - } - } - } - } -} - -void MainWindow::on_actionShowFilter_triggered() { - if(TabPage* page = currentPage()) { - page->showFilterBar(); - } -} - -void MainWindow::on_actionLocationBar_triggered(bool checked) { - if(checked) { - // show current path in a location bar entry - createPathBar(false); - static_cast(qApp)->settings().setPathBarButtons(false); - } -} - -void MainWindow::on_actionPathButtons_triggered(bool checked) { - if(checked) { - // show current path as buttons - createPathBar(true); - static_cast(qApp)->settings().setPathBarButtons(true); - } -} - -void MainWindow::on_actionComputer_triggered() { - chdir(Fm::FilePath::fromUri("computer:///")); -} - -void MainWindow::on_actionApplications_triggered() { - chdir(Fm::FilePath::fromUri("menu://applications/")); -} - -void MainWindow::on_actionTrash_triggered() { - chdir(Fm::FilePath::fromUri("trash:///")); -} - -void MainWindow::on_actionNetwork_triggered() { - chdir(Fm::FilePath::fromUri("network:///")); -} - -void MainWindow::on_actionDesktop_triggered() { - auto desktop = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation).toLocal8Bit(); - chdir(Fm::FilePath::fromLocalPath(desktop.constData())); -} - -void MainWindow::on_actionAddToBookmarks_triggered() { - TabPage* page = currentPage(); - if(page) { - auto cwd = page->path(); - if(cwd) { - auto dispName = cwd.baseName(); - bookmarks_->insert(cwd, dispName.get(), -1); - } - } -} - -void MainWindow::on_actionEditBookmarks_triggered() { - Application* app = static_cast(qApp); - app->editBookmarks(); -} - -void MainWindow::on_actionAbout_triggered() { - // the about dialog - class AboutDialog : public QDialog { - public: - explicit AboutDialog(QWidget* parent = 0, Qt::WindowFlags f = 0) : QDialog(parent, f) { - ui.setupUi(this); - ui.version->setText(tr("Version: %1").arg(PCMANFM_QT_VERSION)); - } - private: - Ui::AboutDialog ui; - }; - AboutDialog dialog(this); - dialog.exec(); -} - -void MainWindow::on_actionIconView_triggered() { - currentPage()->setViewMode(Fm::FolderView::IconMode); -} - -void MainWindow::on_actionCompactView_triggered() { - currentPage()->setViewMode(Fm::FolderView::CompactMode); -} - -void MainWindow::on_actionDetailedList_triggered() { - currentPage()->setViewMode(Fm::FolderView::DetailedListMode); -} - -void MainWindow::on_actionThumbnailView_triggered() { - currentPage()->setViewMode(Fm::FolderView::ThumbnailMode); -} - -void MainWindow::onTabBarCloseRequested(int index) { - TabBar* tabBar = static_cast(sender()); - if(ViewFrame* viewFrame = qobject_cast(tabBar->parentWidget())) { - closeTab(index, viewFrame); - } -} - -void MainWindow::onResetFocus() { - if(TabPage* page = currentPage()) { - page->folderView()->childView()->setFocus(); - } -} - -void MainWindow::onTabBarTabMoved(int from, int to) { - TabBar* tabBar = static_cast(sender()); - if(ViewFrame* viewFrame = qobject_cast(tabBar->parentWidget())) { - // a tab in the tab bar is moved by the user, so we have to move the - // corredponding tab page in the stacked widget to the new position, too. - QWidget* page = viewFrame->getStackedWidget()->widget(from); - if(page) { - // we're not going to delete the tab page, so here we block signals - // to avoid calling the slot onStackedWidgetWidgetRemoved() before - // removing the page. Otherwise the page widget will be destroyed. - viewFrame->getStackedWidget()->blockSignals(true); - viewFrame->getStackedWidget()->removeWidget(page); - viewFrame->getStackedWidget()->insertWidget(to, page); // insert the page to the new position - viewFrame->getStackedWidget()->blockSignals(false); // unblock signals - viewFrame->getStackedWidget()->setCurrentWidget(page); - } - } -} - -void MainWindow::onFolderUnmounted() { - TabPage* tabPage = static_cast(sender()); - if(ViewFrame* viewFrame = viewFrameForTabPage(tabPage)) { - const QList ops = ui.sidePane->findChildren(); - if(ops.isEmpty()) { // unmounting is done somewhere else - Settings& settings = static_cast(qApp)->settings(); - if(settings.closeOnUnmount()) { - viewFrame->getStackedWidget()->removeWidget(tabPage); - // NOTE: Since Fm::Folder queues a folder reload after emitting the unmount signal, - // pending events may be waiting to be delivered at this very moment. Therefore, - // if the tab page is deleted immediately, a crash will be imminent for various reasons. - tabPage->deleteLater(); - } - else { - tabPage->chdir(Fm::FilePath::homeDir(), viewFrame); - updateUIForCurrentPage(); - } - } - else { // wait for all (un-)mount operations to be finished (otherwise, they might be cancelled) - for(const MountOperation* op : ops) { - connect(op, &QObject::destroyed, tabPage, [this, tabPage, viewFrame] { - if(ui.sidePane->findChildren().isEmpty()) { - Settings& settings = static_cast(qApp)->settings(); - if(settings.closeOnUnmount()) { - viewFrame->getStackedWidget()->removeWidget(tabPage); - tabPage->deleteLater(); - } - else { - tabPage->chdir(Fm::FilePath::homeDir(), viewFrame); - updateUIForCurrentPage(); - } - } - }); - } - } - } -} - -void MainWindow::closeTab(int index, ViewFrame* viewFrame) { - QWidget* page = viewFrame->getStackedWidget()->widget(index); - if(page) { - viewFrame->getStackedWidget()->removeWidget(page); // this does not delete the page widget - delete page; - // NOTE: we do not remove the tab here. - // it'll be done in onStackedWidgetWidgetRemoved() - } -} - -void MainWindow::resizeEvent(QResizeEvent* event) { - QMainWindow::resizeEvent(event); - Settings& settings = static_cast(qApp)->settings(); - if(settings.rememberWindowSize()) { - settings.setLastWindowMaximized(isMaximized()); - - if(!isMaximized()) { - settings.setLastWindowWidth(width()); - settings.setLastWindowHeight(height()); - } - } -} - -void MainWindow::closeEvent(QCloseEvent* event) { - if(lastActive_ == this) { - lastActive_ = nullptr; - } - - QWidget::closeEvent(event); - Settings& settings = static_cast(qApp)->settings(); - if(settings.rememberWindowSize()) { - settings.setLastWindowMaximized(isMaximized()); - - if(!isMaximized()) { - settings.setLastWindowWidth(width()); - settings.setLastWindowHeight(height()); - } - } -} - -void MainWindow::onTabBarCurrentChanged(int index) { - TabBar* tabBar = static_cast(sender()); - if(ViewFrame* viewFrame = qobject_cast(tabBar->parentWidget())) { - viewFrame->getStackedWidget()->setCurrentIndex(index); - if(viewFrame == activeViewFrame_) { - updateUIForCurrentPage(); - } - else { - if(TabPage* page = currentPage(viewFrame)) { - if(Fm::PathBar* pathBar = qobject_cast(viewFrame->getTopBar())) { - pathBar->setPath(page->path()); - } - else if(Fm::PathEdit* pathEntry = qobject_cast(viewFrame->getTopBar())) { - pathEntry->setText(page->pathName()); - } - } - } - } -} - -void MainWindow::updateStatusBarForCurrentPage() { - TabPage* tabPage = currentPage(); - QString text = tabPage->statusText(TabPage::StatusTextSelectedFiles); - if(text.isEmpty()) { - text = tabPage->statusText(TabPage::StatusTextNormal); - } - ui.statusbar->showMessage(text); - - text = tabPage->statusText(TabPage::StatusTextFSInfo); - fsInfoLabel_->setText(text); - fsInfoLabel_->setVisible(!text.isEmpty()); -} - -void MainWindow::updateViewMenuForCurrentPage() { - if(updatingViewMenu_) { // prevent recursive calls - return; - } - updatingViewMenu_ = true; - TabPage* tabPage = currentPage(); - if(tabPage) { - // update menus. FIXME: should we move this to another method? - ui.actionShowHidden->setChecked(tabPage->showHidden()); - ui.actionPreserveView->setChecked(tabPage->hasCustomizedView()); - - // view mode - QAction* modeAction = nullptr; - - switch(tabPage->viewMode()) { - case Fm::FolderView::IconMode: - modeAction = ui.actionIconView; - break; - - case Fm::FolderView::CompactMode: - modeAction = ui.actionCompactView; - break; - - case Fm::FolderView::DetailedListMode: - modeAction = ui.actionDetailedList; - break; - - case Fm::FolderView::ThumbnailMode: - modeAction = ui.actionThumbnailView; - break; - } - - Q_ASSERT(modeAction != nullptr); - modeAction->setChecked(true); - - // sort menu - QAction* sortActions[Fm::FolderModel::NumOfColumns]; - sortActions[Fm::FolderModel::ColumnFileName] = ui.actionByFileName; - sortActions[Fm::FolderModel::ColumnFileMTime] = ui.actionByMTime; - sortActions[Fm::FolderModel::ColumnFileSize] = ui.actionByFileSize; - sortActions[Fm::FolderModel::ColumnFileType] = ui.actionByFileType; - sortActions[Fm::FolderModel::ColumnFileOwner] = ui.actionByOwner; - sortActions[Fm::FolderModel::ColumnFileGroup] = ui.actionByGroup; - sortActions[tabPage->sortColumn()]->setChecked(true); - - if(tabPage->sortOrder() == Qt::AscendingOrder) { - ui.actionAscending->setChecked(true); - } - else { - ui.actionDescending->setChecked(true); - } - ui.actionCaseSensitive->setChecked(tabPage->sortCaseSensitive()); - ui.actionFolderFirst->setChecked(tabPage->sortFolderFirst()); - } - updatingViewMenu_ = false; -} - -// Update the enabled state of Edit actions for selected files -void MainWindow::updateEditSelectedActions() { - bool hasAccessible(false); - bool hasDeletable(false); - int renamable(0); - if(TabPage* page = currentPage()) { - auto files = page->selectedFiles(); - for(auto& file: files) { - if(file->isAccessible()) { - hasAccessible = true; - } - if(file->isDeletable()) { - hasDeletable = true; - } - if(file->canSetName()) { - ++renamable; - } - if (hasAccessible && hasDeletable && renamable > 1) { - break; - } - } - ui.actionCopyFullPath->setEnabled(files.size() == 1); - } - ui.actionCopy->setEnabled(hasAccessible); - ui.actionCut->setEnabled(hasDeletable); - ui.actionDelete->setEnabled(hasDeletable); - ui.actionRename->setEnabled(renamable > 0); - ui.actionBulkRename->setEnabled(renamable > 1); -} - -void MainWindow::updateUIForCurrentPage(bool setFocus) { - TabPage* tabPage = currentPage(); - - if(tabPage) { - setWindowTitle(tabPage->windowTitle()); - if(splitView_) { - if(Fm::PathBar* pathBar = qobject_cast(activeViewFrame_->getTopBar())) { - pathBar->setPath(tabPage->path()); - } - else if(Fm::PathEdit* pathEntry = qobject_cast(activeViewFrame_->getTopBar())) { - pathEntry->setText(tabPage->pathName()); - } - } - else { - if(pathEntry_ != nullptr) { - pathEntry_->setText(tabPage->pathName()); - } - else if(pathBar_ != nullptr) { - pathBar_->setPath(tabPage->path()); - } - } - ui.statusbar->showMessage(tabPage->statusText()); - fsInfoLabel_->setText(tabPage->statusText(TabPage::StatusTextFSInfo)); - if(setFocus) { - tabPage->folderView()->childView()->setFocus(); - } - - // update side pane - ui.sidePane->setCurrentPath(tabPage->path()); - ui.sidePane->setShowHidden(tabPage->showHidden()); - - // update back/forward/up toolbar buttons - ui.actionGoUp->setEnabled(tabPage->canUp()); - ui.actionGoBack->setEnabled(tabPage->canBackward()); - ui.actionGoForward->setEnabled(tabPage->canForward()); - - updateViewMenuForCurrentPage(); - updateStatusBarForCurrentPage(); - } - - // also update the enabled state of Edit actions - updateEditSelectedActions(); - bool isWritable(false); - if(tabPage && tabPage->folder()) { - if(auto info = tabPage->folder()->info()) { - isWritable = info->isWritable(); - } - } - ui.actionPaste->setEnabled(isWritable); -} - -void MainWindow::onStackedWidgetWidgetRemoved(int index) { - QStackedWidget* sw = static_cast(sender()); - if(ViewFrame* viewFrame = qobject_cast(sw->parentWidget())) { - // qDebug("onStackedWidgetWidgetRemoved: %d", index); - // need to remove associated tab from tabBar - viewFrame->getTabBar()->removeTab(index); - if(viewFrame->getTabBar()->count() == 0) { // this is the last one - if(!splitView_) { - deleteLater(); // destroy the whole window - // qDebug("delete window"); - } - else { - // if we are in the split mode and the last tab of a view frame is closed, - // remove that view frame and go to the simple mode - for(int i = 0; i < ui.viewSplitter->count(); ++i) { - // first find and activate the next view frame - if(ViewFrame* thisViewFrame = qobject_cast(ui.viewSplitter->widget(i))) { - if(thisViewFrame == viewFrame) { - int n = i < ui.viewSplitter->count() - 1 ? i + 1 : 0; - if(ViewFrame* nextViewFrame = qobject_cast(ui.viewSplitter->widget(n))) { - if(activeViewFrame_ != nextViewFrame) { - activeViewFrame_ = nextViewFrame; - updateUIForCurrentPage(); - // if the window isn't active, eventFilter() won't be called, - // so we should revert to the main palette here - if(activeViewFrame_->palette().color(QPalette::Base) - != qApp->palette().color(QPalette::Base)) { - activeViewFrame_->setPalette(qApp->palette()); - } - } - break; - } - } - } - } - ui.actionSplitView->setChecked(false); - on_actionSplitView_triggered(false); - } - } - else { - Settings& settings = static_cast(qApp)->settings(); - if(!settings.alwaysShowTabs() && viewFrame->getTabBar()->count() == 1) { - viewFrame->getTabBar()->setVisible(false); - } - } - } -} - -void MainWindow::onTabPageTitleChanged(QString title) { - TabPage* tabPage = static_cast(sender()); - if(ViewFrame* viewFrame = viewFrameForTabPage(tabPage)) { - int index = viewFrame->getStackedWidget()->indexOf(tabPage); - if(index >= 0) { - viewFrame->getTabBar()->setTabText(index, title); - } - - if(viewFrame == activeViewFrame_) { - if(tabPage == currentPage()) { - setWindowTitle(title); - - // Since TabPage::titleChanged is emitted on changing directory, - // the enabled state of Paste action should be updated here - bool isWritable(false); - if(tabPage && tabPage->folder()) { - if(auto info = tabPage->folder()->info()) { - isWritable = info->isWritable(); - } - } - ui.actionPaste->setEnabled(isWritable); - } - } - } -} - -void MainWindow::onTabPageStatusChanged(int type, QString statusText) { - TabPage* tabPage = static_cast(sender()); - if(tabPage == currentPage()) { - switch(type) { - case TabPage::StatusTextNormal: - case TabPage::StatusTextSelectedFiles: { - // although the status text may change very frequently, - // the text of PCManFM::StatusBar is updated with a delay - QString text = tabPage->statusText(TabPage::StatusTextSelectedFiles); - if(text.isEmpty()) { - ui.statusbar->showMessage(tabPage->statusText(TabPage::StatusTextNormal)); - } - else { - ui.statusbar->showMessage(text); - } - break; - } - case TabPage::StatusTextFSInfo: - fsInfoLabel_->setText(tabPage->statusText(TabPage::StatusTextFSInfo)); - fsInfoLabel_->setVisible(!statusText.isEmpty()); - break; - } - } - - // Since TabPage::statusChanged is always emitted after View::selChanged, - // there is no need to connect a separate slot to the latter signal - updateEditSelectedActions(); -} - -void MainWindow::onTabPageOpenDirRequested(const Fm::FilePath& path, int target) { - TabPage* tabPage = static_cast(sender()); - if(ViewFrame* viewFrame = viewFrameForTabPage(tabPage)) { - switch(target) { - case OpenInCurrentTab: - chdir(path, viewFrame); - break; - - case OpenInNewTab: - addTab(path, viewFrame); - break; - - case OpenInNewWindow: - (new MainWindow(path))->show(); - break; - } - } -} - -void MainWindow::onTabPageSortFilterChanged() { // NOTE: This may be called from context menu too. - TabPage* tabPage = static_cast(sender()); - if(tabPage == currentPage()) { - updateViewMenuForCurrentPage(); - if(!tabPage->hasCustomizedView()) { // remember sort settings globally - Settings& settings = static_cast(qApp)->settings(); - settings.setSortColumn(static_cast(tabPage->sortColumn())); - settings.setSortOrder(tabPage->sortOrder()); - settings.setSortFolderFirst(tabPage->sortFolderFirst()); - settings.setSortCaseSensitive(tabPage->sortCaseSensitive()); - settings.setShowHidden(tabPage->showHidden()); - } - } -} - - -void MainWindow::onSidePaneChdirRequested(int type, const Fm::FilePath &path) { - // FIXME: use enum for type value or change it to button. - if(type == 0) { // left button (default) - chdir(path); - } - else if(type == 1) { // middle button - addTab(path); - } - else if(type == 2) { // new window - (new MainWindow(path))->show(); - } -} - -void MainWindow::onSidePaneOpenFolderInNewWindowRequested(const Fm::FilePath &path) { - (new MainWindow(path))->show(); -} - -void MainWindow::onSidePaneOpenFolderInNewTabRequested(const Fm::FilePath &path) { - addTab(path); -} - -void MainWindow::onSidePaneOpenFolderInTerminalRequested(const Fm::FilePath &path) { - Application* app = static_cast(qApp); - app->openFolderInTerminal(path); -} - -void MainWindow::onSidePaneCreateNewFolderRequested(const Fm::FilePath &path) { - createFileOrFolder(CreateNewFolder, path, nullptr, this); -} - -void MainWindow::onSidePaneModeChanged(Fm::SidePane::Mode mode) { - static_cast(qApp)->settings().setSidePaneMode(mode); -} - -void MainWindow::onSettingHiddenPlace(const QString& str, bool hide) { - static_cast(qApp)->settings().setHiddenPlace(str, hide); -} - -void MainWindow::onSplitterMoved(int pos, int /*index*/) { - Application* app = static_cast(qApp); - app->settings().setSplitterPos(pos); -} - -void MainWindow::loadBookmarksMenu() { - QAction* before = ui.actionAddToBookmarks; - for(auto& item: bookmarks_->items()) { - BookmarkAction* action = new BookmarkAction(item, ui.menu_Bookmarks); - connect(action, &QAction::triggered, this, &MainWindow::onBookmarkActionTriggered); - ui.menu_Bookmarks->insertAction(before, action); - } - - ui.menu_Bookmarks->insertSeparator(before); -} - -void MainWindow::onBookmarksChanged() { - // delete existing items - QList actions = ui.menu_Bookmarks->actions(); - QList::const_iterator it = actions.constBegin(); - QList::const_iterator last_it = actions.constEnd() - 2; - - while(it != last_it) { - QAction* action = *it; - ++it; - ui.menu_Bookmarks->removeAction(action); - } - - loadBookmarksMenu(); -} - -void MainWindow::onBookmarkActionTriggered() { - BookmarkAction* action = static_cast(sender()); - auto path = action->path(); - if(path) { - Application* app = static_cast(qApp); - Settings& settings = app->settings(); - switch(settings.bookmarkOpenMethod()) { - case OpenInCurrentTab: /* current tab */ - default: - chdir(path); - break; - case OpenInNewTab: /* new tab */ - addTab(path); - break; - case OpenInNewWindow: /* new window */ - (new MainWindow(path))->show(); - break; - } - } -} - -void MainWindow::on_actionCopy_triggered() { - TabPage* page = currentPage(); - auto paths = page->selectedFilePaths(); - copyFilesToClipboard(paths); -} - -void MainWindow::on_actionCut_triggered() { - TabPage* page = currentPage(); - auto paths = page->selectedFilePaths(); - cutFilesToClipboard(paths); -} - -void MainWindow::on_actionPaste_triggered() { - pasteFilesFromClipboard(currentPage()->path(), this); -} - -void MainWindow::on_actionDelete_triggered() { - Application* app = static_cast(qApp); - Settings& settings = app->settings(); - TabPage* page = currentPage(); - auto paths = page->selectedFilePaths(); - auto path_it = paths.cbegin(); - bool trashed(path_it != paths.cend() && (*path_it).hasUriScheme("trash")); - - bool shiftPressed = (qApp->keyboardModifiers() & Qt::ShiftModifier ? true : false); - if(settings.useTrash() && !shiftPressed - // trashed files should be deleted - && !trashed) { - FileOperation::trashFiles(paths, settings.confirmTrash(), this); - } - else { - FileOperation::deleteFiles(paths, settings.confirmDelete(), this); - } -} - -void MainWindow::on_actionRename_triggered() { - // do inline renaming if only one item is selected, - // otherwise use the renaming dialog - TabPage* page = currentPage(); - auto files = page->selectedFiles(); - if(files.size() == 1) { - QAbstractItemView* view = page->folderView()->childView(); - QModelIndexList selIndexes = view->selectionModel()->selectedIndexes(); - if(selIndexes.size() > 1) { // in the detailed list mode, only the first index is editable - view->setCurrentIndex(selIndexes.at(0)); - } - QModelIndex cur = view->currentIndex(); - if (cur.isValid()) { - view->scrollTo(cur); - view->edit(cur); - return; - } - } - if(!files.empty()) { - for(auto& file: files) { - if(!Fm::renameFile(file, nullptr)) { - break; - } - } - } -} - -void MainWindow::on_actionBulkRename_triggered() { - BulkRenamer(currentPage()->selectedFiles(), this); -} - -void MainWindow::on_actionSelectAll_triggered() { - currentPage()->selectAll(); -} - -void MainWindow::on_actionInvertSelection_triggered() { - currentPage()->invertSelection(); -} - -void MainWindow::on_actionPreferences_triggered() { - Application* app = reinterpret_cast(qApp); - app->preferences(QString()); -} - -// change some icons according to layout direction -void MainWindow::setRTLIcons(bool isRTL) { - QIcon nxtIcn = QIcon::fromTheme("go-next"); - QIcon prevIcn = QIcon::fromTheme("go-previous"); - if(isRTL) { - ui.actionGoBack->setIcon(nxtIcn); - ui.actionCloseLeft->setIcon(nxtIcn); - ui.actionGoForward->setIcon(prevIcn); - ui.actionCloseRight->setIcon(prevIcn); - } - else { - ui.actionGoBack->setIcon(prevIcn); - ui.actionCloseLeft->setIcon(prevIcn); - ui.actionGoForward->setIcon(nxtIcn); - ui.actionCloseRight->setIcon(nxtIcn); - } -} - -bool MainWindow::event(QEvent* event) { - switch(event->type()) { - case QEvent::WindowActivate: - lastActive_ = this; - default: - break; - } - return QMainWindow::event(event); -} - -void MainWindow::changeEvent(QEvent* event) { - switch(event->type()) { - case QEvent::LayoutDirectionChange: - setRTLIcons(QApplication::layoutDirection() == Qt::RightToLeft); - break; - default: - break; - } - QWidget::changeEvent(event); -} - -void MainWindow::onBackForwardContextMenu(QPoint pos) { - // show a popup menu for browsing history here. - QToolButton* btn = static_cast(sender()); - TabPage* page = currentPage(); - Fm::BrowseHistory& history = page->browseHistory(); - int current = history.currentIndex(); - QMenu menu; - for(size_t i = 0; i < history.size(); ++i) { - const BrowseHistoryItem& item = history.at(i); - auto path = item.path(); - auto name = path.displayName(); - QAction* action = menu.addAction(name.get()); - if(i == static_cast(current)) { - // make the current path bold and checked - action->setCheckable(true); - action->setChecked(true); - QFont font = menu.font(); - font.setBold(true); - action->setFont(font); - } - } - QAction* selectedAction = menu.exec(btn->mapToGlobal(pos)); - if(selectedAction) { - int index = menu.actions().indexOf(selectedAction); - page->jumpToHistory(index); - updateUIForCurrentPage(); - } -} - -void MainWindow::onTabBarClicked(int /*index*/) { - TabBar* tabBar = static_cast(sender()); - if(ViewFrame* viewFrame = qobject_cast(tabBar->parentWidget())) { - // focus the view on clicking the tab bar - if(TabPage* page = currentPage(viewFrame)) { - page->folderView()->childView()->setFocus(); - } - } -} - -void MainWindow::tabContextMenu(const QPoint& pos) { - TabBar* tabBar = static_cast(sender()); - if(ViewFrame* viewFrame = qobject_cast(tabBar->parentWidget())) { - int tabNum = viewFrame->getTabBar()->count(); - if(tabNum <= 1) { - return; - } - - rightClickIndex_ = viewFrame->getTabBar()->tabAt(pos); - if(rightClickIndex_ < 0) { - return; - } - - QMenu menu; - if(rightClickIndex_ > 0) { - menu.addAction(ui.actionCloseLeft); - } - if(rightClickIndex_ < tabNum - 1) { - menu.addAction(ui.actionCloseRight); - if(rightClickIndex_ > 0) { - menu.addSeparator(); - menu.addAction(ui.actionCloseOther); - } - } - menu.exec(viewFrame->getTabBar()->mapToGlobal(pos)); - } -} - -void MainWindow::closeLeftTabs() { - while(rightClickIndex_ > 0) { - closeTab(rightClickIndex_ - 1); - --rightClickIndex_; - } -} - -void MainWindow::closeRightTabs() { - if(rightClickIndex_ < 0) { - return; - } - while(rightClickIndex_ < activeViewFrame_->getTabBar()->count() - 1) { - closeTab(rightClickIndex_ + 1); - } -} - -void MainWindow::focusPathEntry() { - // use text entry for the path bar - if(splitView_) { - if(Fm::PathBar* pathBar = qobject_cast(activeViewFrame_->getTopBar())) { - pathBar->openEditor(); - } - else if(Fm::PathEdit* pathEntry = qobject_cast(activeViewFrame_->getTopBar())) { - pathEntry->setFocus(); - pathEntry->selectAll(); - } - } - else{ - if(pathEntry_ != nullptr) { - pathEntry_->setFocus(); - pathEntry_->selectAll(); - } - else if(pathBar_ != nullptr) { // use button-style path bar - pathBar_->openEditor(); - } - } -} - -void MainWindow::dragEnterEvent(QDragEnterEvent* event) { - if(event->mimeData()->hasFormat("application/pcmanfm-qt-tab") - // ensure that the tab drag source is ours (and not a root window, for example) - && lastActive_ && lastActive_->isActiveWindow()) { - event->acceptProposedAction(); - } -} - -void MainWindow::dropEvent(QDropEvent* event) { - if(event->mimeData()->hasFormat("application/pcmanfm-qt-tab")) { - dropTab(); - } - event->acceptProposedAction(); -} - -void MainWindow::dropTab() { - if(lastActive_ == nullptr // impossible - || lastActive_ == this) { // don't drop on the same window - activeViewFrame_->getTabBar()->finishMouseMoveEvent(); - return; - } - - // close the tab in the first window and add - // its page to a new tab in the second window - TabPage* dropPage = lastActive_->currentPage(); - if(dropPage) { - disconnect(dropPage, nullptr, lastActive_, nullptr); - - // release mouse before tab removal because otherwise, the source tabbar - // might not be updated properly with tab reordering during a fast drag-and-drop - lastActive_->activeViewFrame_->getTabBar()->releaseMouse(); - - QWidget* page = lastActive_->activeViewFrame_->getStackedWidget()->currentWidget(); - lastActive_->activeViewFrame_->getStackedWidget()->removeWidget(page); - int index = addTabWithPage(dropPage, activeViewFrame_); - activeViewFrame_->getTabBar()->setCurrentIndex(index); - } - else { - activeViewFrame_->getTabBar()->finishMouseMoveEvent(); // impossible - } -} - -void MainWindow::detachTab() { - if (activeViewFrame_->getStackedWidget()->count() == 1) { // don't detach a single tab - activeViewFrame_->getTabBar()->finishMouseMoveEvent(); - return; - } - - // close the tab and move its page to a new window - TabPage* dropPage = currentPage(); - if(dropPage) { - disconnect(dropPage, nullptr, this, nullptr); - - activeViewFrame_->getTabBar()->releaseMouse(); // as in dropTab() - - QWidget* page = activeViewFrame_->getStackedWidget()->currentWidget(); - activeViewFrame_->getStackedWidget()->removeWidget(page); - MainWindow* newWin = new MainWindow(); - newWin->addTabWithPage(dropPage, newWin->activeViewFrame_); - newWin->show(); - } - else { - activeViewFrame_->getTabBar()->finishMouseMoveEvent(); // impossible - } -} - -void MainWindow::updateFromSettings(Settings& settings) { - // apply settings - - // menu - ui.actionDelete->setText(settings.useTrash() ? tr("&Move to Trash") : tr("&Delete")); - ui.actionDelete->setIcon(settings.useTrash() ? QIcon::fromTheme("user-trash") : QIcon::fromTheme("edit-delete")); - - // side pane - ui.sidePane->setIconSize(QSize(settings.sidePaneIconSize(), settings.sidePaneIconSize())); - - // tabs - for(int i = 0; i < ui.viewSplitter->count(); ++i) { - if(ViewFrame* viewFrame = qobject_cast(ui.viewSplitter->widget(i))) { - viewFrame->getTabBar()->setTabsClosable(settings.showTabClose()); - viewFrame->getTabBar()->setVisible(settings.alwaysShowTabs() || (viewFrame->getTabBar()->count() > 1)); - - // all tab pages - int n = viewFrame->getStackedWidget()->count(); - - for(int j = 0; j < n; ++j) { - TabPage* page = static_cast(viewFrame->getStackedWidget()->widget(j)); - page->updateFromSettings(settings); - } - } - } -} - -void MainWindow::on_actionOpenAsRoot_triggered() { - TabPage* page = currentPage(); - - if(page) { - Application* app = static_cast(qApp); - Settings& settings = app->settings(); - - if(!settings.suCommand().isEmpty()) { - // run the su command - // FIXME: it's better to get the filename of the current process rather than hard-code pcmanfm-qt here. - QByteArray suCommand = settings.suCommand().toLocal8Bit(); - QByteArray programCommand = app->applicationFilePath().toLocal8Bit(); - programCommand += " %U"; - - // if %s exists in the su command, substitute it with the program - int substPos = suCommand.indexOf("%s"); - if(substPos != -1) { - // replace %s with program - suCommand.replace(substPos, 2, programCommand); - } - else { - /* no %s found so just append to it */ - suCommand += programCommand; - } - - Fm::GAppInfoPtr appInfo{g_app_info_create_from_commandline(suCommand.constData(), nullptr, GAppInfoCreateFlags(0), nullptr), false}; - - if(appInfo) { - auto cwd = page->path(); - Fm::GErrorPtr err; - auto uri = cwd.uri(); - GList* uris = g_list_prepend(nullptr, uri.get()); - - if(!g_app_info_launch_uris(appInfo.get(), uris, nullptr, &err)) { - QMessageBox::critical(this, tr("Error"), QString::fromUtf8(err->message)); - } - - g_list_free(uris); - } - } - else { - // show an error message and ask the user to set the command - QMessageBox::critical(this, tr("Error"), tr("Switch user command is not set.")); - app->preferences("advanced"); - } - } -} - -void MainWindow::on_actionFindFiles_triggered() { - Application* app = static_cast(qApp); - auto selectedPaths = currentPage()->selectedFilePaths(); - QStringList paths; - if(!selectedPaths.empty()) { - for(auto& path: selectedPaths) { - // FIXME: is it ok to use display name here? - // This might be broken on filesystems with non-UTF-8 filenames. - paths.append(path.displayName().get()); - } - } - else { - paths.append(currentPage()->pathName()); - } - app->findFiles(paths); -} - -void MainWindow::on_actionOpenTerminal_triggered() { - TabPage* page = currentPage(); - if(page) { - Application* app = static_cast(qApp); - app->openFolderInTerminal(page->path()); - } -} - -void MainWindow::on_actionCopyFullPath_triggered() { - TabPage* page = currentPage(); - if(page) { - auto paths = page->selectedFilePaths(); - if(paths.size() == 1) { - QApplication::clipboard()->setText(QString(paths.front().toString().get()), QClipboard::Clipboard); - } - } -} - -void MainWindow::onShortcutNextTab() { - int current = activeViewFrame_->getTabBar()->currentIndex(); - if(current < activeViewFrame_->getTabBar()->count() - 1) { - activeViewFrame_->getTabBar()->setCurrentIndex(current + 1); - } - else { - activeViewFrame_->getTabBar()->setCurrentIndex(0); - } -} - -void MainWindow::onShortcutPrevTab() { - int current = activeViewFrame_->getTabBar()->currentIndex(); - if(current > 0) { - activeViewFrame_->getTabBar()->setCurrentIndex(current - 1); - } - else { - activeViewFrame_->getTabBar()->setCurrentIndex(activeViewFrame_->getTabBar()->count() - 1); - } -} - -// Switch to nth tab when Alt+n or Ctrl+n is pressed -void MainWindow::onShortcutJumpToTab() { - QShortcut* shortcut = reinterpret_cast(sender()); - QKeySequence seq = shortcut->key(); - int keyValue = seq[0]; - // See the source code of QKeySequence and refer to the method: - // QString QKeySequencePrivate::encodeString(int key, QKeySequence::SequenceFormat format). - // Then we know how to test if a key sequence contains a modifier. - // It's a shame that Qt has no API for this task. - - if((keyValue & Qt::ALT) == Qt::ALT) { // test if we have Alt key pressed - keyValue -= Qt::ALT; - } - else if((keyValue & Qt::CTRL) == Qt::CTRL) { // test if we have Ctrl key pressed - keyValue -= Qt::CTRL; - } - - // now keyValue should contains '0' - '9' only - int index; - if(keyValue == '0') { - index = 9; - } - else { - index = keyValue - '1'; - } - if(index < activeViewFrame_->getTabBar()->count()) { - activeViewFrame_->getTabBar()->setCurrentIndex(index); - } -} - -} diff --git a/pcmanfm/mainwindow.h b/pcmanfm/mainwindow.h deleted file mode 100644 index ffa7b44..0000000 --- a/pcmanfm/mainwindow.h +++ /dev/null @@ -1,272 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#ifndef FM_MAIN_WINDOW_H -#define FM_MAIN_WINDOW_H - -#include "ui_main-win.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "launcher.h" -#include "tabbar.h" -#include -#include - -namespace Fm { -class PathEdit; -class PathBar; -} - -namespace PCManFM { - -class ViewFrame : public QFrame { - Q_OBJECT -public: - ViewFrame(QWidget* parent = nullptr); - ~ViewFrame() {}; - - void createTopBar(bool usePathButtons); - void removeTopBar(); - - QWidget* getTopBar() const { - return topBar_; - } - TabBar* getTabBar() const { - return tabBar_; - } - QStackedWidget* getStackedWidget() const { - return stackedWidget_; - } - -private: - QWidget* topBar_; - TabBar* tabBar_; - QStackedWidget* stackedWidget_; -}; - -//====================================================================== - -class TabPage; -class Settings; - -class MainWindow : public QMainWindow { - Q_OBJECT -public: - MainWindow(Fm::FilePath path = Fm::FilePath()); - virtual ~MainWindow(); - - void chdir(Fm::FilePath path, ViewFrame* viewFrame); - void chdir(Fm::FilePath path) { - chdir(path, activeViewFrame_); - } - - int addTab(Fm::FilePath path, ViewFrame* viewFrame); - int addTab(Fm::FilePath path) { - return addTab(path, activeViewFrame_); - } - - TabPage* currentPage(ViewFrame* viewFrame) { - return reinterpret_cast(viewFrame->getStackedWidget()->currentWidget()); - } - TabPage* currentPage() { - return currentPage(activeViewFrame_); - } - - void updateFromSettings(Settings& settings); - - static MainWindow* lastActive() { - return lastActive_; - } - -protected Q_SLOTS: - - void onPathEntryReturnPressed(); - void onPathBarChdir(const Fm::FilePath& dirPath); - void onPathBarMiddleClickChdir(const Fm::FilePath &dirPath); - - void on_actionNewTab_triggered(); - void on_actionNewWin_triggered(); - void on_actionNewFolder_triggered(); - void on_actionNewBlankFile_triggered(); - void on_actionCloseTab_triggered(); - void on_actionCloseWindow_triggered(); - void on_actionFileProperties_triggered(); - void on_actionFolderProperties_triggered(); - - void on_actionCut_triggered(); - void on_actionCopy_triggered(); - void on_actionPaste_triggered(); - void on_actionDelete_triggered(); - void on_actionRename_triggered(); - void on_actionBulkRename_triggered(); - void on_actionSelectAll_triggered(); - void on_actionInvertSelection_triggered(); - void on_actionPreferences_triggered(); - - void on_actionGoBack_triggered(); - void on_actionGoForward_triggered(); - void on_actionGoUp_triggered(); - void on_actionHome_triggered(); - void on_actionReload_triggered(); - void on_actionConnectToServer_triggered(); - - void on_actionIconView_triggered(); - void on_actionCompactView_triggered(); - void on_actionDetailedList_triggered(); - void on_actionThumbnailView_triggered(); - - void on_actionGo_triggered(); - void on_actionShowHidden_triggered(bool check); - void on_actionSplitView_triggered(bool check); - void on_actionPreserveView_triggered(bool checked); - - void on_actionByFileName_triggered(bool checked); - void on_actionByMTime_triggered(bool checked); - void on_actionByOwner_triggered(bool checked); - void on_actionByGroup_triggered(bool checked); - void on_actionByFileType_triggered(bool checked); - void on_actionByFileSize_triggered(bool checked); - void on_actionAscending_triggered(bool checked); - void on_actionDescending_triggered(bool checked); - void on_actionFolderFirst_triggered(bool checked); - void on_actionCaseSensitive_triggered(bool checked); - void on_actionFilter_triggered(bool checked); - void on_actionUnfilter_triggered(); - void on_actionShowFilter_triggered(); - - void on_actionLocationBar_triggered(bool checked); - void on_actionPathButtons_triggered(bool checked); - - void on_actionApplications_triggered(); - void on_actionComputer_triggered(); - void on_actionTrash_triggered(); - void on_actionNetwork_triggered(); - void on_actionDesktop_triggered(); - void on_actionAddToBookmarks_triggered(); - void on_actionEditBookmarks_triggered(); - - void on_actionOpenTerminal_triggered(); - void on_actionOpenAsRoot_triggered(); - void on_actionCopyFullPath_triggered(); - void on_actionFindFiles_triggered(); - - void on_actionAbout_triggered(); - - void onBookmarkActionTriggered(); - - void onTabBarCloseRequested(int index); - void onTabBarCurrentChanged(int index); - void onTabBarTabMoved(int from, int to); - - void onShortcutPrevTab(); - void onShortcutNextTab(); - void onShortcutJumpToTab(); - - void onStackedWidgetWidgetRemoved(int index); - - void onTabPageTitleChanged(QString title); - void onTabPageStatusChanged(int type, QString statusText); - void onTabPageOpenDirRequested(const Fm::FilePath &path, int target); - void onTabPageSortFilterChanged(); - - void onSidePaneChdirRequested(int type, const Fm::FilePath &path); - void onSidePaneOpenFolderInNewWindowRequested(const Fm::FilePath &path); - void onSidePaneOpenFolderInNewTabRequested(const Fm::FilePath &path); - void onSidePaneOpenFolderInTerminalRequested(const Fm::FilePath &path); - void onSidePaneCreateNewFolderRequested(const Fm::FilePath &path); - void onSidePaneModeChanged(Fm::SidePane::Mode mode); - void onSplitterMoved(int pos, int index); - void onResetFocus(); - - void onBackForwardContextMenu(QPoint pos); - - void onFolderUnmounted(); - - void tabContextMenu(const QPoint& pos); - void onTabBarClicked(int index); - void closeLeftTabs(); - void closeRightTabs(); - void closeOtherTabs() { - closeLeftTabs(); - closeRightTabs(); - } - void focusPathEntry(); - void toggleMenuBar(bool checked); - void detachTab(); - - void onBookmarksChanged(); - - void onSettingHiddenPlace(const QString& str, bool hide); - -protected: - bool event(QEvent* event) override; - void changeEvent(QEvent* event) override; - void closeTab(int index, ViewFrame* viewFrame); - void closeTab(int index) { - closeTab(index, activeViewFrame_); - } - virtual void resizeEvent(QResizeEvent* event) override; - virtual void closeEvent(QCloseEvent* event) override; - virtual void dragEnterEvent(QDragEnterEvent* event) override; - virtual void dropEvent(QDropEvent* event) override; - virtual bool eventFilter(QObject* watched, QEvent* event); - -private: - void loadBookmarksMenu(); - void updateUIForCurrentPage(bool setFocus = true); - void updateViewMenuForCurrentPage(); - void updateEditSelectedActions(); - void updateStatusBarForCurrentPage(); - void setRTLIcons(bool isRTL); - void createPathBar(bool usePathButtons); - void addViewFrame(const Fm::FilePath& path); - ViewFrame* viewFrameForTabPage(TabPage* page); - int addTabWithPage(TabPage* page, ViewFrame* viewFrame, Fm::FilePath path = Fm::FilePath()); - void dropTab(); - -private: - Ui::MainWindow ui; - Fm::PathEdit* pathEntry_; - Fm::PathBar* pathBar_; - QLabel* fsInfoLabel_; - std::shared_ptr bookmarks_; - Launcher fileLauncher_; - int rightClickIndex_; - bool updatingViewMenu_; - QAction* menuSep_; - QAction* menuSpacer_; - - ViewFrame* activeViewFrame_; - // The split mode of this window is changed only from its settings, - // not from another window. So, we get the mode at the start and keep it. - bool splitView_; - - static MainWindow* lastActive_; -}; - -} - -#endif // FM_MAIN_WINDOW_H diff --git a/pcmanfm/org.pcmanfm.Application.xml b/pcmanfm/org.pcmanfm.Application.xml deleted file mode 100644 index 448c34e..0000000 --- a/pcmanfm/org.pcmanfm.Application.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pcmanfm/pcmanfm-qt-desktop-pref.desktop.in b/pcmanfm/pcmanfm-qt-desktop-pref.desktop.in deleted file mode 100644 index 03aab56..0000000 --- a/pcmanfm/pcmanfm-qt-desktop-pref.desktop.in +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Desktop -GenericName=Desktop Settings -Comment=Change wallpapers and behavior of desktop manager -Exec=pcmanfm-qt --desktop-pref=general -Icon=user-desktop -Categories=Settings;Qt;DesktopSettings; -StartupNotify=true diff --git a/pcmanfm/pcmanfm-qt.desktop.in b/pcmanfm/pcmanfm-qt.desktop.in deleted file mode 100644 index fa7a949..0000000 --- a/pcmanfm/pcmanfm-qt.desktop.in +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Type=Application -Name=PCManFM-Qt File Manager -GenericName=File Manager -Comment=Browse the file system and manage the files -Exec=pcmanfm-qt %U -MimeType=inode/directory; -Icon=system-file-manager -Categories=FileManager;Utility;Core;Qt; -StartupNotify=true diff --git a/pcmanfm/pcmanfm.cpp b/pcmanfm/pcmanfm.cpp deleted file mode 100644 index fa57d3e..0000000 --- a/pcmanfm/pcmanfm.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include "application.h" -#include - -int main(int argc, char** argv) { - // ensure that glib integration of Qt is not turned off - // This fixes #168: https://github.com/lxqt/pcmanfm-qt/issues/168 - qunsetenv("QT_NO_GLIB"); - - PCManFM::Application app(argc, argv); - app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); - - app.init(); - return app.exec(); -} diff --git a/pcmanfm/preferences.ui b/pcmanfm/preferences.ui deleted file mode 100644 index c7a3c37..0000000 --- a/pcmanfm/preferences.ui +++ /dev/null @@ -1,983 +0,0 @@ - - - PreferencesDialog - - - - 0 - 0 - 685 - 440 - - - - Preferences - - - - - - - - - 0 - 0 - - - - Qt::ScrollBarAlwaysOff - - - 0 - - - - Behavior - - - - - Display - - - - - User Interface - - - - - Thumbnail - - - - - Volume - - - - - Advanced - - - - - - - - - 0 - 0 - - - - 0 - - - - - - - Browsing - - - - QFormLayout::AllNonFixedFieldsGrow - - - - - Open files with single click - - - - - - - false - - - Delay of auto-selection in single click mode (0 to disable) - - - - - - - Default view mode: - - - - - - - - - - false - - - sec - - - 0.100000000000000 - - - - - - - Bookmarks: - - - - - - - - Open in current tab - - - - - Open in new tab - - - - - Open in new window - - - - - - - - - - - File Operations - - - - - - Confirm before deleting files - - - - - - - Move deleted files to "trash bin" instead of erasing from disk. - - - - - - - Erase files on removable media instead of "trash can" creation - - - - - - - Confirm before moving files into "trash can" - - - - - - - Requires application restart to take effect completely - - - Launch executable files without prompt - - - - - - - Select newly created files - - - - - - - - - - Qt::Vertical - - - - 0 - 0 - - - - - - - - - - - - Icons - - - - - - - 0 - 0 - - - - Icon theme: - - - - - - - - 0 - 0 - - - - - - - - Used by Icon View - - - Size of big icons: - - - - - - - Used by Icon View - - - - - - - Used by Compact View and Detailed List View - - - Size of small icons: - - - - - - - Used by Compact View and Detailed List View - - - - - - - Used by Thumbnail View - - - Size of thumbnails: - - - - - - - Used by Thumbnail View - - - - - - - Size of side pane icons: - - - - - - - - - - - - - User interface - - - - - - Use SI decimal prefixes instead of IEC binary prefixes - - - - - - - Treat backup files as hidden - - - - - - - Requires application restart to take effect completely - - - Always show full file names - - - - - - - Requires application restart to take effect completely - - - Show icons of hidden files shadowed - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 5 - - - - - - - - Minimum item margins in icon view: - - - - - - - 3 px by default. - - - px - - - 48 - - - 3 - - - - - - - x - - - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - - - px - - - 48 - - - 3 - - - - - - - Lock - - - - - - - Qt::Horizontal - - - - 20 - 5 - - - - - - - - - - - Qt::Vertical - - - - 0 - 0 - - - - - - - - - - - - Window - - - - QFormLayout::ExpandingFieldsGrow - - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - - - Always show the tab bar - - - - - - - Show 'Close' buttons on tabs - - - - - - - Remember the size of the last closed window - - - - - - - Default width of new windows: - - - - - - - 32768 - - - - - - - Default height of new windows: - - - - - - - 32768 - - - - - - - - - - Qt::Vertical - - - - 0 - 0 - - - - - - - - - - - - Thumbnail - - - - - - Do not generate thumbnails for image files exceeding this size: - - - - - - - KB - - - 1048576 - - - - - - - Only show thumbnails for local files - - - - - - - Needs ffmpegthumbnailer - - - Show thumbnails of files - - - - - - - - - - Qt::Vertical - - - - 0 - 225 - - - - - - - - - - - - Auto Mount - - - - - - Mount mountable volumes automatically on program startup - - - - - - - Mount removable media automatically when they are inserted - - - - - - - Show available options for removable media when they are inserted - - - - - - - - - - When removable medium unmounted: - - - - - - Close &tab containing removable medium - - - - - - - Chan&ge folder in the tab to home folder - - - - - - - - - - Qt::Vertical - - - - 0 - 0 - - - - - - - - - - - - Programs - - - - QFormLayout::AllNonFixedFieldsGrow - - - - - Terminal emulator: - - - - - - - Switch &user command: - - - suCommand - - - - - - - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - - - Qt::PlainText - - - - - - - Archiver in&tegration: - - - archiver - - - - - - - - - - true - - - - - - - - - - Templates - - - - - - Show only user defined templates in menu - - - - - - - Show only one template for each MIME type - - - - - - - Run default application after creation from template - - - - - - - - - - Qt::Vertical - - - - 0 - 0 - - - - - - - - - - - - - - background-color:#7d0000; color:white; font-weight:bold; border-radius:3px; margin:2px; padding:5px; - - - 0 - - - Application restart is needed for changes to take effect. - - - Qt::AlignCenter - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - listWidget - alwaysShowTabs - showTabClose - rememberWindowSize - fixedWindowWidth - fixedWindowHeight - singleClick - autoSelectionDelay - viewMode - configmDelete - useTrash - mountOnStartup - mountRemovable - autoRun - closeOnUnmount - goHomeOnUnmount - terminal - suCommand - archiver - - - - - buttonBox - accepted() - PreferencesDialog - accept() - - - 261 - 487 - - - 157 - 274 - - - - - buttonBox - rejected() - PreferencesDialog - reject() - - - 329 - 487 - - - 286 - 274 - - - - - listWidget - currentRowChanged(int) - stackedWidget - setCurrentIndex(int) - - - 94 - 157 - - - 359 - 145 - - - - - singleClick - toggled(bool) - label - setEnabled(bool) - - - 237 - 39 - - - 237 - 39 - - - - - rememberWindowSize - toggled(bool) - fixedWindowWidth - setDisabled(bool) - - - 506 - 351 - - - 462 - 386 - - - - - singleClick - toggled(bool) - autoSelectionDelay - setEnabled(bool) - - - 237 - 39 - - - 237 - 39 - - - - - rememberWindowSize - toggled(bool) - fixedWindowHeight - setDisabled(bool) - - - 549 - 351 - - - 462 - 421 - - - - - rememberWindowSize - toggled(bool) - label_12 - setDisabled(bool) - - - 211 - 342 - - - 211 - 374 - - - - - rememberWindowSize - toggled(bool) - label_13 - setDisabled(bool) - - - 183 - 338 - - - 187 - 404 - - - - - diff --git a/pcmanfm/preferencesdialog.cpp b/pcmanfm/preferencesdialog.cpp deleted file mode 100644 index af4a128..0000000 --- a/pcmanfm/preferencesdialog.cpp +++ /dev/null @@ -1,416 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#include "preferencesdialog.h" -#include "application.h" -#include "settings.h" -#include -#include -#include -#include - -#include -#include -#include - -namespace PCManFM { - -PreferencesDialog::PreferencesDialog(QString activePage, QWidget* parent): - QDialog(parent) { - ui.setupUi(this); - setAttribute(Qt::WA_DeleteOnClose); - warningCounter_ = 0; - ui.warningLabel->hide(); - - // resize the list widget according to the width of its content. - ui.listWidget->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding); - ui.listWidget->setMaximumWidth(ui.listWidget->sizeHintForColumn(0) + ui.listWidget->frameWidth() * 2 + 4); - - initFromSettings(); - - selectPage(activePage); - adjustSize(); -} - -PreferencesDialog::~PreferencesDialog() { - -} - -static void findIconThemesInDir(QHash& iconThemes, QString dirName) { - QDir dir(dirName); - const QStringList subDirs = dir.entryList(QDir::AllDirs); - GKeyFile* kf = g_key_file_new(); - for(const QString& subDir : subDirs) { - QString indexFile = dirName % '/' % subDir % "/index.theme"; - if(g_key_file_load_from_file(kf, indexFile.toLocal8Bit().constData(), GKeyFileFlags(0), nullptr)) { - // FIXME: skip hidden ones - // icon theme must have this key, so it has icons if it has this key - // otherwise, it might be a cursor theme or any other kind of theme. - if(g_key_file_has_key(kf, "Icon Theme", "Directories", nullptr)) { - char* dispName = g_key_file_get_locale_string(kf, "Icon Theme", "Name", nullptr, nullptr); - // char* comment = g_key_file_get_locale_string(kf, "Icon Theme", "Comment", nullptr, nullptr); - iconThemes[subDir] = dispName; - g_free(dispName); - } - } - } - g_key_file_free(kf); -} - -void PreferencesDialog::initIconThemes(Settings& settings) { - // check if auto-detection is done (for example, from xsettings) - if(settings.useFallbackIconTheme()) { // auto-detection failed - // load xdg icon themes and select the current one - QHash iconThemes; - // user customed icon themes - findIconThemesInDir(iconThemes, QString(g_get_home_dir()) % "/.icons"); - - // search for icons in system data dir - const char* const* dataDirs = g_get_system_data_dirs(); - for(const char* const* dataDir = dataDirs; *dataDir; ++dataDir) { - findIconThemesInDir(iconThemes, QString(*dataDir) % "/icons"); - } - - iconThemes.remove("hicolor"); // remove hicolor, which is only a fallback - QHash::const_iterator it; - for(it = iconThemes.constBegin(); it != iconThemes.constEnd(); ++it) { - ui.iconTheme->addItem(it.value(), it.key()); - } - ui.iconTheme->model()->sort(0); // sort the list of icon theme names - - // select current theme name - int n = ui.iconTheme->count(); - int i; - for(i = 0; i < n; ++i) { - QVariant itemData = ui.iconTheme->itemData(i); - if(itemData == settings.fallbackIconThemeName()) { - break; - } - } - if(i >= n) { - i = 0; - } - ui.iconTheme->setCurrentIndex(i); - } - else { // auto-detection of icon theme works, hide the fallback icon theme combo box. - ui.iconThemeLabel->hide(); - ui.iconTheme->hide(); - } - - ui.hMargin->setValue(settings.folderViewCellMargins().width()); - ui.vMargin->setValue(settings.folderViewCellMargins().height()); - connect(ui.lockMargins, &QAbstractButton::clicked, this, &PreferencesDialog::lockMargins); -} - -void PreferencesDialog::initArchivers(Settings& settings) { - auto& allArchivers = Fm::Archiver::allArchivers(); - for(int i = 0; i < int(allArchivers.size()); ++i) { - auto& archiver = allArchivers[i]; - ui.archiver->addItem(archiver->program(), QString(archiver->program())); - if(archiver->program() == settings.archiver()) { - ui.archiver->setCurrentIndex(i); - } - } -} - -void PreferencesDialog::initDisplayPage(Settings& settings) { - initIconThemes(settings); - // icon sizes - int i = 0; - for (const auto & size : Settings::iconSizes(Settings::Big)) { - ui.bigIconSize->addItem(QString("%1 x %1").arg(size), size); - if(settings.bigIconSize() == size) { - ui.bigIconSize->setCurrentIndex(i); - } - ++i; - } - i = 0; - for (const auto & size : Settings::iconSizes(Settings::Small)) { - QString text = QString("%1 x %1").arg(size); - ui.smallIconSize->addItem(text, size); - if(settings.smallIconSize() == size) { - ui.smallIconSize->setCurrentIndex(i); - } - - ui.sidePaneIconSize->addItem(text, size); - if(settings.sidePaneIconSize() == size) { - ui.sidePaneIconSize->setCurrentIndex(i); - } - ++i; - } - i = 0; - for (const auto & size : Settings::iconSizes(Settings::Thumbnail)) { - ui.thumbnailIconSize->addItem(QString("%1 x %1").arg(size), size); - if(settings.thumbnailIconSize() == size) { - ui.thumbnailIconSize->setCurrentIndex(i); - } - ++i; - } - - ui.siUnit->setChecked(settings.siUnit()); - ui.backupAsHidden->setChecked(settings.backupAsHidden()); - - ui.showFullNames->setChecked(settings.showFullNames()); - ui.shadowHidden->setChecked(settings.shadowHidden()); - - // app restart warning - connect(ui.showFullNames, &QAbstractButton::toggled, [this, &settings] (bool checked) { - restartWarning(settings.showFullNames() != checked); - }); - connect(ui.shadowHidden, &QAbstractButton::toggled, [this, &settings] (bool checked) { - restartWarning(settings.shadowHidden() != checked); - }); -} - -void PreferencesDialog::initUiPage(Settings& settings) { - ui.alwaysShowTabs->setChecked(settings.alwaysShowTabs()); - ui.showTabClose->setChecked(settings.showTabClose()); - ui.rememberWindowSize->setChecked(settings.rememberWindowSize()); - ui.fixedWindowWidth->setValue(settings.fixedWindowWidth()); - ui.fixedWindowHeight->setValue(settings.fixedWindowHeight()); -} - -void PreferencesDialog::initBehaviorPage(Settings& settings) { - ui.singleClick->setChecked(settings.singleClick()); - ui.autoSelectionDelay->setValue(double(settings.autoSelectionDelay()) / 1000); - - ui.bookmarkOpenMethod->setCurrentIndex(settings.bookmarkOpenMethod()); - - ui.viewMode->addItem(tr("Icon View"), (int)Fm::FolderView::IconMode); - ui.viewMode->addItem(tr("Compact View"), (int)Fm::FolderView::CompactMode); - ui.viewMode->addItem(tr("Thumbnail View"), (int)Fm::FolderView::ThumbnailMode); - ui.viewMode->addItem(tr("Detailed List View"), (int)Fm::FolderView::DetailedListMode); - const Fm::FolderView::ViewMode modes[] = { - Fm::FolderView::IconMode, - Fm::FolderView::CompactMode, - Fm::FolderView::ThumbnailMode, - Fm::FolderView::DetailedListMode - }; - for(std::size_t i = 0; i < G_N_ELEMENTS(modes); ++i) { - if(modes[i] == settings.viewMode()) { - ui.viewMode->setCurrentIndex(i); - break; - } - } - - ui.configmDelete->setChecked(settings.confirmDelete()); - - if(settings.supportTrash()) { - ui.useTrash->setChecked(settings.useTrash()); - } - else { - ui.useTrash->hide(); - } - - ui.noUsbTrash->setChecked(settings.noUsbTrash()); - ui.confirmTrash->setChecked(settings.confirmTrash()); - ui.quickExec->setChecked(settings.quickExec()); - ui.selectNewFiles->setChecked(settings.selectNewFiles()); - - // app restart warning - connect(ui.quickExec, &QAbstractButton::toggled, [this, &settings] (bool checked) { - restartWarning(settings.quickExec() != checked); - }); -} - -void PreferencesDialog::initThumbnailPage(Settings& settings) { - ui.showThumbnails->setChecked(settings.showThumbnails()); - ui.thumbnailLocal->setChecked(settings.thumbnailLocalFilesOnly()); - ui.maxThumbnailFileSize->setValue(settings.maxThumbnailFileSize()); -} - -void PreferencesDialog::initVolumePage(Settings& settings) { - ui.mountOnStartup->setChecked(settings.mountOnStartup()); - ui.mountRemovable->setChecked(settings.mountRemovable()); - ui.autoRun->setChecked(settings.autoRun()); - if(settings.closeOnUnmount()) { - ui.closeOnUnmount->setChecked(true); - } - else { - ui.goHomeOnUnmount->setChecked(true); - } -} - -void PreferencesDialog::initTerminals(Settings& settings) { - // load the known terminal list from the terminal.list file of libfm - for(auto& terminal: Fm::allKnownTerminals()) { - ui.terminal->addItem(terminal.get()); - } - ui.terminal->setEditText(settings.terminal()); -} - -void PreferencesDialog::initAdvancedPage(Settings& settings) { - initArchivers(settings); - initTerminals(settings); - ui.suCommand->setText(settings.suCommand()); - - ui.onlyUserTemplates->setChecked(settings.onlyUserTemplates()); - ui.templateTypeOnce->setChecked(settings.templateTypeOnce()); - - ui.templateRunApp->setChecked(settings.templateRunApp()); - - // FIXME: Hide options that we don't support yet. - ui.templateRunApp->hide(); -} - -void PreferencesDialog::initFromSettings() { - Settings& settings = static_cast(qApp)->settings(); - initDisplayPage(settings); - initUiPage(settings); - initBehaviorPage(settings); - initThumbnailPage(settings); - initVolumePage(settings); - initAdvancedPage(settings); -} - -void PreferencesDialog::applyDisplayPage(Settings& settings) { - if(settings.useFallbackIconTheme()) { - // only apply the value if icon theme combo box is in use - // the combo box is hidden when auto-detection of icon theme from xsettings works. - QString newIconTheme = ui.iconTheme->itemData(ui.iconTheme->currentIndex()).toString(); - if(newIconTheme != settings.fallbackIconThemeName()) { - settings.setFallbackIconThemeName(newIconTheme); - QIcon::setThemeName(settings.fallbackIconThemeName()); - // update the UI by emitting a style change event - const auto widgets = QApplication::allWidgets(); - for(QWidget* widget : widgets) { - QEvent event(QEvent::StyleChange); - QApplication::sendEvent(widget, &event); - } - } - } - - settings.setBigIconSize(ui.bigIconSize->itemData(ui.bigIconSize->currentIndex()).toInt()); - settings.setSmallIconSize(ui.smallIconSize->itemData(ui.smallIconSize->currentIndex()).toInt()); - settings.setThumbnailIconSize(ui.thumbnailIconSize->itemData(ui.thumbnailIconSize->currentIndex()).toInt()); - settings.setSidePaneIconSize(ui.sidePaneIconSize->itemData(ui.sidePaneIconSize->currentIndex()).toInt()); - - settings.setSiUnit(ui.siUnit->isChecked()); - settings.setBackupAsHidden(ui.backupAsHidden->isChecked()); - settings.setShowFullNames(ui.showFullNames->isChecked()); - settings.setShadowHidden(ui.shadowHidden->isChecked()); - settings.setFolderViewCellMargins(QSize(ui.hMargin->value(), ui.vMargin->value())); -} - -void PreferencesDialog::applyUiPage(Settings& settings) { - settings.setAlwaysShowTabs(ui.alwaysShowTabs->isChecked()); - settings.setShowTabClose(ui.showTabClose->isChecked()); - settings.setRememberWindowSize(ui.rememberWindowSize->isChecked()); - settings.setFixedWindowWidth(ui.fixedWindowWidth->value()); - settings.setFixedWindowHeight(ui.fixedWindowHeight->value()); -} - -void PreferencesDialog::applyBehaviorPage(Settings& settings) { - settings.setSingleClick(ui.singleClick->isChecked()); - settings.setAutoSelectionDelay(int(ui.autoSelectionDelay->value() * 1000)); - - settings.setBookmarkOpenMethod(OpenDirTargetType(ui.bookmarkOpenMethod->currentIndex())); - - // FIXME: bug here? - Fm::FolderView::ViewMode mode = Fm::FolderView::ViewMode(ui.viewMode->itemData(ui.viewMode->currentIndex()).toInt()); - settings.setViewMode(mode); - settings.setConfirmDelete(ui.configmDelete->isChecked()); - - if(settings.supportTrash()) { - settings.setUseTrash(ui.useTrash->isChecked()); - } - - settings.setNoUsbTrash(ui.noUsbTrash->isChecked()); - settings.setConfirmTrash(ui.confirmTrash->isChecked()); - settings.setQuickExec(ui.quickExec->isChecked()); - settings.setSelectNewFiles(ui.selectNewFiles->isChecked()); -} - -void PreferencesDialog::applyThumbnailPage(Settings& settings) { - settings.setShowThumbnails(ui.showThumbnails->isChecked()); - settings.setThumbnailLocalFilesOnly(ui.thumbnailLocal->isChecked()); - settings.setMaxThumbnailFileSize(ui.maxThumbnailFileSize->value()); -} - -void PreferencesDialog::applyVolumePage(Settings& settings) { - settings.setAutoRun(ui.autoRun->isChecked()); - settings.setMountOnStartup(ui.mountOnStartup->isChecked()); - settings.setMountRemovable(ui.mountRemovable->isChecked()); - settings.setCloseOnUnmount(ui.closeOnUnmount->isChecked()); -} - -void PreferencesDialog::applyAdvancedPage(Settings& settings) { - settings.setTerminal(ui.terminal->currentText()); - settings.setSuCommand(ui.suCommand->text()); - settings.setArchiver(ui.archiver->itemData(ui.archiver->currentIndex()).toString()); - - settings.setOnlyUserTemplates(ui.onlyUserTemplates->isChecked()); - settings.setTemplateTypeOnce(ui.templateTypeOnce->isChecked()); - settings.setTemplateRunApp(ui.templateRunApp->isChecked()); -} - - -void PreferencesDialog::applySettings() { - Settings& settings = static_cast(qApp)->settings(); - applyDisplayPage(settings); - applyUiPage(settings); - applyBehaviorPage(settings); - applyThumbnailPage(settings); - applyVolumePage(settings); - applyAdvancedPage(settings); - - settings.save(); - - Application* app = static_cast(qApp); - app->updateFromSettings(); -} - -void PreferencesDialog::accept() { - applySettings(); - QDialog::accept(); -} - -void PreferencesDialog::selectPage(QString name) { - if(!name.isEmpty()) { - QWidget* page = findChild(name + "Page"); - if(page) { - int index = ui.stackedWidget->indexOf(page); - ui.listWidget->setCurrentRow(index); - } - } -} - -void PreferencesDialog::lockMargins(bool lock) { - ui.vMargin->setDisabled(lock); - if(lock) { - ui.vMargin->setValue(ui.hMargin->value()); - connect(ui.hMargin, static_cast(&QSpinBox::valueChanged), ui.vMargin, &QSpinBox::setValue); - } - else { - disconnect(ui.hMargin, static_cast(&QSpinBox::valueChanged), ui.vMargin, &QSpinBox::setValue); - } -} - -void PreferencesDialog::restartWarning(bool warn) { - if(warn) { - ++warningCounter_; - } - else { - --warningCounter_; - } - ui.warningLabel->setVisible(warningCounter_ > 0); -} - -} // namespace PCManFM diff --git a/pcmanfm/preferencesdialog.h b/pcmanfm/preferencesdialog.h deleted file mode 100644 index 9052bbf..0000000 --- a/pcmanfm/preferencesdialog.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#ifndef PCMANFM_PREFERENCESDIALOG_H -#define PCMANFM_PREFERENCESDIALOG_H - -#include -#include "ui_preferences.h" -#include - -namespace PCManFM { - -class Settings; - -class PreferencesDialog : public QDialog { - Q_OBJECT - -public: - // activePage is the name of page to select (general, display, advanced...) - explicit PreferencesDialog(QString activePage = QString(), QWidget* parent = 0); - virtual ~PreferencesDialog(); - - virtual void accept(); - - void selectPage(QString name); - -protected Q_SLOTS: - void lockMargins(bool lock); - -private: - void initIconThemes(Settings& settings); - void initArchivers(Settings& settings); - void initDisplayPage(Settings& settings); - void initUiPage(Settings& settings); - void initBehaviorPage(Settings& settings); - void initThumbnailPage(Settings& settings); - void initVolumePage(Settings& settings); - void initAdvancedPage(Settings& settings); - void initTerminals(Settings& settings); - - void applyUiPage(Settings& settings); - void applyDisplayPage(Settings& settings); - void applyBehaviorPage(Settings& settings); - void applyThumbnailPage(Settings& settings); - void applyVolumePage(Settings& settings); - void applyAdvancedPage(Settings& settings); - - void initFromSettings(); - void applySettings(); - - void restartWarning(bool warn); - -private: - Ui::PreferencesDialog ui; - int warningCounter_; -}; - -} - -#endif // PCMANFM_PREFERENCESDIALOG_H diff --git a/pcmanfm/settings.cpp b/pcmanfm/settings.cpp deleted file mode 100644 index 88d4056..0000000 --- a/pcmanfm/settings.cpp +++ /dev/null @@ -1,792 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#include "settings.h" -#include -#include -#include -#include -#include -#include "desktopwindow.h" -#include -#include -#include -#include - -namespace PCManFM { - -inline static const char* bookmarkOpenMethodToString(OpenDirTargetType value); -inline static OpenDirTargetType bookmarkOpenMethodFromString(const QString str); - -inline static const char* wallpaperModeToString(int value); -inline static int wallpaperModeFromString(const QString str); - -inline static const char* viewModeToString(Fm::FolderView::ViewMode value); -inline static Fm::FolderView::ViewMode viewModeFromString(const QString str); - -inline static const char* sidePaneModeToString(Fm::SidePane::Mode value); -inline static Fm::SidePane::Mode sidePaneModeFromString(const QString& str); - -inline static const char* sortOrderToString(Qt::SortOrder order); -inline static Qt::SortOrder sortOrderFromString(const QString str); - -inline static const char* sortColumnToString(Fm::FolderModel::ColumnId value); -inline static Fm::FolderModel::ColumnId sortColumnFromString(const QString str); - -Settings::Settings(): - QObject(), - supportTrash_(Fm::uriExists("trash:///")), // check if trash:/// is supported - fallbackIconThemeName_(), - useFallbackIconTheme_(QIcon::themeName().isEmpty() || QIcon::themeName() == "hicolor"), - bookmarkOpenMethod_(OpenInCurrentTab), - suCommand_(), - terminal_(), - mountOnStartup_(true), - mountRemovable_(true), - autoRun_(true), - closeOnUnmount_(false), - wallpaperMode_(0), - wallpaper_(), - lastSlide_(), - wallpaperDir_(), - slideShowInterval_(0), - wallpaperRandomize_(false), - desktopBgColor_(), - desktopFgColor_(), - desktopShadowColor_(), - desktopIconSize_(48), - showWmMenu_(false), - desktopShowHidden_(false), - desktopHideItems_(false), - desktopSortOrder_(Qt::AscendingOrder), - desktopSortColumn_(Fm::FolderModel::ColumnFileMTime), - desktopSortFolderFirst_(true), - alwaysShowTabs_(true), - showTabClose_(true), - rememberWindowSize_(true), - fixedWindowWidth_(640), - fixedWindowHeight_(480), - lastWindowWidth_(640), - lastWindowHeight_(480), - lastWindowMaximized_(false), - splitterPos_(120), - sidePaneMode_(Fm::SidePane::ModePlaces), - showMenuBar_(true), - splitView_(false), - viewMode_(Fm::FolderView::IconMode), - showHidden_(false), - sortOrder_(Qt::AscendingOrder), - sortColumn_(Fm::FolderModel::ColumnFileName), - sortFolderFirst_(true), - sortCaseSensitive_(false), - showFilter_(false), - pathBarButtons_(true), - // settings for use with libfm - singleClick_(false), - autoSelectionDelay_(600), - useTrash_(true), - confirmDelete_(true), - noUsbTrash_(false), - confirmTrash_(false), - quickExec_(false), - selectNewFiles_(false), - showThumbnails_(true), - archiver_(), - siUnit_(false), - placesHome_(true), - placesDesktop_(true), - placesApplications_(true), - placesTrash_(true), - placesRoot_(true), - placesComputer_(true), - placesNetwork_(true), - bigIconSize_(48), - smallIconSize_(24), - sidePaneIconSize_(24), - thumbnailIconSize_(128), - folderViewCellMargins_(QSize(3, 3)), - desktopCellMargins_(QSize(3, 1)), - searchNameCaseInsensitive_(false), - searchContentCaseInsensitive_(false), - searchNameRegexp_(true), - searchContentRegexp_(true), - searchRecursive_(false), - searchhHidden_(false) { -} - -Settings::~Settings() { - -} - -QString Settings::xdgUserConfigDir() { - QString dirName; - // WARNING: Don't use XDG_CONFIG_HOME with root because it might - // give the user config directory if gksu-properties is set to su. - if(geteuid() != 0) { // non-root user - dirName = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation); - } - if(dirName.isEmpty()) { - dirName = QDir::homePath() % QLatin1String("/.config"); - } - return dirName; -} - -QString Settings::profileDir(QString profile, bool useFallback) { - // try user-specific config file first - QString dirName = xdgUserConfigDir(); - dirName = dirName % "/pcmanfm-qt/" % profile; - QDir dir(dirName); - - // if user config dir does not exist, try system-wide config dirs instead - if(!dir.exists() && useFallback) { - QString fallbackDir; - for(const char* const* configDir = g_get_system_config_dirs(); *configDir; ++configDir) { - fallbackDir = QString(*configDir) % "/pcmanfm-qt/" % profile; - dir.setPath(fallbackDir); - if(dir.exists()) { - dirName = fallbackDir; - break; - } - } - } - return dirName; -} - -bool Settings::load(QString profile) { - profileName_ = profile; - QString fileName = profileDir(profile, true) % "/settings.conf"; - return loadFile(fileName); -} - -bool Settings::save(QString profile) { - QString fileName = profileDir(profile.isEmpty() ? profileName_ : profile) % "/settings.conf"; - return saveFile(fileName); -} - -bool Settings::loadFile(QString filePath) { - QSettings settings(filePath, QSettings::IniFormat); - settings.beginGroup("System"); - fallbackIconThemeName_ = settings.value("FallbackIconThemeName").toString(); - if(fallbackIconThemeName_.isEmpty()) { - // FIXME: we should choose one from installed icon themes or get - // the value from XSETTINGS instead of hard code a fallback value. - fallbackIconThemeName_ = "oxygen"; // fallback icon theme name - } - suCommand_ = settings.value("SuCommand", "lxqt-sudo %s").toString(); - setTerminal(settings.value("Terminal", "xterm").toString()); - setArchiver(settings.value("Archiver", "file-roller").toString()); - setSiUnit(settings.value("SIUnit", false).toBool()); - - setOnlyUserTemplates(settings.value("OnlyUserTemplates", false).toBool()); - setTemplateTypeOnce(settings.value("TemplateTypeOnce", false).toBool()); - setTemplateRunApp(settings.value("TemplateRunApp", false).toBool()); - - settings.endGroup(); - - settings.beginGroup("Behavior"); - bookmarkOpenMethod_ = bookmarkOpenMethodFromString(settings.value("BookmarkOpenMethod").toString()); - // settings for use with libfm - useTrash_ = settings.value("UseTrash", true).toBool(); - singleClick_ = settings.value("SingleClick", false).toBool(); - autoSelectionDelay_ = settings.value("AutoSelectionDelay", 600).toInt(); - confirmDelete_ = settings.value("ConfirmDelete", true).toBool(); - setNoUsbTrash(settings.value("NoUsbTrash", false).toBool()); - confirmTrash_ = settings.value("ConfirmTrash", false).toBool(); - setQuickExec(settings.value("QuickExec", false).toBool()); - selectNewFiles_ = settings.value("SelectNewFiles", false).toBool(); - // bool thumbnailLocal_; - // bool thumbnailMax; - settings.endGroup(); - - settings.beginGroup("Desktop"); - wallpaperMode_ = wallpaperModeFromString(settings.value("WallpaperMode").toString()); - wallpaper_ = settings.value("Wallpaper").toString(); - lastSlide_ = settings.value("LastSlide").toString(); - wallpaperDir_ = settings.value("WallpaperDirectory").toString(); - slideShowInterval_ = settings.value("SlideShowInterval", 0).toInt(); - wallpaperRandomize_ = settings.value("WallpaperRandomize").toBool(); - desktopBgColor_.setNamedColor(settings.value("BgColor", "#000000").toString()); - desktopFgColor_.setNamedColor(settings.value("FgColor", "#ffffff").toString()); - desktopShadowColor_.setNamedColor(settings.value("ShadowColor", "#000000").toString()); - if(settings.contains("Font")) { - desktopFont_.fromString(settings.value("Font").toString()); - } - else { - desktopFont_ = QApplication::font(); - } - desktopIconSize_ = settings.value("DesktopIconSize", 48).toInt(); - desktopShortcuts_ = settings.value("DesktopShortcuts").toStringList(); - showWmMenu_ = settings.value("ShowWmMenu", false).toBool(); - desktopShowHidden_ = settings.value("ShowHidden", false).toBool(); - desktopHideItems_ = settings.value("HideItems", false).toBool(); - - desktopSortOrder_ = sortOrderFromString(settings.value("SortOrder").toString()); - desktopSortColumn_ = sortColumnFromString(settings.value("SortColumn").toString()); - desktopSortFolderFirst_ = settings.value("SortFolderFirst", true).toBool(); - - desktopCellMargins_ = (settings.value("DesktopCellMargins", QSize(3, 1)).toSize() - .expandedTo(QSize(0, 0))).boundedTo(QSize(48, 48)); - settings.endGroup(); - - settings.beginGroup("Volume"); - mountOnStartup_ = settings.value("MountOnStartup", true).toBool(); - mountRemovable_ = settings.value("MountRemovable", true).toBool(); - autoRun_ = settings.value("AutoRun", true).toBool(); - closeOnUnmount_ = settings.value("CloseOnUnmount", true).toBool(); - settings.endGroup(); - - settings.beginGroup("Thumbnail"); - showThumbnails_ = settings.value("ShowThumbnails", true).toBool(); - setMaxThumbnailFileSize(settings.value("MaxThumbnailFileSize", 4096).toInt()); - setThumbnailLocalFilesOnly(settings.value("ThumbnailLocalFilesOnly", true).toBool()); - settings.endGroup(); - - settings.beginGroup("FolderView"); - viewMode_ = viewModeFromString(settings.value("Mode", Fm::FolderView::IconMode).toString()); - showHidden_ = settings.value("ShowHidden", false).toBool(); - sortOrder_ = sortOrderFromString(settings.value("SortOrder").toString()); - sortColumn_ = sortColumnFromString(settings.value("SortColumn").toString()); - sortFolderFirst_ = settings.value("SortFolderFirst", true).toBool(); - sortCaseSensitive_ = settings.value("SortCaseSensitive", false).toBool(); - showFilter_ = settings.value("ShowFilter", false).toBool(); - - setBackupAsHidden(settings.value("BackupAsHidden", false).toBool()); - showFullNames_ = settings.value("ShowFullNames", false).toBool(); - shadowHidden_ = settings.value("ShadowHidden", false).toBool(); - - // override config in libfm's FmConfig - bigIconSize_ = toIconSize(settings.value("BigIconSize", 48).toInt(), Big); - smallIconSize_ = toIconSize(settings.value("SmallIconSize", 24).toInt(), Small); - sidePaneIconSize_ = toIconSize(settings.value("SidePaneIconSize", 24).toInt(), Small); - thumbnailIconSize_ = toIconSize(settings.value("ThumbnailIconSize", 128).toInt(), Thumbnail); - - folderViewCellMargins_ = (settings.value("FolderViewCellMargins", QSize(3, 3)).toSize() - .expandedTo(QSize(0, 0))).boundedTo(QSize(48, 48)); - - // detailed list columns - customColumnWidths_ = settings.value("CustomColumnWidths").toList(); - hiddenColumns_ = settings.value("HiddenColumns").toList(); - - settings.endGroup(); - - settings.beginGroup("Places"); - placesHome_ = settings.value("PlacesHome", true).toBool(); - placesDesktop_ = settings.value("PlacesDesktop", true).toBool(); - placesApplications_ = settings.value("PlacesApplications", true).toBool(); - placesTrash_ = settings.value("PlacesTrash", true).toBool(); - placesRoot_ = settings.value("PlacesRoot", true).toBool(); - placesComputer_ = settings.value("PlacesComputer", true).toBool(); - placesNetwork_ = settings.value("PlacesNetwork", true).toBool(); - hiddenPlaces_ = settings.value("HiddenPlaces").toStringList().toSet(); - settings.endGroup(); - - settings.beginGroup("Window"); - fixedWindowWidth_ = settings.value("FixedWidth", 640).toInt(); - fixedWindowHeight_ = settings.value("FixedHeight", 480).toInt(); - lastWindowWidth_ = settings.value("LastWindowWidth", 640).toInt(); - lastWindowHeight_ = settings.value("LastWindowHeight", 480).toInt(); - lastWindowMaximized_ = settings.value("LastWindowMaximized", false).toBool(); - rememberWindowSize_ = settings.value("RememberWindowSize", true).toBool(); - alwaysShowTabs_ = settings.value("AlwaysShowTabs", true).toBool(); - showTabClose_ = settings.value("ShowTabClose", true).toBool(); - splitterPos_ = settings.value("SplitterPos", 150).toInt(); - sidePaneMode_ = sidePaneModeFromString(settings.value("SidePaneMode").toString()); - showMenuBar_ = settings.value("ShowMenuBar", true).toBool(); - splitView_ = settings.value("SplitView", false).toBool(); - pathBarButtons_ = settings.value("PathBarButtons", true).toBool(); - settings.endGroup(); - - settings.beginGroup("Search"); - searchNameCaseInsensitive_ = settings.value("searchNameCaseInsensitive", false).toBool(); - searchContentCaseInsensitive_ = settings.value("searchContentCaseInsensitive", false).toBool(); - searchNameRegexp_ = settings.value("searchNameRegexp", true).toBool(); - searchContentRegexp_ = settings.value("searchContentRegexp", true).toBool(); - searchRecursive_ = settings.value("searchRecursive", false).toBool(); - searchhHidden_ = settings.value("searchhHidden", false).toBool(); - settings.endGroup(); - - return true; -} - -bool Settings::saveFile(QString filePath) { - QSettings settings(filePath, QSettings::IniFormat); - - settings.beginGroup("System"); - settings.setValue("FallbackIconThemeName", fallbackIconThemeName_); - settings.setValue("SuCommand", suCommand_); - settings.setValue("Terminal", terminal_); - settings.setValue("Archiver", archiver_); - settings.setValue("SIUnit", siUnit_); - - settings.setValue("OnlyUserTemplates", onlyUserTemplates_); - settings.setValue("TemplateTypeOnce", templateTypeOnce_); - settings.setValue("TemplateRunApp", templateRunApp_); - - settings.endGroup(); - - settings.beginGroup("Behavior"); - settings.setValue("BookmarkOpenMethod", bookmarkOpenMethodToString(bookmarkOpenMethod_)); - // settings for use with libfm - settings.setValue("UseTrash", useTrash_); - settings.setValue("SingleClick", singleClick_); - settings.setValue("AutoSelectionDelay", autoSelectionDelay_); - settings.setValue("ConfirmDelete", confirmDelete_); - settings.setValue("NoUsbTrash", noUsbTrash_); - settings.setValue("ConfirmTrash", confirmTrash_); - settings.setValue("QuickExec", quickExec_); - settings.setValue("SelectNewFiles", selectNewFiles_); - // bool thumbnailLocal_; - // bool thumbnailMax; - settings.endGroup(); - - settings.beginGroup("Desktop"); - settings.setValue("WallpaperMode", wallpaperModeToString(wallpaperMode_)); - settings.setValue("Wallpaper", wallpaper_); - settings.setValue("LastSlide", lastSlide_); - settings.setValue("WallpaperDirectory", wallpaperDir_); - settings.setValue("SlideShowInterval", slideShowInterval_); - settings.setValue("WallpaperRandomize", wallpaperRandomize_); - settings.setValue("BgColor", desktopBgColor_.name()); - settings.setValue("FgColor", desktopFgColor_.name()); - settings.setValue("ShadowColor", desktopShadowColor_.name()); - settings.setValue("Font", desktopFont_.toString()); - settings.setValue("DesktopIconSize", desktopIconSize_); - settings.setValue("DesktopShortcuts", desktopShortcuts_); - settings.setValue("ShowWmMenu", showWmMenu_); - settings.setValue("ShowHidden", desktopShowHidden_); - settings.setValue("HideItems", desktopHideItems_); - settings.setValue("SortOrder", sortOrderToString(desktopSortOrder_)); - settings.setValue("SortColumn", sortColumnToString(desktopSortColumn_)); - settings.setValue("SortFolderFirst", desktopSortFolderFirst_); - settings.setValue("DesktopCellMargins", desktopCellMargins_); - settings.endGroup(); - - settings.beginGroup("Volume"); - settings.setValue("MountOnStartup", mountOnStartup_); - settings.setValue("MountRemovable", mountRemovable_); - settings.setValue("AutoRun", autoRun_); - settings.setValue("CloseOnUnmount", closeOnUnmount_); - settings.endGroup(); - - settings.beginGroup("Thumbnail"); - settings.setValue("ShowThumbnails", showThumbnails_); - settings.setValue("MaxThumbnailFileSize", maxThumbnailFileSize()); - settings.setValue("ThumbnailLocalFilesOnly", thumbnailLocalFilesOnly()); - settings.endGroup(); - - settings.beginGroup("FolderView"); - settings.setValue("Mode", viewModeToString(viewMode_)); - settings.setValue("ShowHidden", showHidden_); - settings.setValue("SortOrder", sortOrderToString(sortOrder_)); - settings.setValue("SortColumn", sortColumnToString(sortColumn_)); - settings.setValue("SortFolderFirst", sortFolderFirst_); - settings.setValue("SortCaseSensitive", sortCaseSensitive_); - settings.setValue("ShowFilter", showFilter_); - - settings.setValue("BackupAsHidden", backupAsHidden_); - settings.setValue("ShowFullNames", showFullNames_); - settings.setValue("ShadowHidden", shadowHidden_); - - // override config in libfm's FmConfig - settings.setValue("BigIconSize", bigIconSize_); - settings.setValue("SmallIconSize", smallIconSize_); - settings.setValue("SidePaneIconSize", sidePaneIconSize_); - settings.setValue("ThumbnailIconSize", thumbnailIconSize_); - - settings.setValue("FolderViewCellMargins", folderViewCellMargins_); - - // detailed list columns - settings.setValue("CustomColumnWidths", customColumnWidths_); - std::sort(hiddenColumns_.begin(), hiddenColumns_.end()); - settings.setValue("HiddenColumns", hiddenColumns_); - - settings.endGroup(); - - settings.beginGroup("Places"); - settings.setValue("PlacesHome", placesHome_); - settings.setValue("PlacesDesktop", placesDesktop_); - settings.setValue("PlacesApplications", placesApplications_); - settings.setValue("PlacesTrash", placesTrash_); - settings.setValue("PlacesRoot", placesRoot_); - settings.setValue("PlacesComputer", placesComputer_); - settings.setValue("PlacesNetwork", placesNetwork_); - if (hiddenPlaces_.isEmpty()) { // don't save "@Invalid()" - settings.remove("HiddenPlaces"); - } - else { - QStringList hiddenPlaces = hiddenPlaces_.toList(); - settings.setValue("HiddenPlaces", hiddenPlaces); - } - settings.endGroup(); - - settings.beginGroup("Window"); - settings.setValue("FixedWidth", fixedWindowWidth_); - settings.setValue("FixedHeight", fixedWindowHeight_); - settings.setValue("LastWindowWidth", lastWindowWidth_); - settings.setValue("LastWindowHeight", lastWindowHeight_); - settings.setValue("LastWindowMaximized", lastWindowMaximized_); - settings.setValue("RememberWindowSize", rememberWindowSize_); - settings.setValue("AlwaysShowTabs", alwaysShowTabs_); - settings.setValue("ShowTabClose", showTabClose_); - settings.setValue("SplitterPos", splitterPos_); - settings.setValue("SidePaneMode", sidePaneModeToString(sidePaneMode_)); - settings.setValue("ShowMenuBar", showMenuBar_); - settings.setValue("SplitView", splitView_); - settings.setValue("PathBarButtons", pathBarButtons_); - settings.endGroup(); - - // save per-folder settings - Fm::FolderConfig::saveCache(); - - settings.beginGroup("Search"); - settings.setValue("searchNameCaseInsensitive", searchNameCaseInsensitive_); - settings.setValue("searchContentCaseInsensitive", searchContentCaseInsensitive_); - settings.setValue("searchNameRegexp", searchNameRegexp_); - settings.setValue("searchContentRegexp", searchContentRegexp_); - settings.setValue("searchRecursive", searchRecursive_); - settings.setValue("searchhHidden", searchhHidden_); - settings.endGroup(); - - return true; -} - -const QList & Settings::iconSizes(IconType type) { - static const QList sizes_big = {96, 72, 64, 48, 32}; - static const QList sizes_thumbnail = {256, 224, 192, 160, 128, 96, 64}; - static const QList sizes_small = {48, 32, 24, 22, 16}; - switch(type) { - case Big: - return sizes_big; - break; - case Thumbnail: - return sizes_thumbnail; - break; - case Small: - default: - return sizes_small; - break; - } -} - -int Settings::toIconSize(int size, IconType type) const { - const QList & sizes = iconSizes(type); - for (const auto & s : sizes) { - if(size >= s) { - return s; - } - } - return sizes.back(); -} - -static const char* bookmarkOpenMethodToString(OpenDirTargetType value) { - switch(value) { - case OpenInCurrentTab: - default: - return "current_tab"; - case OpenInNewTab: - return "new_tab"; - case OpenInNewWindow: - return "new_window"; - case OpenInLastActiveWindow: - return "last_window"; - } - return ""; -} - -static OpenDirTargetType bookmarkOpenMethodFromString(const QString str) { - - if(str == QStringLiteral("new_tab")) { - return OpenInNewTab; - } - else if(str == QStringLiteral("new_window")) { - return OpenInNewWindow; - } - else if(str == QStringLiteral("last_window")) { - return OpenInLastActiveWindow; - } - return OpenInCurrentTab; -} - -static const char* viewModeToString(Fm::FolderView::ViewMode value) { - const char* ret; - switch(value) { - case Fm::FolderView::IconMode: - default: - ret = "icon"; - break; - case Fm::FolderView::CompactMode: - ret = "compact"; - break; - case Fm::FolderView::DetailedListMode: - ret = "detailed"; - break; - case Fm::FolderView::ThumbnailMode: - ret = "thumbnail"; - break; - } - return ret; -} - -Fm::FolderView::ViewMode viewModeFromString(const QString str) { - Fm::FolderView::ViewMode ret; - if(str == "icon") { - ret = Fm::FolderView::IconMode; - } - else if(str == "compact") { - ret = Fm::FolderView::CompactMode; - } - else if(str == "detailed") { - ret = Fm::FolderView::DetailedListMode; - } - else if(str == "thumbnail") { - ret = Fm::FolderView::ThumbnailMode; - } - else { - ret = Fm::FolderView::IconMode; - } - return ret; -} - -static const char* sortOrderToString(Qt::SortOrder order) { - return (order == Qt::DescendingOrder ? "descending" : "ascending"); -} - -static Qt::SortOrder sortOrderFromString(const QString str) { - return (str == "descending" ? Qt::DescendingOrder : Qt::AscendingOrder); -} - -static const char* sortColumnToString(Fm::FolderModel::ColumnId value) { - const char* ret; - switch(value) { - case Fm::FolderModel::ColumnFileName: - default: - ret = "name"; - break; - case Fm::FolderModel::ColumnFileType: - ret = "type"; - break; - case Fm::FolderModel::ColumnFileSize: - ret = "size"; - break; - case Fm::FolderModel::ColumnFileMTime: - ret = "mtime"; - break; - case Fm::FolderModel::ColumnFileOwner: - ret = "owner"; - break; - case Fm::FolderModel::ColumnFileGroup: - ret = "group"; - break; - } - return ret; -} - -static Fm::FolderModel::ColumnId sortColumnFromString(const QString str) { - Fm::FolderModel::ColumnId ret; - if(str == "name") { - ret = Fm::FolderModel::ColumnFileName; - } - else if(str == "type") { - ret = Fm::FolderModel::ColumnFileType; - } - else if(str == "size") { - ret = Fm::FolderModel::ColumnFileSize; - } - else if(str == "mtime") { - ret = Fm::FolderModel::ColumnFileMTime; - } - else if(str == "owner") { - ret = Fm::FolderModel::ColumnFileOwner; - } - else if(str == "group") { - ret = Fm::FolderModel::ColumnFileGroup; - } - else { - ret = Fm::FolderModel::ColumnFileName; - } - return ret; -} - -static const char* wallpaperModeToString(int value) { - const char* ret; - switch(value) { - case DesktopWindow::WallpaperNone: - default: - ret = "none"; - break; - case DesktopWindow::WallpaperStretch: - ret = "stretch"; - break; - case DesktopWindow::WallpaperFit: - ret = "fit"; - break; - case DesktopWindow::WallpaperCenter: - ret = "center"; - break; - case DesktopWindow::WallpaperTile: - ret = "tile"; - break; - case DesktopWindow::WallpaperZoom: - ret = "zoom"; - break; - } - return ret; -} - -static int wallpaperModeFromString(const QString str) { - int ret; - if(str == "stretch") { - ret = DesktopWindow::WallpaperStretch; - } - else if(str == "fit") { - ret = DesktopWindow::WallpaperFit; - } - else if(str == "center") { - ret = DesktopWindow::WallpaperCenter; - } - else if(str == "tile") { - ret = DesktopWindow::WallpaperTile; - } - else if(str == "zoom") { - ret = DesktopWindow::WallpaperZoom; - } - else { - ret = DesktopWindow::WallpaperNone; - } - return ret; -} - -static const char* sidePaneModeToString(Fm::SidePane::Mode value) { - const char* ret; - switch(value) { - case Fm::SidePane::ModePlaces: - default: - ret = "places"; - break; - case Fm::SidePane::ModeDirTree: - ret = "dirtree"; - break; - case Fm::SidePane::ModeNone: - ret = "none"; - break; - } - return ret; -} - -static Fm::SidePane::Mode sidePaneModeFromString(const QString& str) { - Fm::SidePane::Mode ret; - if(str == "none") { - ret = Fm::SidePane::ModeNone; - } - else if(str == "dirtree") { - ret = Fm::SidePane::ModeDirTree; - } - else { - ret = Fm::SidePane::ModePlaces; - } - return ret; -} - -void Settings::setTerminal(QString terminalCommand) { - terminal_ = terminalCommand; - Fm::setDefaultTerminal(terminal_.toStdString()); -} - - -// per-folder settings -FolderSettings Settings::loadFolderSettings(const Fm::FilePath& path) const { - FolderSettings settings; - Fm::FolderConfig cfg(path); - // set defaults - settings.setSortOrder(sortOrder()); - settings.setSortColumn(sortColumn()); - settings.setViewMode(viewMode()); - settings.setShowHidden(showHidden()); - settings.setSortFolderFirst(sortFolderFirst()); - settings.setSortCaseSensitive(sortCaseSensitive()); - // columns? - if(!cfg.isEmpty()) { - // load folder-specific settings - settings.setCustomized(true); - - char* str; - // load sorting - str = cfg.getString("SortOrder"); - if(str != nullptr) { - settings.setSortOrder(sortOrderFromString(str)); - g_free(str); - } - - str = cfg.getString("SortColumn"); - if(str != nullptr) { - settings.setSortColumn(sortColumnFromString(str)); - g_free(str); - } - - str = cfg.getString("ViewMode"); - if(str != nullptr) { - // set view mode - settings.setViewMode(viewModeFromString(str)); - g_free(str); - } - - bool show_hidden; - if(cfg.getBoolean("ShowHidden", &show_hidden)) { - settings.setShowHidden(show_hidden); - } - - bool folder_first; - if(cfg.getBoolean("SortFolderFirst", &folder_first)) { - settings.setSortFolderFirst(folder_first); - } - - bool case_sensitive; - if(cfg.getBoolean("SortCaseSensitive", &case_sensitive)) { - settings.setSortCaseSensitive(case_sensitive); - } - } - return settings; -} - -void Settings::saveFolderSettings(const Fm::FilePath& path, const FolderSettings& settings) { - if(path) { - // ensure that we have the libfm dir - QString dirName = xdgUserConfigDir() % QStringLiteral("/libfm"); - QDir().mkpath(dirName); // if libfm config dir does not exist, create it - - Fm::FolderConfig cfg(path); - cfg.setString("SortOrder", sortOrderToString(settings.sortOrder())); - cfg.setString("SortColumn", sortColumnToString(settings.sortColumn())); - cfg.setString("ViewMode", viewModeToString(settings.viewMode())); - cfg.setBoolean("ShowHidden", settings.showHidden()); - cfg.setBoolean("SortFolderFirst", settings.sortFolderFirst()); - cfg.setBoolean("SortCaseSensitive", settings.sortCaseSensitive()); - } -} - -void Settings::clearFolderSettings(const Fm::FilePath& path) const { - if(path) { - Fm::FolderConfig cfg(path); - cfg.purge(); - } -} - - -} // namespace PCManFM diff --git a/pcmanfm/settings.h b/pcmanfm/settings.h deleted file mode 100644 index 11cea6c..0000000 --- a/pcmanfm/settings.h +++ /dev/null @@ -1,1025 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#ifndef PCMANFM_SETTINGS_H -#define PCMANFM_SETTINGS_H - -#include -#include -#include -#include "desktopwindow.h" -#include -#include -#include -#include - -namespace PCManFM { - -enum OpenDirTargetType { - OpenInCurrentTab, - OpenInNewTab, - OpenInNewWindow, - OpenInLastActiveWindow -}; - -class FolderSettings { -public: - FolderSettings(): - isCustomized_(false), - sortOrder_(Qt::AscendingOrder), - sortColumn_(Fm::FolderModel::ColumnFileName), - viewMode_(Fm::FolderView::IconMode), - showHidden_(false), - sortFolderFirst_(true), - sortCaseSensitive_(true) { - } - - bool isCustomized() const { - return isCustomized_; - } - - void setCustomized(bool value) { - isCustomized_ = value; - } - - Qt::SortOrder sortOrder() const { - return sortOrder_; - } - - void setSortOrder(Qt::SortOrder value) { - sortOrder_ = value; - } - - Fm::FolderModel::ColumnId sortColumn() const { - return sortColumn_; - } - - void setSortColumn(Fm::FolderModel::ColumnId value) { - sortColumn_ = value; - } - - Fm::FolderView::ViewMode viewMode() const { - return viewMode_; - } - - void setViewMode(Fm::FolderView::ViewMode value) { - viewMode_ = value; - } - - bool sortFolderFirst() const { - return sortFolderFirst_; - } - - void setSortFolderFirst(bool value) { - sortFolderFirst_ = value; - } - - bool showHidden() const { - return showHidden_; - } - - void setShowHidden(bool value) { - showHidden_ = value; - } - - bool sortCaseSensitive() const { - return sortCaseSensitive_; - } - - void setSortCaseSensitive(bool value) { - sortCaseSensitive_ = value; - } - -private: - bool isCustomized_; - Qt::SortOrder sortOrder_; - Fm::FolderModel::ColumnId sortColumn_; - Fm::FolderView::ViewMode viewMode_; - bool showHidden_; - bool sortFolderFirst_; - bool sortCaseSensitive_; - // columns? -}; - - -class Settings : public QObject { - Q_OBJECT -public: - enum IconType { - Small, - Big, - Thumbnail - }; - - Settings(); - virtual ~Settings(); - - bool load(QString profile = "default"); - bool save(QString profile = QString()); - - bool loadFile(QString filePath); - bool saveFile(QString filePath); - - static QString xdgUserConfigDir(); - static const QList & iconSizes(IconType type); - - QString profileDir(QString profile, bool useFallback = false); - - // setter/getter functions - QString profileName() const { - return profileName_; - } - - bool supportTrash() const { - return supportTrash_; - } - - QString fallbackIconThemeName() const { - return fallbackIconThemeName_; - } - - bool useFallbackIconTheme() const { - return useFallbackIconTheme_; - } - - void setFallbackIconThemeName(QString iconThemeName) { - fallbackIconThemeName_ = iconThemeName; - } - - OpenDirTargetType bookmarkOpenMethod() { - return bookmarkOpenMethod_; - } - - void setBookmarkOpenMethod(OpenDirTargetType bookmarkOpenMethod) { - bookmarkOpenMethod_ = bookmarkOpenMethod; - } - - QString suCommand() const { - return suCommand_; - } - - void setSuCommand(QString suCommand) { - suCommand_ = suCommand; - } - - QString terminal() { - return terminal_; - } - void setTerminal(QString terminalCommand); - - QString archiver() const { - return archiver_; - } - - void setArchiver(QString archiver) { - archiver_ = archiver; - Fm::Archiver::setDefaultArchiverByName(archiver_.toLocal8Bit().constData()); - } - - bool mountOnStartup() const { - return mountOnStartup_; - } - - void setMountOnStartup(bool mountOnStartup) { - mountOnStartup_ = mountOnStartup; - } - - bool mountRemovable() { - return mountRemovable_; - } - - void setMountRemovable(bool mountRemovable) { - mountRemovable_ = mountRemovable; - } - - bool autoRun() const { - return autoRun_; - } - - void setAutoRun(bool autoRun) { - autoRun_ = autoRun; - } - - bool closeOnUnmount() const { - return closeOnUnmount_; - } - - void setCloseOnUnmount(bool value) { - closeOnUnmount_ = value; - } - - DesktopWindow::WallpaperMode wallpaperMode() const { - return DesktopWindow::WallpaperMode(wallpaperMode_); - } - - void setWallpaperMode(int wallpaperMode) { - wallpaperMode_ = wallpaperMode; - } - - QString wallpaper() const { - return wallpaper_; - } - - void setWallpaper(QString wallpaper) { - wallpaper_ = wallpaper; - } - - QString wallpaperDir() const { - return wallpaperDir_; - } - - void setLastSlide(QString wallpaper) { - lastSlide_ = wallpaper; - } - - QString lastSlide() const { - return lastSlide_; - } - - void setWallpaperDir(QString dir) { - wallpaperDir_ = dir; - } - - int slideShowInterval() const { - return slideShowInterval_; - } - - void setSlideShowInterval(int interval) { - slideShowInterval_ = interval; - } - - bool wallpaperRandomize() const { - return wallpaperRandomize_; - } - - void setWallpaperRandomize(bool randomize) { - wallpaperRandomize_ = randomize; - } - - const QColor& desktopBgColor() const { - return desktopBgColor_; - } - - void setDesktopBgColor(QColor desktopBgColor) { - desktopBgColor_ = desktopBgColor; - } - - const QColor& desktopFgColor() const { - return desktopFgColor_; - } - - void setDesktopFgColor(QColor desktopFgColor) { - desktopFgColor_ = desktopFgColor; - } - - const QColor& desktopShadowColor() const { - return desktopShadowColor_; - } - - void setDesktopShadowColor(QColor desktopShadowColor) { - desktopShadowColor_ = desktopShadowColor; - } - - QFont desktopFont() const { - return desktopFont_; - } - - void setDesktopFont(QFont font) { - desktopFont_ = font; - } - - int desktopIconSize() const { - return desktopIconSize_; - } - - void setDesktopIconSize(int desktopIconSize) { - desktopIconSize_ = desktopIconSize; - } - - QStringList desktopShortcuts() const { - return desktopShortcuts_; - } - - void setDesktopShortcuts(const QStringList& list) { - desktopShortcuts_ = list; - } - - bool showWmMenu() const { - return showWmMenu_; - } - - void setShowWmMenu(bool value) { - showWmMenu_ = value; - } - - bool desktopShowHidden() const { - return desktopShowHidden_; - } - - void setDesktopShowHidden(bool desktopShowHidden) { - desktopShowHidden_ = desktopShowHidden; - } - - bool desktopHideItems() const { - return desktopHideItems_; - } - - void setDesktopHideItems(bool hide) { - desktopHideItems_ = hide; - } - - Qt::SortOrder desktopSortOrder() const { - return desktopSortOrder_; - } - - void setDesktopSortOrder(Qt::SortOrder desktopSortOrder) { - desktopSortOrder_ = desktopSortOrder; - } - - Fm::FolderModel::ColumnId desktopSortColumn() const { - return desktopSortColumn_; - } - - void setDesktopSortColumn(Fm::FolderModel::ColumnId desktopSortColumn) { - desktopSortColumn_ = desktopSortColumn; - } - - bool desktopSortFolderFirst() const { - return desktopSortFolderFirst_; - } - - void setDesktopSortFolderFirst(bool desktopFolderFirst) { - desktopSortFolderFirst_ = desktopFolderFirst; - } - - bool alwaysShowTabs() const { - return alwaysShowTabs_; - } - - void setAlwaysShowTabs(bool alwaysShowTabs) { - alwaysShowTabs_ = alwaysShowTabs; - } - - bool showTabClose() const { - return showTabClose_; - } - - void setShowTabClose(bool showTabClose) { - showTabClose_ = showTabClose; - } - - bool rememberWindowSize() const { - return rememberWindowSize_; - } - - void setRememberWindowSize(bool rememberWindowSize) { - rememberWindowSize_ = rememberWindowSize; - } - - int windowWidth() const { - if(rememberWindowSize_) { - return lastWindowWidth_; - } - else { - return fixedWindowWidth_; - } - } - - int windowHeight() const { - if(rememberWindowSize_) { - return lastWindowHeight_; - } - else { - return fixedWindowHeight_; - } - } - - bool windowMaximized() const { - if(rememberWindowSize_) { - return lastWindowMaximized_; - } - else { - return false; - } - } - - int fixedWindowWidth() const { - return fixedWindowWidth_; - } - - void setFixedWindowWidth(int fixedWindowWidth) { - fixedWindowWidth_ = fixedWindowWidth; - } - - int fixedWindowHeight() const { - return fixedWindowHeight_; - } - - void setFixedWindowHeight(int fixedWindowHeight) { - fixedWindowHeight_ = fixedWindowHeight; - } - - void setLastWindowWidth(int lastWindowWidth) { - lastWindowWidth_ = lastWindowWidth; - } - - void setLastWindowHeight(int lastWindowHeight) { - lastWindowHeight_ = lastWindowHeight; - } - - void setLastWindowMaximized(bool lastWindowMaximized) { - lastWindowMaximized_ = lastWindowMaximized; - } - - int splitterPos() const { - return splitterPos_; - } - - void setSplitterPos(int splitterPos) { - splitterPos_ = splitterPos; - } - - Fm::SidePane::Mode sidePaneMode() const { - return sidePaneMode_; - } - - void setSidePaneMode(Fm::SidePane::Mode sidePaneMode) { - sidePaneMode_ = sidePaneMode; - } - - bool showMenuBar() const { - return showMenuBar_; - } - - void setShowMenuBar(bool showMenuBar) { - showMenuBar_ = showMenuBar; - } - - bool splitView() const { - return splitView_; - } - - void setSplitView(bool split) { - splitView_ = split; - } - - Fm::FolderView::ViewMode viewMode() const { - return viewMode_; - } - - void setViewMode(Fm::FolderView::ViewMode viewMode) { - viewMode_ = viewMode; - } - - bool showHidden() const { - return showHidden_; - } - - void setShowHidden(bool showHidden) { - showHidden_ = showHidden; - } - - bool sortCaseSensitive() const { - return sortCaseSensitive_; - } - - void setSortCaseSensitive(bool value) { - sortCaseSensitive_ = value; - } - - - bool placesHome() const { - return placesHome_; - } - - void setPlacesHome(bool placesHome) { - placesHome_ = placesHome; - } - - bool placesDesktop() const { - return placesDesktop_; - } - - void setPlacesDesktop(bool placesDesktop) { - placesDesktop_ = placesDesktop; - } - - bool placesApplications() const { - return placesApplications_; - } - - void setPlacesApplications(bool placesApplications) { - placesApplications_ = placesApplications; - } - - bool placesTrash() const { - return placesTrash_; - } - - void setPlacesTrash(bool placesTrash) { - placesTrash_ = placesTrash; - } - - bool placesRoot() const { - return placesRoot_; - } - - void setPlacesRoot(bool placesRoot) { - placesRoot_ = placesRoot; - } - - bool placesComputer() const { - return placesComputer_; - } - - void setPlacesComputer(bool placesComputer) { - placesComputer_ = placesComputer; - } - - bool placesNetwork() const { - return placesNetwork_; - } - - void setPlacesNetwork(bool placesNetwork) { - placesNetwork_ = placesNetwork; - } - - QSet getHiddenPlaces() const { - return hiddenPlaces_; - } - - void setHiddenPlace(const QString& str, bool hide) { - if(hide) { - hiddenPlaces_ << str; - } - else { - hiddenPlaces_.remove(str); - } - } - - - Qt::SortOrder sortOrder() const { - return sortOrder_; - } - - void setSortOrder(Qt::SortOrder sortOrder) { - sortOrder_ = sortOrder; - } - - Fm::FolderModel::ColumnId sortColumn() const { - return sortColumn_; - } - - void setSortColumn(Fm::FolderModel::ColumnId sortColumn) { - sortColumn_ = sortColumn; - } - - bool sortFolderFirst() const { - return sortFolderFirst_; - } - - void setSortFolderFirst(bool folderFirst) { - sortFolderFirst_ = folderFirst; - } - - bool showFilter() const { - return showFilter_; - } - - void setShowFilter(bool value) { - showFilter_ = value; - } - - bool pathBarButtons() const { - return pathBarButtons_; - } - - void setPathBarButtons(bool value) { - pathBarButtons_ = value; - } - - // settings for use with libfm - bool singleClick() const { - return singleClick_; - } - - void setSingleClick(bool singleClick) { - singleClick_ = singleClick; - } - - int autoSelectionDelay() const { - return autoSelectionDelay_; - } - - void setAutoSelectionDelay(int value) { - autoSelectionDelay_ = value; - } - - bool useTrash() const { - if(!supportTrash_) { - return false; - } - return useTrash_; - } - - void setUseTrash(bool useTrash) { - useTrash_ = useTrash; - } - - bool confirmDelete() const { - return confirmDelete_; - } - - void setConfirmDelete(bool confirmDelete) { - confirmDelete_ = confirmDelete; - } - - bool noUsbTrash() const { - return noUsbTrash_; - } - - void setNoUsbTrash(bool noUsbTrash) { - noUsbTrash_ = noUsbTrash; - fm_config->no_usb_trash = noUsbTrash_; // also set this to libfm since FmFileOpsJob reads this config value before trashing files. - } - - bool confirmTrash() const { - return confirmTrash_; - } - - void setConfirmTrash(bool value) { - confirmTrash_ = value; - } - - bool quickExec() const { - return quickExec_; - } - - void setQuickExec(bool value) { - quickExec_ = value; - fm_config->quick_exec = quickExec_; - } - - bool selectNewFiles() const { - return selectNewFiles_; - } - - void setSelectNewFiles(bool value) { - selectNewFiles_ = value; - } - - // bool thumbnailLocal_; - // bool thumbnailMax; - - int bigIconSize() const { - return bigIconSize_; - } - - void setBigIconSize(int bigIconSize) { - bigIconSize_ = bigIconSize; - } - - int smallIconSize() const { - return smallIconSize_; - } - - void setSmallIconSize(int smallIconSize) { - smallIconSize_ = smallIconSize; - } - - int sidePaneIconSize() const { - return sidePaneIconSize_; - } - - void setSidePaneIconSize(int sidePaneIconSize) { - sidePaneIconSize_ = sidePaneIconSize; - } - - int thumbnailIconSize() const { - return thumbnailIconSize_; - } - - QSize folderViewCellMargins() const { - return folderViewCellMargins_; - } - - void setFolderViewCellMargins(QSize size) { - folderViewCellMargins_ = size; - } - - QSize desktopCellMargins() const { - return desktopCellMargins_; - } - - void setDesktopCellMargins(QSize size) { - desktopCellMargins_ = size; - } - - - bool showThumbnails() { - return showThumbnails_; - } - - void setShowThumbnails(bool show) { - showThumbnails_ = show; - } - - void setThumbnailLocalFilesOnly(bool value) { - Fm::ThumbnailJob::setLocalFilesOnly(value); - } - - bool thumbnailLocalFilesOnly() const { - return Fm::ThumbnailJob::localFilesOnly(); - } - - int maxThumbnailFileSize() const { - return Fm::ThumbnailJob::maxThumbnailFileSize(); - } - - void setMaxThumbnailFileSize(int size) { - Fm::ThumbnailJob::setMaxThumbnailFileSize(size); - } - - void setThumbnailIconSize(int thumbnailIconSize) { - thumbnailIconSize_ = thumbnailIconSize; - } - - bool siUnit() { - return siUnit_; - } - - void setSiUnit(bool siUnit) { - siUnit_ = siUnit; - // override libfm FmConfig settings. FIXME: should we do this? - fm_config->si_unit = (gboolean)siUnit_; - } - - bool backupAsHidden() const { - return backupAsHidden_; - } - - void setBackupAsHidden(bool value) { - backupAsHidden_ = value; - fm_config->backup_as_hidden = backupAsHidden_; // also set this to libfm since fm_file_info_is_hidden() reads this value internally. - } - - bool showFullNames() const { - return showFullNames_; - } - - void setShowFullNames(bool value) { - showFullNames_ = value; - } - - bool shadowHidden() const { - return shadowHidden_; - } - - void setShadowHidden(bool value) { - shadowHidden_ = value; - } - - bool onlyUserTemplates() const { - return onlyUserTemplates_; - } - - void setOnlyUserTemplates(bool value) { - onlyUserTemplates_ = value; - fm_config->only_user_templates = onlyUserTemplates_; - } - - bool templateTypeOnce() const { - return templateTypeOnce_; - } - - void setTemplateTypeOnce(bool value) { - templateTypeOnce_ = value; - fm_config->template_type_once = templateTypeOnce_; - } - - bool templateRunApp() const { - return templateRunApp_; - } - - void setTemplateRunApp(bool value) { - templateRunApp_ = value; - fm_config->template_run_app = templateRunApp_; - } - - // per-folder settings - FolderSettings loadFolderSettings(const Fm::FilePath& path) const; - - void saveFolderSettings(const Fm::FilePath& path, const FolderSettings& settings); - - void clearFolderSettings(const Fm::FilePath& path) const; - - bool searchNameCaseInsensitive() const { - return searchNameCaseInsensitive_; - } - - void setSearchNameCaseInsensitive(bool caseInsensitive) { - searchNameCaseInsensitive_ = caseInsensitive; - } - - bool searchContentCaseInsensitive() const { - return searchContentCaseInsensitive_; - } - - void setsearchContentCaseInsensitive(bool caseInsensitive) { - searchContentCaseInsensitive_ = caseInsensitive; - } - - bool searchNameRegexp() const { - return searchNameRegexp_; - } - - void setSearchNameRegexp(bool reg) { - searchNameRegexp_ = reg; - } - - bool searchContentRegexp() const { - return searchContentRegexp_; - } - - void setSearchContentRegexp(bool reg) { - searchContentRegexp_ = reg; - } - - bool searchRecursive() const { - return searchRecursive_; - } - - void setSearchRecursive(bool rec) { - searchRecursive_ = rec; - } - - bool searchhHidden() const { - return searchhHidden_; - } - - void setSearchhHidden(bool hidden) { - searchhHidden_ = hidden; - } - - QList getCustomColumnWidths() const { - QList l; - for(auto width : qAsConst(customColumnWidths_)) { - l << width.toInt(); - } - return l; - } - - void setCustomColumnWidths(const QList &widths) { - customColumnWidths_.clear(); - for(auto width : widths) { - customColumnWidths_ << QVariant(width); - } - } - - QList getHiddenColumns() const { - QList l; - for(auto width : qAsConst(hiddenColumns_)) { - l << width.toInt(); - } - return l; - } - - void setHiddenColumns(const QList &columns) { - hiddenColumns_.clear(); - for(auto column : columns) { - hiddenColumns_ << QVariant(column); - } - } - -private: - int toIconSize(int size, IconType type) const; - - QString profileName_; - bool supportTrash_; - - // PCManFM specific - QString fallbackIconThemeName_; - bool useFallbackIconTheme_; - - OpenDirTargetType bookmarkOpenMethod_; - QString suCommand_; - QString terminal_; - bool mountOnStartup_; - bool mountRemovable_; - bool autoRun_; - bool closeOnUnmount_; - - int wallpaperMode_; - QString wallpaper_; - QString lastSlide_; - QString wallpaperDir_; - int slideShowInterval_; - bool wallpaperRandomize_; - QColor desktopBgColor_; - QColor desktopFgColor_; - QColor desktopShadowColor_; - QFont desktopFont_; - int desktopIconSize_; - QStringList desktopShortcuts_; - bool showWmMenu_; - - bool desktopShowHidden_; - bool desktopHideItems_; - Qt::SortOrder desktopSortOrder_; - Fm::FolderModel::ColumnId desktopSortColumn_; - bool desktopSortFolderFirst_; - - bool alwaysShowTabs_; - bool showTabClose_; - bool rememberWindowSize_; - int fixedWindowWidth_; - int fixedWindowHeight_; - int lastWindowWidth_; - int lastWindowHeight_; - bool lastWindowMaximized_; - int splitterPos_; - Fm::SidePane::Mode sidePaneMode_; - bool showMenuBar_; - bool splitView_; - - Fm::FolderView::ViewMode viewMode_; - bool showHidden_; - Qt::SortOrder sortOrder_; - Fm::FolderModel::ColumnId sortColumn_; - bool sortFolderFirst_; - bool sortCaseSensitive_; - bool showFilter_; - bool pathBarButtons_; - - // settings for use with libfm - bool singleClick_; - int autoSelectionDelay_; - bool useTrash_; - bool confirmDelete_; - bool noUsbTrash_; // do not trash files on usb removable devices - bool confirmTrash_; // Confirm before moving files into "trash can" - bool quickExec_; // Don't ask options on launch executable file - bool selectNewFiles_; - - bool showThumbnails_; - - QString archiver_; - bool siUnit_; - bool backupAsHidden_; - bool showFullNames_; - bool shadowHidden_; - - bool placesHome_; - bool placesDesktop_; - bool placesApplications_; - bool placesTrash_; - bool placesRoot_; - bool placesComputer_; - bool placesNetwork_; - QSet hiddenPlaces_; - - int bigIconSize_; - int smallIconSize_; - int sidePaneIconSize_; - int thumbnailIconSize_; - - bool onlyUserTemplates_; - bool templateTypeOnce_; - bool templateRunApp_; - - QSize folderViewCellMargins_; - QSize desktopCellMargins_; - - // search settings - bool searchNameCaseInsensitive_; - bool searchContentCaseInsensitive_; - bool searchNameRegexp_; - bool searchContentRegexp_; - bool searchRecursive_; - bool searchhHidden_; - - // detailed list columns - QList customColumnWidths_; - QList hiddenColumns_; -}; - -} - -#endif // PCMANFM_SETTINGS_H diff --git a/pcmanfm/statusbar.cpp b/pcmanfm/statusbar.cpp deleted file mode 100644 index e5dfdb4..0000000 --- a/pcmanfm/statusbar.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/* - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#include "statusbar.h" -#include -#include - -#define MESSAGE_DELAY 250 - -namespace PCManFM { - -Label::Label(QWidget* parent, Qt::WindowFlags f): - QLabel(parent, f), - lastWidth_(0) { - setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred); - // set a min width to prevent the window from widening with long texts - setMinimumWidth(fontMetrics().averageCharWidth() * 10); -} - -// A simplified version of QLabel::paintEvent() -// without pixmap or shortcut but with eliding. -void Label::paintEvent(QPaintEvent* /*event*/) { - QRect cr = contentsRect().adjusted(margin(), margin(), -margin(), -margin()); - QString txt = text(); - // if the text is changed or its rect is resized (due to window resizing), - // find whether it needs to be elided... - if (txt != lastText_ || cr.width() != lastWidth_) { - lastText_ = txt; - lastWidth_ = cr.width(); - elidedText_ = fontMetrics().elidedText(txt, Qt::ElideMiddle, cr.width()); - } - // ... then, draw the (elided) text - if(!elidedText_.isEmpty()) { - QPainter painter(this); - QStyleOption opt; - opt.initFrom(this); - style()->drawItemText(&painter, cr, alignment(), opt.palette, isEnabled(), elidedText_, foregroundRole()); - } -} - -StatusBar::StatusBar(QWidget *parent): - QStatusBar(parent), - lastTimeOut_(0) { - statusLabel_ = new Label(); - statusLabel_->setFrameShape(QFrame::NoFrame); - // 4px space on both sides (not to be mixed with the permanent widget) - statusLabel_->setContentsMargins(4, 0, 4, 0); - addWidget(statusLabel_); - - messageTimer_ = new QTimer (this); - messageTimer_->setSingleShot(true); - messageTimer_->setInterval(MESSAGE_DELAY); - connect(messageTimer_, &QTimer::timeout, this, &StatusBar::reallyShowMessage); -} - -StatusBar::~StatusBar() { - if(messageTimer_) { - messageTimer_->stop(); - delete messageTimer_; - } -} - -void StatusBar::showMessage(const QString &message, int timeout) { - // don't show the message immediately - lastMessage_ = message; - lastTimeOut_ = timeout; - if(!messageTimer_->isActive()) { - messageTimer_->start(); - } -} - -void StatusBar::reallyShowMessage() { - if(lastTimeOut_ == 0) { - // set the text on the label to prevent its disappearance on focusing menubar items - // and also ensure that it contsains no newline (because file names may contain it) - statusLabel_->setText(lastMessage_.replace(QLatin1Char('\n'), QLatin1Char(' '))); - } - else { - QStatusBar::showMessage(lastMessage_, lastTimeOut_); - } -} - -} diff --git a/pcmanfm/statusbar.h b/pcmanfm/statusbar.h deleted file mode 100644 index acc14f5..0000000 --- a/pcmanfm/statusbar.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#ifndef FM_STATUSBAR_H -#define FM_STATUSBAR_H - -#include -#include -#include - -namespace PCManFM { - -class Label : public QLabel { -Q_OBJECT - -public: - explicit Label(QWidget *parent = 0, Qt::WindowFlags f = Qt::WindowFlags()); - -protected: - void paintEvent(QPaintEvent *event) override; - -private: - QString elidedText_; - QString lastText_; - int lastWidth_; -}; - -class StatusBar : public QStatusBar { -Q_OBJECT - -public: - explicit StatusBar(QWidget *parent = 0); - ~StatusBar(); - -public Q_SLOTS: - void showMessage(const QString &message, int timeout = 0); - -protected Q_SLOTS: - void reallyShowMessage(); - -private: - Label* statusLabel_; // for a stable (elided) text - QTimer* messageTimer_; - QString lastMessage_; - int lastTimeOut_; -}; - -} - -#endif // FM_STATUSBAR_H diff --git a/pcmanfm/tabbar.cpp b/pcmanfm/tabbar.cpp deleted file mode 100644 index f557925..0000000 --- a/pcmanfm/tabbar.cpp +++ /dev/null @@ -1,118 +0,0 @@ -/* - - Copyright (C) 2014 Kuzma Shapran - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#include "tabbar.h" -#include -#include -#include -#include -#include - -namespace PCManFM { - -TabBar::TabBar(QWidget *parent): - QTabBar(parent), - dragStarted_(false), - detachable_(true) -{ -} - -void TabBar::mousePressEvent(QMouseEvent *event) { - QTabBar::mousePressEvent (event); - if(detachable_){ - if(event->button() == Qt::LeftButton - && tabAt(event->pos()) > -1) { - dragStartPosition_ = event->pos(); - } - dragStarted_ = false; - } -} - -void TabBar::mouseMoveEvent(QMouseEvent *event) -{ - if(!detachable_) { - QTabBar::mouseMoveEvent(event); - return; - } - - if(!dragStartPosition_.isNull() - && (event->pos() - dragStartPosition_).manhattanLength() >= QApplication::startDragDistance()) { - dragStarted_ = true; - } - - if((event->buttons() & Qt::LeftButton) - && dragStarted_ - && !window()->geometry().contains(event->globalPos())) { - if(currentIndex() == -1) { - return; - } - - QPointer drag = new QDrag(this); - QMimeData *mimeData = new QMimeData; - mimeData->setData("application/pcmanfm-qt-tab", QByteArray()); - drag->setMimeData(mimeData); - Qt::DropAction dragged = drag->exec(); - if(dragged == Qt::IgnoreAction) { // a tab is dropped outside all windows - if(count() > 1) { - Q_EMIT tabDetached(); - } - else { - finishMouseMoveEvent(); - } - event->accept(); - } - else if(dragged == Qt::MoveAction) { // a tab is dropped into another window - event->accept(); - } - drag->deleteLater(); - } - else { - QTabBar::mouseMoveEvent(event); - } -} - -void TabBar::finishMouseMoveEvent() { - QMouseEvent finishingEvent(QEvent::MouseMove, QPoint(), Qt::NoButton, Qt::NoButton, Qt::NoModifier); - mouseMoveEvent(&finishingEvent); -} - -void TabBar::releaseMouse() { - QMouseEvent releasingEvent(QEvent::MouseButtonRelease, QPoint(), Qt::LeftButton, Qt::NoButton, Qt::NoModifier); - mouseReleaseEvent(&releasingEvent); -} - -void TabBar::mouseReleaseEvent(QMouseEvent *event) { - if (event->button() == Qt::MiddleButton) { - int index = tabAt(event->pos()); - if (index != -1) { - Q_EMIT tabCloseRequested(index); - } - } - QTabBar::mouseReleaseEvent(event); -} - -// Let the main window receive dragged tabs! -void TabBar::dragEnterEvent(QDragEnterEvent *event) { - if(detachable_ && event->mimeData()->hasFormat("application/pcmanfm-qt-tab")) { - event->ignore(); - } -} - -} diff --git a/pcmanfm/tabbar.h b/pcmanfm/tabbar.h deleted file mode 100644 index e96b69f..0000000 --- a/pcmanfm/tabbar.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - - Copyright (C) 2014 Kuzma Shapran - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#ifndef FM_TABBAR_H -#define FM_TABBAR_H - -#include - -class QMouseEvent; - -namespace PCManFM { - -class TabBar : public QTabBar { -Q_OBJECT - -public: - explicit TabBar(QWidget *parent = 0); - void finishMouseMoveEvent(); - void releaseMouse(); - - void setDetachable(bool detachable) { - detachable_ = detachable; - } - -Q_SIGNALS: - void tabDetached(); - -protected: - void mouseReleaseEvent(QMouseEvent *event); - // from qtabbar.cpp - virtual void mousePressEvent(QMouseEvent *event); - virtual void mouseMoveEvent(QMouseEvent *event); - virtual void dragEnterEvent(QDragEnterEvent *event); - -private: - QPoint dragStartPosition_; - bool dragStarted_; - bool detachable_; -}; - -} - -#endif // FM_TABBAR_H diff --git a/pcmanfm/tabpage.cpp b/pcmanfm/tabpage.cpp deleted file mode 100644 index a31e788..0000000 --- a/pcmanfm/tabpage.cpp +++ /dev/null @@ -1,835 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#include "tabpage.h" -#include "launcher.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "settings.h" -#include "application.h" -#include -#include -#include - -using namespace Fm; - -namespace PCManFM { - -bool ProxyFilter::filterAcceptsRow(const Fm::ProxyFolderModel* model, const std::shared_ptr& info) const { - if(!model || !info) { - return true; - } - QString baseName = QString::fromStdString(info->name()); - if(!filterStr_.isEmpty() && !baseName.contains(filterStr_, Qt::CaseInsensitive)) { - return false; - } - return true; -} - -//================================================== - -FilterEdit::FilterEdit(QWidget* parent) : QLineEdit(parent) { - setClearButtonEnabled(true); - if(QToolButton *clearButton = findChild()) { - clearButton->setToolTip(tr("Clear text (Ctrl+K)")); - } -} - -void FilterEdit::keyPressEvent(QKeyEvent* event) { - // since two views can be shown in the split mode, Ctrl+K can't be - // used as a QShortcut but can come here for clearing the text - if(event->modifiers() == Qt::ControlModifier && event->key() == Qt::Key_K) { - clear(); - } - QLineEdit::keyPressEvent(event); -} - -void FilterEdit::keyPressed(QKeyEvent* event) { - // NOTE: Movement and delete keys should be left to the view. - // Copy/paste shortcuts are taken by the view but they aren't needed here - // (Shift+Insert works for pasting but, since most users may not be familiar - // with it, an action is added to the main window for focusing an empty bar). - if(!hasFocus() - && event->key() != Qt::Key_Left && event->key() != Qt::Key_Right - && event->key() != Qt::Key_Home && event->key() != Qt::Key_End - && event->key() != Qt::Key_Delete) { - keyPressEvent(event); - } -} - -FilterBar::FilterBar(QWidget* parent) : QWidget(parent) { - QHBoxLayout* HLayout = new QHBoxLayout(this); - HLayout->setSpacing(5); - filterEdit_ = new FilterEdit(); - QLabel *label = new QLabel(tr("Filter:")); - HLayout->addWidget(label); - HLayout->addWidget(filterEdit_); - connect(filterEdit_, &QLineEdit::textChanged, this, &FilterBar::textChanged); - connect(filterEdit_, &FilterEdit::lostFocus, this, &FilterBar::lostFocus); -} - -//================================================== - -TabPage::TabPage(QWidget* parent): - QWidget(parent), - folderView_{nullptr}, - folderModel_{nullptr}, - proxyModel_{nullptr}, - proxyFilter_{nullptr}, - verticalLayout{nullptr}, - overrideCursor_(false), - selectionTimer_(nullptr), - filterBar_(nullptr) { - - Settings& settings = static_cast(qApp)->settings(); - - // create proxy folder model to do item filtering - proxyModel_ = new ProxyFolderModel(); - proxyModel_->setShowHidden(settings.showHidden()); - proxyModel_->setBackupAsHidden(settings.backupAsHidden()); - proxyModel_->setShowThumbnails(settings.showThumbnails()); - connect(proxyModel_, &ProxyFolderModel::sortFilterChanged, this, [this] { - saveFolderSorting(); - Q_EMIT sortFilterChanged(); - }); - - verticalLayout = new QVBoxLayout(this); - verticalLayout->setContentsMargins(0, 0, 0, 0); - - folderView_ = new View(settings.viewMode(), this); - folderView_->setMargins(settings.folderViewCellMargins()); - folderView_->setShadowHidden(settings.shadowHidden()); - // newView->setColumnWidth(Fm::FolderModel::ColumnName, 200); - connect(folderView_, &View::openDirRequested, this, &TabPage::openDirRequested); - connect(folderView_, &View::selChanged, this, &TabPage::onSelChanged); - connect(folderView_, &View::clickedBack, this, &TabPage::backwardRequested); - connect(folderView_, &View::clickedForward, this, &TabPage::forwardRequested); - - // customization of columns of detailed list view - folderView_->setCustomColumnWidths(settings.getCustomColumnWidths()); - folderView_->setHiddenColumns(settings.getHiddenColumns()); - connect(folderView_, &View::columnResizedByUser, this, [this, &settings]() { - settings.setCustomColumnWidths(folderView_->getCustomColumnWidths()); - }); - connect(folderView_, &View::columnHiddenByUser, this, [this, &settings]() { - settings.setHiddenColumns(folderView_->getHiddenColumns()); - }); - - proxyFilter_ = new ProxyFilter(); - proxyModel_->addFilter(proxyFilter_); - - // FIXME: this is very dirty - folderView_->setModel(proxyModel_); - verticalLayout->addWidget(folderView_); - - // filter-bar and its settings - filterBar_ = new FilterBar(); - verticalLayout->addWidget(filterBar_); - if(!settings.showFilter()){ - transientFilterBar(true); - } - connect(filterBar_, &FilterBar::textChanged, this, &TabPage::onFilterStringChanged); -} - -TabPage::~TabPage() { - freeFolder(); - if(proxyFilter_) { - delete proxyFilter_; - } - if(proxyModel_) { - delete proxyModel_; - } - if(folderModel_) { - disconnect(folderModel_, &Fm::FolderModel::fileSizeChanged, this, &TabPage::onFileSizeChanged); - disconnect(folderModel_, &Fm::FolderModel::filesAdded, this, &TabPage::onFilesAdded); - folderModel_->unref(); - } - - if(overrideCursor_) { - QApplication::restoreOverrideCursor(); // remove busy cursor - } -} - -void TabPage::transientFilterBar(bool transient) { - if(filterBar_) { - filterBar_->clear(); - if(transient) { - filterBar_->hide(); - folderView_->childView()->removeEventFilter(this); - folderView_->childView()->installEventFilter(this); - connect(filterBar_, &FilterBar::lostFocus, this, &TabPage::onLosingFilterBarFocus); - } - else { - filterBar_->show(); - folderView_->childView()->removeEventFilter(this); - disconnect(filterBar_, &FilterBar::lostFocus, this, &TabPage::onLosingFilterBarFocus); - } - } -} - -void TabPage::onLosingFilterBarFocus() { - // hide the empty transient filter-bar when it loses focus - if(getFilterStr().isEmpty()) { - filterBar_->hide(); - } -} - -void TabPage::showFilterBar() { - if(filterBar_) { - filterBar_->show(); - if(isVisibleTo(this)) { // the page itself may be in an inactive tab - filterBar_->focusBar(); - } - } -} - -bool TabPage::eventFilter(QObject* watched, QEvent* event) { - // when a text is typed inside the view, type it inside the filter-bar - if(filterBar_ && watched == folderView_->childView() && event->type() == QEvent::KeyPress) { - if(QKeyEvent* ke = static_cast(event)) { - filterBar_->keyPressed(ke); - } - } - return QWidget::eventFilter(watched, event); -} - -void TabPage::backspacePressed() { - if(filterBar_ && filterBar_->isVisible()) { - QKeyEvent bs = QKeyEvent(QEvent::KeyPress, Qt::Key_Backspace, Qt::NoModifier); - filterBar_->keyPressed(&bs); - } -} - -void TabPage::onFilterStringChanged(QString str) { - if(filterBar_ && str != getFilterStr()) { - setFilterStr(str); - applyFilter(); - // show/hide the transient filter-bar appropriately - if(!static_cast(qApp)->settings().showFilter()) { - if(filterBar_->isVisibleTo(this)) { // the page itself may be in an inactive tab - if(str.isEmpty()) { - // focus the view BEFORE hiding the filter-bar to avoid redundant "FocusIn" events; - // otherwise, another widget inside the main window might gain focus immediately - // after the filter-bar is hidden and only after that, the view will be focused. - folderView()->childView()->setFocus(); - filterBar_->hide(); - } - } - else if(!str.isEmpty()) { - filterBar_->show(); - } - } - } -} - -void TabPage::freeFolder() { - if(folder_) { - if(folderSettings_.isCustomized()) { - // save custom view settings for this folder - static_cast(qApp)->settings().saveFolderSettings(folder_->path(), folderSettings_); - } - disconnect(folder_.get(), nullptr, this, nullptr); // disconnect from all signals - folder_ = nullptr; - } -} - -void TabPage::onFolderStartLoading() { - if(folderModel_){ - disconnect(folderModel_, &Fm::FolderModel::filesAdded, this, &TabPage::onFilesAdded); - } - if(!overrideCursor_) { - // FIXME: sometimes FmFolder of libfm generates unpaired "start-loading" and - // "finish-loading" signals of uncertain reasons. This should be a bug in libfm. - // Until it's fixed in libfm, we need to workaround the problem here, not to - // override the cursor twice. - QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); - overrideCursor_ = true; - } -#if 0 -#if FM_CHECK_VERSION(1, 0, 2) && 0 // disabled - if(fm_folder_is_incremental(_folder)) { - /* create a model for the folder and set it to the view - it is delayed for non-incremental folders since adding rows into - model is much faster without handlers connected to its signals */ - FmFolderModel* model = fm_folder_model_new(folder, FALSE); - fm_folder_view_set_model(fv, model); - fm_folder_model_set_sort(model, app_config->sort_by, - (app_config->sort_type == GTK_SORT_ASCENDING) ? - FM_SORT_ASCENDING : FM_SORT_DESCENDING); - g_object_unref(model); - } - else -#endif - fm_folder_view_set_model(fv, nullptr); -#endif -} - -void TabPage::onUiUpdated() { - // scroll to recorded position - folderView_->childView()->verticalScrollBar()->setValue(browseHistory().currentScrollPos()); - - // if the current folder is the parent folder of the last browsed folder, - // select the folder item in current view. - if(lastFolderPath_ && lastFolderPath_.parent() == path()) { - QModelIndex index = folderView_->indexFromFolderPath(lastFolderPath_); - if(index.isValid()) { - folderView_->childView()->scrollTo(index, QAbstractItemView::EnsureVisible); - folderView_->childView()->setCurrentIndex(index); - } - } - if(folderModel_) { - // update selection statusbar info when needed - connect(folderModel_, &Fm::FolderModel::fileSizeChanged, this, &TabPage::onFileSizeChanged); - // get ready to select files that may be added later - connect(folderModel_, &Fm::FolderModel::filesAdded, this, &TabPage::onFilesAdded); - } -} - -void TabPage::onFileSizeChanged(const QModelIndex& index) { - if(folderView_->hasSelection()) { - QModelIndexList indexes = folderView_->selectionModel()->selectedIndexes(); - if(indexes.contains(proxyModel_->mapFromSource(index))) { - onSelChanged(); - } - } -} - -// slot -void TabPage::onFilesAdded(Fm::FileInfoList files) { - if(static_cast(qApp)->settings().selectNewFiles()) { - if(!selectionTimer_) { - folderView_->selectFiles(files, false); - selectionTimer_ = new QTimer (this); - selectionTimer_->setSingleShot(true); - selectionTimer_->start(200); - } - else { - folderView_->selectFiles(files, selectionTimer_->isActive()); - selectionTimer_->start(200); - } - } -} - -void TabPage::onFolderFinishLoading() { - auto fi = folder_->info(); - if(fi) { // if loading of the folder fails, it's possible that we don't have FmFileInfo. - setWindowTitle(fi->displayName()); - Q_EMIT titleChanged(fi->displayName()); - } - - folder_->queryFilesystemInfo(); // FIXME: is this needed? -#if 0 - FmFolderView* fv = folder_view; - const FmNavHistoryItem* item; - GtkScrolledWindow* scroll = GTK_SCROLLED_WINDOW(fv); - - /* Note: most of the time, we delay the creation of the - * folder model and do it after the whole folder is loaded. - * That is because adding rows into model is much faster when no handlers - * are connected to its signals. So we detach the model from folder view - * and create the model again when it's fully loaded. - * This optimization, however, is not used for FmFolder objects - * with incremental loading (search://) */ - if(fm_folder_view_get_model(fv) == nullptr) { - /* create a model for the folder and set it to the view */ - FmFolderModel* model = fm_folder_model_new(folder, app_config->show_hidden); - fm_folder_view_set_model(fv, model); -#if FM_CHECK_VERSION(1, 0, 2) - /* since 1.0.2 sorting should be applied on model instead of view */ - fm_folder_model_set_sort(model, app_config->sort_by, - (app_config->sort_type == GTK_SORT_ASCENDING) ? - FM_SORT_ASCENDING : FM_SORT_DESCENDING); -#endif - g_object_unref(model); - } - -#endif - - // update status text - QString& text = statusText_[StatusTextNormal]; - text = formatStatusText(); - Q_EMIT statusChanged(StatusTextNormal, text); - - if(overrideCursor_) { - QApplication::restoreOverrideCursor(); // remove busy cursor - overrideCursor_ = false; - } - - // After finishing loading the folder, the model is updated, but Qt delays the UI update - // for performance reasons. Therefore at this point the UI is not up to date. - // For example, the scrollbar ranges are not updated yet. We solve this by installing an Qt timeout handler. - QTimer::singleShot(10, this, SLOT(onUiUpdated())); -} - -void TabPage::onFolderError(const Fm::GErrorPtr& err, Fm::Job::ErrorSeverity severity, Fm::Job::ErrorAction& response) { - if(err.domain() == G_IO_ERROR) { - if(err.code() == G_IO_ERROR_NOT_MOUNTED && severity < Fm::Job::ErrorSeverity::CRITICAL) { - auto& path = folder_->path(); - MountOperation* op = new MountOperation(true); - op->mountEnclosingVolume(path); - if(op->wait()) { // blocking event loop, wait for mount operation to finish. - // This will reload the folder, which generates a new "start-loading" - // signal, so we get more "start-loading" signals than "finish-loading" - // signals. FIXME: This is a bug of libfm. - // Because the two signals are not correctly paired, we need to - // remove busy cursor here since "finish-loading" is not emitted. - QApplication::restoreOverrideCursor(); // remove busy cursor - overrideCursor_ = false; - response = Fm::Job::ErrorAction::RETRY; - return; - } - } - } - if(severity >= Fm::Job::ErrorSeverity::MODERATE) { - /* Only show more severe errors to the users and - * ignore milder errors. Otherwise too many error - * message boxes can be annoying. - * This fixes bug #3411298- Show "Permission denied" when switching to super user mode. - * https://sourceforge.net/tracker/?func=detail&aid=3411298&group_id=156956&atid=801864 - * */ - - // FIXME: consider replacing this modal dialog with an info bar to improve usability - QMessageBox::critical(this, tr("Error"), err.message()); - } - response = Fm::Job::ErrorAction::CONTINUE; -} - -void TabPage::onFolderFsInfo() { - guint64 free, total; - QString& msg = statusText_[StatusTextFSInfo]; - if(folder_->getFilesystemInfo(&total, &free)) { - msg = tr("Free space: %1 (Total: %2)") - .arg(formatFileSize(free, fm_config->si_unit)) - .arg(formatFileSize(total, fm_config->si_unit)); - } - else { - msg.clear(); - } - Q_EMIT statusChanged(StatusTextFSInfo, msg); -} - -QString TabPage::formatStatusText() { - if(proxyModel_ && folder_) { - // FIXME: this is very inefficient - auto files = folder_->files(); - int total_files = files.size(); - int shown_files = proxyModel_->rowCount(); - int hidden_files = total_files - shown_files; - QString text = tr("%n item(s)", "", shown_files); - if(hidden_files > 0) { - text += tr(" (%n hidden)", "", hidden_files); - } - auto fi = folder_->info(); - if (fi && fi->isSymlink()) { - text += QString(" %2(%1)") - .arg(encloseWithBidiMarks(tr("Link to") + QChar(QChar::Space) + QString::fromStdString(fi->target())), - (layoutDirection() == Qt::RightToLeft) ? QChar(0x200f) : QChar(0x200e)); - } - return text; - } - return QString(); -} - -void TabPage::onFolderRemoved() { - // the folder we're showing is removed, destroy the widget - qDebug("folder removed"); - Settings& settings = static_cast(qApp)->settings(); - // NOTE: call deleteLater() directly from this GObject signal handler - // does not work but I don't know why. - // Maybe it's the problem of glib mainloop integration? - // Call it when idle works, though. - if(settings.closeOnUnmount()) { - QTimer::singleShot(0, this, SLOT(deleteLater())); - } - else { - chdir(Fm::FilePath::homeDir()); - } -} - -void TabPage::onFolderUnmount() { - // the folder we're showing is unmounted, destroy the widget - qDebug("folder unmount"); - // NOTE: We cannot delete the page or change its directory here - // because unmounting might be done from places view, in which case, - // the mount operation is a child of the places view and should be - // finished before doing anything else. - freeFolder(); - Q_EMIT folderUnmounted(); -} - -void TabPage::onFolderContentChanged() { - /* update status text */ - statusText_[StatusTextNormal] = formatStatusText(); - Q_EMIT statusChanged(StatusTextNormal, statusText_[StatusTextNormal]); -} - -QString TabPage::pathName() { - // auto disp_path = path().displayName(); - // FIXME: displayName() returns invalid path sometimes. - auto disp_path = path().toString(); - return QString::fromUtf8(disp_path.get()); -} - -void TabPage::chdir(Fm::FilePath newPath, bool addHistory) { - // qDebug() << "TABPAGE CHDIR:" << newPath.toString().get(); - if(filterBar_){ - filterBar_->clear(); - } - if(folder_) { - // we're already in the specified dir - if(newPath == folder_->path()) { - return; - } - - // reset the status selected text - statusText_[StatusTextSelectedFiles] = QString(); - - // remember the previous folder path that we have browsed. - lastFolderPath_ = folder_->path(); - - if(addHistory) { - // store current scroll pos in the browse history - BrowseHistoryItem& item = history_.currentItem(); - QAbstractItemView* childView = folderView_->childView(); - item.setScrollPos(childView->verticalScrollBar()->value()); - } - - // free the previous model - if(folderModel_) { - disconnect(folderModel_, &Fm::FolderModel::fileSizeChanged, this, &TabPage::onFileSizeChanged); - disconnect(folderModel_, &Fm::FolderModel::filesAdded, this, &TabPage::onFilesAdded); - proxyModel_->setSourceModel(nullptr); - folderModel_->unref(); // unref the cached model - folderModel_ = nullptr; - } - - freeFolder(); - } - - Q_EMIT titleChanged(newPath.baseName().get()); // FIXME: display name - - folder_ = Fm::Folder::fromPath(newPath); - if(addHistory) { - // add current path to browse history - history_.add(path()); - } - connect(folder_.get(), &Fm::Folder::startLoading, this, &TabPage::onFolderStartLoading); - connect(folder_.get(), &Fm::Folder::finishLoading, this, &TabPage::onFolderFinishLoading); - - // FIXME: Fm::Folder::error() is a bad design and might be removed in the future. - connect(folder_.get(), &Fm::Folder::error, this, &TabPage::onFolderError); - connect(folder_.get(), &Fm::Folder::fileSystemChanged, this, &TabPage::onFolderFsInfo); - /* destroy the page when the folder is unmounted or deleted. */ - connect(folder_.get(), &Fm::Folder::removed, this, &TabPage::onFolderRemoved); - connect(folder_.get(), &Fm::Folder::unmount, this, &TabPage::onFolderUnmount); - connect(folder_.get(), &Fm::Folder::contentChanged, this, &TabPage::onFolderContentChanged); - - Settings& settings = static_cast(qApp)->settings(); - folderModel_ = CachedFolderModel::modelFromFolder(folder_); - folderModel_->setShowFullName(settings.showFullNames()); - - // folderSettings_ will be set by saveFolderSorting() when the sort filter is changed below - // (and also by setViewMode()); here, we only need to know whether it should be saved - FolderSettings folderSettings = settings.loadFolderSettings(path()); - folderSettings_.setCustomized(folderSettings.isCustomized()); - - // set sorting - proxyModel_->sort(folderSettings.sortColumn(), folderSettings.sortOrder()); - proxyModel_->setFolderFirst(folderSettings.sortFolderFirst()); - proxyModel_->setShowHidden(folderSettings.showHidden()); - proxyModel_->setSortCaseSensitivity(folderSettings.sortCaseSensitive() ? Qt::CaseSensitive : Qt::CaseInsensitive); - proxyModel_->setSourceModel(folderModel_); - // set view mode - setViewMode(folderSettings.viewMode()); - - if(folder_->isLoaded()) { - onFolderStartLoading(); - onFolderFinishLoading(); - onFolderFsInfo(); - } - else { - onFolderStartLoading(); - } -} - -void TabPage::selectAll() { - folderView_->selectAll(); -} - -void TabPage::invertSelection() { - folderView_->invertSelection(); -} - -void TabPage::reload() { - if(folder_) { - // don't select or scroll to the previous folder after reload - lastFolderPath_ = Fm::FilePath(); - // but remember the current scroll position - BrowseHistoryItem& item = history_.currentItem(); - QAbstractItemView* childView = folderView_->childView(); - item.setScrollPos(childView->verticalScrollBar()->value()); - - folder_->reload(); - } -} - -// 200e LEFT-TO-RIGHT MARK -// 200f RIGHT-TO-LEFT MARK -// 202a LEFT-TO-RIGHT EMBEDDING -// 202b RIGHT-TO-LEFT EMBEDDING -// 202c POP DIRECTIONAL FORMATTING -QString TabPage::encloseWithBidiMarks(const QString& text) { - QChar bidiMark = text.isRightToLeft() ? QChar(0x200f) : QChar(0x200e); - QChar embedBidiMark = text.isRightToLeft() ? QChar(0x202b) : QChar(0x202a); - return embedBidiMark+text+bidiMark+QChar(0x202c); -} - -// when the current selection in the folder view is changed -void TabPage::onSelChanged() { - QString msg; - if(folderView_->hasSelection()) { - auto files = folderView_->selectedFiles(); - int numSel = files.size(); - /* FIXME: display total size of all selected files. */ - if(numSel == 1) { /* only one file is selected (also, tell if it is a symlink)*/ - auto& fi = files.front(); - if(!fi->isDir()) { - if(fi->isSymlink()) { - msg = QString("%5\"%1\" %5(%2) %5%3 %5(%4)") - .arg(encloseWithBidiMarks(fi->displayName()), - encloseWithBidiMarks(Fm::formatFileSize(fi->size(), fm_config->si_unit)), - encloseWithBidiMarks(fi->mimeType()->desc()), - encloseWithBidiMarks(tr("Link to") + QChar(QChar::Space) + QString::fromStdString(fi->target())), - (layoutDirection() == Qt::RightToLeft) ? QChar(0x200f) : QChar(0x200e)); - } - else { - msg = QString("%4\"%1\" %4(%2) %4%3") - .arg(encloseWithBidiMarks(fi->displayName()), - encloseWithBidiMarks(Fm::formatFileSize(fi->size(), fm_config->si_unit)), // FIXME: deprecate fm_config - encloseWithBidiMarks(fi->mimeType()->desc()), - (layoutDirection() == Qt::RightToLeft) ? QChar(0x200f) : QChar(0x200e)); - } - } - else { - if(fi->isSymlink()) { - msg = QString("%4\"%1\" %4%2 %4(%3)") - .arg(encloseWithBidiMarks(fi->displayName()), - encloseWithBidiMarks(fi->mimeType()->desc()), - encloseWithBidiMarks(tr("Link to") + QChar(QChar::Space) + QString::fromStdString(fi->target())), - (layoutDirection() == Qt::RightToLeft) ? QChar(0x200f) : QChar(0x200e)); - } - else { - msg = QString("%3\"%1\" %3%2") - .arg(encloseWithBidiMarks(fi->displayName()), - encloseWithBidiMarks(fi->mimeType()->desc()), - (layoutDirection() == Qt::RightToLeft) ? QChar(0x200f) : QChar(0x200e)); - } - } - /* FIXME: should we support statusbar plugins as in the gtk+ version? */ - } - else { - goffset sum; - msg = tr("%n item(s) selected", nullptr, numSel); - /* don't count if too many files are selected, that isn't lightweight */ - if(numSel < 1000) { - sum = 0; - for(auto& fi: files) { - if(fi->isDir()) { - /* if we got a directory then we cannot tell it's size - unless we do deep count but we cannot afford it */ - sum = -1; - break; - } - sum += fi->size(); - } - if(sum >= 0) { - msg += QString(" (%1)").arg(Fm::formatFileSize(sum, fm_config->si_unit)); // FIXME: deprecate fm_config - } - /* FIXME: should we support statusbar plugins as in the gtk+ version? */ - } - /* FIXME: can we show some more info on selection? - that isn't lightweight if a lot of files are selected */ - } - } - statusText_[StatusTextSelectedFiles] = msg; - Q_EMIT statusChanged(StatusTextSelectedFiles, msg); -} - - -void TabPage::backward() { - // remember current scroll position - BrowseHistoryItem& item = history_.currentItem(); - QAbstractItemView* childView = folderView_->childView(); - item.setScrollPos(childView->verticalScrollBar()->value()); - - history_.backward(); - chdir(history_.currentPath(), false); -} - -void TabPage::forward() { - // remember current scroll position - BrowseHistoryItem& item = history_.currentItem(); - QAbstractItemView* childView = folderView_->childView(); - item.setScrollPos(childView->verticalScrollBar()->value()); - - history_.forward(); - chdir(history_.currentPath(), false); -} - -void TabPage::jumpToHistory(int index) { - if(index >= 0 && static_cast(index) < history_.size()) { - // remember current scroll position - BrowseHistoryItem& item = history_.currentItem(); - QAbstractItemView* childView = folderView_->childView(); - item.setScrollPos(childView->verticalScrollBar()->value()); - - history_.setCurrentIndex(index); - chdir(history_.currentPath(), false); - } -} - -bool TabPage::canUp() { - auto _path = path(); - return (_path && _path.hasParent()); -} - -void TabPage::up() { - auto _path = path(); - if(_path) { - auto parent = _path.parent(); - if(parent) { - chdir(parent, true); - } - } -} - -void TabPage::updateFromSettings(Settings& settings) { - folderView_->updateFromSettings(settings); -} - -void TabPage::setViewMode(Fm::FolderView::ViewMode mode) { - Settings& settings = static_cast(qApp)->settings(); - if(folderSettings_.viewMode() != mode) { - folderSettings_.setViewMode(mode); - if(folderSettings_.isCustomized()) { - settings.saveFolderSettings(path(), folderSettings_); - } - } - Fm::FolderView::ViewMode prevMode = folderView_->viewMode(); - folderView_->setViewMode(mode); - folderView_->childView()->setFocus(); - if(prevMode != folderView_->viewMode()) { - // FolderView::setViewMode() may delete the view to switch between list and tree. - // So, the event filter should be re-installed and the status message should be updated. - if(!settings.showFilter()) { - folderView_->childView()->removeEventFilter(this); - folderView_->childView()->installEventFilter(this); - } - onSelChanged(); - } -} - -void TabPage::sort(int col, Qt::SortOrder order) { - if(proxyModel_) { - proxyModel_->sort(col, order); - } -} - -void TabPage::setSortFolderFirst(bool value) { - if(proxyModel_) { - proxyModel_->setFolderFirst(value); - } -} - -void TabPage::setSortCaseSensitive(bool value) { - if(proxyModel_) { - proxyModel_->setSortCaseSensitivity(value ? Qt::CaseSensitive : Qt::CaseInsensitive); - } -} - -void TabPage::setShowHidden(bool showHidden) { - if(proxyModel_) { - proxyModel_->setShowHidden(showHidden); - } -} - -void TabPage::saveFolderSorting() { - if (proxyModel_ == nullptr) { - return; - } - folderSettings_.setSortOrder(proxyModel_->sortOrder()); - folderSettings_.setSortColumn(static_cast(proxyModel_->sortColumn())); - folderSettings_.setSortFolderFirst(proxyModel_->folderFirst()); - folderSettings_.setSortCaseSensitive(proxyModel_->sortCaseSensitivity()); - if(folderSettings_.showHidden() != proxyModel_->showHidden()) { - folderSettings_.setShowHidden(proxyModel_->showHidden()); - statusText_[StatusTextNormal] = formatStatusText(); - Q_EMIT statusChanged(StatusTextNormal, statusText_[StatusTextNormal]); - } - if(folderSettings_.isCustomized()) { - static_cast(qApp)->settings().saveFolderSettings(path(), folderSettings_); - } -} - -void TabPage::applyFilter() { - if(proxyModel_ == nullptr) { - return; - } - int prevSelSize = folderView_->selectionModel()->selectedIndexes().size(); - proxyModel_->updateFilters(); - // if some selected files are filtered out, "View::selChanged()" won't be emitted - if(prevSelSize > folderView_->selectionModel()->selectedIndexes().size()) { - onSelChanged(); - } - statusText_[StatusTextNormal] = formatStatusText(); - Q_EMIT statusChanged(StatusTextNormal, statusText_[StatusTextNormal]); -} - -void TabPage::setCustomizedView(bool value) { - if(folderSettings_.isCustomized() == value) { - return; - } - - Settings& settings = static_cast(qApp)->settings(); - folderSettings_.setCustomized(value); - if(value) { // save customized folder view settings - settings.saveFolderSettings(path(), folderSettings_); - } - else { // use default folder view settings - settings.clearFolderSettings(path()); - setShowHidden(settings.showHidden()); - setSortCaseSensitive(settings.sortCaseSensitive()); - setSortFolderFirst(settings.sortFolderFirst()); - sort(settings.sortColumn(), settings.sortOrder()); - } -} - -} // namespace PCManFM diff --git a/pcmanfm/tabpage.h b/pcmanfm/tabpage.h deleted file mode 100644 index 9131c3a..0000000 --- a/pcmanfm/tabpage.h +++ /dev/null @@ -1,318 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#ifndef FM_TABPAGE_H -#define FM_TABPAGE_H - -#include -#include -#include -#include -#include "view.h" -#include "settings.h" - -#include -#include -#include - -namespace Fm { -class FileLauncher; -class FolderModel; -class ProxyFolderModel; -class CachedFolderModel; -} - -namespace PCManFM { - -class Launcher; - -class ProxyFilter : public Fm::ProxyFolderModelFilter { -public: - bool filterAcceptsRow(const Fm::ProxyFolderModel* model, const std::shared_ptr& info) const; - virtual ~ProxyFilter() {} - QString getFilterStr() { - return filterStr_; - } - void setFilterStr(QString str) { - filterStr_ = str; - } - -private: - QString filterStr_; -}; - -//================================================== - -class FilterEdit : public QLineEdit { - Q_OBJECT -public: - FilterEdit(QWidget *parent = nullptr); - ~FilterEdit() {}; - void keyPressed(QKeyEvent* event); - -protected: - virtual void focusOutEvent(QFocusEvent* event) override { - Q_EMIT lostFocus(); - QLineEdit::focusOutEvent(event); - } - virtual void keyPressEvent(QKeyEvent* event) override; - -Q_SIGNALS: - void lostFocus(); -}; - -class FilterBar : public QWidget { - Q_OBJECT -public: - FilterBar(QWidget *parent = nullptr); - ~FilterBar() {}; - - void focusBar() { - filterEdit_->setFocus(); - } - void clear() { - filterEdit_->clear(); - } - void keyPressed(QKeyEvent* event) { - filterEdit_->keyPressed(event); - } - -Q_SIGNALS: - void textChanged(const QString &text); - void lostFocus(); - -private: - FilterEdit* filterEdit_; -}; - -//================================================== - -class TabPage : public QWidget { - Q_OBJECT - -public: - enum StatusTextType { - StatusTextNormal, - StatusTextSelectedFiles, - StatusTextFSInfo, - StatusTextNum - }; - -public: - explicit TabPage(QWidget* parent = nullptr); - virtual ~TabPage(); - - void chdir(Fm::FilePath newPath, bool addHistory = true); - - Fm::FolderView::ViewMode viewMode() { - return folderSettings_.viewMode(); - } - - void setViewMode(Fm::FolderView::ViewMode mode); - - void sort(int col, Qt::SortOrder order = Qt::AscendingOrder); - - int sortColumn() { - return folderSettings_.sortColumn(); - } - - Qt::SortOrder sortOrder() { - return folderSettings_.sortOrder(); - } - - bool sortFolderFirst() { - return folderSettings_.sortFolderFirst(); - } - void setSortFolderFirst(bool value); - - bool sortCaseSensitive() { - return folderSettings_.sortCaseSensitive(); - } - - void setSortCaseSensitive(bool value); - - bool showHidden() { - return proxyModel_->showHidden(); - } - - void setShowHidden(bool showHidden); - - void saveFolderSorting(); - - Fm::FilePath path() { - return folder_ ? folder_->path() : Fm::FilePath(); - } - - QString pathName(); - - const std::shared_ptr& folder() { - return folder_; - } - - Fm::FolderModel* folderModel() { - return reinterpret_cast(folderModel_); - } - - View* folderView() { - return folderView_; - } - - Fm::BrowseHistory& browseHistory() { - return history_; - } - - Fm::FileInfoList selectedFiles() { - return folderView_->selectedFiles(); - } - - Fm::FilePathList selectedFilePaths() { - return folderView_->selectedFilePaths(); - } - - void selectAll(); - - void invertSelection(); - - void reload(); - - QString statusText(StatusTextType type = StatusTextNormal) const { - return statusText_[type]; - } - - bool canBackward() { - return history_.canBackward(); - } - - void backward(); - - bool canForward() { - return history_.canForward(); - } - - void forward(); - - void jumpToHistory(int index); - - bool canUp(); - - void up(); - - void updateFromSettings(Settings& settings); - - void setFileLauncher(Fm::FileLauncher* launcher) { - folderView_->setFileLauncher(launcher); - } - - Fm::FileLauncher* fileLauncher() { - return folderView_->fileLauncher(); - } - - QString getFilterStr() { - if(proxyFilter_) { - return proxyFilter_->getFilterStr(); - } - return QString(); - } - - void setFilterStr(QString str) { - if(proxyFilter_) { - proxyFilter_->setFilterStr(str); - } - } - - void applyFilter(); - - bool hasCustomizedView() { - return folderSettings_.isCustomized(); - } - - void setCustomizedView(bool value); - - void transientFilterBar(bool transient); - - void showFilterBar(); - bool isFilterBarVisible() const { - return (filterBar_ && filterBar_->isVisible()); - } - void clearFilter() { - if(filterBar_) { - filterBar_->clear(); - } - } - - void backspacePressed(); - -Q_SIGNALS: - void statusChanged(int type, QString statusText); - void titleChanged(QString title); - void openDirRequested(const Fm::FilePath& path, int target); - void sortFilterChanged(); - void forwardRequested(); - void backwardRequested(); - void folderUnmounted(); - -protected: - virtual bool eventFilter(QObject* watched, QEvent* event); - -protected Q_SLOTS: - void onSelChanged(); - void onUiUpdated(); - void onFileSizeChanged(const QModelIndex& index); - void onFilesAdded(const Fm::FileInfoList files); - void onFilterStringChanged(QString str); - void onLosingFilterBarFocus(); - -private: - void freeFolder(); - QString formatStatusText(); - - // Adds bidi marks (RLM/LRM/RLE/LRE/POP) around the text for the statusbar. - QString encloseWithBidiMarks(const QString& text); - - void onFolderStartLoading(); - void onFolderFinishLoading(); - - // FIXME: this API design is bad and might be removed later - void onFolderError(const Fm::GErrorPtr& err, Fm::Job::ErrorSeverity severity, Fm::Job::ErrorAction& response); - - void onFolderFsInfo(); - void onFolderRemoved(); - void onFolderUnmount(); - void onFolderContentChanged(); - -private: - View* folderView_; - Fm::CachedFolderModel* folderModel_; - Fm::ProxyFolderModel* proxyModel_; - ProxyFilter* proxyFilter_; - QVBoxLayout* verticalLayout; - std::shared_ptr folder_; - QString statusText_[StatusTextNum]; - Fm::BrowseHistory history_; // browsing history - Fm::FilePath lastFolderPath_; // last browsed folder - bool overrideCursor_; - FolderSettings folderSettings_; - QTimer* selectionTimer_; - FilterBar* filterBar_; -}; - -} - -#endif // FM_TABPAGE_H diff --git a/pcmanfm/translations/CMakeLists.txt b/pcmanfm/translations/CMakeLists.txt deleted file mode 100644 index 2545f05..0000000 --- a/pcmanfm/translations/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -project(pcmanfm-qt) - -build_component("." "${CMAKE_INSTALL_FULL_DATADIR}/pcmanfm-qt/translations") diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_ar.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_ar.desktop deleted file mode 100644 index e329a6c..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_ar.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[ar]=سطح المكتب -GenericName[ar]=تفضيلات سطح المكتب -Comment[ar]=غيّر خلفيّات مدير سطح المكتب وسلوكه diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_ca.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_ca.desktop deleted file mode 100644 index 3f6ba8a..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_ca.desktop +++ /dev/null @@ -1,3 +0,0 @@ -Name[ca]=Escriptori -GenericName[ca]=Ajusts de l'escriptori -Comment[ca]=Canvieu les imatges dels fons i el comportament del gestor d'escriptoris diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_cs.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_cs.desktop deleted file mode 100644 index f94b53c..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_cs.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[cs]=Pracovní plocha -GenericName[cs]=Nastavení pracovní plochy -Comment[cs]=Změna pozadí plochy a chování jejího správce diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_da.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_da.desktop deleted file mode 100644 index 2b1cd51..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_da.desktop +++ /dev/null @@ -1,3 +0,0 @@ -Name[da]=Skrivebord -GenericName[da]=Skrivebordsindstillinger -Comment[da]=Skift desktop managerens tapeter og adfærd diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_de.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_de.desktop deleted file mode 100644 index e339db9..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_de.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[de]=Schreibtisch -GenericName[de]=Schreibtischeinstellungen -Comment[de]=Einstellungen wie Hintergrundbild oder verwendete Menüs diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_el.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_el.desktop deleted file mode 100644 index a1a3ed0..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_el.desktop +++ /dev/null @@ -1,3 +0,0 @@ -Name[el]=Επιφάνεια εργασίας -GenericName[el]=Ρυθμίσεις της επιφάνειας εργασίας -Comment[el]=Αλλαγή της ταπετσαρίας και της συμπεριφοράς του διαχειριστή της επιφάνειας εργασίας diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_es.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_es.desktop deleted file mode 100644 index c83e89a..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_es.desktop +++ /dev/null @@ -1,3 +0,0 @@ -Name[es]=Escritorio -GenericName[es]=Configuración del escritorio -Comment[es]=Cambiar el fondo de pantalla y el comportamiento del escritorio diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_fr.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_fr.desktop deleted file mode 100644 index b0fb244..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_fr.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[fr]=Bureau -GenericName[fr]=Paramétrage du bureau -Comment[fr]=Paramètres tels que papier-peint et autres réglages du bureau diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_hu.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_hu.desktop deleted file mode 100644 index e92bd03..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_hu.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[hu]=Asztal -GenericName[hu]=Asztalbeállítás -Comment[hu]=Asztal kinézet és viselkedés beállítása diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_it.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_it.desktop deleted file mode 100644 index 3a55236..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_it.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[it]=Scrivania -GenericName[it]=Preferenze della scrivania -Comment[it]=Configura percorso e aspetto della scrivania diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_ja.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_ja.desktop deleted file mode 100644 index cb264fb..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_ja.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[ja]=デスクトップ -GenericName[ja]=デスクトップ設定 -Comment[ja]=壁紙やその他のデスクトップ設定を変更します diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_lt.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_lt.desktop deleted file mode 100644 index 21e5a52..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_lt.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[lt]=Darbalaukis -GenericName[lt]=Darbalaukio nustatymai -Comment[lt]=Keisti darbalaukio tvarkytuvės darbalaukio foną ir elgseną diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_pl.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_pl.desktop deleted file mode 100644 index 6652766..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_pl.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[pl]=Pulpit -GenericName[pl]=Ustawienia pulpitu -Comment[pl]=Zmiana tapety oraz zachowania pulpitu diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_pt.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_pt.desktop deleted file mode 100644 index 731909a..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_pt.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[pt]=Área de trabalho -GenericName[pt]=Definições da área de trabalho -Comment[pt]=Mudar o papel de parede e o comportamento da área de trabalho diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_ru.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_ru.desktop deleted file mode 100644 index e83806c..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_ru.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[ru]=Рабочий стол -GenericName[ru]=Настройки рабочего стола -Comment[ru]=Изменить обои и поведение менеджера рабочего стола \ No newline at end of file diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_tr.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_tr.desktop deleted file mode 100644 index 7618786..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_tr.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations / translated by tulliana -Name[tr]=Dosya Yöneticisi (PCManFM-Qt) -GenericName[tr]=Dosya ve masaüstü yönetim uygulaması -Comment[tr]=Dosya Yöneticisi ve Masaüstü Ayarları (duvarkağıtları, menüler vs..) diff --git a/pcmanfm/translations/pcmanfm-qt-desktop-pref_zh_CN.desktop b/pcmanfm/translations/pcmanfm-qt-desktop-pref_zh_CN.desktop deleted file mode 100644 index f78bea7..0000000 --- a/pcmanfm/translations/pcmanfm-qt-desktop-pref_zh_CN.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[zh_CN]=桌面 -GenericName[zh_CN]=桌面设置 -Comment[zh_CN]=更改墙纸与桌面管理器的行为。 diff --git a/pcmanfm/translations/pcmanfm-qt.ts b/pcmanfm/translations/pcmanfm-qt.ts deleted file mode 100644 index 292f533..0000000 --- a/pcmanfm/translations/pcmanfm-qt.ts +++ /dev/null @@ -1,1796 +0,0 @@ - - - - - AboutDialog - - - About - - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - - Lightweight file manager - - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - - Authors - - - - - License - - - - - AutoRunDialog - - - Removable medium is inserted - - - - - <b>Removable medium is inserted</b> - - - - - Type of medium: - - - - - Detecting... - - - - - Please select the action you want to perform: - - - - - BulkRenameDialog - - - Bulk Rename - - - - - # will be replaced by numbers starting with: - - - - - Rename selected files to: - - - - - Name# - - - - - ConnectServerDialog - - - Connect to remote server - - - - - Anonymous &login - - - - - Login as &user: - - - - - Specify remote folder to connect - - - - - Type: - - - - - Port: - - - - - Path: - - - - - Host: - - - - - DesktopFolder - - - Form - - - - - Desktop - - - - - Desktop folder: - - - - - Image file - - - - - Folder path - - - - - &Browse - - - - - DesktopPreferencesDialog - - - Desktop Preferences - - - - - Background - - - - - Wallpaper mode: - - - - - Wallpaper image file: - - - - - Select background color: - - - - - Image file - - - - - Image file path - - - - - &Browse - - - - - Icons - - - - - Icon size: - - - - - Label Text - - - - - Select shadow color: - - - - - Select font: - - - - - General - - - - - Select text color: - - - - - Spacing - - - - - Minimum item margins: - - - - - 3 px by default. - - - - - - px - - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - - - - - Lock - - - - - Slide Show - - - - - Enable Slide Show - - - - - Wallpaper image folder: - - - - - Browse - - - - - hour(s) - - - - - and - - - - - Intervals less than 5min will be ignored - - - - - Interval: - - - - - minute(s) - - - - - Wallpaper folder - - - - - Randomize the slide show - - - - - Visible Shortcuts - - - - - Home - - - - - Trash - - - - - Computer - - - - - Network - - - - - Window Manager - - - - - Show menus provided by window managers when desktop is clicked - - - - - Advanced - - - - - MainWindow - - - File Manager - - - - - &Toolbars - - - - - Path &Bar - - - - - &Filtering - - - - - Go &Up - - - - - Go Up - - - - - Alt+Up - - - - - &Home - - - - - Alt+Home - - - - - &Reload - - - - - F5 - - - - - Go - - - - - Quit - - - - - &About - - - - - &New Window - - - - - New Window - - - - - Ctrl+N - - - - - Show &Hidden - - - - - Ctrl+H - - - - - &Computer - - - - - &Trash - - - - - &Network - - - - - &Desktop - - - - - &Add to Bookmarks - - - - - &Applications - - - - - Reload - - - - - &Icon View - - - - - &Compact View - - - - - &Detailed List - - - - - &Thumbnail View - - - - - Cu&t - - - - - Ctrl+X - - - - - &Copy - - - - - Ctrl+C - - - - - &Paste - - - - - Ctrl+V - - - - - Select &All - - - - - Ctrl+A - - - - - Pr&eferences - - - - - &Ascending - - - - - &Descending - - - - - &By File Name - - - - - By &Modification Time - - - - - By File &Type - - - - - By &Owner - - - - - &Folder First - - - - - &Preserve sorting for this folder - - - - - &Case Sensitive - - - - - By File &Size - - - - - &Close Window - - - - - Ctrl+Q - - - - - &Folder - - - - - &Blank File - - - - - &Show/Focus Filter Bar - - - - - Show Filter Bar - - - - - Ctrl+I - - - - - S&plit View - - - - - Split View - - - - - F6 - - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - - - - - &Clear All Filters - - - - - Ctrl+Shift+K - - - - - Close &previous tabs - - - - - Close &next tabs - - - - - &Preserve Settings for This Folder - - - - - Connect to &Server - - - - - &Location - - - - - &Path Buttons - - - - - &Bulk Rename - - - - - Bulk Rename - - - - - Ctrl+F2 - - - - - Close &other tabs - - - - - Permanent &filter bar - - - - - &Menu bar - - - - - Menu bar - - - - - Ctrl+M - - - - - - Menu - - - - - New &Tab - - - - - New Tab - - - - - Ctrl+T - - - - - Go &Back - - - - - Go Back - - - - - Alt+Left - - - - - Go &Forward - - - - - Go Forward - - - - - Alt+Right - - - - - &Invert Selection - - - - - &Delete - - - - - Del - - - - - &Rename - - - - - F2 - - - - - C&lose Tab - - - - - Ctrl+W - - - - - File &Properties - - - - - Alt+Return - - - - - &Folder Properties - - - - - Edit Bookmarks - - - - - Open &Terminal - - - - - F4 - - - - - Open as &Root - - - - - &Edit Bookmarks - - - - - Ctrl+Shift+N - - - - - Ctrl+Alt+N - - - - - &Find Files - - - - - F3 - - - - - &File - - - - - C&reate New - - - - - &Help - - - - - - &View - - - - - &Sorting - - - - - &Edit - - - - - &Bookmarks - - - - - &Go - - - - - &Tool - - - - - Main Toolbar - - - - - PCManFM::Application - - - Name of configuration profile - - - - - PROFILE - - - - - Run PCManFM as a daemon - - - - - Quit PCManFM - - - - - Launch desktop manager - - - - - Turn off desktop manager if it's running - - - - - Open desktop preference dialog on the page with the specified name - - - - - - NAME - - - - - Open new window - - - - - Open Find Files utility - - - - - Set desktop wallpaper from image FILE - - - - - FILE - - - - - MODE - - - - - Set mode of desktop wallpaper. MODE=(%1) - - - - - Open Preferences dialog on the page with the specified name - - - - - Files or directories to open - - - - - [FILE1, FILE2,...] - - - - - - Error - - - - - Terminal emulator is not set. - - - - - PCManFM::AutoRunDialog - - - Open in file manager - - - - - Removable Disk - - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - - - - - Stretch to fill the entire screen - - - - - Stretch to fit the screen - - - - - Center on the screen - - - - - Tile the image to fill the entire screen - - - - - Zoom the image to fill the entire screen - - - - - Image Files - - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - - - - - - - Trash (Empty) - - - - - Home - - - - - Computer - - - - - Network - - - - - Open - - - - - - Stic&k to Current Position - - - - - Empty Trash - - - - - Hide Desktop Items - - - - - Desktop Preferences - - - - - PCManFM::FilterBar - - - Filter: - - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - - - - - Version: %1 - - - - - &Move to Trash - - - - - &Delete - - - - - - Error - - - - - Switch user command is not set. - - - - - PCManFM::PreferencesDialog - - - Icon View - - - - - Compact View - - - - - Thumbnail View - - - - - Detailed List View - - - - - PCManFM::TabPage - - - Error - - - - - Free space: %1 (Total: %2) - - - - - %n item(s) - - - - - - - (%n hidden) - - - - - - - - - Link to - - - - - %n item(s) selected - - - - - - - PCManFM::View - - - Open in New T&ab - - - - - Open in New Win&dow - - - - - Open in Termina&l - - - - - PreferencesDialog - - - Preferences - - - - - User Interface - - - - - Behavior - - - - - - Thumbnail - - - - - Volume - - - - - Advanced - - - - - Select newly created files - - - - - Icons - - - - - Size of big icons: - - - - - Size of small icons: - - - - - Size of thumbnails: - - - - - Size of side pane icons: - - - - - Icon theme: - - - - - Window - - - - - Always show the tab bar - - - - - Show 'Close' buttons on tabs - - - - - Remember the size of the last closed window - - - - - Default width of new windows: - - - - - Default height of new windows: - - - - - Browsing - - - - - Open files with single click - - - - - Delay of auto-selection in single click mode (0 to disable) - - - - - Default view mode: - - - - - sec - - - - - File Operations - - - - - Confirm before deleting files - - - - - Move deleted files to "trash bin" instead of erasing from disk. - - - - - Show thumbnails of files - - - - - Only show thumbnails for local files - - - - - Display - - - - - Bookmarks: - - - - - Open in current tab - - - - - Open in new tab - - - - - Open in new window - - - - - Erase files on removable media instead of "trash can" creation - - - - - Confirm before moving files into "trash can" - - - - - - - Requires application restart to take effect completely - - - - - Launch executable files without prompt - - - - - - Used by Icon View - - - - - - Used by Compact View and Detailed List View - - - - - - Used by Thumbnail View - - - - - User interface - - - - - Treat backup files as hidden - - - - - Always show full file names - - - - - Show icons of hidden files shadowed - - - - - Minimum item margins in icon view: - - - - - 3 px by default. - - - - - - px - - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - - - - - Lock - - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - - - - - Application restart is needed for changes to take effect. - - - - - Do not generate thumbnails for image files exceeding this size: - - - - - KB - - - - - Needs ffmpegthumbnailer - - - - - Auto Mount - - - - - Mount mountable volumes automatically on program startup - - - - - Mount removable media automatically when they are inserted - - - - - Show available options for removable media when they are inserted - - - - - When removable medium unmounted: - - - - - Close &tab containing removable medium - - - - - Chan&ge folder in the tab to home folder - - - - - Programs - - - - - Terminal emulator: - - - - - Switch &user command: - - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - - - - - Archiver in&tegration: - - - - - Templates - - - - - Show only user defined templates in menu - - - - - Show only one template for each MIME type - - - - - Run default application after creation from template - - - - - Use SI decimal prefixes instead of IEC binary prefixes - - - - - QObject - - - Renaming files... - - - - - Abort - - - - - Warning - - - - - Renaming is aborted. - - - - - - Error - - - - - No file could be renamed. - - - - - Some files could not be renamed. - - - - diff --git a/pcmanfm/translations/pcmanfm-qt_ar.desktop b/pcmanfm/translations/pcmanfm-qt_ar.desktop deleted file mode 100644 index 02a9090..0000000 --- a/pcmanfm/translations/pcmanfm-qt_ar.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[ar]=مدير الملفّات PCManFM-Qt -GenericName[ar]=مدير ملفّات -Comment[ar]=تصفّح نظام الملفّات وأدر ملفّاتك diff --git a/pcmanfm/translations/pcmanfm-qt_ar.ts b/pcmanfm/translations/pcmanfm-qt_ar.ts deleted file mode 100644 index 78ad3b9..0000000 --- a/pcmanfm/translations/pcmanfm-qt_ar.ts +++ /dev/null @@ -1,1835 +0,0 @@ - - - - - AboutDialog - - - About - عن - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - مدير ملفات خفيف - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - المبرمجون: -* Hong Jen Yee (PCMan)‏ <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - مدير الملفات PCManFM-Qt - -الحقوق محفوظة © ٢٠٠٩ - ٢٠١٤ لِ‍ 洪任諭 (Hong Jen Yee) - -هذا البرنامج هو برنامج حر؛ بإمكانك إعادة توزيعه و/أو تعديله تحت شروط الرخصة -العمومية العامة لجنو والتي نشرتها منظمة البرمجيات الحرة؛ سواء الإصدارة 2 من -الرخصة أو أي إصدارة بعدها حسب رغبتك. - -يُوزّع هذا البرنامج على أمل أن يكون مفيدا لمن يستخدمه، دون أدنى مسؤولية؛ ولا -حتى أي ضمان يضمن صلاحية العرض في السوق أو توافقه مع أي استخدام محدد. يمكنك -مراجعة الرخصة العمومية العامة لجنو لمزيد من التفاصيل. - -من المفترض أن تكون قد استلمت نسخة من رخصة جنو العامة مع هذا البرنامج؛ في حال -عدم استلامك لذلك، يمكنك مكاتبة: -⁨Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA⁨.⁩ - - - - Authors - المؤلفون - - - - License - الرخصة - - - - AutoRunDialog - - - Removable medium is inserted - أُدرج وسيط منفصل - - - - <b>Removable medium is inserted</b> - <b>أُدرج وسيط منفصل</b> - - - - Type of medium: - نوع الوسيط: - - - - Detecting... - يكتشف… - - - - Please select the action you want to perform: - رجاءً اختر الإجراء الذي تريد تنفيذه: - - - - BulkRenameDialog - - - Bulk Rename - تغيير الأسماء بالجملة - - - - # will be replaced by numbers starting with: - ستُستبدل # بالأرقام بدءا من: - - - - Rename selected files to: - غيّر اسم الملفات المحددة إلى: - - - - Name# - الاسم# - - - - ConnectServerDialog - - - Connect to remote server - اتّصل بخادوم بعيد - - - - Anonymous &login - ولوج مج&هّل - - - - Login as &user: - لِج بالمست&خدم: - - - - Specify remote folder to connect - حدّد المجلد البعيد للاتصال به - - - - Type: - النوع: - - - - Port: - المنفذ: - - - - Path: - المسار: - - - - Host: - المضيف: - - - - DesktopFolder - - - Form - استمارة - - - - Desktop - سطح المكتب - - - - Desktop folder: - مجلد سطح المكتب: - - - - Image file - ملف صورة - - - - Folder path - مسار المجلد - - - - &Browse - ت&صفّح - - - - DesktopPreferencesDialog - - - Desktop Preferences - تفضيلات سطح المكتب - - - - Background - الخلفية - - - - Wallpaper mode: - وضع الخلفية: - - - - Wallpaper image file: - ملف صورة الخلفية: - - - - Select background color: - اختر لون الخلفية: - - - - Image file - ملف صورة - - - - Image file path - مسار ملف الصورة - - - - &Browse - ت&صفّح - - - - Icons - الأيقونات - - - - Icon size: - مقاس الأيقونة: - - - - Label Text - نصوص اللصيقات - - - - Select shadow color: - اختر ظل النص: - - - - Select font: - اختر الخط: - - - - General - عام - - - - Select text color: - - - - - Spacing - التباعد - - - - Minimum item margins: - أدنى هوامش للعناصر: - - - - 3 px by default. - ٣ بكسل مبدئيا. - - - - - px - بكسل - - - - x - × - - - - 1 px by default. -A space is also reserved for 3 lines of text. - بكسل واحد مبدئيا. -سيُحجز أيضا مكان لنص بثلاث أسطر. - - - - Lock - اقفل - - - - Slide Show - عرض الشرائح - - - - Enable Slide Show - فعّل عرض الشرائح - - - - Wallpaper image folder: - مجلد صور الخلفية: - - - - Browse - تصفّح - - - - hour(s) - سا - - - - and - و - - - - Intervals less than 5min will be ignored - ستُتجاهل الفترات الأقل من ٥ دقائق - - - - Interval: - الفترة: - - - - minute(s) - دق - - - - Wallpaper folder - مجلد الخلفيات - - - - Randomize the slide show - عرض الشرائح عشوائي - - - - Visible Shortcuts - - - - - Home - المنزل - - - - Trash - - - - - Computer - الحاسوب - - - - Network - الشبكة - - - - Window Manager - مدير النوافذ - - - - Show menus provided by window managers when desktop is clicked - اعرض القوائم التي يوفّرها مدير النوافذ عند نقر سطح المكتب - - - - Advanced - متقدم - - - - MainWindow - - - File Manager - مدير الملفات - - - - &Toolbars - أ&شرطة الأدوات - - - - Path &Bar - شري&ط المسار - - - - &Filtering - - - - - Go &Up - انتقل لأ&على - - - - Go Up - انتقل لأعلى - - - - Alt+Up - Alt+Up - - - - &Home - الم&نزل - - - - Alt+Home - Alt+Home - - - - &Reload - أ&عِد التحميل - - - - F5 - F5 - - - - Go - تنقّل - - - - Quit - أنهِ - - - - &About - &عن - - - - &New Window - نافذة &جديدة - - - - New Window - نافذة جديدة - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - اعرض الم&خفي - - - - Ctrl+H - Ctrl+H - - - - &Computer - ال&حاسوب - - - - &Trash - الم&هملات - - - - &Network - ال&شبكة - - - - &Desktop - س&طح المكتب - - - - &Add to Bookmarks - أ&ضِف إلى العلامات - - - - &Applications - التطبي&قات - - - - Reload - أعِد التحميل - - - - &Icon View - منظور أي&قوناتي - - - - &Compact View - منظور مترا&ص - - - - &Detailed List - قائمة مف&صّلة - - - - &Thumbnail View - منظور مص&غّراتي - - - - Cu&t - &قصّ - - - - Ctrl+X - Ctrl+X - - - - &Copy - ا&نسخ - - - - Ctrl+C - Ctrl+C - - - - &Paste - أل&صِق - - - - Ctrl+V - Ctrl+V - - - - Select &All - حدّد ال&كل - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - التف&ضيلات - - - - &Ascending - ت&صاعديا - - - - &Descending - ت&نازليا - - - - &By File Name - باسم المل&ف - - - - By &Modification Time - بوقت الت&عديل - - - - By File &Type - ب&نوع الملف - - - - By &Owner - بال&مالك - - - - &Folder First - الم&جلدات أولا - - - - &Preserve sorting for this folder - ا&حفظ طريقة الفرز في هذا المجلد - - - - &Case Sensitive - ح&سّاس للحالة - - - - By File &Size - بح&جم الملف - - - - &Close Window - أ&غلِق النافذة - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - م&جلد - - - - &Blank File - مل&ف فارغ - - - - &Show/Focus Filter Bar - - - - - Show Filter Bar - - - - - Ctrl+I - - - - - S&plit View - - - - - Split View - - - - - F6 - F6 - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - - - - - Ctrl+Shift+K - - - - - Close &previous tabs - أغلِق الألسنة ال&سابقة - - - - Close &next tabs - أغلِق الألسنة ال&تالية - - - - &Preserve Settings for This Folder - ا&حفظ الإعدادات في هذا المجلد - - - - Connect to &Server - اتّصل ب&خادوم - - - - &Location - الم&كان - - - - &Path Buttons - أزرار الم&سار - - - - &Bulk Rename - ت&غيير الأسماء بالجملة - - - - Bulk Rename - تغيير الأسماء بالجملة - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - أغلِق الألسنة الأ&خرى - - - - Permanent &filter bar - - - - - &Menu bar - شريط ال&قوائم - - - - Menu bar - شريط القوائم - - - - Ctrl+M - Ctrl+M - - - - - Menu - القائمة - - - - New &Tab - ل&سان جديد - - - - New Tab - لسان جديد - - - - Ctrl+T - Ctrl+T - - - - Go &Back - &عُد - - - - Go Back - عُد - - - - Alt+Left - Alt+Left - - - - Go &Forward - ت&قدّم - - - - Go Forward - تقدّم - - - - Alt+Right - Alt+Right - - - - &Invert Selection - ا&عكس التحديد - - - - &Delete - ا&حذف - - - - Del - Del - - - - &Rename - &غيّر الاسم - - - - F2 - F2 - - - - C&lose Tab - أ&غلِق اللسان - - - - Ctrl+W - Ctrl+W - - - - File &Properties - &خصائص الملف - - - - Alt+Return - Alt+Enter - - - - &Folder Properties - خصائص الم&جلد - - - - Edit Bookmarks - حرّر العلامات - - - - Open &Terminal - افتح ال&طرفية - - - - F4 - F4 - - - - Open as &Root - افتح ك&جذر - - - - &Edit Bookmarks - &حرّر العلامات - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - اب&حث عن ملفات - - - - F3 - F3 - - - - &File - &ملف - - - - C&reate New - أ&نشِئ جديدا - - - - &Help - م&ساعدة - - - - - &View - من&ظور - - - - &Sorting - ال&فرز - - - - &Edit - ت&حرير - - - - &Bookmarks - &علامات - - - - &Go - تن&قّل - - - - &Tool - أ&دوات - - - - Main Toolbar - شريط الأدوات الرئيسي - - - - PCManFM::Application - - - Name of configuration profile - اسم لاحة الضبط - - - - PROFILE - لاحة - - - - Run PCManFM as a daemon - شغّل PCManFM كعفريت - - - - Quit PCManFM - أنهِ PCManFM - - - - Launch desktop manager - أطلِق مدير سطح المكتب - - - - Turn off desktop manager if it's running - أوقِف مدير سطح المكتب إن كان يعمل - - - - Open desktop preference dialog on the page with the specified name - افتح حواريّ تفضيلات سطح المكتب على الصفحة بالاسم المحدد - - - - - NAME - NAME - - - - Open new window - افتح نافذة جديدة - - - - Open Find Files utility - افتح أداة البحث عن ملفات - - - - Set desktop wallpaper from image FILE - اضبط خلفية سطح المكتب من ملف الصورة FILE - - - - FILE - FILE - - - - MODE - MODE - - - - Set mode of desktop wallpaper. MODE=(%1) - اضبط وضع خلفية سطح المكتب. MODE=(%1)‎ - - - - Open Preferences dialog on the page with the specified name - افتح حواريّ التفضيلات على الصفحة بالاسم المحدد - - - - Files or directories to open - الملفات أو الأدلّة لفتحها - - - - [FILE1, FILE2,...] - [FILE1, FILE2,...] - - - - - Error - خطأ - - - - Terminal emulator is not set. - لم يُضبط محاكي الطرفية. - - - - PCManFM::AutoRunDialog - - - Open in file manager - افتح في مدير الملفات - - - - Removable Disk - قرص منفصل - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - ‏WebDav آمن - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - املأ بلون الخلفية فقط - - - - Stretch to fill the entire screen - مدّد لملء الشاشة كاملة - - - - Stretch to fit the screen - مدّد لتناسب الشاشة - - - - Center on the screen - وسّط في الشاشة - - - - Tile the image to fill the entire screen - كرّر الصورة قِطعا لتملأ الشاشة كاملة - - - - Zoom the image to fill the entire screen - كبّر الصورة لتملأ الشاشة كاملة - - - - Image Files - ملفات الصور - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - - - - - - - - - - - - Trash (Empty) - - - - - Home - المنزل - - - - Computer - الحاسوب - - - - Network - الشبكة - - - - Open - - - - - - Stic&k to Current Position - ت&شبّث بالمكان الحالي - - - - Empty Trash - - - - - Hide Desktop Items - أخفِ عناصر سطح المكتب - - - - Desktop Preferences - تفضيلات سطح المكتب - - - - PCManFM::FilterBar - - - Filter: - - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - امسح النص (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - أخفِ شريط القوائم - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - سيُخفي هذا شريط القوائم تماما، استخدم Ctrl+M لعرضه ثانية. - - - - Version: %1 - الإصدارة: %1 - - - - &Move to Trash - ا&نقل إلى المهملات - - - - &Delete - ا&حذف - - - - - Error - خطأ - - - - Switch user command is not set. - لم يُضبط أمر تبديل المستخدم. - - - - PCManFM::PreferencesDialog - - - Icon View - منظور أيقوناتي - - - - Compact View - منظور متراص - - - - Thumbnail View - منظور مصغّراتي - - - - Detailed List View - منظور قوائمي مفصّل - - - - PCManFM::TabPage - - - Error - خطأ - - - - Free space: %1 (Total: %2) - المساحة الحرة: %1 (المجموع: %2) - - - - %n item(s) - - لا عناصر - عنصر واحد - عنصران - %n عناصر - %n عنصرا - %n عنصر - - - - - (%n hidden) - - (لا شيء مخفي) - (واحد مخفي) - (اثنان مخفيان) - (%n مخفية) - (%n مخفيا) - (%n مخفي) - - - - - - - Link to - رابط إلى - - - - %n item(s) selected - - لا عناصر محددة - عنصر واحد محدد - عنصران محددان - %n عناصر محددة - %n عنصرا محددا - %n عنصر محدد - - - - - PCManFM::View - - - Open in New T&ab - افتح في ل&سان جديد - - - - Open in New Win&dow - افتح في &نافذة جديدة - - - - Open in Termina&l - افتح في ال&طرفية - - - - PreferencesDialog - - - Preferences - التفضيلات - - - - User Interface - واجهة المستخدم - - - - Behavior - السلوك - - - - - Thumbnail - المصغّرات - - - - Volume - الأقراص - - - - Advanced - متقدم - - - - Select newly created files - حدّد الملفات المنشأة حديثا - - - - Icons - الأيقونات - - - - Size of big icons: - مقاس الأيقونات الكبيرة: - - - - Size of small icons: - مقاس الأيقونات الصغيرة: - - - - Size of thumbnails: - مقاس المصغّرات: - - - - Size of side pane icons: - مقاس أيقونات الشريط الجانبي: - - - - Icon theme: - سمة الأيقونات: - - - - Window - النافذة - - - - Always show the tab bar - اعرض شريط الألسنة دوما - - - - Show 'Close' buttons on tabs - اعرض أزرار ”أغلِق“ على الألسنة - - - - Remember the size of the last closed window - تذكّر حجم آخر نافذة مُغلقة - - - - Default width of new windows: - العرض المبدئي للنوافذ الجديدة: - - - - Default height of new windows: - الارتفاع المبدئي للنوافذ الجديدة: - - - - Browsing - التصفح - - - - Open files with single click - افتح الملفات بنقرة واحدة - - - - Delay of auto-selection in single click mode (0 to disable) - تأخير التحديد الآلي في وضع النقر المفرد (صفر لتعطيله) - - - - Default view mode: - وضع المنظور المبدئي: - - - - sec - ثا - - - - File Operations - العمليات على الملفات - - - - Confirm before deleting files - أكّد قبل حذف الملفات - - - - Move deleted files to "trash bin" instead of erasing from disk. - انقل الملفات المحذوفة إلى ”سلة المهملات“ بدل مسحها من القرص. - - - - Show thumbnails of files - اعرض مصغّرات للملفات - - - - Only show thumbnails for local files - اعرض مصغّرات للملفات المحلية فقط - - - - Display - العرض - - - - Bookmarks: - العلامات: - - - - Open in current tab - افتح في اللسان الحالي - - - - Open in new tab - افتح في لسان جديد - - - - Open in new window - افتح في نافذة جديدة - - - - Erase files on removable media instead of "trash can" creation - امسح الملفات في الوسيط المنفصل بدل إنشاء ”سلة للمهملات“ - - - - Confirm before moving files into "trash can" - أكّد قبل نقل الملفات إلى ”سلة المهملات“ - - - - - - Requires application restart to take effect completely - إعادة تشغيل التطبيق مطلوبة ليأخذ الخيار مفعوله تماما - - - - Launch executable files without prompt - أطلِق الملفات التنفيذية دون سؤال - - - - - Used by Icon View - يستخدمه المنظور الأيقوناتي - - - - - Used by Compact View and Detailed List View - يستخدمه المنظورين المتراص والقوائمي المفصّل - - - - - Used by Thumbnail View - يستخدمه المنظور المصغّراتي - - - - User interface - واجهة المستخدم - - - - Treat backup files as hidden - عامِل ملفات النسخ الاحتياطي كمخفية - - - - Always show full file names - اعرض أسماء الملفات كاملة دوما - - - - Show icons of hidden files shadowed - اعرض أيقونات الملفات المخفية مظلّلة - - - - Minimum item margins in icon view: - أدنى هوامش للعناصر في المنظور الأيقوناتي: - - - - 3 px by default. - ٣ بكسل مبدئيا. - - - - - px - بكسل - - - - x - × - - - - 3 px by default. -A space is also reserved for 3 lines of text. - بكسل واحد مبدئيا. -سيُحجز أيضا مكان لنص بثلاث أسطر. - - - - Lock - اقفل - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - إن لم يُؤشّر، فسيظهر شريط الألسنة فقط إن كان هناك أكثر من لسان واحد. - - - - Application restart is needed for changes to take effect. - - - - - Do not generate thumbnails for image files exceeding this size: - لا تولّد مصغّرات لملفات الصور الأكبر من: - - - - KB - ك.بايت - - - - Needs ffmpegthumbnailer - تحتاج المصغّرات ffmpegthumbnailer - - - - Auto Mount - الضمّ الآلي - - - - Mount mountable volumes automatically on program startup - ضُمّ الأقراص المنفصلة آليا عند بدء البرنامج - - - - Mount removable media automatically when they are inserted - ضُمّ آليا الوسيط المنفصل عندما يُدخل - - - - Show available options for removable media when they are inserted - اعرض الخيارات المتوفرة للوسيط المنفصل عندما يُدخل - - - - When removable medium unmounted: - عند إزالة ضمّ وسيط منفصل: - - - - Close &tab containing removable medium - أغلِق ال&سان الذي فيه الوسيط المنفصل - - - - Chan&ge folder in the tab to home folder - &غيّر المجلد في اللسان ليكون مجلد المنزل - - - - Programs - البرامج - - - - Terminal emulator: - محاكي الطرفية: - - - - Switch &user command: - أمر تبديل الم&ستخدم: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - أمثلة: ”xterm -e %s“ للطرفية أو ”gksu %s“ لتبديل المستخدم. -‏‎%s = هو سطر الأوامر الذي ستنفّذه بالطرفية أو su. - - - - Archiver in&tegration: - ت&كامل الأرشفة: - - - - Templates - القوالب - - - - Show only user defined templates in menu - اعرض في القائمة القوالبَ التي عرّفها المستخدم فقط - - - - Show only one template for each MIME type - اعرض قالبا واحدا فقط لكل نوع MIME - - - - Run default application after creation from template - شغّل التطبيق المبدئي بعد الإنشاء من قالب - - - - Use SI decimal prefixes instead of IEC binary prefixes - استخدم بادئات SI العشرية بدل بادئات IEC الثنائية - - - - QObject - - - Renaming files... - يُغيّر أسماء الملفات… - - - - Abort - أجهِض - - - - Warning - تحذير - - - - Renaming is aborted. - أُجهض تغيير الأسماء. - - - - - Error - خطأ - - - - No file could be renamed. - تعذر تغيير اسم أي ملف. - - - - Some files could not be renamed. - تعذر تغيير أسماء بعض الملفات. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_ca.desktop b/pcmanfm/translations/pcmanfm-qt_ca.desktop deleted file mode 100644 index d4f691c..0000000 --- a/pcmanfm/translations/pcmanfm-qt_ca.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[ca]=Gestor de fitxers PCManFM-Qt -GenericName[ca]=Gestor de fitxers -Comment[ca]=Navegueu pel sistema de fitxers i gestioneu els fitxers diff --git a/pcmanfm/translations/pcmanfm-qt_ca.ts b/pcmanfm/translations/pcmanfm-qt_ca.ts deleted file mode 100644 index caf3262..0000000 --- a/pcmanfm/translations/pcmanfm-qt_ca.ts +++ /dev/null @@ -1,1823 +0,0 @@ - - - - - AboutDialog - - - About - Quant a - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Gestor de fitxers lleuger - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programació: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Gestor de fitxers PCManFM-Qt - -Drets d'autor (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Aquest programa és programari lliure; podeu redistribuir-lo i/o modificar-lo -sota els termes de la Llicència Pública General GNU tal com ha estat -publicada per la Free Software Foundation; ja sigui la versió 2 de la Llicència -o bé (si ho preferiu) qualsevol altra versió posterior. - -Aquest programa es distribueix amb l'esperança que sigui útil, però SENSE -CAP GARANTIA; fins i tot sense la garantia implícita de COMERCIALITZACIÓ, -SATISFACCIÓ DE QUALITAT o ADEQUACIÓ A UN ÚS CONCRET. Per a més -detalls vegeu la Llicència pública general de GNU. - -Hauríeu d'haver rebut una còpia de la Llicència Pública General GNU -juntament amb Engrampa; en cas contrari, escriviu a la Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - - - - Authors - Autors - - - - License - Llicència - - - - AutoRunDialog - - - Removable medium is inserted - Un mitjà extraïble està inserit - - - - <b>Removable medium is inserted</b> - <b>Un mitjà extraïble està inserit</b> - - - - Type of medium: - Tipus de mitjà: - - - - Detecting... - S'està detectant... - - - - Please select the action you want to perform: - Seleccioneu l'acció que voleu realitzar: - - - - BulkRenameDialog - - - Bulk Rename - Canvi de nom massiu - - - - # will be replaced by numbers starting with: - Se substiturà # amb nombres, començant per: - - - - Rename selected files to: - Canvia el nom dels fitxers seleccionats: - - - - Name# - Nom# - - - - ConnectServerDialog - - - Connect to remote server - Connexió a un servidor remot - - - - Anonymous &login - Inici de &sessió anònim - - - - Login as &user: - Inicia la sessió com a l'&usuari: - - - - Specify remote folder to connect - Especifiqueu la carpeta remota a connectar - - - - Type: - Tipus: - - - - Port: - Port: - - - - Path: - Camí: - - - - Host: - Amfitrió: - - - - DesktopFolder - - - Form - Formulari - - - - Desktop - Escriptori - - - - Desktop folder: - Carpeta de l'escriptori: - - - - Image file - Fitxer de la imatge - - - - Folder path - Camí a la carpeta - - - - &Browse - Na&vega - - - - DesktopPreferencesDialog - - - Desktop Preferences - Preferències de l'escriptori - - - - Background - Fons - - - - Wallpaper mode: - Mode de la imatge del fons: - - - - Wallpaper image file: - Fitxer de la imatge del fons: - - - - Select background color: - Seleccioneu el color del fons: - - - - Image file - Fitxer d'imatge - - - - Image file path - Camí al fitxer de la imatge - - - - &Browse - Na&vega - - - - Icons - Icones - - - - Icon size: - Mida de la icona: - - - - Label Text - Text de les etiquetes - - - - Select shadow color: - Seleccioneu el color de l'ombra: - - - - Select font: - Seleccioneu la lletra: - - - - General - General - - - - Select text color: - Seleccioneu el color del text: - - - - Spacing - Espaiat - - - - Minimum item margins: - Marges mínims de l'ítem: - - - - 3 px by default. - 3 px per defecte. - - - - - px - px - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 px per defecte. -També es reserva un espai per a 3 línies de text. - - - - Lock - Bloqueja - - - - Slide Show - Presentació de diapositives - - - - Enable Slide Show - Habilita la presentació de diapositives - - - - Wallpaper image folder: - Carpeta de la imatge del fons de pantalla: - - - - Browse - Navega - - - - hour(s) - hor(a/es) - - - - and - i - - - - Intervals less than 5min will be ignored - Els intervals de menys de 5 min seran ignorats - - - - Interval: - Interval: - - - - minute(s) - minut(s) - - - - Wallpaper folder - Carpeta del fons d'escriptori - - - - Randomize the slide show - Aleatoritza la presentació de diapositives - - - - Visible Shortcuts - Dreceres visibles - - - - Home - Carpeta de l'usuari - - - - Trash - Paperera - - - - Computer - Ordinador - - - - Network - Xarxa - - - - Window Manager - Gestor de finestres - - - - Show menus provided by window managers when desktop is clicked - Mostra els menús proporcionats amb els gestors de finestres quan es faci clic a l'escriptori - - - - Advanced - Avançat - - - - MainWindow - - - File Manager - Gestor de fitxers - - - - &Toolbars - &Barres d'eines - - - - Path &Bar - &Barra del camí - - - - &Filtering - &Filtratge - - - - Go &Up - Vés a&munt - - - - Go Up - Vés amunt - - - - Alt+Up - Alt+Amunt - - - - &Home - Carpeta de l'&usuari - - - - Alt+Home - Alt+Inici - - - - &Reload - To&rna a carregar - - - - F5 - F5 - - - - Go - Vés - - - - Quit - Surt - - - - &About - &Quant a - - - - &New Window - Finestra &nova - - - - New Window - Finestra nova - Finestra nova - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Mostra els oc&ults - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Ordinador - - - - &Trash - &Paperera - - - - &Network - &Xarxa - - - - &Desktop - &Escriptori - - - - &Add to Bookmarks - &Afegeix als marcadors - - - - &Applications - &Aplicacions - - - - Reload - Recarrega - - - - &Icon View - Vista d'&icones - - - - &Compact View - Vista &compacta - - - - &Detailed List - Llista &detallada - - - - &Thumbnail View - Vis&ta de miniatures - - - - Cu&t - Re&talla - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Copia - - - - Ctrl+C - Ctrl+C - - - - &Paste - Engan&xa - - - - Ctrl+V - Ctrl+V - - - - Select &All - Seleccion&a-ho tot - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - Pr&eferències - - - - &Ascending - &Ascendent - - - - &Descending - &Descendent - - - - &By File Name - Pel &nom del fitxer - - - - By &Modification Time - Per la data de &modificació - - - - By File &Type - Pel &tipus de fitxer - - - - By &Owner - Pel pr&opietari - - - - &Folder First - Primer les &carpetes - - - - &Preserve sorting for this folder - &Preserva l'ordenació per a aquesta carpeta - - - - &Case Sensitive - Distin&ció de majúscules i minúscules - - - - By File &Size - Per la m&ida del fitxer - - - - &Close Window - Tan&ca la finestra - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - &Carpeta - - - - &Blank File - Fitxer en &blanc - - - - &Show/Focus Filter Bar - Mo&stra/Enfoca la barra de filtratge - - - - Show Filter Bar - Mostra la barra de filtratge - - - - Ctrl+I - Ctrl+I - - - - S&plit View - Dividei&x la vista - - - - Split View - Divideix la vista - - - - F6 - F6 - - - - &Copy Full Path - &Copia el camí complet - - - - Ctrl+Shift+C - Ctrl+Maj+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Neteja tots els filtres - - - - Ctrl+Shift+K - Ctrl+Maj+K - - - - Close &previous tabs - Tanca les &pestanyes anteriors - - - - Close &next tabs - Tanca les pestanyes següe&nts - - - - &Preserve Settings for This Folder - &Preserva els ajusts per a aquesta carpeta - - - - Connect to &Server - Connecta't al &servidor - - - - &Location - &Ubicació - - - - &Path Buttons - Botons del &camí - - - - &Bulk Rename - Can&vi de nom massiu - - - - Bulk Rename - Canvi de nom massiu - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Tanca les altr&es pestanyes - - - - Permanent &filter bar - Barra de &filtratge permanent - - - - &Menu bar - Barra del &menú - - - - Menu bar - Barra de menús - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menú - - - - New &Tab - Pes&tanya nova - - - - New Tab - Pestanya nova - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Vés enda&rrere - - - - Go Back - Vés endarrere - - - - Alt+Left - Alt+Esquerra - - - - Go &Forward - Vés enda&vant - - - - Go Forward - Vés endavant - - - - Alt+Right - Alt+Dreta - - - - &Invert Selection - &Inverteix la selecció - - - - &Delete - &Elimina - - - - Del - Supr - - - - &Rename - &Reanomena - - - - F2 - F2 - - - - C&lose Tab - Tanca &la pestanya - - - - Ctrl+W - Ctrl+W - - - - File &Properties - &Propietats del fitxer - - - - Alt+Return - Alt+Retorn - - - - &Folder Properties - Propietats de la c&arpeta - - - - Edit Bookmarks - Edita els marcadors - - - - Open &Terminal - Obre el &terminal - - - - F4 - F4 - - - - Open as &Root - Obre com a &root - - - - &Edit Bookmarks - &Edita els marcadors - - - - Ctrl+Shift+N - Ctrl+Majúscules+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - Troba &fitxers - - - - F3 - F3 - - - - &File - &Fitxer - - - - C&reate New - C&rea nou - - - - &Help - &Ajuda - - - - - &View - &Visualitza - - - - &Sorting - &Ordenació - - - - &Edit - &Edita - - - - &Bookmarks - &Marcadors - - - - &Go - &Vés - - - - &Tool - &Eines - - - - Main Toolbar - Barra d'eines principal - - - - PCManFM::Application - - - Name of configuration profile - Nom del perfil de la configuració - - - - PROFILE - PERFIL - - - - Run PCManFM as a daemon - Executa PCManFM com a dimoni - - - - Quit PCManFM - Surt de PCManFM - - - - Launch desktop manager - Llança el gestor d'escriptoris - - - - Turn off desktop manager if it's running - Apaga el gestor d'escriptoris si s'està executant - - - - Open desktop preference dialog on the page with the specified name - Obre el diàleg de preferències de l'escriptori en la pàgina amb el nom especificat - - - - - NAME - NOM - - - - Open new window - Obre una finestra nova - - - - Open Find Files utility - Obre la utilitat Troba fitxers - - - - Set desktop wallpaper from image FILE - Estableix la imatge del fons de l'escriptori a partir del FITXER de la imatge - - - - FILE - FITXER - - - - MODE - MODE - - - - Set mode of desktop wallpaper. MODE=(%1) - Estableix el mode de la imatge del fons de l'escriptori. MODE=(%1) - - - - Open Preferences dialog on the page with the specified name - Obre el diàleg de preferències en la pàgina amb el nom especificat - - - - Files or directories to open - Els fitxers o els directoris a obrir - - - - [FILE1, FILE2,...] - [FITXER1, FITXER2,...] - - - - - Error - Error - - - - Terminal emulator is not set. - L'emulador del terminal no està establert. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Obre al gestor de fitxers - - - - Removable Disk - Disc extraïble - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - WebDav segur - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Tan sols omple amb el color del fons - - - - Stretch to fill the entire screen - Estira per omplir tota la pantalla - - - - Stretch to fit the screen - Estira per omplir la pantalla - - - - Center on the screen - Centra a la pantalla - - - - Tile the image to fill the entire screen - Mosaic de la imatge per omplir tota la pantalla - - - - Zoom the image to fill the entire screen - Fes zoom a la imatge per omplir tota la pantalla - - - - Image Files - Fitxers d'imatges - - - - PCManFM::DesktopWindow - - - Trash (One item) - Paperera (un element) - - - - Trash (%Ln items) - Paperera (%Ln element) - Paperera (%Ln elements) - - - - Trash (Empty) - Paperera (buida) - - - - Home - Carpeta de l'usuari - - - - Computer - Ordinador - - - - Network - Xarxa - - - - Open - Obre - - - - - Stic&k to Current Position - Fi&xa a la posició actual - - - - Empty Trash - Buida la paperera - - - - Hide Desktop Items - Oculta els ítems de l'escriptori - - - - Desktop Preferences - Preferències de l'escriptori - - - - PCManFM::FilterBar - - - Filter: - Filtre: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Neteja el text (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Instància de root - - - - Hide menu bar - Oculta la barra de menús - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Això ocultarà completament la barra de menús, utilitzeu Ctrl+M per tornar-la a mostrar. - - - - Version: %1 - Versió: %1 - - - - &Move to Trash - &Mou a la paperera - - - - &Delete - &Suprimeix - - - - - Error - Error - - - - Switch user command is not set. - L'ordre de canvi d'usuari no està establerta. - - - - PCManFM::PreferencesDialog - - - Icon View - Vista d'icones - - - - Compact View - Vista compacta - - - - Thumbnail View - Vista de miniatures - - - - Detailed List View - Vista de llista detallada - - - - PCManFM::TabPage - - - Error - Error - - - - Free space: %1 (Total: %2) - Espai lliure: %1 (total: %2) - - - - %n item(s) - - %n ítem - %n ítems - - - - - (%n hidden) - - (%n ocult) - (%n ocults) - - - - - - - Link to - enllaç a - - - - %n item(s) selected - - %n ítem seleccionat - %n ítems seleccionats - - - - - PCManFM::View - - - Open in New T&ab - Obre en una pest&anya nova - - - - Open in New Win&dow - Obre en una fines&tra nova - Obre en una fines&tra nova - - - - Open in Termina&l - Obre al termina&l - - - - PreferencesDialog - - - Preferences - Preferències - - - - User Interface - Interfície d'usuari - - - - Behavior - Comportament - - - - - Thumbnail - Miniatura - - - - Volume - Volum - - - - Advanced - Avançat - - - - Select newly created files - Selecciona els fitxers creats recentment - - - - Icons - Icones - - - - Size of big icons: - Mida de les icones grans: - - - - Size of small icons: - Mida de les icones petites: - - - - Size of thumbnails: - Mida de les miniatures: - - - - Size of side pane icons: - Mida de les icones del plafó lateral: - - - - Icon theme: - Tema de les icones: - - - - Window - Finestra - - - - Always show the tab bar - Mostra sempre la barra de les pestanyes - - - - Show 'Close' buttons on tabs - Mostra els botons de 'Tanca' en les pestanyes - - - - Remember the size of the last closed window - Recorda la mida de l'última finestra tancada - - - - Default width of new windows: - Amplada predeterminada de les finestres noves: - - - - Default height of new windows: - Alçada predeterminada de les finestres noves: - - - - Browsing - Navegació - - - - Open files with single click - Obre els fitxers amb un sol clic - - - - Delay of auto-selection in single click mode (0 to disable) - Retard de la selecció automàtica al mode d'un sol clic (0 per inhabilitar) - - - - Default view mode: - Mode predeterminat de la vista: - - - - sec - s - s - - - - File Operations - Operacions dels fitxers - - - - Confirm before deleting files - Confirmació abans d'eliminar fitxers - - - - Move deleted files to "trash bin" instead of erasing from disk. - Mou els fitxers suprimits a la "paperera" en lloc d'eliminar-los del disc. - - - - Show thumbnails of files - Mostra les miniatures dels fitxers - - - - Only show thumbnails for local files - Mostra únicament les miniatures per als fitxers locals - - - - Display - Visualització - - - - Bookmarks: - Marcadors: - - - - Open in current tab - Obre en la pestanya actual - - - - Open in new tab - Obre en una pestanya nova - - - - Open in new window - Obre en una finestra nova - - - - Erase files on removable media instead of "trash can" creation - Elimina els fitxers en el mitjà extraïble en lloc de la creació de la "paperera" - - - - Confirm before moving files into "trash can" - Confirmació abans de moure fitxers a la "paperera" - - - - - - Requires application restart to take effect completely - Requereix reiniciar l'aplicació perquè tingui efecte completament - - - - Launch executable files without prompt - Inicia els fitxers executables sense preguntar-ho - - - - - Used by Icon View - Utilitzat amb la vista d'icones - - - - - Used by Compact View and Detailed List View - Utilitzat amb la vista compacta i la vista de llista detallada - - - - - Used by Thumbnail View - Utilitzat amb la vista de miniatures - - - - User interface - Interfície d'usuari - - - - Treat backup files as hidden - Tracta els fitxers de còpia de seguretat com a ocults - - - - Always show full file names - Mostra sempre el nom complet dels fitxers - - - - Show icons of hidden files shadowed - Mostra ombrejades les icones dels fitxers ocults - - - - Minimum item margins in icon view: - Marges mínims de l'ítem a la vista d'icones: - - - - 3 px by default. - 3 px per defecte. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 1 px per defecte. -També es reserva un espai per a 3 línies de text. - - - - Lock - Bloqueja - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Quan es desmarca, únicament es mostrarà la -barra de tasques si hi ha més d'una pestanya. - - - - Application restart is needed for changes to take effect. - Es necessita reiniciar l'aplicació perquè els canvis tinguin efecte. - - - - Do not generate thumbnails for image files exceeding this size: - No generis les miniatures per als fitxers d'imatges que superin aquesta mida: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Necessita ffmpegthumbnailer - - - - Auto Mount - Munta automàticament - - - - Mount mountable volumes automatically on program startup - Munta automàticament els volums muntables amb la inicialització del programa - - - - Mount removable media automatically when they are inserted - Munta automàticament els mitjans extraïbles quan aquests són inserits - - - - Show available options for removable media when they are inserted - Mostra les opcions disponibles per als mitjans extraïbles quan s'insereixin - - - - When removable medium unmounted: - Quan es desmunta un mitjà extraïble: - - - - Close &tab containing removable medium - Tanca la pes&tanya que conté el mitjà extraïble - - - - Chan&ge folder in the tab to home folder - Can&via la carpeta a la pestanya amb la carpeta de l'usuari - - - - Programs - Programes - - - - Terminal emulator: - Emulador de terminal: - - - - Switch &user command: - Ordre per al canvi d'&usuari: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Exemples: "xterm -e %s" per al terminal, o "gksu %s" per al canvi d'usuari. -%s = la línia d'ordres que voleu executar amb el terminal o amb su. - - - - Archiver in&tegration: - In&tegració amb l'arxivador: - - - - Templates - Plantilles - - - - Show only user defined templates in menu - Mostra al menú únicament les plantilles definides de l'usuari - - - - Show only one template for each MIME type - Mostra únicament una plantilla per a cadascun dels tipus MIME - - - - Run default application after creation from template - Executa l'aplicació predeterminada després de la creació a partir de la plantilla - - - - Use SI decimal prefixes instead of IEC binary prefixes - Utilitza els prefixos decimals del SI en lloc dels prefixos binaris de l'IEC - - - - QObject - - - Renaming files... - S'està canviant el nom als fitxers... - - - - Abort - Avorta - - - - Warning - Avís - - - - Renaming is aborted. - S'ha avortat el canvi de nom. - - - - - Error - Error - - - - No file could be renamed. - No es pot canviar el nom de cap fitxer. - - - - Some files could not be renamed. - No s'ha pogut canviar el nom d'alguns fitxers. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_cs.desktop b/pcmanfm/translations/pcmanfm-qt_cs.desktop deleted file mode 100644 index d37cf48..0000000 --- a/pcmanfm/translations/pcmanfm-qt_cs.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[cs]=PCManFM-Qt -GenericName[cs]=Správce souborů -Comment[cs]=Procházejte souborový systém a spravujte soubory diff --git a/pcmanfm/translations/pcmanfm-qt_cs.ts b/pcmanfm/translations/pcmanfm-qt_cs.ts deleted file mode 100644 index 9be1010..0000000 --- a/pcmanfm/translations/pcmanfm-qt_cs.ts +++ /dev/null @@ -1,1824 +0,0 @@ - - - - - AboutDialog - - - About - O aplikaci - - - - Lightweight file manager - Lehký správce souborů - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programování: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Authors - Autoři - - - - License - Licence - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Správce souborů PCManFM-Qt - -Autorské právo © 2009 - 2014 洪任諭 (Hong Jen Yee) - -Tato aplikace je svobodný software, můžete ji šířit dále a/nebo -upravovat za podmínek GNU obecné veřejné licence -jak je vydaná nadací Free Software Foundation, buď verze 2 -této licence, nebo (jako vaše volba) jakékoli pozdější. - -Tato aplikace je šířena v naději, že bude užitečná, -ale BEZ JAKÝCHKOLI ZÁRUK, bez ani předpokládané záruky -PRODEJNOSTI nebo VHODNOSTI PRO KONKRÉTNÍ ÚČEL. -Podrobnosti naleznete v GNU obecné veřejné licenci. - -Společně s touto aplikací byste měli obdržet kopii -GNU obecné veřejné licence, pokud tomu tak není, napište do nadace Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - AutoRunDialog - - - Removable medium is inserted - Vloženo vyjímatelné médium - - - - <b>Removable medium is inserted</b> - <b>Je vloženo vyjímatelné médium</b> - - - - Type of medium: - Typ média: - - - - Detecting... - Zjišťování… - - - - Please select the action you want to perform: - Vyberte co má být provedeno: - - - - BulkRenameDialog - - - Bulk Rename - Hromadné přejmenování - - - - # will be replaced by numbers starting with: - # bude nahrazeno čísly začínajícími od: - - - - Rename selected files to: - Přejmenovat označené soubory na: - - - - Name# - Název# - - - - ConnectServerDialog - - - Connect to remote server - Připojit ke vzdálenému serveru - - - - Anonymous &login - Anonymní přih&lášení - - - - Login as &user: - Přihlásit se jako &uživatel: - - - - Specify remote folder to connect - Zadejte vzdálenou složku do které se připojit - - - - Type: - Typ: - - - - Port: - Port: - - - - Path: - Umístění: - - - - Host: - Stroj: - - - - DesktopFolder - - - Form - Formulář - - - - Desktop - Pracovní plocha - - - - Desktop folder: - Složka pracovní plochy: - - - - Image file - Soubor s obrázkem - - - - Folder path - Umístění složky - - - - &Browse - &Procházet - - - - DesktopPreferencesDialog - - - Desktop Preferences - Předvolby pracovní plochy - - - - Background - Pozadí - - - - Wallpaper mode: - Režim obrázku na pozadí: - - - - Wallpaper image file: - Soubor s obrázkem pozadí: - - - - Select background color: - Vyberat barvu pozadí: - - - - Image file - Soubor s obrázkem - - - - Image file path - Umístění souboru s obrázkem - - - - &Browse - &Procházet - - - - Icons - Ikony - - - - Icon size: - Velikost ikony: - - - - Label Text - Text štítku - - - - Select shadow color: - Barva stínu: - - - - Select font: - Písmo popisku: - - - - General - Obecné - - - - Select text color: - Vyberte barvu textu: - - - - Spacing - Rozestupy - - - - Minimum item margins: - Nejmenší okraje položky: - - - - 3 px by default. - Výchozí jsou tři obrazové body. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - Výchozí je jeden obrazový bod. -Je také vyhrazeno místo pro 3 řádky textu. - - - - Lock - Uzamknout - - - - Slide Show - Prezentace - - - - Enable Slide Show - Měnit obrázky na pozadí - - - - Wallpaper image folder: - Složka obrázku na pozadí: - - - - Browse - Procházet - - - - hour(s) - hodin - - - - and - a - - - - Intervals less than 5min will be ignored - Intervaly kratší než 5 minut budou ignorovány - - - - Interval: - Interval: - - - - minute(s) - minuty - - - - Wallpaper folder - Složka s obrázky na plochu - - - - Randomize the slide show - Náhodné pořadí prezentace - - - - Visible Shortcuts - Viditelné zkratky - - - - Home - Domovská složka - - - - Trash - Koš - - - - Computer - Můj počítač - - - - Network - Síť - - - - Window Manager - Správce oken - - - - Show menus provided by window managers when desktop is clicked - Při kliknutí na plochu zobrazit nabídky poskytované správci oken - - - - Advanced - Pokročilé - - - - MainWindow - - - File Manager - Správce souborů - - - - Go Up - Nahoru - - - - Alt+Up - Alt + šipka nahoru - - - - Alt+Home - Alt+Home - - - - Reload - Načíst znovu - - - - F5 - F5 - - - - &Toolbars - Pruh nás&trojů - - - - Path &Bar - &Pruh popisů umístění - - - - &Filtering - &Filtrování - - - - &Home - &Domů - - - - &Reload - &Načíst znovu - - - - Go - Jít na - - - - Quit - Ukončit - - - - &About - O &aplikaci - - - - New Window - Nové okno - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Zobrazit &skryté - - - - Ctrl+H - Ctrl+H - - - - &Computer - P&očítač - - - - &Trash - &Koš - - - - &Network - &Síť - - - - &Desktop - P&locha - - - - &Add to Bookmarks - Přid&at do záložek - - - - &Applications - &Aplikace - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Zkopírovat - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Vložit - - - - Ctrl+V - Ctrl+V - - - - Select &All - Vybr&at vše - - - - Pr&eferences - Př&edvolby - - - - &Ascending - &Vzestupně - - - - &Descending - &Sestupně - - - - &By File Name - Podle &názvu - - - - By &Modification Time - Podle oka&mžiku změny - - - - By File &Type - Podle &typu - - - - By &Owner - P&odle vlastníka - - - - &Folder First - &Složky jako první - - - - &Preserve sorting for this folder - Zachovat řazení &pro tuto složku - - - - &Invert Selection - Převrát&it výběr - - - - &Delete - &Smazat - - - - &Rename - &Přejmenovat - - - - &Case Sensitive - &Rozlišovat malá/VELKÁ písmena - - - - By File &Size - Podle veliko&sti - - - - &Close Window - &Zavřít okno - - - - &Show/Focus Filter Bar - &Zobrazit/skrýt lištu filtrování - - - - Show Filter Bar - Zobrazit lištu filtrování - - - - Ctrl+I - Ctrl+I - - - - S&plit View - Rozdělený &pohled - - - - Split View - Rozdělený pohled - - - - F6 - F6 - - - - &Copy Full Path - Zkopírovat &celý popis umístění - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Vyčistit všechny filtry - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Zavřít &předchozí karty - - - - Close &next tabs - Zavřít &následující karty - - - - &Preserve Settings for This Folder - Zachovat nastavení &pro tuto složku - - - - Connect to &Server - Připojit k &serveru - - - - &Location - &Umístění - - - - &Path Buttons - Tlačítka &popisu umístění - - - - &Bulk Rename - &Hromadné přejmenování - - - - Bulk Rename - Hromadné přejmenování - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Zavřít &ostatní karty - - - - Permanent &filter bar - Trvalá lišta &filtrování - - - - &Menu bar - &Pruh nabídek - - - - Menu bar - Pruh nabídek - - - - Ctrl+M - Ctrl+M - - - - - Menu - Nabídka - - - - Ctrl+A - Ctrl+A - - - - Go &Up - Nahor&u - - - - &New Window - &Nové okno - - - - &Icon View - &Ikony - - - - &Compact View - &Kompaktní - - - - &Detailed List - Seznam s po&drobnostmi - - - - &Thumbnail View - &Náhledy - - - - Cu&t - Vyjmou&t - - - - New &Tab - Nová kar&ta - - - - New Tab - Nová karta - - - - Ctrl+T - Ctrl+T - - - - Go &Back - &Zpět - - - - Go Back - Zpět - - - - Alt+Left - Alt + šipka vlevo - - - - Go &Forward - &Vpřed - - - - Go Forward - Vpřed - - - - Alt+Right - Alt + šipka vpravo - - - - Del - Del - - - - F2 - F2 - - - - C&lose Tab - &Zavřít kartu - - - - File &Properties - &Vlastnosti souboru - - - - &Folder Properties - Vlastnosti s&ložky - - - - Ctrl+Q - Ctrl+Q - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - C&reate New - Vytvořit &nový - - - - &Sorting - Ř&adit - - - - Main Toolbar - Hlavní nástrojový pruh - - - - Ctrl+W - Ctrl+W - - - - Alt+Return - Alt+Enter - - - - Edit Bookmarks - Upravit záložky - - - - Open &Terminal - Otevřít &terminál - - - - F4 - F4 - - - - Open as &Root - Otevřít jako sp&rávce systému - - - - &Edit Bookmarks - &Upravit záložky - - - - &Folder - &Složka - - - - &Blank File - &Prázdný soubor - - - - &Find Files - &Najít soubory - - - - F3 - F3 - - - - &File - &Soubor - - - - &Help - &Nápověda - - - - - &View - &Zobrazit - - - - &Edit - &Upravit - - - - &Bookmarks - Zál&ožky - - - - &Go - &Jít na - - - - &Tool - Nás&troje - - - - PCManFM::Application - - - Name of configuration profile - Název profilu nastavení - - - - PROFILE - PROFIL - - - - Run PCManFM as a daemon - Spustit PCManFM jako proces služby - - - - Quit PCManFM - Ukončit PCManFM - - - - Launch desktop manager - Spustit správce desktopu - - - - Turn off desktop manager if it's running - Pokud je spuštěný, vypnout správce plochy - - - - Open desktop preference dialog on the page with the specified name - Otevřít dialog předvoleb plochy na stránce, které název byl zadán - - - - - NAME - NAZEV - - - - Open new window - Otevřít nové okno - - - - Open Find Files utility - Otevřít nástroj pro hledání souborů - - - - Set desktop wallpaper from image FILE - Nastavit pozadí plochy ze SOUBORU s obrázkem - - - - FILE - SOUBOR - - - - MODE - REZIM - - - - Set mode of desktop wallpaper. MODE=(%1) - Nastavit režim obrázku na pozadí plochy. MODE=(%1) - - - - Open Preferences dialog on the page with the specified name - Otevřít dialog předvoleb na stránce které byl zadán název - - - - Files or directories to open - Soubory nebo složky k otevření - - - - [FILE1, FILE2,...] - [SOUBOR1, SOUBOR2,…] - - - - - Error - Chyba - - - - Terminal emulator is not set. - Emulátor terminál není nastaven. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Otevřít ve správci souborů - - - - Removable Disk - Vyjímatelné datové úložiště - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - Zabezpečený WebDav - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Pouze vyplnit barvou pozadí - - - - Stretch to fill the entire screen - Roztáhnout aby vyplnilo celou obrazovku - - - - Stretch to fit the screen - Přizpůsobit obrazovce - - - - Center on the screen - Vystředit - - - - Tile the image to fill the entire screen - Klást obrázky vedle sebe - - - - Zoom the image to fill the entire screen - Zvětšit obrázek tak, aby vyplnil obrazovku - - - - Image Files - Obrázkové soubory - - - - PCManFM::DesktopWindow - - - Trash (One item) - Koš (1 položka) - - - - Trash (%Ln items) - Koš (%Ln položka) - Koš (%Ln položky) - Koš (%Ln položek) - - - - Trash (Empty) - Koš (prázdný) - - - - Home - Domovská složka - - - - Computer - Můj počítač - - - - Network - Síť - - - - Open - Otevřít - - - - - Stic&k to Current Position - &Připíchnout ve stávající poloze - - - - Empty Trash - Vyprázdnit koš - - - - Hide Desktop Items - Skrýt zástupce - - - - Desktop Preferences - Nastavení pracovní plochy - - - - PCManFM::FilterBar - - - Filter: - Filtr: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Vymazat text (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Správcovská (root) instance - - - - Hide menu bar - Skrýt pruh s nabídkou - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Tímto bude pruh s nabídkou úplně skryt. Opět ho zobrazíte stisknutím Ctrl+M. - - - - Version: %1 - Verze: %1 - - - - &Move to Trash - &Přesunout do koše - - - - &Delete - &Smazat - - - - - Error - Chyba - - - - Switch user command is not set. - Příkaz pro přepnutí uživatele není nastaven. - - - - PCManFM::PreferencesDialog - - - Icon View - Zobrazení s ikonami - - - - Compact View - Kompaktní zobrazení - - - - Thumbnail View - Zobrazení s náhledy - - - - Detailed List View - Zobrazení seznamu s podrobnostmi - - - - PCManFM::TabPage - - - Error - Chyba - - - - Free space: %1 (Total: %2) - Volné místo: %1 (celkem: %2) - - - - %n item(s) - - %n položka - %n položky - %n položek - - - - - (%n hidden) - - (%n skryta) - (%n skryty) - (%n skryto) - - - - - - - Link to - Odkaz na - - - - %n item(s) selected - - vybrána %n položka - vybrány %n položky - vybráno %n položek - - - - - PCManFM::View - - - Open in New T&ab - Otevřít v nové k&artě - - - - Open in New Win&dow - Otevřít v novém &okně - - - - Open in Termina&l - Otevřít v terminá&lu - - - - PreferencesDialog - - - Preferences - Předvolby - - - - User Interface - Uživatelské rozhraní - - - - Behavior - Chování - - - - - Thumbnail - Náhled - - - - Volume - Svazek - - - - Advanced - Pokročilé - - - - Select newly created files - Nově vytvořené soubory rovnou vybrat - - - - Icons - Ikony - - - - Size of big icons: - Velikost velkých ikon: - - - - Size of small icons: - Velikost malých ikon: - - - - Size of thumbnails: - Velikost náhledů: - - - - Size of side pane icons: - Velikost ikon v postranním podokně: - - - - Icon theme: - Vzhled ikon: - - - - Window - Okno - - - - Default width of new windows: - Výchozí šířka nových oken: - - - - Default height of new windows: - Výchozí výška nových oken: - - - - Always show the tab bar - Vždycky zobrazovat pruh s kartami - - - - Show 'Close' buttons on tabs - Zobrazovat na kartách tlačítko Zavřít - - - - Remember the size of the last closed window - Pamatovat si rozměry naposledy zavřeného okna - - - - Browsing - Prohlížení - - - - Open files with single click - Otevírat soubory jedním kliknutím - - - - Delay of auto-selection in single click mode (0 to disable) - Zpoždění automatického výběru v režimu jednoho kliknutí (0 pro vypnutí) - - - - Default view mode: - Výchozí režim zobrazení: - - - - sec - s - - - - File Operations - Operace se soubory - - - - Confirm before deleting files - Vyžadovat potvrzení před smazáním souborů - - - - Move deleted files to "trash bin" instead of erasing from disk. - Přesouvat mazané soubory do koše namísto smazání z disku. - - - - Show thumbnails of files - Zobrazovat náhledy souborů - - - - Only show thumbnails for local files - Zobrazovat náhledy jen u souborů nacházejících se přímo v počítači - - - - Display - Zobrazení - - - - Bookmarks: - Záložky: - - - - Open in current tab - Otevřít ve stávající kartě - - - - Open in new tab - Otevřít v nové kartě - - - - Open in new window - Otevřít v novém okně - - - - Erase files on removable media instead of "trash can" creation - Soubory na vyjímatelných médiích rovnou mazat namísto vytváření Koše - - - - Confirm before moving files into "trash can" - Vyžadovat potvrzení před přesunutím souborů do Koše - - - - - - Requires application restart to take effect completely - Aby se změna projevila, je třeba aplikaci zavřít a spustit znovu - - - - Launch executable files without prompt - Spouštět spustitelné soubory bez potvrzování - - - - - Used by Icon View - Využíváno ikonovým zobrazením - - - - - Used by Compact View and Detailed List View - Využíváno v kompaktním a podrobném zobrazení - - - - - Used by Thumbnail View - Využíváno v zobrazení s náhledy - - - - User interface - Uživatelské rozhraní - - - - Treat backup files as hidden - Zacházet se záložními soubory jako s těmi skrytými - - - - Always show full file names - Vždy zobrazovat celé názvy souborů - - - - Show icons of hidden files shadowed - Zobrazovat ikony skrytých souborů stínovaně - - - - Minimum item margins in icon view: - Minimální okraje položky v zobrazení s ikonami: - - - - 3 px by default. - výchozí jsou tři obraz. body. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - Ve výchozím stavu 3 obraz. body. -Je také vyhrazeno místo pro tři řádky textu. - - - - Lock - Uzamknout - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Pokud není zaškrtnuto, bude pruh karet zobrazen -pouze pokud je více než jedna karta. - - - - Application restart is needed for changes to take effect. - Aby se změny projevily, je třeba aplikaci restartovat. - - - - Do not generate thumbnails for image files exceeding this size: - Nevytvářet náhledy obrázků přesahujících tuto velikost: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Vyžaduje ffmpegthumbnailer - - - - Auto Mount - Automatické připojení - - - - Mount mountable volumes automatically on program startup - Při spouštění aplikaci připojit všechny svazky, které jsou k dispozici - - - - Mount removable media automatically when they are inserted - Při vložení/připojení vyjímatelného média ho automaticky připojit (mount) - - - - Show available options for removable media when they are inserted - Při vložení/připojení vyjímatelného média, zobrazit možnosti co s ním - - - - When removable medium unmounted: - Při odpojení (umount) vyjímatelného média: - - - - Close &tab containing removable medium - Zavřít kar&tu obsahující vyjímatelné médium - - - - Chan&ge folder in the tab to home folder - V jemu příslušné &kartě přepnout do domovské složky - - - - Switch &user command: - Příkaz kterým přepnout &uživatele: - - - - Archiver in&tegration: - In&tegrace správce archivů: - - - - Templates - Šablony - - - - Show only user defined templates in menu - V nabídce zobrazovat pouze uživatelem vytvořené šablony - - - - Show only one template for each MIME type - Zobrazit pro každý MIME typ pouze jednu šablonu - - - - Run default application after creation from template - Po vytvoření ze šablony spustit výchozí aplikaci - - - - Programs - Programy - - - - Terminal emulator: - Emulátor terminálu: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Příklady: „xterm -e %s“ pro terminál nebo „gksu %s“ pro přepnutí uživatele. -%s = příkazový řádek, který chcete spustit pomocí terminálu nebo su. - - - - Use SI decimal prefixes instead of IEC binary prefixes - Používat SI desítkové předpony namísto IEC dvojkových - - - - QObject - - - Renaming files... - Přejmenování souborů… - - - - Abort - Přerušit - - - - Warning - Varování - - - - Renaming is aborted. - Přejmenování bylo zrušeno. - - - - - Error - Chyba - - - - No file could be renamed. - Nepodařilo se přejmenovat ani jeden soubor. - - - - Some files could not be renamed. - Některé soubory se nepodařilo přejmenovat. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_cy.ts b/pcmanfm/translations/pcmanfm-qt_cy.ts deleted file mode 100644 index 97f6063..0000000 --- a/pcmanfm/translations/pcmanfm-qt_cy.ts +++ /dev/null @@ -1,1812 +0,0 @@ - - - - - AboutDialog - - - About - - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - - Lightweight file manager - - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - - Authors - - - - - License - - - - - AutoRunDialog - - - Removable medium is inserted - - - - - <b>Removable medium is inserted</b> - - - - - Type of medium: - - - - - Detecting... - - - - - Please select the action you want to perform: - - - - - BulkRenameDialog - - - Bulk Rename - - - - - # will be replaced by numbers starting with: - - - - - Rename selected files to: - - - - - Name# - - - - - ConnectServerDialog - - - Connect to remote server - - - - - Anonymous &login - - - - - Login as &user: - - - - - Specify remote folder to connect - - - - - Type: - - - - - Port: - - - - - Path: - - - - - Host: - - - - - DesktopFolder - - - Form - - - - - Desktop - - - - - Desktop folder: - - - - - Image file - - - - - Folder path - - - - - &Browse - - - - - DesktopPreferencesDialog - - - Desktop Preferences - - - - - Background - - - - - Wallpaper mode: - - - - - Wallpaper image file: - - - - - Select background color: - - - - - Image file - - - - - Image file path - - - - - &Browse - - - - - Icons - - - - - Icon size: - - - - - Label Text - - - - - Select shadow color: - - - - - Select font: - - - - - General - - - - - Select text color: - - - - - Spacing - - - - - Minimum item margins: - - - - - 3 px by default. - - - - - - px - - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - - - - - Lock - - - - - Slide Show - - - - - Enable Slide Show - - - - - Wallpaper image folder: - - - - - Browse - - - - - hour(s) - - - - - and - - - - - Intervals less than 5min will be ignored - - - - - Interval: - - - - - minute(s) - - - - - Wallpaper folder - - - - - Randomize the slide show - - - - - Visible Shortcuts - - - - - Home - - - - - Trash - - - - - Computer - - - - - Network - - - - - Window Manager - - - - - Show menus provided by window managers when desktop is clicked - - - - - Advanced - - - - - MainWindow - - - File Manager - - - - - &Toolbars - - - - - Path &Bar - - - - - &Filtering - - - - - Go &Up - - - - - Go Up - - - - - Alt+Up - - - - - &Home - - - - - Alt+Home - - - - - &Reload - - - - - F5 - - - - - Go - - - - - Quit - - - - - &About - - - - - &New Window - - - - - New Window - - - - - Ctrl+N - - - - - Show &Hidden - - - - - Ctrl+H - - - - - &Computer - - - - - &Trash - - - - - &Network - - - - - &Desktop - - - - - &Add to Bookmarks - - - - - &Applications - - - - - Reload - - - - - &Icon View - - - - - &Compact View - - - - - &Detailed List - - - - - &Thumbnail View - - - - - Cu&t - - - - - Ctrl+X - - - - - &Copy - - - - - Ctrl+C - - - - - &Paste - - - - - Ctrl+V - - - - - Select &All - - - - - Ctrl+A - - - - - Pr&eferences - - - - - &Ascending - - - - - &Descending - - - - - &By File Name - - - - - By &Modification Time - - - - - By File &Type - - - - - By &Owner - - - - - &Folder First - - - - - &Preserve sorting for this folder - - - - - &Case Sensitive - - - - - By File &Size - - - - - &Close Window - - - - - Ctrl+Q - - - - - &Folder - - - - - &Blank File - - - - - &Show/Focus Filter Bar - - - - - Show Filter Bar - - - - - Ctrl+I - - - - - S&plit View - - - - - Split View - - - - - F6 - - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - - - - - &Clear All Filters - - - - - Ctrl+Shift+K - - - - - Close &previous tabs - - - - - Close &next tabs - - - - - &Preserve Settings for This Folder - - - - - Connect to &Server - - - - - &Location - - - - - &Path Buttons - - - - - &Bulk Rename - - - - - Bulk Rename - - - - - Ctrl+F2 - - - - - Close &other tabs - - - - - Permanent &filter bar - - - - - &Menu bar - - - - - Menu bar - - - - - Ctrl+M - - - - - - Menu - - - - - New &Tab - - - - - New Tab - - - - - Ctrl+T - - - - - Go &Back - - - - - Go Back - - - - - Alt+Left - - - - - Go &Forward - - - - - Go Forward - - - - - Alt+Right - - - - - &Invert Selection - - - - - &Delete - - - - - Del - - - - - &Rename - - - - - F2 - - - - - C&lose Tab - - - - - Ctrl+W - - - - - File &Properties - - - - - Alt+Return - - - - - &Folder Properties - - - - - Edit Bookmarks - - - - - Open &Terminal - - - - - F4 - - - - - Open as &Root - - - - - &Edit Bookmarks - - - - - Ctrl+Shift+N - - - - - Ctrl+Alt+N - - - - - &Find Files - - - - - F3 - - - - - &File - - - - - C&reate New - - - - - &Help - - - - - - &View - - - - - &Sorting - - - - - &Edit - - - - - &Bookmarks - - - - - &Go - - - - - &Tool - - - - - Main Toolbar - - - - - PCManFM::Application - - - Name of configuration profile - - - - - PROFILE - - - - - Run PCManFM as a daemon - - - - - Quit PCManFM - - - - - Launch desktop manager - - - - - Turn off desktop manager if it's running - - - - - Open desktop preference dialog on the page with the specified name - - - - - - NAME - - - - - Open new window - - - - - Open Find Files utility - - - - - Set desktop wallpaper from image FILE - - - - - FILE - - - - - MODE - - - - - Set mode of desktop wallpaper. MODE=(%1) - - - - - Open Preferences dialog on the page with the specified name - - - - - Files or directories to open - - - - - [FILE1, FILE2,...] - - - - - - Error - - - - - Terminal emulator is not set. - - - - - PCManFM::AutoRunDialog - - - Open in file manager - - - - - Removable Disk - - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - - - - - Stretch to fill the entire screen - - - - - Stretch to fit the screen - - - - - Center on the screen - - - - - Tile the image to fill the entire screen - - - - - Zoom the image to fill the entire screen - - - - - Image Files - - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - - - - - - - - - - - Trash (Empty) - - - - - Home - - - - - Computer - - - - - Network - - - - - Open - - - - - - Stic&k to Current Position - - - - - Empty Trash - - - - - Hide Desktop Items - - - - - Desktop Preferences - - - - - PCManFM::FilterBar - - - Filter: - - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - - - - - Version: %1 - - - - - &Move to Trash - - - - - &Delete - - - - - - Error - - - - - Switch user command is not set. - - - - - PCManFM::PreferencesDialog - - - Icon View - - - - - Compact View - - - - - Thumbnail View - - - - - Detailed List View - - - - - PCManFM::TabPage - - - Error - - - - - Free space: %1 (Total: %2) - - - - - %n item(s) - - - - - - - - - - - (%n hidden) - - - - - - - - - - - - - Link to - - - - - %n item(s) selected - - - - - - - - - - - PCManFM::View - - - Open in New T&ab - - - - - Open in New Win&dow - - - - - Open in Termina&l - - - - - PreferencesDialog - - - Preferences - - - - - User Interface - - - - - Behavior - - - - - - Thumbnail - - - - - Volume - - - - - Advanced - - - - - Select newly created files - - - - - Icons - - - - - Size of big icons: - - - - - Size of small icons: - - - - - Size of thumbnails: - - - - - Size of side pane icons: - - - - - Icon theme: - - - - - Window - - - - - Always show the tab bar - - - - - Show 'Close' buttons on tabs - - - - - Remember the size of the last closed window - - - - - Default width of new windows: - - - - - Default height of new windows: - - - - - Browsing - - - - - Open files with single click - - - - - Delay of auto-selection in single click mode (0 to disable) - - - - - Default view mode: - - - - - sec - - - - - File Operations - - - - - Confirm before deleting files - - - - - Move deleted files to "trash bin" instead of erasing from disk. - - - - - Show thumbnails of files - - - - - Only show thumbnails for local files - - - - - Display - - - - - Bookmarks: - - - - - Open in current tab - - - - - Open in new tab - - - - - Open in new window - - - - - Erase files on removable media instead of "trash can" creation - - - - - Confirm before moving files into "trash can" - - - - - - - Requires application restart to take effect completely - - - - - Launch executable files without prompt - - - - - - Used by Icon View - - - - - - Used by Compact View and Detailed List View - - - - - - Used by Thumbnail View - - - - - User interface - - - - - Treat backup files as hidden - - - - - Always show full file names - - - - - Show icons of hidden files shadowed - - - - - Minimum item margins in icon view: - - - - - 3 px by default. - - - - - - px - - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - - - - - Lock - - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - - - - - Application restart is needed for changes to take effect. - - - - - Do not generate thumbnails for image files exceeding this size: - - - - - KB - - - - - Needs ffmpegthumbnailer - - - - - Auto Mount - - - - - Mount mountable volumes automatically on program startup - - - - - Mount removable media automatically when they are inserted - - - - - Show available options for removable media when they are inserted - - - - - When removable medium unmounted: - - - - - Close &tab containing removable medium - - - - - Chan&ge folder in the tab to home folder - - - - - Programs - - - - - Terminal emulator: - - - - - Switch &user command: - - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - - - - - Archiver in&tegration: - - - - - Templates - - - - - Show only user defined templates in menu - - - - - Show only one template for each MIME type - - - - - Run default application after creation from template - - - - - Use SI decimal prefixes instead of IEC binary prefixes - - - - - QObject - - - Renaming files... - - - - - Abort - - - - - Warning - - - - - Renaming is aborted. - - - - - - Error - - - - - No file could be renamed. - - - - - Some files could not be renamed. - - - - diff --git a/pcmanfm/translations/pcmanfm-qt_da.desktop b/pcmanfm/translations/pcmanfm-qt_da.desktop deleted file mode 100644 index 973e9ad..0000000 --- a/pcmanfm/translations/pcmanfm-qt_da.desktop +++ /dev/null @@ -1,3 +0,0 @@ -Name[da]=PCManFM-Qt-filhåndtering -GenericName[da]=Filhåndtering -Comment[da]=Gennemse filsystemet og håndtér filerne diff --git a/pcmanfm/translations/pcmanfm-qt_da.ts b/pcmanfm/translations/pcmanfm-qt_da.ts deleted file mode 100644 index afeaba3..0000000 --- a/pcmanfm/translations/pcmanfm-qt_da.ts +++ /dev/null @@ -1,1820 +0,0 @@ - - - - - AboutDialog - - - About - Om - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Letvægtsfilhåndtering - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programmering: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt filhåndtering - -Ophavsret (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Dette program er fri software. Du kan redistribuere og/eller -modificere det under de betingelserne som er angivet i GNU General -Public License, som er udgivet af Free Software Foundation. Enten -version 2 af licensen eller (efter eget valg) enhver senere version. - -Dette program distribueres i håb om at det vil vise sig nyttigt, men -UDEN NOGEN FORM FOR GARANTI, uden selv de underforståede garantier -omkring SALGBARHED eller EGNETHED TIL ET BESTEMT FORMÅL. Yderligere -detaljer kan læses i GNU General Public License. - -Du skulle have modtaget en kopi af GNU General Public License sammen -med dette program. Hvis ikke, så skriv til Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - Authors - Forfattere - - - - License - Licens - - - - AutoRunDialog - - - Removable medium is inserted - Flytbart medie registreret - - - - <b>Removable medium is inserted</b> - <b>Flytbart medie er registreret</b> - - - - Type of medium: - Medietype: - - - - Detecting... - Undersøger... - - - - Please select the action you want to perform: - Vælg venligst hvad du vil foretage dig: - - - - BulkRenameDialog - - - Bulk Rename - Masseomdøbning - - - - # will be replaced by numbers starting with: - # erstattes med tal begyndende med: - - - - Rename selected files to: - Omdøb valgte filer til: - - - - Name# - Navn# - - - - ConnectServerDialog - - - Connect to remote server - Opret forbindelse til fjern-server - - - - Anonymous &login - Anonymt &login - - - - Login as &user: - Log ind som &bruger: - - - - Specify remote folder to connect - Specificér fjern-mappe som der skal oprettes forbindelse til - - - - Type: - Type: - - - - Port: - Port: - - - - Path: - Sti: - - - - Host: - Vært: - - - - DesktopFolder - - - Form - Formular - - - - Desktop - Skrivebord - - - - Desktop folder: - Skrivebordsmappe: - - - - Image file - Billedfil - - - - Folder path - Mappesti - - - - &Browse - &Gennemse - - - - DesktopPreferencesDialog - - - Desktop Preferences - Skrivebordspræferencer - - - - Background - Baggrund - - - - Wallpaper mode: - Tapettype: - - - - Wallpaper image file: - Fil til tapetbilled: - - - - Select background color: - Vælg baggrundsfarve: - - - - Image file - Billedfil - - - - Image file path - Billedfilssti - - - - &Browse - &Gennemse - - - - Icons - Ikoner - - - - Icon size: - Ikonstørrelse: - - - - Label Text - Etikettetekst - - - - Select shadow color: - Vælg skyggefarve: - - - - Select font: - Vælg skrifttype: - - - - General - Generelt - - - - Select text color: - Vælg tekstens farve: - - - - Spacing - Mellemrum - - - - Minimum item margins: - Mindste margin: - - - - 3 px by default. - Standard er 3 pixels. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 px som standard -Et mellemrum er også reserverte for tre linjers tekst. - - - - Lock - Lås - - - - Slide Show - Diasshow - - - - Enable Slide Show - Aktivér diasshow - - - - Wallpaper image folder: - Mappe til tapetbilled: - - - - Browse - Gennemse - - - - hour(s) - time(r) - - - - and - og - - - - Intervals less than 5min will be ignored - Intervaller mindre end 5 min. ignoreres - - - - Interval: - Interval: - - - - minute(s) - minut(ter) - - - - Wallpaper folder - Tapetmappe - - - - Randomize the slide show - Tilfældiggør diasshowet - - - - Visible Shortcuts - Synlige genveje - - - - Home - Hjem - - - - Trash - Papirkurv - - - - Computer - Computer - - - - Network - Netværk - - - - Window Manager - Vindueshåndtering - - - - Show menus provided by window managers when desktop is clicked - Vis menuer fra vindueshåndteringer når der klikkes på skrivebordet - - - - Advanced - Avanceret - - - - MainWindow - - - File Manager - Filhåndtering - - - - &Toolbars - &Værktøjslinjer - - - - Path &Bar - Sti&linje - - - - &Filtering - &Filtrering - - - - Go &Up - Gå &op - - - - Go Up - Gå op - - - - Alt+Up - Alt+op - - - - &Home - &Hjem - - - - Alt+Home - Alt+Home - - - - &Reload - &Genindlæs - - - - F5 - F5 - - - - Go - - - - - Quit - Afslut - - - - &About - &Om - - - - &New Window - &Nyt vindue - - - - New Window - Nyt vindue - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Vis &skjulte - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Computer - - - - &Trash - &Papirkurv - - - - &Network - &Netværk - - - - &Desktop - &Skrivebord - - - - &Add to Bookmarks - &Tilføj til bogmærker - - - - &Applications - &Programmer - - - - Reload - Genindlæs - - - - &Icon View - &Ikonvisning - - - - &Compact View - &Kompakt visning - - - - &Detailed List - &Detaljeret liste - - - - &Thumbnail View - &Miniaturevisning - - - - Cu&t - Kli&p - - - - Ctrl+X - Ctrl+X - - - - &Copy - K&opier - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Indsæt - - - - Ctrl+V - Ctrl+V - - - - Select &All - Marker &alt - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - Præf&erencer - - - - &Ascending - &Stigende - - - - &Descending - &Faldende - - - - &By File Name - Efter fi&lnavn - - - - By &Modification Time - Efter &ændringstidspunkt - - - - By File &Type - Efter fil&type - - - - By &Owner - Efter &ejer - - - - &Folder First - &Mapper først - - - - &Preserve sorting for this folder - &Bevar sortering for denne mappe - - - - &Case Sensitive - &Forskel på store og små bogstaver - - - - By File &Size - Efter fil&størrelse - - - - &Close Window - &Luk vindue - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - &Mappe - - - - &Blank File - &Tom fil - - - - &Show/Focus Filter Bar - &Vis/Giv fokus til filterlinje - - - - Show Filter Bar - Vis filterlinje - - - - Ctrl+I - Ctrl+I - - - - S&plit View - &Opdelt visning - - - - Split View - Opdelt visning - - - - F6 - F6 - - - - &Copy Full Path - &Kopiér fuld sti - - - - Ctrl+Shift+C - Ctrl+Skift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Ryd alle filtre - - - - Ctrl+Shift+K - Ctrl+Skift+K - - - - Close &previous tabs - Luk &forrige faneblade - - - - Close &next tabs - Luk &næste faneblade - - - - &Preserve Settings for This Folder - &Bevar indstillinger for denne mappe - - - - Connect to &Server - Opret forbindelse til &server - - - - &Location - &Placering - - - - &Path Buttons - &Stiknapper - - - - &Bulk Rename - &Masseomdøbning - - - - Bulk Rename - Masseomdøbning - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Luk &andre faneblade - - - - Permanent &filter bar - Permanent &filterlinje - - - - &Menu bar - &Menulinje - - - - Menu bar - Menulinje - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menu - - - - New &Tab - Nyt &faneblad - - - - New Tab - Nyt faneblad - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Gå til&bage - - - - Go Back - Gå tilbage - - - - Alt+Left - Alt+venstre - - - - Go &Forward - Gå &fremad - - - - Go Forward - gå fremad - - - - Alt+Right - Alt+højre - - - - &Invert Selection - &Inventer markering - - - - &Delete - &Slet - - - - Del - Slet - - - - &Rename - &Omdøb - - - - F2 - F2 - - - - C&lose Tab - &Luk faneblad - - - - Ctrl+W - Ctrl+W - - - - File &Properties - Fil&egenskaber - - - - Alt+Return - Alt+Enter - - - - &Folder Properties - &Mappeegenskaber - - - - Edit Bookmarks - Rediger bogmærker - - - - Open &Terminal - Åbn &terminal - - - - F4 - F4 - - - - Open as &Root - Åbn som &root - - - - &Edit Bookmarks - R&ediger bogmærker - - - - Ctrl+Shift+N - Ctrl+Skift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - &Find filer - - - - F3 - F3 - - - - &File - &Fil - - - - C&reate New - Op&ret ny - - - - &Help - &Hjælp - - - - - &View - &Vis - - - - &Sorting - &Sortering - - - - &Edit - R&ediger - - - - &Bookmarks - &Bogmærker - - - - &Go - &Gå - - - - &Tool - &Værktøjer - - - - Main Toolbar - Hovedværktøjslinje - - - - PCManFM::Application - - - Name of configuration profile - Konfigurationsprofilnavn - - - - PROFILE - Profil - - - - Run PCManFM as a daemon - Kør PCManFM som daemon - - - - Quit PCManFM - Afslut PCManFM - - - - Launch desktop manager - Kør skrivebordshåndtering - - - - Turn off desktop manager if it's running - Slå skrivebordshåndtering fra, hvis den kører - - - - Open desktop preference dialog on the page with the specified name - Åbn skrivebordspræferencer på siden med det specifcerede navn - - - - - NAME - Navn - - - - Open new window - Åbn nyt vindue - - - - Open Find Files utility - Åbn find filer værktøjet - - - - Set desktop wallpaper from image FILE - Sæt skrivebordstapet fra billedurl - - - - FILE - Fil - - - - MODE - tapetype - - - - Set mode of desktop wallpaper. MODE=(%1) - Sæt typen af tapet til typen=(%1) - - - - Open Preferences dialog on the page with the specified name - Åbn præferencer på siden med det specificerede navn - - - - Files or directories to open - Filer eller mapper at åbne - - - - [FILE1, FILE2,...] - [FIL1, FIL2,...] - - - - - Error - Fejl - - - - Terminal emulator is not set. - Termnialemulator er ikke indstillet. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Åbn i filhåndtering - - - - Removable Disk - Flytbar disk - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - Sikker WebDav - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Fyld kun med baggrundsfarve - - - - Stretch to fill the entire screen - Stræk til at fylde hele skærmen - - - - Stretch to fit the screen - Stræk til at passe til skærmen - - - - Center on the screen - Centrer på skærmen - - - - Tile the image to fill the entire screen - Gentag billedet til at fylde hele skærmen - - - - Zoom the image to fill the entire screen - Zoom billedet så det fylder hele skærmen - - - - Image Files - Billedfiler - - - - PCManFM::DesktopWindow - - - Trash (One item) - Papirkurv (et objekt) - - - - Trash (%Ln items) - Papirkurv (%Ln post) - Papirkurv (%Ln poster) - - - - Trash (Empty) - Papirkurv (tom) - - - - Home - Hjem - - - - Computer - Computer - - - - Network - Netværk - - - - Open - Åbn - - - - - Stic&k to Current Position - K&læb til nuværende position - - - - Empty Trash - Tøm papirkurv - - - - Hide Desktop Items - Skjul skrivebordsobjekter - - - - Desktop Preferences - Skrivebordspræferencer - - - - PCManFM::FilterBar - - - Filter: - Filter: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Ryd tekst (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Root-instans - - - - Hide menu bar - Skjul menulinje - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Dette vil skjule menulinjen helt. Bruge Ctrl+M for at vise den igen. - - - - Version: %1 - Version: %1 - - - - &Move to Trash - Smid i &papirkurven - - - - &Delete - &Slet - - - - - Error - Fejl - - - - Switch user command is not set. - Skiftbrugerkommando ikke indstillet. - - - - PCManFM::PreferencesDialog - - - Icon View - Ikonvisning - - - - Compact View - Kompakt visning - - - - Thumbnail View - Miniaturevisning - - - - Detailed List View - Detaljeret listevisning - - - - PCManFM::TabPage - - - Error - Fejl - - - - Free space: %1 (Total: %2) - Fri plads: %1 (Samlet: %2) - - - - %n item(s) - - %n objekt - %n objekter - - - - - (%n hidden) - - (%n skjult) - (%n skjulte) - - - - - - - Link to - Link til - - - - %n item(s) selected - - %n objekt valgt - %n objekter valgt - - - - - PCManFM::View - - - Open in New T&ab - Åbn i nyt &faneblad - - - - Open in New Win&dow - Åbn i nyt &vindue - - - - Open in Termina&l - Åbn i &terminal - - - - PreferencesDialog - - - Preferences - Præferencer - - - - User Interface - Brugerflade - - - - Behavior - Opførsel - - - - - Thumbnail - Miniature - - - - Volume - Diskenhed - - - - Advanced - Avanceret - - - - Select newly created files - Vælg nyligt oprettede filer - - - - Icons - Ikoner - - - - Size of big icons: - Størrelse på store ikoner: - - - - Size of small icons: - Størrelse på små ikoner: - - - - Size of thumbnails: - Størrelse på miniaturer: - - - - Size of side pane icons: - Størrelse på ikoner i sidepanel: - - - - Icon theme: - Ikontema: - - - - Window - Vindue - - - - Always show the tab bar - Vis altid fanebladslinjen - - - - Show 'Close' buttons on tabs - Vis 'Luk'-knapper på faneblade - - - - Remember the size of the last closed window - Husk størrelsen på sidst lukkede vindue - - - - Default width of new windows: - Standardbredde på nye vinduer: - - - - Default height of new windows: - Standardhøjde på nye vinduer: - - - - Browsing - Gennemgang - - - - Open files with single click - Åbn filer med ét klik - - - - Delay of auto-selection in single click mode (0 to disable) - Forsinkelse af automatisk markering i ét klik-tilstand (0 for at deaktivere) - - - - Default view mode: - Standardvisningstilstand: - - - - sec - sek. - - - - File Operations - Filhandlinger - - - - Confirm before deleting files - Bekræft inden filer slettes - - - - Move deleted files to "trash bin" instead of erasing from disk. - Flyt slettede filer til papirkurven i stedet for at slette dem fra disken. - - - - Show thumbnails of files - Vis miniaturer af filer - - - - Only show thumbnails for local files - Vis kun miniaturer for lokale filer - - - - Display - Visning - - - - Bookmarks: - Bogmærker: - - - - Open in current tab - Åbn i dette faneblad - - - - Open in new tab - Åbn i nyt faneblad - - - - Open in new window - Åbn i nyt vindue - - - - Erase files on removable media instead of "trash can" creation - Slet filer på flytbare medier, i stedet for at smide dem i papirkurven - - - - Confirm before moving files into "trash can" - Bekræft inden filer smides i papirkurven - - - - - - Requires application restart to take effect completely - Kræver at programmet genstartes for helt at træde i kraft - - - - Launch executable files without prompt - Start eksekverbare filer uden at spørge - - - - - Used by Icon View - Brugt af ikonvisning - - - - - Used by Compact View and Detailed List View - Brugt af kompakt- og detaljeret listevisning - - - - - Used by Thumbnail View - Brugt af miniaturevisning - - - - User interface - Brugerflade - - - - Treat backup files as hidden - Behandl sikkerhedskopi-filer som skjulte filer - - - - Always show full file names - Vis altid fulde filnavne - - - - Show icons of hidden files shadowed - Vis svage ikoner for skjuklte filer - - - - Minimum item margins in icon view: - Minimum margin i ikonvisning: - - - - 3 px by default. - Standard er 3 pixels. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 px som standard -Et mellemrum er også reserveret for tre linjers tekst. - - - - Lock - Lås - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Når ikke afkrydset vil fanebladslinjen kun blive vist -hvis der er mere end et faneblad. - - - - Application restart is needed for changes to take effect. - Programmet skal genstartes før ændringerne kan træde i kraft. - - - - Do not generate thumbnails for image files exceeding this size: - Generer ikke miniaturer for billeder større end: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Dette behøver programmet ffmpegthumbnailer - - - - Auto Mount - Automontering - - - - Mount mountable volumes automatically on program startup - Monter automatisk monterbare diskenheder ved programstart - - - - Mount removable media automatically when they are inserted - Monter automatisk flytbare medier når de er registreret - - - - Show available options for removable media when they are inserted - Vis muligheder for flytbare medier når de er registreret - - - - When removable medium unmounted: - Når et flytbart medie afmonteres: - - - - Close &tab containing removable medium - Luk &faneblad med det flytbare medie - - - - Chan&ge folder in the tab to home folder - Skift mappe i fanebladet til H&jemmemappen - - - - Programs - Programmer - - - - Terminal emulator: - Terminalemulator: - - - - Switch &user command: - Skiftbr&uger-kommando: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Eksempler: "xterm -e %s" for terminal eller "gksu %s" for at skifte bruger. -%s = kommandoen du vil udføre med terminalen eller med su. - - - - Archiver in&tegration: - Komprimerings&integration: - - - - Templates - Skabeloner - - - - Show only user defined templates in menu - Vis kun brugerdefinerede skabeloner i menuen - - - - Show only one template for each MIME type - Vis kun én skabelon for hver MIME-type - - - - Run default application after creation from template - Kør standardprogram efter oprettelse af skabelon - - - - Use SI decimal prefixes instead of IEC binary prefixes - Brug SI-decimalpræfiks i stedet for IEC-præfiks - - - - QObject - - - Renaming files... - Omdøber filer... - - - - Abort - Afbryd - - - - Warning - Advarsel - - - - Renaming is aborted. - Omdøbning er afbrudt. - - - - - Error - Fejl - - - - No file could be renamed. - Kunne ikke omdøbe nogen fil. - - - - Some files could not be renamed. - Nogle filer kunne ikke omdøbes. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_de.desktop b/pcmanfm/translations/pcmanfm-qt_de.desktop deleted file mode 100644 index 7eeaa2f..0000000 --- a/pcmanfm/translations/pcmanfm-qt_de.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[de]=PCManFM-Qt -GenericName[de]=Dateimanager -Comment[de]=Dateimanager der Desktop-Umgebung LXQt diff --git a/pcmanfm/translations/pcmanfm-qt_de.ts b/pcmanfm/translations/pcmanfm-qt_de.ts deleted file mode 100644 index f993393..0000000 --- a/pcmanfm/translations/pcmanfm-qt_de.ts +++ /dev/null @@ -1,1822 +0,0 @@ - - - - - AboutDialog - - - About - Über - - - - Lightweight file manager - Leichtgewichtiger Dateimanager - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programmierung: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Authors - Autoren - - - - License - Lizenz - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt Dateimanager - -Urheberrecht (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Dieses Programm ist freie Software; Weiterverteilung und/oder -Modifizierung unter den Richtlinien der 'GNU General Public License' -gemäß der Free Software Foundation ist gestattet, ersichtlich in -Lizenzversion 2 und in weiteren Neuauflagen der Lizenz. - -Dieses Programm wird zur Verfügung gestellt, in der Hoffnung -seinen Nutzern hilfreich zu sein, jedoch OHNE EINE GARANTIE -und ohne einer implizierten Garantie auf MARKTGÄNGIGKEIT -oder ZWECKGEBUNDENER FUNKTIONSFÄHIGKEIT. Weitere -Einzelheiten sind in der 'GNU General Public License' ersichtlich. - -Eine Kopie der 'GNU General Public License' ist mit diesem -Programm enthalten. Falls nicht, schreiben Sie bitte der -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - - - - AutoRunDialog - - - Removable medium is inserted - Ein entfernbares Speichermedium wurde eingelegt - - - - <b>Removable medium is inserted</b> - <b>Ein entfernbares Speichermedium wurde eingelegt</b> - - - - Type of medium: - Art des Mediums: - - - - Detecting... - Erkennung läuft... - - - - Please select the action you want to perform: - Bitte wählen Sie die Aktion aus, die Sie ausführen möchten: - - - - BulkRenameDialog - - - Bulk Rename - Massenumbenennen - - - - # will be replaced by numbers starting with: - # wird ersetzt durch Zahlen beginnend mit: - - - - Rename selected files to: - Ausgewählte Dateien umbenennen zu: - - - - Name# - Name# - - - - ConnectServerDialog - - - Connect to remote server - Mit entferntem Server verbinden - - - - Anonymous &login - Anonyme Anme&ldung - - - - Login as &user: - Als Ben&utzer anmelden: - - - - Specify remote folder to connect - Geben Sie den Remote-Ordner zum Verbinden an - - - - Type: - Typ: - - - - Port: - Port: - - - - Path: - Pfad: - - - - Host: - Host: - - - - DesktopFolder - - - Form - Dialogfenster - - - - Desktop - Schreibtisch - - - - Desktop folder: - Schreibtischordner: - - - - Image file - Bilddatei - - - - Folder path - Ordnerpfad - - - - &Browse - &Suchen - - - - DesktopPreferencesDialog - - - Desktop Preferences - Schreibtischeinstellungen - - - - Background - Hintergrund - - - - Wallpaper mode: - Hintergrundbildmodus: - - - - Wallpaper image file: - Hintergrundbilddatei: - - - - Select background color: - Hintergrundfarbe auswählen: - - - - Image file - Bilddatei - - - - Image file path - Bilddateipfad - - - - &Browse - &Suchen - - - - Icons - Symbole - - - - Icon size: - Symbolgröße: - - - - Label Text - Beschriftung - - - - Select shadow color: - Schattenfarbe auswählen: - - - - Select font: - Schriftart auswählen: - - - - General - Allgemein - - - - Select text color: - Textfarbe auswählen: - - - - Spacing - Abstand - - - - Minimum item margins: - Minimaler Objektabstand: - - - - 3 px by default. - Standardwert 3 px. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - Standardwert 1 px. -Zusätzlich wird ein Abstand freigehalten, der drei Textzeilen entspricht. - - - - Lock - Sperren - - - - Slide Show - Diaschau - - - - Enable Slide Show - Diaschau aktivieren - - - - Wallpaper image folder: - Desktophintergrund-Ordner - - - - Browse - Durchsuchen - - - - hour(s) - Stunde(n) - - - - and - und - - - - Intervals less than 5min will be ignored - Intervalle unter 5 Minuten werden ignoriert - - - - Interval: - Intervall: - - - - minute(s) - Minute(n) - - - - Wallpaper folder - Desktophintergrund-Ordner - - - - Randomize the slide show - Zufällige Diaschau - - - - Visible Shortcuts - Verknüpfungen auf dem Schreibtisch - - - - Home - Home - - - - Trash - Papierkorb - - - - Computer - Rechner - - - - Network - Netzwerk - - - - Window Manager - Fensterverwaltung - - - - Show menus provided by window managers when desktop is clicked - Beim Klicken auf den Schreibtisch die von der Fensterverwaltung bereitgestellten Menüs anzeigen - - - - Advanced - Erweitert - - - - MainWindow - - - File Manager - Dateimanager - - - - Go Up - Hoch - - - - Alt+Up - Alt+Bild-Auf - - - - Alt+Home - Alt+Pos1 - - - - Reload - Neu laden - - - - F5 - F5 - - - - &Toolbars - Werkzeugleis&ten - - - - Path &Bar - Pfad&leiste - - - - &Filtering - &Filterung - - - - &Home - &Benutzerverzeichnis - - - - &Reload - Neu &laden - - - - Go - Gehe zu - - - - Quit - Beenden - - - - &About - &Über - - - - New Window - Neues Fenster - - - - Ctrl+N - Strg+N - - - - Show &Hidden - &Versteckte anzeigen - - - - Ctrl+H - Strg+H - - - - &Computer - Re&chner - - - - &Trash - &Papierkorb - - - - &Network - &Netzwerk - - - - &Desktop - Schreib&tisch - - - - &Add to Bookmarks - Zu Lesezeichen &hinzufügen - - - - &Applications - &Anwendungen - - - - Ctrl+X - Strg+X - - - - &Copy - &Kopieren - - - - Ctrl+C - Strg+C - - - - &Paste - &Einfügen - - - - Ctrl+V - Strg+V - - - - Select &All - &Alles auswählen - - - - Pr&eferences - &Einstellungen - - - - &Ascending - &Aufsteigend - - - - &Descending - Absteigen&d - - - - &By File Name - Nach &Dateiname - - - - By &Modification Time - Nach &Änderungszeit - - - - By File &Type - Nach Datei&typ - - - - By &Owner - Nach &Besitzer - - - - &Folder First - &Ordner zuerst - - - - &Preserve sorting for this folder - Sortierung für diesen Ordner &beibehalten - - - - &Invert Selection - Auswahl &umkehren - - - - &Delete - &Löschen - - - - &Rename - &Umbenennen - - - - &Case Sensitive - Groß- /Kleinschreibung bea&chten - - - - By File &Size - Nach Datei&größe - - - - &Close Window - Fenster s&chließen - - - - Ctrl+Q - Strg+Q - - - - &Show/Focus Filter Bar - Filterleiste &anzeigen/fokussieren - - - - Show Filter Bar - Filterleiste anzeigen - - - - Ctrl+I - Strg+I - - - - S&plit View - Ansicht &teilen - - - - Split View - Ansicht teilen - - - - F6 - F6 - - - - &Copy Full Path - Vollständigen Pfad &kopieren - - - - Ctrl+Shift+C - Strg+Umschalt+C - - - - Ctrl+B - Strg+B - - - - &Clear All Filters - Alle Filter lös&chen - - - - Ctrl+Shift+K - Strg+Umschalt+K - - - - Close &previous tabs - Schließe &bisherige Tabs - - - - Close &next tabs - Schließe &folgende Tabs - - - - &Preserve Settings for This Folder - Einstellungen für diesen Ordner &beibehalten - - - - Connect to &Server - Mit &Server verbinden - - - - &Location - &Ort - - - - &Path Buttons - &Pfadschaltflächen - - - - &Bulk Rename - &Massenumbenennen - - - - Bulk Rename - Massenumbenennen - - - - Ctrl+F2 - Strg+F2 - - - - Close &other tabs - Alle Tabs außer dem &aktiven schließen - - - - Permanent &filter bar - Permanente &Filterleiste - - - - &Menu bar - &Menüleiste - - - - Menu bar - Menüleiste - - - - Ctrl+M - Strg+M - - - - - Menu - Menü - - - - Ctrl+A - Strg+A - - - - Go &Up - &Übergeordneter Ordner - - - - &New Window - &Neues Fenster - - - - &Icon View - &Symbolansicht - - - - &Compact View - &Kompaktansicht - - - - &Detailed List - &Detaillierte Liste - - - - &Thumbnail View - &Miniaturansicht - - - - Cu&t - &Ausschneiden - - - - New &Tab - Neue &Registerkarte - - - - New Tab - Neue Registerkarte - - - - Ctrl+T - Strg+T - - - - Go &Back - &Zurück - - - - Go Back - Zurück - - - - Alt+Left - Alt+Links - - - - Go &Forward - &Vorwärts - - - - Go Forward - Vorwärts - - - - Alt+Right - Alt+Rechts - - - - Del - Entf - - - - F2 - F2 - - - - C&lose Tab - &Reiter schließen - - - - File &Properties - &Dateieigenschaften - - - - &Folder Properties - &Ordnereigenschaften - - - - Ctrl+Shift+N - Strg+Umschalt+N - - - - Ctrl+Alt+N - Strg+Alt+N - - - - C&reate New - Neu e&rstellen - - - - &Sorting - &Sortierung - - - - Main Toolbar - Hauptwerkzeugleiste - - - - Ctrl+W - Strg+W - - - - Alt+Return - Alt+Enter - - - - Edit Bookmarks - Lesezeichen bearbeiten - - - - Open &Terminal - &Terminal öffnen - - - - F4 - F4 - - - - Open as &Root - Als &Root öffnen - - - - &Edit Bookmarks - Lesezeichen b&earbeiten - - - - &Folder - &Ordner - - - - &Blank File - &Leere Datei - - - - &Find Files - Dateien &suchen - - - - F3 - F3 - - - - &File - &Datei - - - - &Help - &Hilfe - - - - - &View - &Ansicht - - - - &Edit - &Bearbeiten - - - - &Bookmarks - &Lesezeichen - - - - &Go - &Gehe zu - - - - &Tool - &Werkzeug - - - - PCManFM::Application - - - Name of configuration profile - Name des Konfigurationsprofils - - - - PROFILE - PROFIL - - - - Run PCManFM as a daemon - PCManFM als Daemon starten - - - - Quit PCManFM - PCManFM beenden - - - - Launch desktop manager - Schreibtischverwaltung starten - - - - Turn off desktop manager if it's running - Verwaltung der Arbeitsfläche beenden, falls aktiv - - - - Open desktop preference dialog on the page with the specified name - Einstellungsdialog der Arbeitsfläche mit dem angegebenen Tab öffnen - - - - - NAME - NAME - - - - Open new window - Neues Fenster öffnen - - - - Open Find Files utility - Dateisuche öffnen - - - - Set desktop wallpaper from image FILE - Angegebene DATEI als Hintergrundbild einstellen - - - - FILE - DATEI - - - - MODE - MODUS - - - - Set mode of desktop wallpaper. MODE=(%1) - Modus des Hintergrundbildes einstellen. MODE=(%1) - - - - Open Preferences dialog on the page with the specified name - Einstellungsdialog auf dem angegebenen Tab öffnen - - - - Files or directories to open - Zu öffnende Dateien oder Verzeichnisse - - - - [FILE1, FILE2,...] - [DATEI1, DATEI2, ...] - - - - - Error - Fehler - - - - Terminal emulator is not set. - Es ist kein Terminalemulator eingestellt. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Öffnen in Dateimanager - - - - Removable Disk - Entfernbares Medium - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - Sicheres WebDav - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Nur mit Hintergrundfarbe füllen - - - - Stretch to fill the entire screen - Auf Bildschirmgröße bringen - - - - Stretch to fit the screen - In Bildschirm einpassen - - - - Center on the screen - Auf dem Bildschirm zentrieren - - - - Tile the image to fill the entire screen - Bild nebeneinander anzeigen, um den gesamten Bildschirm zu füllen - - - - Zoom the image to fill the entire screen - Bild vergrößern, um den gesamten Bildschirm zu füllen - - - - Image Files - Bilddateien - - - - PCManFM::DesktopWindow - - - Trash (One item) - Papierkorb (ein Element) - - - - Trash (%Ln items) - Papierkorb (%Ln Element) - Papierkorb (%Ln Elemente) - - - - Trash (Empty) - Papierkorb (Leer) - - - - Home - Benutzerverzeichnis - - - - Computer - Rechner - - - - Network - Netzwerk - - - - Open - Öffnen - - - - - Stic&k to Current Position - Symbole &fixieren - - - - Empty Trash - Papierkorb leeren - - - - Hide Desktop Items - Schreibtischelemente ausblenden - - - - Desktop Preferences - Schreibtischeinstellungen - - - - PCManFM::FilterBar - - - Filter: - Filter: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Text löschen (Strg+K) - - - - PCManFM::MainWindow - - - Root Instance - Instanz mit Administratorrechten - - - - Hide menu bar - Menüleiste ausblenden - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Dadurch wird die Menüleiste komplett ausgeblendet, mit Strg+M können Sie sie wieder einblenden. - - - - Version: %1 - Version: %1 - - - - &Move to Trash - In den Papierkorb &verschieben - - - - &Delete - &Löschen - - - - - Error - Fehler - - - - Switch user command is not set. - Befehl, um den Benutzer zu wechseln, ist nicht eingestellt. - - - - PCManFM::PreferencesDialog - - - Icon View - Symbolansicht - - - - Compact View - Kompaktansicht - - - - Thumbnail View - Miniaturansicht - - - - Detailed List View - Detaillierte Listenansicht - - - - PCManFM::TabPage - - - Error - Fehler - - - - Free space: %1 (Total: %2) - Freier Speicherplatz: %1 (Gesamt: %2) - - - - %n item(s) - - %n Objekt - %n Objekte - - - - - (%n hidden) - - (%n versteckt) - (%n versteckt) - - - - - - - Link to - Verknüpfe mit - - - - %n item(s) selected - - %n Element(e) ausgewählt - %n Elemente ausgewählt - - - - - PCManFM::View - - - Open in New T&ab - Öffnen in neuem &Reiter - - - - Open in New Win&dow - In neuem &Fenster öffnen - - - - Open in Termina&l - Im Termina&l öffnen - - - - PreferencesDialog - - - Preferences - Einstellungen - - - - User Interface - Benutzeroberfläche - - - - Behavior - Verhalten - - - - - Thumbnail - Vorschaubild - - - - Volume - Datenträger - - - - Advanced - Erweitert - - - - Select newly created files - Markiere neu erstellte Dateien - - - - Icons - Symbole - - - - Size of big icons: - Größe der großen Symbole: - - - - Size of small icons: - Größe der kleinen Symbole: - - - - Size of thumbnails: - Größe von Vorschaubildern: - - - - Size of side pane icons: - Größe der Symbole in der Seitenleiste: - - - - Icon theme: - Symbolthema: - - - - Window - Fenster - - - - Default width of new windows: - Standardbreite neuer Fenster: - - - - Default height of new windows: - Standardhöhe neuer Fenster: - - - - Always show the tab bar - Reiterleiste immer anzeigen - - - - Show 'Close' buttons on tabs - 'Schließen'-Knopf an Tabs zeigen - - - - Remember the size of the last closed window - Größe des zuletzt geschlossenen Fensters merken - - - - Browsing - Durchstöbern - - - - Open files with single click - Dateien mit einem einfachen Klick öffnen - - - - Delay of auto-selection in single click mode (0 to disable) - Wartezeit für die automatische Auswahl im Einzelklickmodus (0 zum Abschalten) - - - - Default view mode: - Standard-Ansichtsmodus: - - - - sec - Sek - - - - File Operations - Dateioperationen - - - - Confirm before deleting files - Löschen von Dateien bestätigen - - - - Move deleted files to "trash bin" instead of erasing from disk. - Gelöschte Dateien in den "Papierkorb" verschieben anstatt sie von der Festplatte zu löschen. - - - - Show thumbnails of files - Vorschaubilder von Dateien anzeigen - - - - Only show thumbnails for local files - Vorschaubilder nur für lokale Dateien anzeigen - - - - Display - Anzeige - - - - Bookmarks: - Lesezeichen: - - - - Open in current tab - Öffnen in aktuellen Reiter - - - - Open in new tab - Öffnen in neuem Reiter - - - - Open in new window - In neuem Fenster öffnen - - - - Erase files on removable media instead of "trash can" creation - Dateien auf Wechseldatenträgern löschen anstatt sie in den Papierkorb zu verschieben - - - - Confirm before moving files into "trash can" - Bestätigung vor Verschieben in den Papierkorb - - - - - - Requires application restart to take effect completely - Anwendungsneustart für vollständige Einstellungsübernahme erforderlich - - - - Launch executable files without prompt - Ausführbare Dateien ohne Bedienerhinweis starten - - - - - Used by Icon View - Wird in der Symbolansicht verwendet - - - - - Used by Compact View and Detailed List View - Wird in der Listen- und detaillierten Listenansicht verwendet - - - - - Used by Thumbnail View - Wird in der Miniaturansicht verwendet - - - - User interface - Benutzeroberfläche - - - - Treat backup files as hidden - Sicherungsdateien wie versteckte handhaben - - - - Always show full file names - Immer vollständige Dateinamen anzeigen - - - - Show icons of hidden files shadowed - Symbole versteckter Dateien schattiert anzeigen - - - - Minimum item margins in icon view: - Minimaler Rand der Objekte in Symbolansicht: - - - - 3 px by default. - Standardwert 3 px. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - Standardwert 3 px. -Zusätzlich wird ein 3 Textzeilen entsprechender Abstand freigehalten. - - - - Lock - Sperren - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Bei Deaktivierung wird die Leiste der Reiter (Tabs) nur angezeigt, -wenn mehr als einer geöffnet ist. - - - - Application restart is needed for changes to take effect. - Damit die Änderungen wirksam werden, ist ein Neustart der Anwendung erforderlich. - - - - Do not generate thumbnails for image files exceeding this size: - Keine Vorschaubilder erzeugen für Dateien größer als: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Benötigt ffmpegthumbnailer - - - - Auto Mount - Automatisches Einbinden - - - - Mount mountable volumes automatically on program startup - Datenträger bei Programmstart automatisch einhängen - - - - Mount removable media automatically when they are inserted - Wechseldatenträger automatisch beim Einlegen einbinden - - - - Show available options for removable media when they are inserted - Verfügbare Optionen für Wechseldatenträger beim Einlegen anzeigen - - - - When removable medium unmounted: - Beim Aushängen eines Wechseldatenträgers: - - - - Close &tab containing removable medium - Registerkarten des Wechseldatenträgers &schließen - - - - Chan&ge folder in the tab to home folder - Registerkarten des Wechseldatenträgers zum Nutzerverzeichnis &wechseln - - - - Switch &user command: - Befehl zum N&utzerwechsel: - - - - Archiver in&tegration: - Archivverwal&tung: - - - - Templates - Vorlagen - - - - Show only user defined templates in menu - Ausschließlich benutzerdefinierte im Menü anzeigen - - - - Show only one template for each MIME type - Nur eine Vorlage pro MIME-Typ anzeigen - - - - Run default application after creation from template - Aus Vorlagen erstellte Dokumente in Standardanwendung öffnen - - - - Programs - Programme - - - - Terminal emulator: - Terminalemulator: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Beispiele:"xterm -e %s" für Terminal oder "gksu %s" für Benutzerwechsel. -%s = das Kommando, welches in einem Terminal oder als Root ausgeführt werden soll. - - - - Use SI decimal prefixes instead of IEC binary prefixes - SI-Dezimalpräfixe anstatt IEC-Binärpräfixe verwenden - - - - QObject - - - Renaming files... - Benenne Dateien um... - - - - Abort - Abbruch - - - - Warning - Warnung - - - - Renaming is aborted. - Umbenennen ist abgebrochen. - - - - - Error - Fehler - - - - No file could be renamed. - Keine der Dateien konnte umbenannt werden. - - - - Some files could not be renamed. - Einige Dateien konnten nicht umbenannt werden. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_el.desktop b/pcmanfm/translations/pcmanfm-qt_el.desktop deleted file mode 100644 index 11ac432..0000000 --- a/pcmanfm/translations/pcmanfm-qt_el.desktop +++ /dev/null @@ -1,4 +0,0 @@ -Name[el]=Διαχειριστής αρχείων PCManFM-Qt -GenericName[el]=Διαχειριστής αρχείων -Comment[el]=Περιήγηση του συστήματος αρχείων και διαχείριση των αρχείων - diff --git a/pcmanfm/translations/pcmanfm-qt_el.ts b/pcmanfm/translations/pcmanfm-qt_el.ts deleted file mode 100644 index 08c4eea..0000000 --- a/pcmanfm/translations/pcmanfm-qt_el.ts +++ /dev/null @@ -1,1822 +0,0 @@ - - - - - AboutDialog - - - About - Σχετικά - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Ελαφρύς διαχειριστής αρχείων - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Προγραμματισμός: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Διαχειριστής αρχείων PCManFM-Qt - -Πνευματικά δικαιώματα (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Αυτό το πρόγραμμα είναι ένα ελεύθερο λογισμικό· επιτρέπεται -η αναδιανομή ή/και η τροποποίησή του υπό τους όρους της άδειας -GNU Γενική Άδεια Χρήσης όπως έχουν δημοσιευθεί από το -«Free Software Foundation», είτε την έκδοση 2 αυτής της άδειας -ή (σύμφωνα με την επιλογή σας) οποιαδήποτε μεταγενέστερη έκδοση. - -Αυτό το πρόγραμμα διανέμεται με την ελπίδα πως θα είναι χρήσιμο, -αλλά ΧΩΡΙΣ ΚΑΜΙΑ ΕΓΓΥΗΣΗ, χωρίς ακόμη και την υπονοούμενη εγγύηση -ΕΜΠΟΡΕΥΣΙΜΟΤΗΤΑΣ ή ΚΑΤΑΛΛΗΛΟΤΗΤΑΣ ΓΙΑ ΣΥΓΚΕΚΡΙΜΕΝΟ ΣΚΟΠΟ. -Δείτε την GNU Γενική Άδεια Χρήσης για περισσότερες λεπτομέρειες. - -Θα πρέπει να έχετε παραλάβει ένα αντίγραφο της GNU Γενικής Άδειας Χρήσης -μαζί με αυτό το πρόγραμμα. Αν όχι, γράψτε στο Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -USA. - - - - Authors - Συγγραφείς - - - - License - Άδεια χρήσης - - - - AutoRunDialog - - - Removable medium is inserted - Εισήχθη ένα αφαιρούμενο μέσο - - - - <b>Removable medium is inserted</b> - <b>Εισήχθη ένα αφαιρούμενο μέσο</b> - - - - Type of medium: - Τύπος του μέσου: - - - - Detecting... - Εντοπισμός... - - - - Please select the action you want to perform: - Παρακαλώ επιλέξτε την ενέργεια που επιθυμείτε να πραγματοποιήσετε: - - - - BulkRenameDialog - - - Bulk Rename - Μαζική μετονομασία - - - - # will be replaced by numbers starting with: - # θα αντικατασταθεί από αριθμούς ξεκινώντας με: - - - - Rename selected files to: - Μετονομασία των επιλεγμένων αρχείων σε: - - - - Name# - Όνομα# - - - - ConnectServerDialog - - - Connect to remote server - Σύνδεση σε απομακρυσμένο διακομιστή - - - - Anonymous &login - Ανώνυμη &σύνδεση - - - - Login as &user: - Σύνδεση ως &χρήστης: - - - - Specify remote folder to connect - Καθορισμός του απομακρυσμένου φακέλου προς σύνδεση - - - - Type: - Τύπος: - - - - Port: - Θύρα: - - - - Path: - Διαδρομή: - - - - Host: - Υπολογιστής: - - - - DesktopFolder - - - Form - Φόρμα - - - - Desktop - Επιφάνεια εργασίας - - - - Desktop folder: - Φάκελος επιφάνειας εργασίας: - - - - Image file - Αρχείο εικόνας - - - - Folder path - Διαδρομή του φακέλου - - - - &Browse - &Περιήγηση - - - - DesktopPreferencesDialog - - - Desktop Preferences - Προτιμήσεις της επιφάνειας εργασίας - - - - Background - Παρασκήνιο - - - - Wallpaper mode: - Λειτουργία ταπετσαρίας: - - - - Wallpaper image file: - Αρχείο εικόνας ταπετσαρίας: - - - - Select background color: - Επιλέξτε το χρώμα του παρασκηνίου: - - - - Image file - Αρχείο εικόνας - - - - Image file path - Διαδρομή αρχείου εικόνας - - - - &Browse - &Περιήγηση - - - - Icons - Εικονίδια - - - - Icon size: - Μέγεθος εικονιδίων: - - - - Label Text - Ετικέτα κειμένου - - - - Select shadow color: - Επιλέξτε το χρώμα της σκιάς: - - - - Select font: - Επιλέξτε τη γραμματοσειρά: - - - - General - Γενικά - - - - Select text color: - Επιλογή του χρώματος κειμένου: - - - - Spacing - Διαπόσταση - - - - Minimum item margins: - Ελάχιστο περιθώριο αντικειμένων: - - - - 3 px by default. - 3 εικ εξ ορισμού. - - - - - px - εικ - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 εικ εξ ορισμού. -Επίσης δεσμεύεται μια θέση για 3 γραμμές κειμένου. - - - - Lock - Κλείδωμα - - - - Slide Show - Διαπόραμα - - - - Enable Slide Show - Ενεργοποίηση του διαποράματος - - - - Wallpaper image folder: - Φάκελος εικόνας ταπετσαρίας: - - - - Browse - Περιήγηση - - - - hour(s) - ώρα(ες) - - - - and - και - - - - Intervals less than 5min will be ignored - Αγνοούνται τα χρονικά διαστήματα μικρότερα από 5 λεπτά - - - - Interval: - Χρονικό διάστημα: - - - - minute(s) - λεπτό(ά) - - - - Wallpaper folder - Φάκελος ταπετσαριών - - - - Randomize the slide show - Τυχαιοποίηση του διαποράματος - - - - Visible Shortcuts - Ορατές συντομεύσεις - - - - Home - Προσωπικός φάκελος - - - - Trash - Απορρίμματα - - - - Computer - Υπολογιστής - - - - Network - Δίκτυο - - - - Window Manager - Διαχειριστής παραθύρων - - - - Show menus provided by window managers when desktop is clicked - Εμφάνιση των μενού των διαχειριστών παραθύρων με κλικ στην επιφάνεια εργασίας - - - - Advanced - Προηγμένο - - - - MainWindow - - - File Manager - Διαχειριστής αρχείων - - - - &Filtering - &Φιλτράρισμα - - - - Go &Up - Μετάβαση &πάνω - - - - Go Up - Μετάβαση πάνω - - - - Alt+Up - Alt+Πάνω - - - - &Home - &Προσωπικός φάκελος - - - - Alt+Home - Alt+Home - - - - &Reload - &Επαναφόρτωση - - - - F5 - F5 - - - - Go - Μετάβαση - - - - Quit - Έξοδος - - - - &About - &Σχετικά - - - - &New Window - &Νέο παράθυρο - - - - New Window - Νέο παράθυρο - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Εμφάνιση των &κρυφών - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Υπολογιστής - - - - &Trash - &Απορρίμματα - - - - &Network - &Δίκτυο - - - - &Desktop - &Επιφάνεια εργασίας - - - - &Add to Bookmarks - &Προσθήκη στους σελιδοδείκτες - - - - &Applications - Ε&φαρμογές - - - - Reload - Επαναφόρτωση - - - - &Icon View - &Εικονιδία - - - - &Compact View - &Συμπαγής - - - - &Detailed List - &Λεπτομερής λίστα - - - - &Thumbnail View - &Εικόνες επισκόπησης - - - - Cu&t - Α&ποκοπή - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Αντιγραφή - - - - Ctrl+C - Ctrl+C - - - - &Paste - Επι&κόλληση - - - - Ctrl+V - Ctrl+V - - - - Select &All - Επιλογή ό&λων - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - &Προτιμήσεις - - - - &Ascending - &Αύξουσα - - - - &Descending - &Φθίνουσα - - - - &By File Name - &Ανά όνομα αρχείου - - - - By &Modification Time - Ανά &χρόνο τροποποίησης - - - - By File &Type - Ανά &τύπο αρχείου - - - - By &Owner - Ανά ι&διοκτήτη - - - - &Folder First - &Πρώτα οι φάκελοι - - - - &Preserve sorting for this folder - Διατήρηση της &ταξινόμησης του φακέλου - - - - &Case Sensitive - &Διάκριση πεζών/κεφαλαίων - - - - By File &Size - Ανά &μέγεθος αρχείου - - - - &Close Window - &Κλείσιμο παραθύρου - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - &Φάκελος - - - - &Blank File - &Κενό αρχείο - - - - &Show/Focus Filter Bar - &Εμφάνιση/Εστίαση της γραμμής φίλτρου - - - - Show Filter Bar - Εμφάνιση της γραμμής φίλτρου - - - - Ctrl+I - Ctrl+I - - - - S&plit View - &Διαχωρισμός προβολής - - - - Split View - Διαχωρισμός προβολής - - - - F6 - F6 - - - - &Copy Full Path - &Αντιγραφή της πλήρους διαδρομής - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Εκκαθάριση όλων των φίλτρων - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Κλείσιμο των &προηγούμενων καρτελών - - - - Close &next tabs - Κλείσιμο των &επόμενων καρτελών - - - - &Preserve Settings for This Folder - &Διατήρηση των ρυθμίσεων του φακέλου - - - - Connect to &Server - Σύνδεση στον &διακομιστή - - - - &Location - &Τοποθεσία - - - - &Path Buttons - &Κουμπιά διαδρομής - - - - &Bulk Rename - Μα&ζική μετονομασία - - - - Bulk Rename - Μαζική μετονομασία - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Κλείσιμο των ά&λλων καρτελών - - - - Permanent &filter bar - Μόνιμη ράβδος &φίλτρου - - - - &Menu bar - &Γραμμή μενού - - - - Menu bar - Γραμμή μενού - - - - Ctrl+M - Ctrl+M - - - - - Menu - Μενού - - - - New &Tab - Νέα &καρτέλα - - - - New Tab - Νέα καρτέλα - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Μετάβαση &πίσω - - - - Go Back - Μετάβαση πίσω - - - - Alt+Left - Alt+Αριστερά - - - - Go &Forward - Μετάβαση &εμπρός - - - - Go Forward - Μετάβαση εμπρός - - - - Alt+Right - Alt+Δεξιά - - - - &Invert Selection - Αντιστρο&φή επιλογής - - - - &Delete - &Διαγραφή - - - - Del - Del - - - - &Rename - &Μετονομασία - - - - F2 - F2 - - - - C&lose Tab - Κλείσιμο καρ&τέλας - - - - Ctrl+W - Ctrl+W - - - - File &Properties - Αρχεία και ι&διότητες - - - - Alt+Return - Alt+Return - - - - &Folder Properties - Ιδιότητες &φακέλου - - - - Edit Bookmarks - Επεξεργασία σελιδοδεικτών - - - - Open &Terminal - Άνοιγμα του &τερματικού - - - - F4 - F4 - - - - Open as &Root - Άνοιγμα ως δια&χειριστής - - - - &Edit Bookmarks - Επε&ξεργασία σελιδοδεικτών - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - &Αναζήτηση αρχείων - - - - F3 - F3 - - - - &File - &Αρχείο - - - - C&reate New - &Δημιουργία νέου - - - - &Help - &Βοήθεια - - - - - &View - &Προβολή - - - - &Sorting - &Ταξινόμηση - - - - &Toolbars - &Εργαλειοθήκες - - - - Path &Bar - Γραμμή &διαδρομής - - - - &Edit - &Επεξεργασία - - - - &Bookmarks - &Σελιδοδείκτες - - - - &Go - &Μετάβαση - - - - &Tool - &Εργαλεία - - - - Main Toolbar - Κύρια εργαλειοθήκη - - - - PCManFM::Application - - - Name of configuration profile - Όνομα διαμόρφωσης του προφίλ - - - - PROFILE - ΠΡΟΦΙΛ - - - - Run PCManFM as a daemon - Εκτέλεση του PCManFM ως δαίμονα - - - - Quit PCManFM - Έξοδος του PCManFM - - - - Launch desktop manager - Εκτέλεση διαχειριστή της επιφάνειας εργασίας - - - - Turn off desktop manager if it's running - Τερματισμός του διαχειριστή της επιφάνειας εργασίας αν εκτελείται - - - - Open desktop preference dialog on the page with the specified name - Άνοιγμα του διαλόγου προτιμήσεων της επιφάνειας εργασίας στη σελίδα με το καθορισμένο όνομα - - - - - NAME - ΟΝΟΜΑ - - - - Open new window - Άνοιγμα νέου παραθύρου - - - - Open Find Files utility - Άνοιγμα του εργαλείου αναζήτησης αρχείων - - - - Set desktop wallpaper from image FILE - Ορισμός της ταπετσαρίας της επιφάνειας εργασίας από ΑΡΧΕΙΟ εικόνας - - - - FILE - ΑΡΧΕΙΟ - - - - MODE - ΛΕΙΤΟΥΡΓΙΑ - - - - Set mode of desktop wallpaper. MODE=(%1) - Ορισμός της λειτουργίας της ταπετσαρίας της επιφάνειας εργασίας. ΛΕΙΤΟΥΡΓΙΑ=(%1) - - - - Open Preferences dialog on the page with the specified name - Άνοιγμα του διαλόγου προτιμήσεων στη σελίδα με το καθορισμένο όνομα - - - - Files or directories to open - Αρχεία ή κατάλογοι προς άνοιγμα - - - - [FILE1, FILE2,...] - [ΑΡΧΕΙΟ1, ΑΡΧΕΙΟ2,...] - - - - - Error - Σφάλμα - - - - Terminal emulator is not set. - Δεν έχει οριστεί ο προσομοιωτής τερματικού. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Άνοιγμα στο διαχειριστή αρχείων - - - - Removable Disk - Αφαιρούμενος δίσκος - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - Ασφαλές WebDav - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Γέμισμα μόνο με το χρώμα του παρασκηνίου - - - - Stretch to fill the entire screen - Τέντωμα για πλήρωση ολόκληρης της οθόνης - - - - Stretch to fit the screen - Τέντωμα για πλήρωση της οθόνης - - - - Center on the screen - Στο κέντρο της οθόνης - - - - Tile the image to fill the entire screen - Παράθεση της εικόνας για πλήρωση ολόκληρης της οθόνης - - - - Zoom the image to fill the entire screen - Εστίαση της εικόνας για πλήρωση ολόκληρης της οθόνης - - - - Image Files - Αρχεία εικόνων - - - - PCManFM::DesktopWindow - - - Trash (One item) - Απορρίμματα (Ένα αντικείμενο) - - - - Trash (%Ln items) - Απορρίμματα (%Ln αντικείμενα) - Απορρίμματα (%Ln αντικείμενα) - - - - Trash (Empty) - Απορρίμματα (Άδεια) - - - - Home - Προσωπικός φάκελος - - - - Computer - Υπολογιστής - - - - Network - Δίκτυο - - - - Open - Άνοιγμα - - - - - Stic&k to Current Position - &Παραμονή στην τρέχουσα θέση - - - - Empty Trash - Άδειασμα απορριμμάτων - - - - Hide Desktop Items - Απόκρυψη των αντικειμένων της επιφάνειας εργασίας - - - - Desktop Preferences - Ιδιότητες της επιφάνειας εργασίας - - - - PCManFM::FilterBar - - - Filter: - Φίλτρο: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Εκκαθάριση κειμένου (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Άνοιγμα ως διαχειριστής - - - - Hide menu bar - Απόκρυψη της γραμμή μενού - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Αυτό θα καταχωνιάσει τη γραμμή μενού. Μπορείτε να την αποκαλύψετε πάλι με τον συνδυασμό πλήκτρων Ctrl+M. - - - - Version: %1 - Έκδοση: %1 - - - - &Move to Trash - &Μετακίνηση στα απορρίμματα - - - - &Delete - &Διαγραφή - - - - - Error - Σφάλμα - - - - Switch user command is not set. - Η εντολή εναλλαγής του χρήστη δεν έχει οριστεί. - - - - PCManFM::PreferencesDialog - - - Icon View - Προβολή εικονιδίων - - - - Compact View - Συμπαγής προβολή - - - - Thumbnail View - Προβολή εικόνων επισκόπησης - - - - Detailed List View - Αναλυτική προβολή λίστας - - - - PCManFM::TabPage - - - Error - Σφάλμα - - - - Free space: %1 (Total: %2) - Ελεύθερος χώρος: %1 (Σύνολο: %2) - - - - %n item(s) - - %n αντικείμενο - %n αντικείμενα - - - - - (%n hidden) - - (%n κρυφό) - (%n κρυφά) - - - - - - - Link to - Δεσμός σε - - - - %n item(s) selected - - %n επιλεγμένο αντικείμενο - %n επιλεγμένα αντικείμενα - - - - - PCManFM::View - - - Open in New T&ab - Άνοιγμα σε νέα &καρτέλα - - - - Open in New Win&dow - Άνοιγμα σε νέο &παράθυρο - - - - Open in Termina&l - Άνοιγμα στο &τερματικό - - - - PreferencesDialog - - - Preferences - Προτιμήσεις - - - - User Interface - Περιβάλλον χρήστη - - - - Behavior - Συμπεριφορά - - - - - Thumbnail - Εικόνες επισκόπησης - - - - Volume - Χώροι αποθήκευσης - - - - Advanced - Προηγμένα - - - - Select newly created files - Επιλογή των πρόσφατα δημιουργημένων αρχείων - - - - Icons - Εικονίδια - - - - Size of big icons: - Το μέγεθος των μεγάλων εικονιδίων: - - - - Size of small icons: - Το μέγεθος των μικρών εικονιδίων: - - - - Size of thumbnails: - Το μέγεθος των εικόνων επισκόπησης: - - - - Size of side pane icons: - Το μέγεθος των εικονιδίων του πλευρικού πίνακα: - - - - Icon theme: - Θέμα εικονιδίων: - - - - Window - Παράθυρο - - - - Always show the tab bar - Να εμφανίζεται πάντα η γραμμή καρτελών - - - - Show 'Close' buttons on tabs - Εμφάνιση του κουμπιού κλεισίματος στις καρτέλες - - - - Remember the size of the last closed window - Απομνημόνευση του μεγέθους του τελευταία κλεισμένου παραθύρου - - - - Default width of new windows: - Πλάτος εξ ορισμού των νέων παραθύρων: - - - - Default height of new windows: - Ύψος εξ ορισμού των νέων παραθύρων: - - - - Browsing - Εξερεύνηση - - - - Open files with single click - Άνοιγμα των αρχείων με μονό κλικ - - - - Delay of auto-selection in single click mode (0 to disable) - Καθυστέρηση της αυτόματης επιλογής στη λειτουργία μονού κλικ (0 για απενεργοποίηση) - - - - Default view mode: - Λειτουργία προβολής εξ ορισμού: - - - - sec - δευτ - - - - File Operations - Λειτουργίες αρχείων - - - - Confirm before deleting files - Επιβεβαίωση πριν τη διαγραφή των αρχείων - - - - Move deleted files to "trash bin" instead of erasing from disk. - Μετακίνηση των διαγραμμένων αρχείων στον κάδο απορριμμάτων αντί για διαγραφή από τον δίσκο. - - - - Show thumbnails of files - Εμφάνιση εικόνων επισκόπησης των αρχείων - - - - Only show thumbnails for local files - Εμφάνιση των εικόνων επισκόπησης μόνο για τα τοπικά αρχεία - - - - Display - Εμφάνιση - - - - Bookmarks: - Σελιδοδείκτες: - - - - Open in current tab - Άνοιγμα στην τρέχουσα καρτέλα - - - - Open in new tab - Άνοιγμα σε νέα καρτέλα - - - - Open in new window - Άνοιγμα σε νέο παράθυρο - - - - Erase files on removable media instead of "trash can" creation - Διαγραφή των αρχείων των αφαιρούμενων συσκευών αντί για τη δημιουργία ενός κάδου απορριμμάτων - - - - Confirm before moving files into "trash can" - Επιβεβαίωση πριν την μετακίνηση των αρχείων στον κάδο απορριμμάτων - - - - - - Requires application restart to take effect completely - Απαιτείται επανεκκίνηση της εφαρμογής για να λάβει χώρα ολοκληρωτικά η ρύθμιση - - - - Launch executable files without prompt - Εκτέλεση των εκτελέσιμων αρχείων χωρίς προτροπή - - - - - Used by Icon View - Χρησιμοποιείται από την προβολή εικονιδίων - - - - - Used by Compact View and Detailed List View - Χρησιμοποιείται από την συμπαγής προβολή και την αναλυτική προβολή - - - - - Used by Thumbnail View - Χρησιμοποιείται από την προβολή εικόνων επισκόπησης - - - - User interface - Περιβάλλον χρήστη - - - - Treat backup files as hidden - Διαχείριση των αρχείων αντιγράφων ασφαλείας ως κρυφά - - - - Always show full file names - Να εμφανίζονται πάντα τα πλήρη ονόματα των αρχείων - - - - Show icons of hidden files shadowed - Εμφάνιση των εικονιδίων των κρυφών αρχείων σε σκίαση - - - - Minimum item margins in icon view: - Ελάχιστο περιθώριο αντικειμένων στην προβολή εικονιδίων: - - - - 3 px by default. - 3 εικ εξ ορισμού. - - - - - px - εικ - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 εικ εξ ορισμού. -Επίσης δεσμεύεται μια θέση για 3 γραμμές κειμένου. - - - - Lock - Κλείδωμα - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Όταν δεν είναι επιλεγμένο, εμφανίζεται η γραμμή καρτελών -μόνο αν υπάρχουν περισσότερες από μια καρτέλες. - - - - Application restart is needed for changes to take effect. - Για να λάβουν χώρα οι τροποποιήσεις απαιτείται επανεκκίνηση της εφαρμογής. - - - - Do not generate thumbnails for image files exceeding this size: - Να μην δημιουργούνται εικόνες επισκόπησης για αρχεία εικόνων που υπερβαίνουν αυτό το το μέγεθος: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Απαιτείται το ffmpegthumbnailer - - - - Auto Mount - Αυτόματη προσάρτηση - - - - Mount mountable volumes automatically on program startup - Αυτόματη προσάρτηση των διαθέσιμων χώρων αποθήκευσης κατά την έναρξη του προγράμματος - - - - Mount removable media automatically when they are inserted - Αυτόματη προσάρτηση των αφαιρούμενων μέσων κατά την εισαγωγή τους - - - - Show available options for removable media when they are inserted - Εμφάνιση των διαθέσιμων επιλογών των αφαιρούμενων μέσων κατά την εισαγωγή τους - - - - When removable medium unmounted: - Κατά την αποπροσάρτηση ενός αφαιρουμένου μέσου: - - - - Close &tab containing removable medium - Κλείσιμο της καρ&τέλας που περιέχει το αφαιρούμενο μέσο - - - - Chan&ge folder in the tab to home folder - Α&λλαγή του φακέλου της καρτέλας στον προσωπικό κατάλογο - - - - Programs - Προγράμματα - - - - Terminal emulator: - Προσομοιωτής τερματικού: - - - - Switch &user command: - Εντολή εναλλαγής &χρήστη: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Παραδείγματα: "xterm -e %s" για το τερματικό ή "gksu %s" για την αλλαγή χρήστη. -%s = η γραμμή εντολών που θέλετε να εκτελέσετε μέσω του τερματικού ή της su. - - - - Archiver in&tegration: - Ενσωμάτωση αρ&χειοθέτησης: - - - - Templates - Πρότυπα - - - - Show only user defined templates in menu - Εμφάνιση στο μενού μόνο των πρότυπων που έχουν καθοριστεί από τον χρήστη - - - - Show only one template for each MIME type - Εμφάνιση μόνο ενός πρότυπου για έκαστον τύπο MIME - - - - Run default application after creation from template - Εκτέλεση της εξ ορισμού εφαρμογής μετά τη δημιουργία από το πρότυπο - - - - Use SI decimal prefixes instead of IEC binary prefixes - Χρήση προθεμάτων δεκαδικών SI αντί για δυαδικά προθέματα IEC - - - - QObject - - - Renaming files... - Μετονομασία αρχείων... - - - - Abort - Εγκατάλειψη - - - - Warning - Προειδοποίηση - - - - Renaming is aborted. - Η μετονομασία εγκαταλείφθηκε. - - - - - Error - Σφάλμα - - - - No file could be renamed. - Κανένα αρχείο δεν μετονομάσθηκε. - - - - Some files could not be renamed. - Μερικά αρχεία δεν μπόρεσαν να μετονομασθούν. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_en_GB.ts b/pcmanfm/translations/pcmanfm-qt_en_GB.ts deleted file mode 100644 index c765b0e..0000000 --- a/pcmanfm/translations/pcmanfm-qt_en_GB.ts +++ /dev/null @@ -1,1799 +0,0 @@ - - - - - AboutDialog - - - About - - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - - Lightweight file manager - - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - - Authors - - - - - License - Licence - - - - AutoRunDialog - - - Removable medium is inserted - - - - - <b>Removable medium is inserted</b> - - - - - Type of medium: - - - - - Detecting... - - - - - Please select the action you want to perform: - - - - - BulkRenameDialog - - - Bulk Rename - - - - - # will be replaced by numbers starting with: - - - - - Rename selected files to: - - - - - Name# - - - - - ConnectServerDialog - - - Connect to remote server - - - - - Anonymous &login - - - - - Login as &user: - - - - - Specify remote folder to connect - - - - - Type: - - - - - Port: - - - - - Path: - - - - - Host: - - - - - DesktopFolder - - - Form - - - - - Desktop - - - - - Desktop folder: - - - - - Image file - - - - - Folder path - - - - - &Browse - - - - - DesktopPreferencesDialog - - - Desktop Preferences - - - - - Background - - - - - Wallpaper mode: - - - - - Wallpaper image file: - - - - - Select background color: - Select background colour: - - - - Image file - - - - - Image file path - - - - - &Browse - - - - - Icons - - - - - Icon size: - - - - - Label Text - - - - - Select shadow color: - Select shadow colour: - - - - Select font: - - - - - General - - - - - Select text color: - Select text colour: - - - - Spacing - - - - - Minimum item margins: - - - - - 3 px by default. - - - - - - px - - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - - - - - Lock - - - - - Slide Show - - - - - Enable Slide Show - - - - - Wallpaper image folder: - - - - - Browse - - - - - hour(s) - - - - - and - - - - - Intervals less than 5min will be ignored - - - - - Interval: - - - - - minute(s) - - - - - Wallpaper folder - - - - - Randomize the slide show - Randomise the slide show - - - - Visible Shortcuts - - - - - Home - - - - - Trash - - - - - Computer - - - - - Network - - - - - Window Manager - - - - - Show menus provided by window managers when desktop is clicked - Show menus provided by window managers when the desktop is clicked - - - - Advanced - - - - - MainWindow - - - File Manager - - - - - &Toolbars - - - - - Path &Bar - - - - - &Filtering - - - - - Go &Up - - - - - Go Up - - - - - Alt+Up - - - - - &Home - - - - - Alt+Home - - - - - &Reload - - - - - F5 - - - - - Go - - - - - Quit - - - - - &About - - - - - &New Window - - - - - New Window - - - - - Ctrl+N - - - - - Show &Hidden - - - - - Ctrl+H - - - - - &Computer - - - - - &Trash - - - - - &Network - - - - - &Desktop - - - - - &Add to Bookmarks - - - - - &Applications - - - - - Reload - - - - - &Icon View - - - - - &Compact View - - - - - &Detailed List - - - - - &Thumbnail View - - - - - Cu&t - - - - - Ctrl+X - - - - - &Copy - - - - - Ctrl+C - - - - - &Paste - - - - - Ctrl+V - - - - - Select &All - - - - - Ctrl+A - - - - - Pr&eferences - - - - - &Ascending - - - - - &Descending - - - - - &By File Name - - - - - By &Modification Time - - - - - By File &Type - - - - - By &Owner - - - - - &Folder First - - - - - &Preserve sorting for this folder - - - - - &Case Sensitive - - - - - By File &Size - - - - - &Close Window - - - - - Ctrl+Q - - - - - &Folder - - - - - &Blank File - - - - - &Show/Focus Filter Bar - - - - - Show Filter Bar - - - - - Ctrl+I - - - - - S&plit View - - - - - Split View - - - - - F6 - - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - - - - - &Clear All Filters - - - - - Ctrl+Shift+K - - - - - Close &previous tabs - - - - - Close &next tabs - - - - - &Preserve Settings for This Folder - - - - - Connect to &Server - - - - - &Location - - - - - &Path Buttons - - - - - &Bulk Rename - - - - - Bulk Rename - - - - - Ctrl+F2 - - - - - Close &other tabs - - - - - Permanent &filter bar - - - - - &Menu bar - - - - - Menu bar - - - - - Ctrl+M - - - - - - Menu - - - - - New &Tab - - - - - New Tab - - - - - Ctrl+T - - - - - Go &Back - - - - - Go Back - - - - - Alt+Left - - - - - Go &Forward - - - - - Go Forward - - - - - Alt+Right - - - - - &Invert Selection - - - - - &Delete - - - - - Del - - - - - &Rename - - - - - F2 - - - - - C&lose Tab - - - - - Ctrl+W - - - - - File &Properties - - - - - Alt+Return - - - - - &Folder Properties - - - - - Edit Bookmarks - - - - - Open &Terminal - - - - - F4 - - - - - Open as &Root - - - - - &Edit Bookmarks - - - - - Ctrl+Shift+N - - - - - Ctrl+Alt+N - - - - - &Find Files - - - - - F3 - - - - - &File - - - - - C&reate New - - - - - &Help - - - - - - &View - - - - - &Sorting - - - - - &Edit - - - - - &Bookmarks - - - - - &Go - - - - - &Tool - - - - - Main Toolbar - - - - - PCManFM::Application - - - Name of configuration profile - - - - - PROFILE - - - - - Run PCManFM as a daemon - - - - - Quit PCManFM - - - - - Launch desktop manager - - - - - Turn off desktop manager if it's running - - - - - Open desktop preference dialog on the page with the specified name - - - - - - NAME - - - - - Open new window - - - - - Open Find Files utility - - - - - Set desktop wallpaper from image FILE - - - - - FILE - - - - - MODE - - - - - Set mode of desktop wallpaper. MODE=(%1) - - - - - Open Preferences dialog on the page with the specified name - - - - - Files or directories to open - - - - - [FILE1, FILE2,...] - - - - - - Error - - - - - Terminal emulator is not set. - - - - - PCManFM::AutoRunDialog - - - Open in file manager - - - - - Removable Disk - - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - WebDAV - - - - Secure WebDav - Secure WebDAV - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Fill with background colour only - - - - Stretch to fill the entire screen - - - - - Stretch to fit the screen - - - - - Center on the screen - Centre on the screen - - - - Tile the image to fill the entire screen - - - - - Zoom the image to fill the entire screen - - - - - Image Files - - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - Trash (%Ln item) - Trash (%Ln items) - - - - Trash (Empty) - - - - - Home - - - - - Computer - - - - - Network - - - - - Open - - - - - - Stic&k to Current Position - - - - - Empty Trash - - - - - Hide Desktop Items - - - - - Desktop Preferences - - - - - PCManFM::FilterBar - - - Filter: - - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - - - - - Version: %1 - - - - - &Move to Trash - - - - - &Delete - - - - - - Error - - - - - Switch user command is not set. - - - - - PCManFM::PreferencesDialog - - - Icon View - - - - - Compact View - - - - - Thumbnail View - - - - - Detailed List View - - - - - PCManFM::TabPage - - - Error - - - - - Free space: %1 (Total: %2) - - - - - %n item(s) - - - - - - - - (%n hidden) - - - - - - - - - - Link to - - - - - %n item(s) selected - - - - - - - - PCManFM::View - - - Open in New T&ab - - - - - Open in New Win&dow - - - - - Open in Termina&l - - - - - PreferencesDialog - - - Preferences - - - - - User Interface - - - - - Behavior - Behaviour - - - - - Thumbnail - - - - - Volume - - - - - Advanced - - - - - Select newly created files - - - - - Icons - - - - - Size of big icons: - - - - - Size of small icons: - - - - - Size of thumbnails: - - - - - Size of side pane icons: - - - - - Icon theme: - - - - - Window - - - - - Always show the tab bar - - - - - Show 'Close' buttons on tabs - - - - - Remember the size of the last closed window - - - - - Default width of new windows: - - - - - Default height of new windows: - - - - - Browsing - - - - - Open files with single click - - - - - Delay of auto-selection in single click mode (0 to disable) - - - - - Default view mode: - - - - - sec - - - - - File Operations - - - - - Confirm before deleting files - - - - - Move deleted files to "trash bin" instead of erasing from disk. - - - - - Show thumbnails of files - - - - - Only show thumbnails for local files - - - - - Display - - - - - Bookmarks: - - - - - Open in current tab - - - - - Open in new tab - - - - - Open in new window - - - - - Erase files on removable media instead of "trash can" creation - - - - - Confirm before moving files into "trash can" - - - - - - - Requires application restart to take effect completely - Requires application restart to fully take effect - - - - Launch executable files without prompt - - - - - - Used by Icon View - - - - - - Used by Compact View and Detailed List View - - - - - - Used by Thumbnail View - - - - - User interface - - - - - Treat backup files as hidden - - - - - Always show full file names - - - - - Show icons of hidden files shadowed - - - - - Minimum item margins in icon view: - - - - - 3 px by default. - - - - - - px - - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - - - - - Lock - - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - When unchecked, the tab bar will be shown -only if there is more than one tab. - - - - Application restart is needed for changes to take effect. - - - - - Do not generate thumbnails for image files exceeding this size: - - - - - KB - - - - - Needs ffmpegthumbnailer - - - - - Auto Mount - - - - - Mount mountable volumes automatically on program startup - - - - - Mount removable media automatically when they are inserted - Mount removable media automatically when inserted - - - - Show available options for removable media when they are inserted - Show available options for removable media when inserted - - - - When removable medium unmounted: - - - - - Close &tab containing removable medium - - - - - Chan&ge folder in the tab to home folder - - - - - Programs - - - - - Terminal emulator: - - - - - Switch &user command: - - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - - - - - Archiver in&tegration: - - - - - Templates - - - - - Show only user defined templates in menu - - - - - Show only one template for each MIME type - - - - - Run default application after creation from template - - - - - Use SI decimal prefixes instead of IEC binary prefixes - - - - - QObject - - - Renaming files... - - - - - Abort - - - - - Warning - - - - - Renaming is aborted. - - - - - - Error - - - - - No file could be renamed. - - - - - Some files could not be renamed. - - - - diff --git a/pcmanfm/translations/pcmanfm-qt_es.desktop b/pcmanfm/translations/pcmanfm-qt_es.desktop deleted file mode 100644 index c88737f..0000000 --- a/pcmanfm/translations/pcmanfm-qt_es.desktop +++ /dev/null @@ -1,3 +0,0 @@ -Name[es]=Gestor de archivos PCManFM-Qt -GenericName[es]=Gestor de archivos -Comment[es]=Explorar el sistema de archivos y gestionar los archivos diff --git a/pcmanfm/translations/pcmanfm-qt_es.ts b/pcmanfm/translations/pcmanfm-qt_es.ts deleted file mode 100644 index acd2220..0000000 --- a/pcmanfm/translations/pcmanfm-qt_es.ts +++ /dev/null @@ -1,1820 +0,0 @@ - - - - - AboutDialog - - - About - Acerca de - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Administrador de archivos liviano - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Authors - Autores - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programación: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - License - Licencia - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt File Manager - -Derechos de autor (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Este programa es software libre; puede redistribuirlo y/o -modificarlo bajo los términos de la Licencia Pública General de GNU -de acuerdo a lo publicado por la Free Software Foundation; en su versión 2 -de la Lincencia, o (a su parecer) cualquier versión posterior. - -Este programa es distribuído con la esperanza que será de utilidad, -pero SIN NINGUNA GARANTÍA; sin siquiera la garantía implícita de -COMERCIABILIDAD o IDONEIDAD PARA UN PROPÓSITO PARTICULAR. Ver la -Licencia Pública General de GNU para más detalles. - -Usted debió haber recibido una copia de la Licencia Pública General de GNU -junto con este programa; si no fué así, escriba a la Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - AutoRunDialog - - - Removable medium is inserted - Medio removible insertado - - - - <b>Removable medium is inserted</b> - <b>Medio removible insertado</b> - - - - Type of medium: - Tipo de medio: - - - - Detecting... - Detectando... - - - - Please select the action you want to perform: - Seleccione la acción que desea ejecutar: - - - - BulkRenameDialog - - - Bulk Rename - Renombrar en lote - - - - # will be replaced by numbers starting with: - # se sustituirá por números empezando por: - - - - Rename selected files to: - Renombrar los archivos seleccionados a: - - - - Name# - Nombre# - - - - ConnectServerDialog - - - Connect to remote server - Conectar a un servidor remoto - - - - Anonymous &login - Inicio de sesión &anónimo - - - - Login as &user: - Iniciar sesión como el &usuario: - - - - Specify remote folder to connect - Especificar la carpeta remota a conectar - - - - Type: - Tipo: - - - - Port: - Puerto: - - - - Path: - Ruta: - - - - Host: - Servidor: - - - - DesktopFolder - - - Form - Formulario - - - - Desktop - Escritorio - - - - Desktop folder: - Carpeta de escritorio: - - - - Image file - Archivo de imagen - - - - Folder path - Ruta a carpeta - - - - &Browse - E&xaminar - - - - DesktopPreferencesDialog - - - Desktop Preferences - Preferencias del escritorio - - - - General - General - - - - Background - Fondo - - - - Wallpaper mode: - Modo de fondo de pantalla: - - - - Wallpaper image file: - Imagen del fondo de pantalla: - - - - Select background color: - Seleccione color de fondo: - - - - Image file - Archivo de imagen - - - - Image file path - Ruta del archivo de imagen - - - - &Browse - E&xaminar - - - - Icons - Iconos - - - - Icon size: - Tamaño de icono: - - - - Label Text - Texto de las etiquetas - - - - Select shadow color: - Seleccione el color de la sombra: - - - - Select font: - Seleccione el tipo de letra: - - - - Spacing - Espaciado - - - - Minimum item margins: - Márgenes mínimos de los elementos: - - - - 3 px by default. - 3 px por omisión. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 px por omisión. -También se reserva espacio para 3 líneas de texto. - - - - Lock - Ligar - - - - Slide Show - Pase de diapositivas - - - - Enable Slide Show - Habilitar el pase de diapositivas - - - - Wallpaper image folder: - Carpeta de imágenes de fondo de pantalla: - - - - Browse - Examinar - - - - hour(s) - hora(s) - - - - and - y - - - - Intervals less than 5min will be ignored - Los intervalos de menos de 5 minutos se ignoran - - - - Interval: - Intervalo: - - - - minute(s) - minuto(s) - - - - Wallpaper folder - Carpeta de fondos de pantalla - - - - Randomize the slide show - Aleatorizar el pase de diapositivas - - - - Visible Shortcuts - Atajos visibles - - - - Home - Carpeta personal - - - - Trash - Papelera - - - - Computer - Sistema - - - - Network - Red - - - - Window Manager - Administrador de ventanas - - - - Advanced - Avanzado - - - - Select text color: - Elija el color del texto: - - - - Show menus provided by window managers when desktop is clicked - Mostrar menús de los administradores de ventanas al hacer clic en el escritorio - - - - MainWindow - - - File Manager - Administrador de archivos - - - - Ctrl+Shift+N - Ctrl+Mayús+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - &Buscar archivos - - - - F3 - F3 - - - - &File - &Archivo - - - - C&reate New - C&rear nuevo - - - - &Help - Ay&uda - - - - - &View - &Ver - - - - &Sorting - &Ordenar - - - - &Toolbars - Barras de herramien&tas - - - - Path &Bar - &Barra de rutas - - - - &Filtering - &Filtrado - - - - &Edit - &Editar - - - - &Bookmarks - &Marcadores - - - - &Go - &Ir - - - - &Tool - &Herramientas - - - - Main Toolbar - Barra de herramientas principal - - - - Go &Up - S&ubir - - - - Go Up - Subir - - - - Alt+Up - Alt+Arriba - - - - &Home - Inicio - - - - Alt+Home - Alt+Inicio - - - - &Reload - &Recargar - - - - F5 - F5 - - - - Go - Ir - - - - Quit - Salir - - - - &About - &Acerca de - - - - &New Window - &Nueva ventana - - - - New Window - Nueva ventana - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Mo&strar ocultos - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Sistema - - - - &Trash - &Papelera - - - - &Network - &Red - - - - &Desktop - &Escritorio - - - - &Add to Bookmarks - &Añadir a marcadores - - - - &Applications - &Aplicaciones - - - - Reload - Recargar - - - - &Icon View - V&ista de iconos - - - - &Compact View - Vista &compacta - - - - &Detailed List - Lista &detallada - - - - &Thumbnail View - Vista de &miniaturas - - - - Cu&t - Cor&tar - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Copiar - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Pegar - - - - Ctrl+V - Ctrl+V - - - - Select &All - Seleccion&ar todo - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - Pr&eferencias - - - - &Ascending - &Ascendente - - - - &Descending - &Descendente - - - - &By File Name - Por nombre de archivo - - - - By &Modification Time - Por fecha de &modificación - - - - By File &Type - Por &tipo de archivo - - - - By &Owner - P&or propietario - - - - &Folder First - Carpetas primero - - - - &Preserve sorting for this folder - Recordar el orden de esta car&peta - - - - &Case Sensitive - Distinguir mayús&culas de minúsculas - - - - By File &Size - Por tamaño de archivo - - - - &Close Window - &Cerrar la ventana - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - Carpeta - - - - &Blank File - Archivo vacío - - - - &Show/Focus Filter Bar - Mo&strar/Enfocar la barra del filtro - - - - Show Filter Bar - Mostrar la barra del filtro - - - - Ctrl+I - - - - - S&plit View - Dividir la vista - - - - Split View - Dividir la vista - - - - F6 - - - - - &Copy Full Path - &Copiar la ruta completa - - - - Ctrl+Shift+C - Ctrl+Mayús+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - Limpiar todos los filtros - - - - Ctrl+Shift+K - Ctrl+Mayús+K - - - - Close &previous tabs - Cerrar las &pestañas anteriores - - - - Close &next tabs - Cerrar las pestañas siguie&ntes - - - - &Preserve Settings for This Folder - Recordar la configuración de esta car&peta - - - - Connect to &Server - Conectar a un &servidor - - - - &Location - Ubicación - - - - &Path Buttons - Botones de ruta - - - - &Bulk Rename - Renom&brado en lote - - - - Bulk Rename - Renombrado en lote - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Cerrar las &otras pestañas - - - - Permanent &filter bar - Barra del &filtro permanente - - - - &Menu bar - Barra de &menú - - - - Menu bar - Barra de menú - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menú - - - - New &Tab - Nueva &pestaña - - - - New Tab - Nueva pestaña - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Re&troceder - - - - Go Back - Retroceder - - - - Alt+Left - Alt+Izquierda - - - - Go &Forward - A&vanzar - - - - Go Forward - Avanzar - - - - Alt+Right - Alt+Derecha - - - - &Invert Selection - &Invertir la selección - - - - &Delete - &Eliminar - - - - Del - Supr - - - - &Rename - &Renombrar - - - - F2 - F2 - - - - C&lose Tab - &Cerrar la pestaña - - - - Ctrl+W - Ctrl+W - - - - File &Properties - Propiedades del &archivo - - - - Alt+Return - Alt+Enter - - - - &Folder Properties - &Propiedades de la &carpeta - - - - Edit Bookmarks - Editar los marcadores - - - - Open &Terminal - Abrir en una &terminal - - - - F4 - F4 - - - - Open as &Root - Abrir como &root - - - - &Edit Bookmarks - &Editar los marcadores - - - - PCManFM::Application - - - Name of configuration profile - Nombre del perfil de configuración - - - - PROFILE - PERFIL - - - - Run PCManFM as a daemon - Ejecutar PCManFM como un servicio - - - - Quit PCManFM - Cerrar PCManFM - - - - Launch desktop manager - Abrir el administrador del escritorio - - - - Turn off desktop manager if it's running - Cerrar el administrador del escritorio si está en ejecución - - - - Open desktop preference dialog on the page with the specified name - Abrir el diálogo de preferencias del escritorio en la página especificada - - - - - NAME - NOMBRE - - - - Open new window - Abrir una nueva ventana - - - - Open Find Files utility - Abrir la aplicación de búsqueda de archivos - - - - Set desktop wallpaper from image FILE - Asignar como fondo de escritorio la imagen ARCHIVO - - - - FILE - ARCHIVO - - - - MODE - MODO - - - - Set mode of desktop wallpaper. MODE=(%1) - Establecer el modo del fondo de pantalla del escritorio. MODO=(%1) - - - - Open Preferences dialog on the page with the specified name - Abrir el diálogo de preferencias en la página con el nombre dado - - - - Files or directories to open - Archivos o directorios a abrir - - - - [FILE1, FILE2,...] - [ARCHIVO 1, ARCHIVO 2, ...] - - - - - Error - Error - - - - Terminal emulator is not set. - El emulador de terminal no está configurado. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Abrir en el administrador de archivos - - - - Removable Disk - Disco removible - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - WebDav seguro - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Rellenar solo con el color de fondo - - - - Stretch to fill the entire screen - Estirar para llenar la pantalla - - - - Stretch to fit the screen - Estirar para ajustar a la pantalla - - - - Center on the screen - Centrar en la pantalla - - - - Tile the image to fill the entire screen - Repetir la imagen hasta llenar la pantalla - - - - Zoom the image to fill the entire screen - Ampliar la imagen para rellenar la pantalla completa - - - - Image Files - Archivos de imagen - - - - PCManFM::DesktopWindow - - - Trash (One item) - Papelera (un elemento) - - - - Trash (%Ln items) - Papelera (%Ln elemento) - Papelera (%Ln elementos) - - - - Trash (Empty) - Papelera (vacía) - - - - Home - Carpeta personal - - - - Computer - Sistema - - - - Network - Red - - - - Open - Abrir - - - - - Stic&k to Current Position - &Pegar en la posición actual - - - - Empty Trash - Vaciar la papelera - - - - Hide Desktop Items - Ocultar los elementos del escritorio - - - - Desktop Preferences - Preferencias del escritorio - - - - PCManFM::FilterBar - - - Filter: - Filtro: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Borrar el texto (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Instancia de root - - - - Hide menu bar - Ocultar la barra de menú - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Oculta por completo la barra de menú; use Ctrl+M para mostrarla de nuevo. - - - - Version: %1 - Versión: %1 - - - - &Move to Trash - &Mover a la papelera - - - - &Delete - &Eliminar - - - - - Error - Error - - - - Switch user command is not set. - El comando para cambiar de usuario no está definido. - - - - PCManFM::PreferencesDialog - - - Icon View - Vista de iconos - - - - Compact View - Vista compacta - - - - Thumbnail View - Vista de miniaturas - - - - Detailed List View - Lista detallada - - - - PCManFM::TabPage - - - Error - Error - - - - Free space: %1 (Total: %2) - Espacio libre: %1 (Total %2) - - - - %n item(s) - - %n elemento - %n elementos - - - - - (%n hidden) - - (%n oculto) - (%n ocultos) - - - - - - - Link to - Enlazar a - - - - %n item(s) selected - - %n elemento seleccionado - %n elementos seleccionados - - - - - PCManFM::View - - - Open in New T&ab - &Abrir en una pestaña nueva - - - - Open in New Win&dow - Abrir en una &ventana nueva - - - - Open in Termina&l - Abrir en una termina&l - - - - PreferencesDialog - - - Preferences - Preferencias - - - - User Interface - Interfaz de usuario - - - - Behavior - Comportamiento - - - - - Thumbnail - Miniaturas - - - - Volume - Volumen - - - - Advanced - Avanzado - - - - Select newly created files - Seleccionar los archivos recién creados - - - - Icons - Iconos - - - - Size of big icons: - Tamaño de los iconos grandes: - - - - Size of small icons: - Tamaño de los iconos pequeños: - - - - Size of thumbnails: - Tamaño de las miniaturas: - - - - Size of side pane icons: - Tamaño de los iconos del panel lateral: - - - - Icon theme: - Tema de iconos: - - - - Window - Ventana - - - - Always show the tab bar - Mostrar siempre la barra de pestañas - - - - Show 'Close' buttons on tabs - Mostrar botones de cerrar en las pestañas - - - - Remember the size of the last closed window - Recordar el tamaño de la última ventana cerrada - - - - Default width of new windows: - Ancho por omisión de las ventanas nuevas: - - - - Default height of new windows: - Alto por omisión de las ventanas nuevas: - - - - Browsing - Navegación - - - - Open files with single click - Abrir los archivos con un solo clic - - - - Delay of auto-selection in single click mode (0 to disable) - Demora de selección automática en modo de un clic (0 para inhabilitar) - - - - Default view mode: - Modo de visualización por defecto: - - - - sec - s - - - - File Operations - Operaciones de archivos - - - - Confirm before deleting files - Pedir confirmación antes de borrar archivos - - - - Move deleted files to "trash bin" instead of erasing from disk. - Mover archivos a la papelera en lugar de eliminarlos del disco - - - - Show thumbnails of files - Mostrar miniaturas de archivos - - - - Only show thumbnails for local files - Solo mostrar miniaturas para archivos locales - - - - Display - Pantalla - - - - Bookmarks: - Marcadores: - - - - Open in current tab - Abrir en la pestaña actual - - - - Open in new tab - Abrir en una pestaña nueva - - - - Open in new window - Abrir en una ventana nueva - - - - Erase files on removable media instead of "trash can" creation - Borrar los archivos de medios removibles en vez de crear una "papelera" - - - - Confirm before moving files into "trash can" - Pedir confirmación antes de mover archivos a la "papelera" - - - - - - Requires application restart to take effect completely - Requiere el reinicio de la aplicación para tener efecto por completo - - - - Launch executable files without prompt - Lanzar los archivos ejecutables sin preguntar - - - - - Used by Icon View - Usado por Vista de iconos - - - - - Used by Compact View and Detailed List View - Usado por Vista compacta y vista de Lista detallada - - - - - Used by Thumbnail View - Usado por Vista de miniaturas - - - - User interface - Interfaz de usuario - - - - Treat backup files as hidden - Tratar los ficheros de respaldo como ocultos - - - - Always show full file names - Mostrar siempre los nombres de archivo completos - - - - Show icons of hidden files shadowed - Mostrar sombreados los iconos de archivos ocultos - - - - Minimum item margins in icon view: - Márgenes mínimos de los elementos en la vista de iconos: - - - - 3 px by default. - 3 px por omisión. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 px por omisión. -También se reserva espacio para 3 líneas de texto. - - - - Lock - Ligar - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Si está desmarcada, la barra de pestañas se muestra -solo si hay más de una pestaña. - - - - Application restart is needed for changes to take effect. - Es necesario reiniciar la aplicación para que los cambios tenga efecto. - - - - Do not generate thumbnails for image files exceeding this size: - No generar miniaturas para archivos de imágenes mayores que: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Necesita ffmpegthumbnailer - - - - Auto Mount - Montar automáticamente - - - - Mount mountable volumes automatically on program startup - Montar discos removibles automáticamente al inicio - - - - Mount removable media automatically when they are inserted - Montar discos removibles automáticamente cuando se insertan - - - - Show available options for removable media when they are inserted - Mostrar opciones disponibles para los discos removibles al insertarlos - - - - When removable medium unmounted: - Cuando se desconecta un disco removible: - - - - Close &tab containing removable medium - Cerrar la pes&taña del medio removible - - - - Chan&ge folder in the tab to home folder - Cambiar la carpeta de la pestaña a la carpeta personal - - - - Switch &user command: - Orden para cambiar de &usuario: - - - - Archiver in&tegration: - In&tegración con el archivador: - - - - Templates - Plantillas - - - - Show only user defined templates in menu - Mostrar solo plantillas del usuario en el menú - - - - Show only one template for each MIME type - Mostrar una sola plantilla para cada tipo MIME - - - - Run default application after creation from template - Ejecutar la aplicación por omisión tras crear una plantilla - - - - Programs - Programas - - - - Terminal emulator: - Emulador de terminal: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Ejemplos: "xterm -e %s" para terminal o "gksu %s" para cambiar de usuario. -%s = la línea de comandos a ejecutar en la terminal o como otro usuario. - - - - Use SI decimal prefixes instead of IEC binary prefixes - Usar prefijos decimales SI en lugar de prefijos binarios IEC - - - - QObject - - - Renaming files... - Renombrando archivos... - - - - Abort - Cancelar - - - - Warning - Aviso - - - - Renaming is aborted. - El renombrado se ha cancelado. - - - - - Error - Error - - - - No file could be renamed. - No se ha podido renombrar ningún archivo. - - - - Some files could not be renamed. - Algunos archivos no se han podido renombrar. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_et.ts b/pcmanfm/translations/pcmanfm-qt_et.ts deleted file mode 100644 index 5eb3dad..0000000 --- a/pcmanfm/translations/pcmanfm-qt_et.ts +++ /dev/null @@ -1,1820 +0,0 @@ - - - - - AboutDialog - - - About - Teave - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - - Lightweight file manager - Ressursisäästlik failihaldur - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programmeerija: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt failihaldur - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -See programm on tasuta tarkvara; seda võib levitada ja/või -muuta Vaba Tarkvara Sihtasutuse avaldatud -GNU Üldise Avaliku Litsentsi tingimuste kohaselt; -kas 2.versioon või hilisem (teie valikul). - -Seda programmi levitatakse lootuses, et see on kasulik, -kuid ilma mingi GARANTIITA; isegi ilma -KAUBANDUSLIKU VÕI KONKREETSEKS EESMÄRGIKS VASTAVUSE -garantiita. Lisateabe saamiseks vaata GNU Üldist Avalikku Litsentsi. - -Selle programmiga on kaasas GNU Üldise Avaliku Litsentsi koopia; -kui mitte, kirjuta Vaba Tarkvara Sihtasutuse aadressile -Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - Authors - Autorid - - - - License - Litsents - - - - AutoRunDialog - - - Removable medium is inserted - Sisestati eemaldatav andmekandja - - - - <b>Removable medium is inserted</b> - <b>Sisestati eemaldatav andmekandja</b> - - - - Type of medium: - Andmekandja tüüp: - - - - Detecting... - Tuvastamine... - - - - Please select the action you want to perform: - Sisesta soovitud tegevus: - - - - BulkRenameDialog - - - Bulk Rename - Hulgi ümbernimetamine - - - - # will be replaced by numbers starting with: - # asendatakse numbritega alates: - - - - Rename selected files to: - Nimeta valitud failid ümber: - - - - Name# - Nimi# - - - - ConnectServerDialog - - - Connect to remote server - Ühendu kaugserveriga - - - - Anonymous &login - Anonüümne &sisselogimine - - - - Login as &user: - Logi sisse &kasutajana: - - - - Specify remote folder to connect - Määra ühendamiseks kaugkataloog - - - - Type: - Tüüp: - - - - Port: - - - - - Path: - Rada: - - - - Host: - Masin: - - - - DesktopFolder - - - Form - Vorm - - - - Desktop - Töölaud - - - - Desktop folder: - Töölauakataloog: - - - - Image file - Pildifail - - - - Folder path - Kataloogi rada - - - - &Browse - &Sirvi - - - - DesktopPreferencesDialog - - - Desktop Preferences - Töölaua eelistused - - - - Background - Taust - - - - Wallpaper mode: - Taustapildi režiim: - - - - Wallpaper image file: - Taustapildi pildifail: - - - - Select background color: - Vali taustavärv: - - - - Image file - Pildifail - - - - Image file path - Pildifaili rada - - - - &Browse - &Sirvi - - - - Icons - Ikoonid - - - - Icon size: - Ikooni suurus: - - - - Label Text - Sildi tekst - - - - Select shadow color: - Vali taustavärv: - - - - Select font: - Vali font: - - - - General - Üldine - - - - Select text color: - - - - - Spacing - Vahemaa - - - - Minimum item margins: - Vähim vahemaa: - - - - 3 px by default. - Vaikimisi 3 px. - - - - - px - - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - Vaikimisi 1 px. -Ruumi varuti ka 3 tekstirea jaoks. - - - - Lock - Lukusta - - - - Slide Show - Slaidiseanss - - - - Enable Slide Show - Luba slaidiseanss - - - - Wallpaper image folder: - Taustapildi kataloog: - - - - Browse - Sirvi - - - - hour(s) - tund(i) - - - - and - ja - - - - Intervals less than 5min will be ignored - Alla 5 min intervalle eiratakse - - - - Interval: - Intervall: - - - - minute(s) - minut(it) - - - - Wallpaper folder - Taustapildi kataloog - - - - Randomize the slide show - Juhuslik slaidiseanss - - - - Visible Shortcuts - - - - - Home - Avaleht - - - - Trash - - - - - Computer - Arvuti - - - - Network - Võrk - - - - Window Manager - Aknahaldur - - - - Show menus provided by window managers when desktop is clicked - Klõpsates töölauale kuva aknahaldurite menüüsi - - - - Advanced - Täpsem - - - - MainWindow - - - File Manager - Failihaldur - - - - &Toolbars - &Tööriistaribad - - - - Path &Bar - Asukoha&riba - - - - &Filtering - - - - - Go &Up - Liigu &üles - - - - Go Up - Liigu üles - - - - Alt+Up - Alt + üles - - - - &Home - &Avaleht - - - - Alt+Home - - - - - &Reload - &Laadi uuesti - - - - F5 - - - - - Go - Mine - - - - Quit - Välju - - - - &About - &Teave - - - - &New Window - &Uus aken - - - - New Window - Uus aken - - - - Ctrl+N - - - - - Show &Hidden - Kuva &peidetud failid - - - - Ctrl+H - - - - - &Computer - &Arvuti - - - - &Trash - &Prügikast - - - - &Network - &Võrk - - - - &Desktop - &Töölaud - - - - &Add to Bookmarks - &Lisa järjehoidjaks - - - - &Applications - &Rakendused - - - - Reload - Lae uuesti - - - - &Icon View - &Ikoonivaade - - - - &Compact View - &Kompaktne vaade - - - - &Detailed List - &Üksikasjalik nimekiri - - - - &Thumbnail View - &Pisipildivaade - - - - Cu&t - Lõi&ka - - - - Ctrl+X - - - - - &Copy - &Kopeeri - - - - Ctrl+C - - - - - &Paste - &Aseta - - - - Ctrl+V - - - - - Select &All - Vali &kõik - - - - Ctrl+A - - - - - Pr&eferences - Ee&listused - - - - &Ascending - &Kasvav - - - - &Descending - &Kahanev - - - - &By File Name - &Faili nime järgi - - - - By &Modification Time - &Muutmise aja järgi - - - - By File &Type - Faili &tüübi järgi - - - - By &Owner - &Omaniku järgi - - - - &Folder First - &Kaustad ees - - - - &Preserve sorting for this folder - &Salvesta selle kausta sortimine - - - - &Case Sensitive - &Tõstutundlik - - - - By File &Size - Faili &suuruse järgi - - - - &Close Window - &Sulge aken - - - - Ctrl+Q - - - - - &Folder - &Kaust - - - - &Blank File - &Tühi fail - - - - &Show/Focus Filter Bar - - - - - Show Filter Bar - Kuva filtririba - - - - Ctrl+I - Ctrl+I - - - - S&plit View - - - - - Split View - Poolitatud vaade - - - - F6 - F6 - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - - - - - &Clear All Filters - &Kustuta kõik filtrid - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Sulge &eelmised kaardid - - - - Close &next tabs - Sulge &järgmised kaardid - - - - &Preserve Settings for This Folder - &Salvesta selle kausta sätted - - - - Connect to &Server - Ühenda &serveriga - - - - &Location - &Asukoht - - - - &Path Buttons - &Asukoha nupud - - - - &Bulk Rename - &Hulgi ümbernimetamine - - - - Bulk Rename - Hulgi ümbernimetamine - - - - Ctrl+F2 - - - - - Close &other tabs - Sulge &muud kaardid - - - - Permanent &filter bar - Püsiv &filtririba - - - - &Menu bar - &Menüüriba - - - - Menu bar - Menüüriba - - - - Ctrl+M - - - - - - Menu - Menüü - - - - New &Tab - Uus &kaart - - - - New Tab - Uus kaart - - - - Ctrl+T - - - - - Go &Back - Mine &tagasi - - - - Go Back - Mine tagasi - - - - Alt+Left - Alt+vasak - - - - Go &Forward - Liigu &edasi - - - - Go Forward - Liigu edasi - - - - Alt+Right - - - - - &Invert Selection - &Pööra valik - - - - &Delete - &Kustuta - - - - Del - - - - - &Rename - &Nimeta ümber - - - - F2 - - - - - C&lose Tab - S&ulge kaart - - - - Ctrl+W - - - - - File &Properties - Faili &omadused - - - - Alt+Return - - - - - &Folder Properties - &Kausta omadused - - - - Edit Bookmarks - Muuda järjehoidjaid - - - - Open &Terminal - Ava &terminal - - - - F4 - - - - - Open as &Root - Ava &juurkasutajana - - - - &Edit Bookmarks - &Muuda järjehoidjaid - - - - Ctrl+Shift+N - - - - - Ctrl+Alt+N - - - - - &Find Files - &Otsi faile - - - - F3 - - - - - &File - &Fail - - - - C&reate New - &Loo uus - - - - &Help - &Spikker - - - - - &View - &Vaade - - - - &Sorting - &Sortimine - - - - &Edit - &Redigeeri - - - - &Bookmarks - &Järjehoidjad - - - - &Go - &Mine - - - - &Tool - &Vahend - - - - Main Toolbar - Põhitööriistariba - - - - PCManFM::Application - - - Name of configuration profile - Seadistusprofiili nimi - - - - PROFILE - PROFIIL - - - - Run PCManFM as a daemon - Käivita PCManFM teenusena - - - - Quit PCManFM - Sulge PCManFM - - - - Launch desktop manager - Käivita töölauahaldur - - - - Turn off desktop manager if it's running - Kui see töötab, lülita töölauahaldur välja - - - - Open desktop preference dialog on the page with the specified name - Ava määratud nimega lehel töölaua eelistuste aken - - - - - NAME - NIMI - - - - Open new window - Ava uues aknas - - - - Open Find Files utility - Ava failiotsing - - - - Set desktop wallpaper from image FILE - Määra taustapildiks pildifail - - - - FILE - FAIL - - - - MODE - REŽIIM - - - - Set mode of desktop wallpaper. MODE=(%1) - Määra taustapildi režiim. REŽIIM=(%1) - - - - Open Preferences dialog on the page with the specified name - Ava määratud nimega lehel eelistuste aken - - - - Files or directories to open - Avatavad failid või kataloogid - - - - [FILE1, FILE2,...] - [FAIL1, FAIL2,...] - - - - - Error - Viga - - - - Terminal emulator is not set. - Terminalimulaatorit pole määratud. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Ava failihalduris - - - - Removable Disk - Eemaldatav ketas - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - Turvaline WebDAV (HTTPS) - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Täida ainult taustavärviga - - - - Stretch to fill the entire screen - Venita täitmaks kogu ekraani - - - - Stretch to fit the screen - Venita sobitumaks ekraanile - - - - Center on the screen - Ekraani keskele - - - - Tile the image to fill the entire screen - Paljunda pilti täitmaks kogu ekraani - - - - Zoom the image to fill the entire screen - Suurenda pilti täitmaks kogu ekraani - - - - Image Files - Pildifailid - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - - - - - - - - Trash (Empty) - - - - - Home - Avaleht - - - - Computer - Arvuti - - - - Network - Võrk - - - - Open - - - - - - Stic&k to Current Position - Jäta& praegusele asukohale - - - - Empty Trash - - - - - Hide Desktop Items - Peida töölauakirjeid - - - - Desktop Preferences - Töölaua eelistused - - - - PCManFM::FilterBar - - - Filter: - Filter: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Tühjenda tekst (Ctrl + K) - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - Peida menüüriba - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - See peidab menüüriba täiesti, kasuta Ctrl + M selle uuesti kuvamiseks. - - - - Version: %1 - Versioon: %1 - - - - &Move to Trash - &Liiguta prügikasti - - - - &Delete - &Kustuta - - - - - Error - Viga - - - - Switch user command is not set. - Kasutaja vahetamise käsku pole määratud. - - - - PCManFM::PreferencesDialog - - - Icon View - Ikoonivaade - - - - Compact View - Kompaktne vaade - - - - Thumbnail View - Pisipildivaade - - - - Detailed List View - Üksikasjalik nimekiri - - - - PCManFM::TabPage - - - Error - Viga - - - - Free space: %1 (Total: %2) - Vaba ruum:%1 (kokku:%2) - - - - %n item(s) - - %n element - %n elementi - - - - - (%n hidden) - - (%n peidetud) - (%n peidetud) - - - - - - - Link to - Ühenda - - - - %n item(s) selected - - %n element valitud - %n elementi valitud - - - - - PCManFM::View - - - Open in New T&ab - Ava uuel &kaardil - - - - Open in New Win&dow - Ava uues &aknas - - - - Open in Termina&l - Ava uues termina&lis - - - - PreferencesDialog - - - Preferences - Eelistused - - - - User Interface - Kasutajaliides - - - - Behavior - Käitumine - - - - - Thumbnail - Pisipilt - - - - Volume - Maht - - - - Advanced - Täpsem - - - - Select newly created files - Valige äsja loodud failid - - - - Icons - Ikoonid - - - - Size of big icons: - Suurte ikoonide suurus: - - - - Size of small icons: - Väikeste ikoonide suurus: - - - - Size of thumbnails: - Pisipiltide suurus: - - - - Size of side pane icons: - Külgpaneeli ikoonide suurus: - - - - Icon theme: - Ikooniteema: - - - - Window - Aken - - - - Always show the tab bar - Kaardiriba on alati nähtaval - - - - Show 'Close' buttons on tabs - Kuva kaartidel sulgemisnuppu - - - - Remember the size of the last closed window - Pea viimati suletud akna suurus meeles - - - - Default width of new windows: - Uute akende laius vaikimisi: - - - - Default height of new windows: - Uute akende kõrgus vaikimisi: - - - - Browsing - Sirvimine - - - - Open files with single click - Ava failid ühe klõpsuga - - - - Delay of auto-selection in single click mode (0 to disable) - Automaatse valiku viivitus ühe klõpsuga režiimis (0 keelamiseks) - - - - Default view mode: - Vaikevaate režiim: - - - - sec - sek - - - - File Operations - Failioperatsioonid - - - - Confirm before deleting files - Kinnitus enne failide kustutamist - - - - Move deleted files to "trash bin" instead of erasing from disk. - Liiguta kustutatud failid prügikasti nende kettalt eemaldamise asemel. - - - - Show thumbnails of files - Kuva failide pisipildid - - - - Only show thumbnails for local files - Kuva ainult kohalike failide pisipildid - - - - Display - Ekraan - - - - Bookmarks: - Järjehoidjad: - - - - Open in current tab - Ava aktiivsel kaardil - - - - Open in new tab - Ava uuel kaardil - - - - Open in new window - Ava uues aknas - - - - Erase files on removable media instead of "trash can" creation - Kustuta failid eemaldataval andmekandjal prügikasti loomise asemel - - - - Confirm before moving files into "trash can" - Kinnitus enne failide prügikasti saatmist - - - - - - Requires application restart to take effect completely - Nõuab rakenduse taaskäivitamist, et see täielikult jõustuda - - - - Launch executable files without prompt - Käivita käivitatavaid faile ilma küsimata - - - - - Used by Icon View - Kasutatakse ikoonivaates - - - - - Used by Compact View and Detailed List View - Kasutatakse kompaktses ja üksikasjaliku nimekirja vaates - - - - - Used by Thumbnail View - Kasutatakse pisipildivaates - - - - User interface - Kasutajaliides - - - - Treat backup files as hidden - Varufaile koheldakse peidetuina - - - - Always show full file names - Kuva alati täielikud failinimed - - - - Show icons of hidden files shadowed - Kuva peidetud failide ikoonid varjutatuna - - - - Minimum item margins in icon view: - Vähim elementide vahemaa ikoonivaates: - - - - 3 px by default. - Vaikimisi 3 px. - - - - - px - - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - Vaikimisi 3 px. -Ruumi varuti ka 3 tekstirea jaoks. - - - - Lock - Lukusta - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Kui see pole märgitud, näidatakse kaardiriba ainult siis, kui avatud on rohkem kui üks kaart. - - - - Application restart is needed for changes to take effect. - Muudatuste rakendamiseks tuleb prorgramm uuesti käivitada. - - - - Do not generate thumbnails for image files exceeding this size: - Ära loo pisipilte pildifailidele, mis on suuremad kui: - - - - KB - - - - - Needs ffmpegthumbnailer - Vajalik on ffmpegthumbnailer - - - - Auto Mount - Automaatne haakimine - - - - Mount mountable volumes automatically on program startup - Haagi seadmed automaatselt programmi käivitumisel - - - - Mount removable media automatically when they are inserted - Haagi eemaldatavad andmekandjad automaatselt ühendamisel masinaga - - - - Show available options for removable media when they are inserted - Kuva eemaldatava andmekandja ühendamisel saadaolevad valikud automaatselt - - - - When removable medium unmounted: - Kui eemaldatav andmekandja on lahti ühendatud: - - - - Close &tab containing removable medium - Sulge eemaldatavat kandjat sisaldav &kaart - - - - Chan&ge folder in the tab to home folder - Muud&a kaardil olev kataloog kodukataloogiks - - - - Programs - Programmid - - - - Terminal emulator: - Terminaliemulaator: - - - - Switch &user command: - &Kasutaja vahetamise käsk: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Näited: terminali xterm-e% s või kasutaja &quot;gksu% s&quot; lülitamiseks. % s = käsk, mida soovid terminaliga või su abil käivitada. - - - - Archiver in&tegration: - Pakkija in&tegreerimine: - - - - Templates - Mallid - - - - Show only user defined templates in menu - Kuva menüüs ainult kasutaja määratud mallid - - - - Show only one template for each MIME type - Kuva iga MIME tüübi kohta ainult ühte malli - - - - Run default application after creation from template - Mallist loomise järel käivita vaikimisi rakendus - - - - Use SI decimal prefixes instead of IEC binary prefixes - IEC-i binaarseteks eesliidete asemel kasuta SI-eelistusi - - - - QObject - - - Renaming files... - Failide ümbernimetamine ... - - - - Abort - Katkesta - - - - Warning - Hoiatus - - - - Renaming is aborted. - Ümbernimetamine katkeb. - - - - - Error - Viga - - - - No file could be renamed. - Ühtki faili ei nimetatud ümber. - - - - Some files could not be renamed. - Mõningaid faile ei saanud ümber nimetada. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_fr.desktop b/pcmanfm/translations/pcmanfm-qt_fr.desktop deleted file mode 100644 index 85724bd..0000000 --- a/pcmanfm/translations/pcmanfm-qt_fr.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[fr]=PCManFM-Qt -GenericName[fr]=Gestionnaire de fichiers -Comment[fr]=Gestionnaire de fichiers de l'environnement LXQt diff --git a/pcmanfm/translations/pcmanfm-qt_fr.ts b/pcmanfm/translations/pcmanfm-qt_fr.ts deleted file mode 100644 index 2d5e700..0000000 --- a/pcmanfm/translations/pcmanfm-qt_fr.ts +++ /dev/null @@ -1,1819 +0,0 @@ - - - - - AboutDialog - - - About - À propos - - - - Lightweight file manager - Gestionnaire de fichiers léger - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programmation : -Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - Authors - Auteurs - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style="font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - License - Licence - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Gestionnaire de fichiers de PCMan - -Copyright © 2009 - 2014 洪任諭 (Hong Jen Yee) - -Ce programme est un logiciel libre ; vous pouvez le redistribuer et/ou - le modifier suivant les termes de la “GNU General Public License” - telle que publiée par la Free Software Foundation, soit en version 2, - soit (à votre gré) toute version ultérieure. - -Ce programme est distribué dans l'espoir qu'il vous sera utile, - mais SANS AUCUNE GARANTIE ; sans même la garantie implicite - de COMMERCIALISABILITÉ, ni d’ADÉQUATION À UN OBJECTIF PARTICULIER -. Consultez la Licence Générale Publique GNU pour plus de détails. - -Vous devriez avoir reçu une copie de la licence publique générale GNU - avec ce programme ; si ce n'est pas le cas, écrivez à la fondation pour le logiciel libre à l'adresse ci-dessous : -Free Software Foundation, Inc.n 51 Franklin Street, -Fifth Floor, Boston, MA 02110-1301, USA. - - - - AutoRunDialog - - - Removable medium is inserted - Un média amovible a été inséré - - - - <b>Removable medium is inserted</b> - <b>Un média amovible a été inséré</b> - - - - Type of medium: - Type de média : - - - - Detecting... - Détection en cours… - - - - Please select the action you want to perform: - Veuillez sélectionner l'action que vous voulez effectuer : - - - - BulkRenameDialog - - - Bulk Rename - Renommage en vrac - - - - # will be replaced by numbers starting with: - # sera remplacé par un nombre commençant par : - - - - Rename selected files to: - Renommer les fichiers sélectionnés par : - - - - Name# - Nom# - - - - ConnectServerDialog - - - Connect to remote server - Connexion au serveur distant - - - - Anonymous &login - Connexion &anonyme - - - - Login as &user: - Connexion en &utilisateur : - - - - Specify remote folder to connect - Spécifier le répertoire distant auquel connecter - - - - Type: - Type : - - - - Port: - Port : - - - - Path: - Chemin : - - - - Host: - Hôte : - - - - DesktopFolder - - - Form - Dialogue - - - - Desktop - Bureau - - - - Desktop folder: - Répertoire du bureau : - - - - Image file - Fichier image - - - - Folder path - Chemin vers le répertoire - - - - &Browse - &Parcourir - - - - DesktopPreferencesDialog - - - Desktop Preferences - Préférences du bureau - - - - Background - Arrière-plan - - - - Wallpaper mode: - Mode du papier-peint : - - - - Wallpaper image file: - Fichier image du papier-peint : - - - - Select background color: - Sélectionnez la couleur d'arrière-plan : - - - - Image file - Fichier image - - - - Image file path - Chemin du fichier image - - - - &Browse - &Parcourir - - - - Icons - Icônes - - - - Icon size: - Taille de l'icône : - - - - Label Text - Texte de l'étiquette - - - - Select shadow color: - Sélectionnez la couleur de l'ombre : - - - - Select font: - Sélectionnez la police : - - - - General - Général - - - - Select text color: - Sélectionner la couleur du texte : - - - - Spacing - Espacement - - - - Minimum item margins: - Marge minimale entre les items : - - - - 3 px by default. - 3 px par défaut. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 px par défaut -Un espace pour 3 lignes de texte est également réservé. - - - - Lock - Verrouiller - - - - Slide Show - Vision de diapositives - - - - Enable Slide Show - Valider la vision de diapositives - - - - Wallpaper image folder: - Répertoire des fonds d'écran : - - - - Browse - Parcourir - - - - hour(s) - heure(s) - - - - and - et - - - - Intervals less than 5min will be ignored - Des intervalles inférieurs à 5 mn sont ignorés - - - - Interval: - Intervalle : - - - - minute(s) - minute(s) - - - - Wallpaper folder - Répertoire des fonds d'écran - - - - Randomize the slide show - Défilement aléatoire des diapositives - - - - Visible Shortcuts - Raccourcis visibles - - - - Home - Accueil - - - - Trash - Corbeille - - - - Computer - Ordinateur - - - - Network - Réseau - - - - Window Manager - Gestionnaire de fenêtre - - - - Show menus provided by window managers when desktop is clicked - Afficher les menus fournis par les gestionnaires de fenêtres lorsqu'on clique sur le bureau - - - - Advanced - Avancé - - - - MainWindow - - - File Manager - Gestionnaire de fichiers - - - - Go Up - Monter - - - - Alt+Up - Alt+Haut - - - - Alt+Home - Alt+Début / Origine - - - - Reload - Recharger - - - - F5 - F5 - - - - &Toolbars - Barre des &outils - - - - Path &Bar - Barre des &chemins - - - - &Filtering - &Filtrer - - - - &Home - &Origine - - - - &Reload - &Recharger - - - - Go - Aller à - - - - Quit - Quitter - - - - &About - &À propos - - - - New Window - Nouvelle fenêtre - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Afficher les éléments cac&hés - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Ordinateur - - - - &Trash - &Corbeille - - - - &Network - &Réseau - - - - &Desktop - &Bureau - - - - &Add to Bookmarks - &Ajouter aux signets - - - - &Applications - &Applications - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Copier - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Coller - - - - Ctrl+V - Ctrl+V - - - - Select &All - Tout sélect&ionner - - - - Pr&eferences - Préfér&ences - - - - &Ascending - &Croissant - - - - &Descending - &Décroissant - - - - &By File Name - &Par nom de fichier - - - - By &Modification Time - Par date de &modification - - - - By File &Type - Par &type de fichier - - - - By &Owner - Par &Propriétaire - - - - &Folder First - &Répertoires d'abord - - - - &Preserve sorting for this folder - &Préserver le tri pour ce dossier - - - - &Invert Selection - &Inverser la sélection - - - - &Delete - &Supprimer - - - - &Rename - &Renommer - - - - &Case Sensitive - Sensible à la &casse - - - - By File &Size - Par &taille de fichier - - - - &Close Window - &Fermer la fenêtre - - - - &Show/Focus Filter Bar - &Montrer/Barre de filtre du focus - - - - Show Filter Bar - Afficher la barre de filtre - - - - Ctrl+I - Ctrl+I - - - - S&plit View - Vue &partagée - - - - Split View - Vue partagée - - - - F6 - F6 - - - - &Copy Full Path - &Copier le chemin d'accès complet - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Effacer tous les filtres - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Fermer l'onglet &précédent - - - - Close &next tabs - Fermer l'onglet &suivant - - - - &Menu bar - Barre des &menus - - - - &Preserve Settings for This Folder - &Conserver les réglages pour ce répertoire - - - - Connect to &Server - Connecter au &serveur - - - - &Location - &Emplacement - - - - &Path Buttons - Bo&utons des chemins - - - - &Bulk Rename - &Renommer en vrac - - - - Bulk Rename - Renommer en vrac - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Fermer les autres &onglets - - - - Permanent &filter bar - Barre permanente et filtre - - - - Menu bar - Barre de menu - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menu - - - - Ctrl+A - Ctrl+A - - - - Go &Up - Mon&ter - - - - &New Window - &Nouvelle fenêtre - - - - &Icon View - Vue en &icônes - - - - &Compact View - Vue &compacte - - - - &Detailed List - Liste &détaillée - - - - &Thumbnail View - Vue en vigne&ttes - - - - Cu&t - Cou&per - - - - New &Tab - Nouvel ongle&t - - - - New Tab - Nouvel onglet - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Re&culer - - - - Go Back - Reculer - - - - Alt+Left - Alt+Gauche - - - - Go &Forward - Ava&ncer - - - - Go Forward - Avancer - - - - Alt+Right - Alt+Droite - - - - Del - Suppr - - - - F2 - F2 - - - - C&lose Tab - Fermer &l'onglet - - - - File &Properties - &Propriétés du fichier - - - - &Folder Properties - Propriétés du &dossier - - - - Ctrl+Q - Ctrl+Q - - - - Ctrl+Shift+N - Ctrl+Maj+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - C&reate New - Créer un &nouveau - - - - &Sorting - Tri des élément&s - - - - Main Toolbar - Barre d'outils principale - - - - Ctrl+W - Ctrl+W - - - - Alt+Return - Alt+Entrée - - - - Edit Bookmarks - Modifier les signets - - - - Open &Terminal - Ouvrir le &terminal - - - - F4 - F4 - - - - Open as &Root - Ouvrir en tant que &root - - - - &Edit Bookmarks - Modifi&er les signets - - - - &Folder - &Dossier - - - - &Blank File - &Fichier vide - - - - &Find Files - &Trouver des fichiers - - - - F3 - F3 - - - - &File - &Fichier - - - - &Help - &Aide - - - - - &View - &Afficher - - - - &Edit - &Éditer - - - - &Bookmarks - &Signets - - - - &Go - A&ller à - - - - &Tool - Ou&tils - - - - PCManFM::Application - - - Name of configuration profile - Nom du profil de configuration - - - - PROFILE - PROFIL - - - - Run PCManFM as a daemon - Lancer PCManFM comme démon - - - - Quit PCManFM - Quitter PCManFM - - - - Launch desktop manager - Lancer le gestionnaire de bureau - - - - Turn off desktop manager if it's running - Éteindre le gestionnaire de bureau s'il fonctionne - - - - Open desktop preference dialog on the page with the specified name - Ouvrir la boîte de dialogue des préférences du bureau sur la page avec le nom spécifié - - - - - NAME - NAME - - - - Set desktop wallpaper from image FILE - Définir le fond d'écran de bureau depuis l'image FILE - - - - FILE - FILE - - - - MODE - MODE - - - - Open Preferences dialog on the page with the specified name - Ouvrir la boîte de dialogue des préférences sur la page avec le nom spécifié - - - - Open new window - Ouvrir une nouvelle fenêtre - - - - Open Find Files utility - Ouvrir l'utilitaire de recherche de fichiers - - - - Set mode of desktop wallpaper. MODE=(%1) - Définir le mode du papier-peint. MODE=(%1) - - - - [FILE1, FILE2,...] - [FICHIER1, FICHIER2, etc.] - - - - Files or directories to open - Fichiers ou dossiers à ouvrir - - - - - Error - Erreur - - - - Terminal emulator is not set. - L'émulateur de terminal n'est pas défini. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Ouvrir dans le gestionnaire de fichiers - - - - Removable Disk - Disque amovible - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - WebDav sécurisé - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Remplir seulement avec la couleur d'arrière-plan - - - - Stretch to fill the entire screen - Étirer pour remplir l'écran entier - - - - Stretch to fit the screen - Étirer pour remplir l'écran - - - - Center on the screen - Centrer sur l’écran - - - - Tile the image to fill the entire screen - Faire une mosaïque avec l'image pour remplir l'écran entier - - - - Zoom the image to fill the entire screen - Zoomer l'image pour remplir l'écran - - - - Image Files - Fichiers image - - - - PCManFM::DesktopWindow - - - Trash (One item) - Corbeille (Un élément) - - - - Trash (%Ln items) - Corbeille (%Ln élément) - Corbeille (%Ln éléments) - - - - Trash (Empty) - Corbeille (Vide) - - - - Home - Accueil - - - - Computer - Ordinateur - - - - Network - Réseau - - - - Open - Ouvrir - - - - - Stic&k to Current Position - Res&ter à la position actuelle - - - - Empty Trash - Corbeille vide - - - - Hide Desktop Items - Cacher les items Desktop - - - - Desktop Preferences - Préférences du bureau - - - - PCManFM::FilterBar - - - Filter: - Filtre : - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Effacer le texte (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Instance Root - - - - Hide menu bar - Cacher la barre des menus - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Cela permet de masquer complètement la barre de menus, utilisez Ctrl + M pour la montrer à nouveau. - - - - Version: %1 - Version : %1 - - - - &Move to Trash - &Mettre à la corbeille - - - - &Delete - &Supprimer - - - - - Error - Erreur - - - - Switch user command is not set. - La commande de changement d’utilisateur n'est pas configurée. - - - - PCManFM::PreferencesDialog - - - Icon View - Vue en icônes - - - - Compact View - Vue compacte - - - - Thumbnail View - Vue en vignettes - - - - Detailed List View - Vue en liste détaillée - - - - PCManFM::TabPage - - - Error - Erreur - - - - Free space: %1 (Total: %2) - Espace libre: %1 (total : %2) - - - - %n item(s) - - %n élément - %n éléments - - - - - (%n hidden) - - (%n caché) - (%n cachés) - - - - - - - Link to - Lien vers - - - - %n item(s) selected - %n élément sélectionné - %n éléments sélectionnés - - - - PCManFM::View - - - Open in New T&ab - Ouvrir dans un nouvel ongle&t - - - - Open in New Win&dow - Ouvrir &dans une nouvelle fenêtre - - - - Open in Termina&l - Ouvrir dans &le terminal - - - - PreferencesDialog - - - Preferences - Préférences - - - - User Interface - Interface utilisateur - - - - Behavior - Comportement - - - - - Thumbnail - Vignette - - - - Volume - Volume - - - - Advanced - Avancé - - - - Select newly created files - Sélectionner les fichiers nouvellement créés - - - - Icons - Icônes - - - - Size of big icons: - Taille des grandes icônes : - - - - Size of small icons: - Taille des petites icônes : - - - - Size of thumbnails: - Taille des vignettes : - - - - Size of side pane icons: - Taille des icônes de panneau latéral : - - - - Icon theme: - Thème des icônes : - - - - Window - Fenêtre - - - - Default width of new windows: - Largeur par défaut des nouvelles fenêtres : - - - - Default height of new windows: - Hauteur par défaut des nouvelles fenêtres : - - - - Always show the tab bar - Toujours afficher la barre des onglets - - - - Show 'Close' buttons on tabs - Afficher le bouton « Fermer » sur les onglets - - - - Remember the size of the last closed window - Mémoriser la taille de la dernière fenêtre fermée - - - - Browsing - Navigation - - - - Open files with single click - Ouvrir les fichiers avec un simple clic - - - - Delay of auto-selection in single click mode (0 to disable) - Délai avant auto-sélection en mode simple click (0 pour désactiver) - - - - Default view mode: - Mode d'affichage par défaut : - - - - sec - s - - - - File Operations - Opérations sur les fichiers - - - - Confirm before deleting files - Confirmer avant de supprimer les fichiers - - - - Move deleted files to "trash bin" instead of erasing from disk. - Mettre les fichiers supprimés à la corbeille au lieu de les effacer du disque. - - - - Show thumbnails of files - Montrer les vignettes des fichiers - - - - Only show thumbnails for local files - Montrer les vignettes seulement pour les fichiers locaux - - - - Display - Affichage - - - - Bookmarks: - Marque-pages : - - - - Open in current tab - Ouvrir dans l'onglet courant - - - - Open in new tab - Ouvrir dans un nouvel onglet - - - - Open in new window - Ouvrir dans une nouvelle fenêtre - - - - Erase files on removable media instead of "trash can" creation - Effacer les fichiers sur des supports amovibles au lieu de les mettre dans la corbeille - - - - Confirm before moving files into "trash can" - Confirmer avant de déplacer des fichiers à la poubelle - - - - - - Requires application restart to take effect completely - Requiert le redémarrage de l'application pour prendre complètement effet - - - - Launch executable files without prompt - Lancer des fichiers exécutables sans invite - - - - - Used by Icon View - Utilisé lors de l'affichage par icônes - - - - - Used by Compact View and Detailed List View - Utilisé lors de l'affichage compact et détaillé - - - - - Used by Thumbnail View - Utilisé lors de l'affichage par vignettes - - - - User interface - Interface utilisateur - - - - Treat backup files as hidden - Cacher les fichiers de sauvegarde - - - - Always show full file names - Toujours montrer le nom complet des fichiers - - - - Show icons of hidden files shadowed - Montrer les icônes de fichiers cachés ombragées - - - - Minimum item margins in icon view: - Marge minimale entre items pour l'affichage par icônes : - - - - 3 px by default. - 3 px par défaut. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 px par défaut. -Un espace de 3 lignes est également prévu pour du texte. - - - - Lock - Verrouiller - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Lorsque la case est décochée, la barre d'onglet -ne sera affichée que s'il y a plus d'un onglet. - - - - Application restart is needed for changes to take effect. - Le redémarrage de l'application est nécessaire pour que les modifications prennent effet. - - - - Do not generate thumbnails for image files exceeding this size: - Ne pas générer de vignettes pour les fichiers image excédant cette taille : - - - - KB - Ko - - - - Needs ffmpegthumbnailer - Nécessite ffmpegthumbnailer - - - - Auto Mount - Monter automatiquement - - - - Mount mountable volumes automatically on program startup - Monter automatiquement les volumes au démarrage du programme - - - - Mount removable media automatically when they are inserted - Monter automatiquement les médias amovibles lorsqu'ils sont insérés - - - - Show available options for removable media when they are inserted - Montrer les options disponibles pour les médias amovibles lorsqu'ils sont insérés - - - - When removable medium unmounted: - Lorsque les médias amovibles sont démontés : - - - - Close &tab containing removable medium - &Fermer les onglets contenant un média démontable - - - - Chan&ge folder in the tab to home folder - &Basculer l'onglet sur le répertoire de base de l'utilisateur - - - - Switch &user command: - Basculer en commande &utilisateur : - - - - Archiver in&tegration: - In&tégration de l'archiveur : - - - - Templates - Modèles - - - - Show only user defined templates in menu - Ne montrer que les modèles définis par l'utilisateur dans le menu - - - - Show only one template for each MIME type - Ne montrer qu'un modèle pour chaque type MIME - - - - Run default application after creation from template - Exécuter l'application par défaut, après la création depuis le modèle - - - - Programs - Programmes - - - - Terminal emulator: - Émulateur de terminal : - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Exemples : « xterm -e %s » pour le terminal ; « gksu %s » pour changer d’utilisateur. -%s = la ligne de commande que vous voulez exécuter avec le terminal ou su. - - - - Use SI decimal prefixes instead of IEC binary prefixes - Utiliser les préfixes de décimales du système international d'unités au lieu des préfixes binaires de l'IEC - - - - QObject - - - Renaming files... - Renommage des fichiers... - - - - Abort - Interrompre - - - - Warning - Attention - - - - Renaming is aborted. - Le renommage est interrompu. - - - - - Error - Erreur - - - - No file could be renamed. - le fichier ne peut pas être renommé. - - - - Some files could not be renamed. - Certains fichiers n'ont pu être renommés. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_gl.ts b/pcmanfm/translations/pcmanfm-qt_gl.ts deleted file mode 100644 index fa9e8f6..0000000 --- a/pcmanfm/translations/pcmanfm-qt_gl.ts +++ /dev/null @@ -1,1820 +0,0 @@ - - - - - AboutDialog - - - About - Sobre - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Un xestor de xanelas lixeiro - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Xestor de ficheiros PCManFM-Qt - -Dereitos de autoría (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Este programa é software libre; pode redistribuílo e/ou -modificalo baixo os termos da Licenza Pública Xeral de GNU -conforme o publicado pola Free Software Foundation; na súa versión 2 -da Licenza, ou (ao seu criterio) calquera versión posterior. - -Este programa é distribuído coa esperanza de que será de utilidade, -mais SEN NINGUNHA GARANTÍA; sen sequera a garantía implícita de -COMERCIALIZACIÓN ou IDONEIDADE PARA UN PROPÓSITO PARTICULAR. Vexa a -Licenza Pública Xeral de GNU para máis detalles. - -Vostede debeu recibir unha copia da Licenza Pública Xeral de GNU -xunto con este programa; se non foi así, escriba á Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programación: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - Authors - Autores - - - - License - Licenza - - - - AutoRunDialog - - - Removable medium is inserted - Foi inserido un dispositivo removíbel - - - - <b>Removable medium is inserted</b> - <b>Foi inserido un dispositivo removíbel</b> - - - - Type of medium: - Tipo de dispositivo: - - - - Detecting... - Detectando... - - - - Please select the action you want to perform: - Escolla a acción que quere realizar: - - - - BulkRenameDialog - - - Bulk Rename - Renomeado masivo - - - - # will be replaced by numbers starting with: - Substituirase # con números, comezando polo: - - - - Rename selected files to: - Renomear os ficheiros seleccionados a: - - - - Name# - Nome# - - - - ConnectServerDialog - - - Connect to remote server - Conectar a un servidor remoto - - - - Anonymous &login - Inicio de &sesión anónimo - - - - Login as &user: - Iniciar sesión como o &usuario: - - - - Specify remote folder to connect - Especificar o cartafol remoto a conectar - - - - Type: - Tipo: - - - - Port: - Porto: - - - - Path: - Ruta: - - - - Host: - Servidor: - - - - DesktopFolder - - - Form - Formulario - - - - Desktop - Escritorio - - - - Desktop folder: - Cartafol de escritorio: - - - - Image file - Ficheiro de imaxe - - - - Folder path - Ruta ao cartafol - - - - &Browse - &Examinar - - - - DesktopPreferencesDialog - - - Desktop Preferences - Preferencias do escritorio - - - - Background - Fondo - - - - Wallpaper mode: - Modo do fondo de escritorio: - - - - Wallpaper image file: - Ficheiro de imaxe do fondo de escritorio: - - - - Select background color: - Escoller a cor do fondo: - - - - Image file - Ficheiro de imaxe - - - - Image file path - Ruta ao ficheiro de imaxe - - - - &Browse - &Examinar - - - - Icons - Iconas - - - - Icon size: - Tamaño da icona: - - - - Label Text - Texto da etiqueta - - - - Select shadow color: - Escoller a cor da sombra: - - - - Select font: - Escoller o tipo de letra: - - - - General - Xeral - - - - Select text color: - Escoller a cor do texto: - - - - Spacing - Espazado - - - - Minimum item margins: - Marxes mínimos dos elementos: - - - - 3 px by default. - 3 px por omisión. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 px por omisión. -Tamén se reserva espazo para 3 liñas de texto. - - - - Lock - Bloquear - - - - Slide Show - Diaporama - - - - Enable Slide Show - Activar o diaporama - - - - Wallpaper image folder: - Cartafol de imaxes de fondo de pantalla: - - - - Browse - Examinar - - - - hour(s) - hora(s) - - - - and - e - - - - Intervals less than 5min will be ignored - Ignóranse os intervalos de menos de 5min - - - - Interval: - Intervalo: - - - - minute(s) - minuto(s) - - - - Wallpaper folder - Cartafol de fondos de pantalla - - - - Randomize the slide show - Pasar ao chou o diaporama - - - - Visible Shortcuts - Atallos visíbeis - - - - Home - Inicio - - - - Trash - Lixo - - - - Computer - Computador - - - - Network - Rede - - - - Window Manager - Xestor de xanelas - - - - Show menus provided by window managers when desktop is clicked - Amosar os menús fornecidos polos xestores de xanelas cando se preme no escritorio - - - - Advanced - Avanzado - - - - MainWindow - - - File Manager - Xestor de ficheiros - - - - Go Up - Subir - - - - Alt+Up - Alt+Frecha arriba - - - - Alt+Home - Alt+Inicio - - - - Reload - Cargar de novo - - - - F5 - F5 - - - - &Toolbars - Barras de ferramen&tas - - - - Path &Bar - &Barra de rutas - - - - &Filtering - &Filtrado - - - - &Home - Cartafol &persoal - - - - &Reload - &Recargar - - - - Go - Ir a - - - - Quit - Saír - - - - &About - &Sobre - - - - New Window - Nova xanela - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Amosar a&gochados - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Computador - - - - &Trash - &Lixo - - - - &Network - &Rede - - - - &Desktop - &Escritorio - - - - &Add to Bookmarks - En&gadir aos marcadores - - - - &Applications - &Aplicativos - - - - Ctrl+X - Ctrl-X - - - - &Copy - &Copiar - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Pegar - - - - Ctrl+V - Ctrl+V - - - - Select &All - Seleccionar &todo - - - - Pr&eferences - Pre&ferencias - - - - &Ascending - &Ascendente - - - - &Descending - &Descendente - - - - &By File Name - Polo &nome de ficheiro - - - - By &Modification Time - Pola data de &modificación - - - - By File &Type - Polo &tipo de ficheiro - - - - By &Owner - Polo &propietario - - - - &Folder First - Primeiro os &cartafoles - - - - &Preserve sorting for this folder - Conservar a &ordenación para este cartafol - - - - &Invert Selection - &Inverter a selección - - - - &Delete - &Eliminar - - - - &Rename - &Renomear - - - - &Case Sensitive - Distinguir maiús&culas de minúsculas - - - - By File &Size - Polo &tamaño do ficheiro - - - - &Close Window - &Pechar a xanela - - - - &Show/Focus Filter Bar - Amo&sar/Enfocar a barra de filtros - - - - Show Filter Bar - Amosar a barra de filtros - - - - Ctrl+I - Ctrl+I - - - - S&plit View - Di&vidir a vista - - - - Split View - Dividir a vista - - - - F6 - F6 - - - - &Copy Full Path - &Copiar a ruta completa - - - - Ctrl+Shift+C - Ctrl+Maiús+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Limpar todos os filtros - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Pechar as la&pelas anteriores - - - - Close &next tabs - Pechar as lapelas segui&ntes - - - - &Preserve Settings for This Folder - Conservar os &axustes para este cartafol - - - - Connect to &Server - Conectar ao &servidor - - - - &Location - &Localización - - - - &Path Buttons - Botóns de &ruta - - - - &Bulk Rename - Renomeado &masivo - - - - Bulk Rename - Renomeado masivo - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Pechar as &outras lapelas - - - - Permanent &filter bar - Barra permanente de &filtros - - - - &Menu bar - Barra de &menú - - - - Menu bar - Barra de menú - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menú - - - - Ctrl+A - Ctrl+A - - - - Go &Up - S&ubir - - - - &New Window - &Nova xanela - - - - &Icon View - Vista de &iconas - - - - &Compact View - Vista &compacta - - - - &Detailed List - Vista &detallada - - - - &Thumbnail View - Vista de &miniaturas - - - - Cu&t - Cor&tar - - - - New &Tab - Nova &lapela - - - - New Tab - Nova lapela - - - - Ctrl+T - Ctrl+T - - - - Go &Back - A&trás - - - - Go Back - Ir cara atrás - - - - Alt+Left - Alt+Esquerda - - - - Go &Forward - Adian&te - - - - Go Forward - Ir cara adiante - - - - Alt+Right - Alt+Dereita - - - - Del - Supr - - - - F2 - F2 - - - - C&lose Tab - &Pechar a lapela - - - - File &Properties - &Propiedades do ficheiro - - - - &Folder Properties - Propiedades do &cartafol - - - - Ctrl+Q - Ctrl+Q - - - - Ctrl+Shift+N - Ctrl+Maiús+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - C&reate New - C&rear novo - - - - &Sorting - &Ordenación - - - - Main Toolbar - Barra de ferramentas principal - - - - Ctrl+W - Ctrl+W - - - - Alt+Return - Alt+Intro - - - - Edit Bookmarks - Editar os marcadores - - - - Open &Terminal - Abrir un &terminal - - - - F4 - F4 - - - - Open as &Root - Abrir como &root - - - - &Edit Bookmarks - &Editar marcadores - - - - &Folder - &Cartafol - - - - &Blank File - Ficheiro ba&leiro - - - - &Find Files - &Atopar ficheiros - - - - F3 - F3 - - - - &File - &Ficheiro - - - - &Help - &Axuda - - - - - &View - &Ver - - - - &Edit - &Editar - - - - &Bookmarks - &Marcadores - - - - &Go - &Ir para - - - - &Tool - &Ferramenta - - - - PCManFM::Application - - - Name of configuration profile - Nome do perfil de configuración - - - - PROFILE - PERFIL - - - - Run PCManFM as a daemon - Executar PCManFM como un servizo - - - - Quit PCManFM - Saír do PCManFM - - - - Launch desktop manager - Iniciar o xestor de escritorio - - - - Turn off desktop manager if it's running - Apagar o xestor de escritorio se está en execución - - - - Open desktop preference dialog on the page with the specified name - Abrir o diálogo de preferencias do escritorio na páxina co nome especificado - - - - - NAME - NOME - - - - Set desktop wallpaper from image FILE - Estabelecer o fondo de pantalla do escritorio dende o FICHEIRO de imaxe - - - - FILE - FICHEIRO - - - - MODE - MODO - - - - Open Preferences dialog on the page with the specified name - Abrir o diálogo de preferencias do escritorio na páxina co nome especificado - - - - Open new window - Abrir unha nova xanela - - - - Open Find Files utility - Abrir a utilidade para atopar ficheiros - - - - Set mode of desktop wallpaper. MODE=(%1) - Estabelecer o modo do fondo de pantalla do escritorio. MODO=(%1) - - - - [FILE1, FILE2,...] - [FICHEIRO1, FICHEIRO2,...] - - - - Files or directories to open - Ficheiros ou directorios a abrir - - - - - Error - Erro - - - - Terminal emulator is not set. - Non foi estabelecido o emulador de terminal. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Abrir no xestor de ficheiros - - - - Removable Disk - Disco extraíbel - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - WebDav seguro - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Encher só coa cor de fondo - - - - Stretch to fill the entire screen - Estirar para encher a pantalla completa - - - - Stretch to fit the screen - Estirar para adaptar á pantalla - - - - Center on the screen - Centrar na pantalla - - - - Tile the image to fill the entire screen - Facer mosaico coa imaxe para encher a pantalla completa - - - - Zoom the image to fill the entire screen - Ampliar a imaxe para encher a pantalla completa - - - - Image Files - Ficheiros de imaxe - - - - PCManFM::DesktopWindow - - - Trash (One item) - Lixo (un elemento) - - - - Trash (%Ln items) - Lixo (%Ln elemento) - Lixo (%Ln elementos) - - - - Trash (Empty) - Lixo (baleiro) - - - - Home - Cartafol persoal - - - - Computer - Computador - - - - Network - Rede - - - - Open - Abrir - - - - - Stic&k to Current Position - &Permanente na posición actual - - - - Empty Trash - Baleirar o lixo - - - - Hide Desktop Items - Agachar os elementos do escritorio - - - - Desktop Preferences - Preferencias do escritorio - - - - PCManFM::FilterBar - - - Filter: - Filtro: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Limpar o texto (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Instancia de root - - - - Hide menu bar - Agachar a barra de menú - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Agacha completamente a barra de menú; use Ctrl+M para volver amosala. - - - - Version: %1 - Versión: %1 - - - - &Move to Trash - &Mover ao lixo - - - - &Delete - &Eliminar - - - - - Error - Erro - - - - Switch user command is not set. - A orde para cambiar de usuario non está configurada. - - - - PCManFM::PreferencesDialog - - - Icon View - Vista en Iconas - - - - Compact View - Vista compacta - - - - Thumbnail View - Vista de miniaturas - - - - Detailed List View - Ver como lista detallada - - - - PCManFM::TabPage - - - Error - Erro - - - - Free space: %1 (Total: %2) - Espazo libre: %1 (Total: %2) - - - - %n item(s) - - %n elemento - %n elementos - - - - - (%n hidden) - - (%n agachado) - (%n agachados) - - - - - - - Link to - Ligar con - - - - %n item(s) selected - - %n elemento seleccionado - %n elementos seleccionados - - - - - PCManFM::View - - - Open in New T&ab - Abrir nunha nova l&apela - - - - Open in New Win&dow - Abrir nunha nova xa&nela - - - - Open in Termina&l - Abrir nun termina&l - - - - PreferencesDialog - - - Preferences - Preferencias - - - - User Interface - Interface de usuario - - - - Behavior - Comportamento - - - - - Thumbnail - Miniatura - - - - Volume - Volume - - - - Advanced - Avanzado - - - - Select newly created files - Seleccionar os ficheiros creados recentemente - - - - Icons - Iconas - - - - Size of big icons: - Tamaño das iconas grandes: - - - - Size of small icons: - Tamaño das iconas pequenas: - - - - Size of thumbnails: - Tamaño das miniaturas: - - - - Size of side pane icons: - Tamaño das iconas do panel lateral: - - - - Icon theme: - Tema de iconas: - - - - Window - Xanela - - - - Default width of new windows: - Largo predeterminado para as novas xanelas: - - - - Default height of new windows: - Alto predeterminado para as novas xanelas: - - - - Always show the tab bar - Amosar sempre a barra de lapelas - - - - Show 'Close' buttons on tabs - Amosar os botóns de «Pechar» nas lapelas - - - - Remember the size of the last closed window - Lembrar o tamaño da última xanela pechada - - - - Browsing - Examinando - - - - Open files with single click - Abrir os ficheiros cun só clic - - - - Delay of auto-selection in single click mode (0 to disable) - Demora na selección automática no modo de un só clic (0 para desactivar) - - - - Default view mode: - Modo de vista predeterminado: - - - - sec - seg - - - - File Operations - Operacións de ficheiro - - - - Confirm before deleting files - Pedir confirmación antes de eliminar os ficheiros - - - - Move deleted files to "trash bin" instead of erasing from disk. - Mover os ficheiros eliminados ao «cesto do lixo» no canto de borralos do disco. - - - - Show thumbnails of files - Amosar miniaturas dos ficheiros - - - - Only show thumbnails for local files - Amosar só as miniaturas dos ficheiros locais - - - - Display - Amosar - - - - Bookmarks: - Marcadores: - - - - Open in current tab - Abrir na lapela actual - - - - Open in new tab - Abrir nunha lapela nova - - - - Open in new window - Abrir nunha xanela nova - - - - Erase files on removable media instead of "trash can" creation - Borrar os ficheiros de medios removíbeis no canto de crear un «cesto do lixo» - - - - Confirm before moving files into "trash can" - Pedir confirmación antes de mover os ficheiros ao «cesto do lixo» - - - - - - Requires application restart to take effect completely - Require reiniciar o aplicativo para obter o efecto completo - - - - Launch executable files without prompt - Iniciar os ficheiros executábeis sen preguntar - - - - - Used by Icon View - Usado pola vista de iconas - - - - - Used by Compact View and Detailed List View - Usado pola vista compacta e a vista de lista detallada - - - - - Used by Thumbnail View - Usado pola vista de miniaturas - - - - User interface - Interface de usuario - - - - Treat backup files as hidden - Tratar os ficheiros de copia de seguranza como agachados - - - - Always show full file names - Amosar sempre os nomes de ficheiro completos - - - - Show icons of hidden files shadowed - Amosar sombreadas as iconas dos ficheiros agachados - - - - Minimum item margins in icon view: - Marxes mínimos do elemento na vista de iconas: - - - - 3 px by default. - 3 px por omisión. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 px por omisión. -Tamén se reserva espazo para 3 liñas de texto. - - - - Lock - Bloquear - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Se está desmarcada, a barra de lapelas -amosase só se hai máis dunha lapela. - - - - Application restart is needed for changes to take effect. - É necesario reiniciar o aplicativo para que os cambios teñan efecto. - - - - Do not generate thumbnails for image files exceeding this size: - Non xerar miniaturas dos ficheiros de imaxe se o tamaño excede de: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Necesita «ffmpegthumbnailer» - - - - Auto Mount - Montaxe automático - - - - Mount mountable volumes automatically on program startup - Montar os volumes montábeis automaticamente no arrinque do programa - - - - Mount removable media automatically when they are inserted - Montar os dispositivos removíbeis automaticamente ao seren inseridos - - - - Show available options for removable media when they are inserted - Amosar as opción para os dispositivos removíbeis ao seren inseridos - - - - When removable medium unmounted: - Cando se desconecta un medio removíbel: - - - - Close &tab containing removable medium - Pechar a &lapela do medio removíbel - - - - Chan&ge folder in the tab to home folder - Cambiar o cartafol na lapela para o cartafol &persoal - - - - Switch &user command: - Orde para cambiar de &usuario: - - - - Archiver in&tegration: - In&tegración do arquivador: - - - - Templates - Modelos - - - - Show only user defined templates in menu - Amosar no menú só os modelos do usuario - - - - Show only one template for each MIME type - Amosar só un modelo para cada tipo MIME - - - - Run default application after creation from template - Executar o aplicativo predeterminado trala creación a partires dun modelo - - - - Programs - Programas - - - - Terminal emulator: - Emulador de terminal: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Exemplos: «xterm -e %s» para o terminal ou «gksu %s» para cambiar de usuario. -%s = á liña de ordes que quere executar co terminal ou como superusario. - - - - Use SI decimal prefixes instead of IEC binary prefixes - Utilizar prefixos decimais SI no canto de prefixos binarios IEC - - - - QObject - - - Renaming files... - Renomeando ficheiros... - - - - Abort - Interromper - - - - Warning - Aviso - - - - Renaming is aborted. - Interrompeuse o renomeado. - - - - - Error - Erro - - - - No file could be renamed. - Non foi posíbel renomear ningún ficheiro. - - - - Some files could not be renamed. - Non foi posíbel renomear algúns ficheiros. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_hu.desktop b/pcmanfm/translations/pcmanfm-qt_hu.desktop deleted file mode 100644 index 7a90797..0000000 --- a/pcmanfm/translations/pcmanfm-qt_hu.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[hu]=PCManFM-Qt fájlkezelő -GenericName[hu]=Fájlkezelő -Comment[hu]=Fájlok böngészése és karbantartása diff --git a/pcmanfm/translations/pcmanfm-qt_hu.ts b/pcmanfm/translations/pcmanfm-qt_hu.ts deleted file mode 100644 index 0d29e8a..0000000 --- a/pcmanfm/translations/pcmanfm-qt_hu.ts +++ /dev/null @@ -1,1817 +0,0 @@ - - - - - AboutDialog - - - About - Rólunk - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - - Lightweight file manager - Könnyed fájlkezelő - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https ://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programozó: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCMan File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Ez egy szabad szoftver, ami a Free Software Foundation által -megjelentetett GNU General Public Licensz 2-es, vagy későbbi -verzióiban felsorolt feltételekkel szabadon terjeszthető, módosítható. - -A megjelentetők remélik, hogy a program hasznos, viszont -SEMMILYEN GARANCIÁT NEM VÁLLALNAK, beleértve áttételesen az -ÜZLETI célú hasznosítására, továbbá a SPECIÁLIS CÉLRA TÖRTÉNŐ -HASZNÁLHATÓSÁGÁRA sem. További részletek a GNU General Public Licensz soraiban. - -Ezzel a programmal együtt meg kellett kapnia a GNU General -Public Licensz másolatát is, ha nem, akkor írjon a Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA címre. - - - - Authors - Szerzők - - - - License - Licensz - - - - AutoRunDialog - - - Removable medium is inserted - Új cserélhető adathordozó észlelve - - - - <b>Removable medium is inserted</b> - <b>Új hordozható adathordozó észlelve</b> - - - - Type of medium: - Adathordozó fajtája: - - - - Detecting... - Észlelés... - - - - Please select the action you want to perform: - Válassz egy lehetőséget: - - - - BulkRenameDialog - - - Bulk Rename - Csoportos átnevezés - - - - # will be replaced by numbers starting with: - - - - - Rename selected files to: - - - - - Name# - - - - - ConnectServerDialog - - - Connect to remote server - Csatlakozás távoli szerverhez - - - - Anonymous &login - Névtelen beje&lentkezés - - - - Login as &user: - Bejelentkezés min&t: - - - - Specify remote folder to connect - tévoli mappa meghatározása - - - - Type: - Típus: - - - - Port: - - - - - Path: - Útvonal: - - - - Host: - - - - - DesktopFolder - - - Form - Űrlap - - - - Desktop - Asztal - - - - Desktop folder: - Asztal mappa: - - - - Image file - Képfájl - - - - Folder path - Könyvtár útvonal - - - - &Browse - &Böngészés - - - - DesktopPreferencesDialog - - - Desktop Preferences - Asztal tulajdonságok - - - - Background - Háttérkép - - - - Wallpaper mode: - Tapéta mód: - - - - Wallpaper image file: - Tapéta képfájl: - - - - Select background color: - Háttérszín: - - - - Image file - Képfájl - - - - Image file path - Képfájl útvonala - - - - &Browse - &Böngészés - - - - Icons - Ikonok - - - - Icon size: - Ikonméret: - - - - Label Text - Felirat - - - - Select shadow color: - Árnyékszín: - - - - Select font: - Betűtípus: - - - - General - - - - - Select text color: - - - - - Spacing - Térköz - - - - Minimum item margins: - Legkisebb margók: - - - - 3 px by default. - 3 pixel alapértelmezetten. - - - - - px - pixel - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 pixel alapértelmezetten. -Üres hely lefoglalva a szöveg 3 sorához. - - - - Lock - Zárol - - - - Slide Show - Diavetítés - - - - Enable Slide Show - Diavetítés engedélyezése - - - - Wallpaper image folder: - Tapéták mappája: - - - - Browse - Böngészés - - - - hour(s) - óra - - - - and - és - - - - Intervals less than 5min will be ignored - Időköz 5 perc alatti nincs figyelembevéve - - - - Interval: - Időköz: - - - - minute(s) - perc - - - - Wallpaper folder - Tapéta mappa - - - - Randomize the slide show - Céletlenszerű diavetítés - - - - Visible Shortcuts - - - - - Home - Saját könyvtár - - - - Trash - - - - - Computer - Számítógép - - - - Network - Hálózat - - - - Window Manager - Ablakkezelő - - - - Show menus provided by window managers when desktop is clicked - Asztalra kattintva az ablakkezelő menüje látszik - - - - Advanced - Haladó - - - - MainWindow - - - File Manager - Fájlkezelő - - - - &Toolbars - Esz&közsávok - - - - Path &Bar - Út &Sáv - - - - &Filtering - - - - - Go &Up - &Föl - - - - Go Up - Föl - - - - Alt+Up - Alt+Föl - - - - &Home - &Saját könyvtár - - - - Alt+Home - Alt+Home - - - - &Reload - Új&ratölt - - - - F5 - F5 - - - - Go - Ugrás - - - - Quit - Kilép - - - - &About - Ról&am - - - - &New Window - Ú&J ablak - - - - New Window - ÚJ ablak - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - &Rejtettek - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Számítógép - - - - &Trash - &Kuka - - - - &Network - &Hálózat - - - - &Desktop - A&sztal - - - - &Add to Bookmarks - &Könyvjelzőkhöz - - - - &Applications - &Alkalmazások - - - - Reload - Újratölt - - - - &Icon View - &Ikonnézet - - - - &Compact View - &Tömör nézet - - - - &Detailed List - &Teljes lista - - - - &Thumbnail View - &Bélyegképek - - - - Cu&t - &Kivág - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Másol - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Beilleszt - - - - Ctrl+V - Ctrl+V - - - - Select &All - &Mindet - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - B&eállítások - - - - &Ascending - &Növekvő - - - - &Descending - &Csökkenő - - - - &By File Name - &Fájlnév szerint - - - - By &Modification Time - &Módosítási idő szerint - - - - By File &Type - Fájl&típus szerint - - - - By &Owner - &Tulajdonos szerint - - - - &Folder First - Ma&ppák elől - - - - &Preserve sorting for this folder - Ezen mappa so&rbarendezettsége marad - - - - &Case Sensitive - Na&gybetűérzékeny - - - - By File &Size - Fá&jlméret szerint - - - - &Close Window - A&blak bezárása - - - - Ctrl+Q - - - - - &Folder - &Mappa - - - - &Blank File - &Üres fájl - - - - &Show/Focus Filter Bar - - - - - Show Filter Bar - - - - - Ctrl+I - - - - - S&plit View - - - - - Split View - - - - - F6 - F6 - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - - - - - &Clear All Filters - - - - - Ctrl+Shift+K - - - - - Close &previous tabs - Előző la&pok bezárása - - - - Close &next tabs - &Következő lapok bezárása - - - - &Preserve Settings for This Folder - Ezen ma&ppa beállítása megmarad - - - - Connect to &Server - &Szerverhez csatlakozás - - - - &Location - He&ly - - - - &Path Buttons - Út &gombok - - - - &Bulk Rename - - - - - Bulk Rename - Csoportos átnevezés - - - - Ctrl+F2 - - - - - Close &other tabs - Többi lap bezárása - - - - Permanent &filter bar - - - - - &Menu bar - &Menüsáv - - - - Menu bar - Menüsáv - - - - Ctrl+M - - - - - - Menu - Menü - - - - New &Tab - Új &fül - - - - New Tab - Új fül - - - - Ctrl+T - Ctrl+T - - - - Go &Back - &Vissza - - - - Go Back - Vissza - - - - Alt+Left - Alt+Bal - - - - Go &Forward - &Előre - - - - Go Forward - Előre - - - - Alt+Right - Alt+Jobb - - - - &Invert Selection - K&ijelölés megfordítás - - - - &Delete - &Töröl - - - - Del - Del - - - - &Rename - &Átnevez - - - - F2 - F2 - - - - C&lose Tab - Fü&l bezárása - - - - Ctrl+W - Ctrl+W - - - - File &Properties - &Fájljellemzők - - - - Alt+Return - Alt+Return - - - - &Folder Properties - &Mappajellemzők - - - - Edit Bookmarks - Könyvjelzőkezelés - - - - Open &Terminal - &Terminál - - - - F4 - F4 - - - - Open as &Root - &Rendszergazdai megnyitás - - - - &Edit Bookmarks - Könyvj&elzőkezelés - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - &Fájlkeresés - - - - F3 - F3 - - - - &File - &Fájl - - - - C&reate New - Ú&j létrehozás - - - - &Help - &Súgó - - - - - &View - &Nézet - - - - &Sorting - Rendezé&s - - - - &Edit - Sz&erkeszt - - - - &Bookmarks - &Könyvjelzők - - - - &Go - U&grás - - - - &Tool - &Eszközök - - - - Main Toolbar - Eszközsáv - - - - PCManFM::Application - - - Name of configuration profile - Beállítófájl neve - - - - PROFILE - PROFIL - - - - Run PCManFM as a daemon - PCManFM daemon-ként - - - - Quit PCManFM - PCManFM elhagyása - - - - Launch desktop manager - Asztalkezelő indítás - - - - Turn off desktop manager if it's running - Futó asztalkezelő lekapcsolása - - - - Open desktop preference dialog on the page with the specified name - Asztalbeállító nyitása a megadott nevű lapon - - - - - NAME - NÉV - - - - Open new window - Új ablak nyitás - - - - Open Find Files utility - Fájlkereső indítása - - - - Set desktop wallpaper from image FILE - A megadott FILE használata tapétaként - - - - FILE - FÁJL - - - - MODE - MÓD - - - - Set mode of desktop wallpaper. MODE=(%1) - Tapéta mód. MODE=(%1) - - - - Open Preferences dialog on the page with the specified name - Beállító nyitása a megadott nevű lapon - - - - Files or directories to open - Megnyitandó fájlok vagy mappák - - - - [FILE1, FILE2,...] - [FÁJL1, FÁJL2,...] - - - - - Error - Hiba - - - - Terminal emulator is not set. - A terminál emulátor beállítatlan. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Megnyitás fájlkezelővel - - - - Removable Disk - Cserélhető lemez - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Kitöltés csak háttérszínnel - - - - Stretch to fill the entire screen - Kitöltve - - - - Stretch to fit the screen - Nyújtva - - - - Center on the screen - Középre - - - - Tile the image to fill the entire screen - Csempézve - - - - Zoom the image to fill the entire screen - Kép nagyítása a képernyő kitöltéséhez - - - - Image Files - Képfájlok - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - - - - - - - Trash (Empty) - - - - - Home - Saját könyvtár - - - - Computer - Számítógép - - - - Network - Hálózat - - - - Open - - - - - - Stic&k to Current Position - &Pozíció megjegyzése - - - - Empty Trash - - - - - Hide Desktop Items - - - - - Desktop Preferences - Asztalbeállítások - - - - PCManFM::FilterBar - - - Filter: - - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Szövegtörlés (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - Menüsáv elrejtése - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - A menüsáv teljesen eltűnik, a Ctrl+M -el újra látható. - - - - Version: %1 - Verzió: %1 - - - - &Move to Trash - &Kukába - - - - &Delete - &Töröl - - - - - Error - Hiba - - - - Switch user command is not set. - Felhasználóváltó parancs határozatlan. - - - - PCManFM::PreferencesDialog - - - Icon View - Ikon - - - - Compact View - Tömör nézet - - - - Thumbnail View - Bélyegkép - - - - Detailed List View - Részletes - - - - PCManFM::TabPage - - - Error - Hiba - - - - Free space: %1 (Total: %2) - Szabad: %1 (Összes: %2) - - - - %n item(s) - - %n elem - - - - - (%n hidden) - - (%n rejtett) - - - - - - - Link to - - - - - %n item(s) selected - - %n elem kiválasztva - - - - - PCManFM::View - - - Open in New T&ab - Nyi&tás új fülön - - - - Open in New Win&dow - Nyitás új a&blakban - - - - Open in Termina&l - Nyitás terminá&lban - - - - PreferencesDialog - - - Preferences - Beállítások - - - - User Interface - Felhasználói felület - - - - Behavior - Viselkedés - - - - - Thumbnail - Bélyegkép - - - - Volume - Adathordozó - - - - Advanced - Haladó - - - - Select newly created files - - - - - Icons - Ikonok - - - - Size of big icons: - Nagy méret: - - - - Size of small icons: - Kicsi méret: - - - - Size of thumbnails: - Bélyegképméret: - - - - Size of side pane icons: - Oldalsáv ikonméret: - - - - Icon theme: - Ikon téma: - - - - Window - Ablak - - - - Always show the tab bar - Fülsáv mindig látható - - - - Show 'Close' buttons on tabs - 'Bezár'gomb a fülön látszik - - - - Remember the size of the last closed window - Utoljára bezárt ablak méretének megjegyzése - - - - Default width of new windows: - Új ablak alapszélessége: - - - - Default height of new windows: - Új ablak alapmagassága: - - - - Browsing - Böngészés - - - - Open files with single click - Megnyitás egy kattintásra - - - - Delay of auto-selection in single click mode (0 to disable) - Egykattintásos megnyitási módban az automata kiválasztás késleltetése (0 tilt) - - - - Default view mode: - Alapértelmezett nézetmód: - - - - sec - mp - - - - File Operations - Fájlműveletek - - - - Confirm before deleting files - Törlés előtt megerősítés - - - - Move deleted files to "trash bin" instead of erasing from disk. - Törölt fájlok lemezről törlés helyett a kukába mennek. - - - - Show thumbnails of files - Fájloknál - - - - Only show thumbnails for local files - Csak helyi fájloknál - - - - Display - Képernyő - - - - Bookmarks: - Könyvjelzők: - - - - Open in current tab - Megnyitás itt - - - - Open in new tab - Megnyitás új fülön - - - - Open in new window - Megnyitás új ablakban - - - - Erase files on removable media instead of "trash can" creation - Cserélhető adathordozón a fájlok törlése "kukázás" helyett - - - - Confirm before moving files into "trash can" - Megerősítés "kukázás" előtt - - - - - - Requires application restart to take effect completely - - - - - Launch executable files without prompt - - - - - - Used by Icon View - Ikonnézethez - - - - - Used by Compact View and Detailed List View - Tömör és részletes lista nézethez - - - - - Used by Thumbnail View - Bélyegkép nézethez - - - - User interface - Kezelőfelület - - - - Treat backup files as hidden - Biztonsági mentett fájlokat rejtettként kezel - - - - Always show full file names - Mindig részletes fájlnevek - - - - Show icons of hidden files shadowed - Rejtett fájlok ikonjai árnyékoltak - - - - Minimum item margins in icon view: - Ikon nézet legkisebb térköze: - - - - 3 px by default. - alap: 3 pixel. - - - - - px - - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - Az alap 3 pixelt. -Egy szóköz lefoglalva 3 szöveges sorhoz. - - - - Lock - Zárol - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Ha nincs bejelölve, a lapsáv csak akkor látszik, -ha egynél több lap van. - - - - Application restart is needed for changes to take effect. - - - - - Do not generate thumbnails for image files exceeding this size: - Nincs kép, ha a fájl ennél nagyobb: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Kell: ffmpegthumbnailer - - - - Auto Mount - Automata csatolás - - - - Mount mountable volumes automatically on program startup - Csatolható eszközök automata csatolása induláskor - - - - Mount removable media automatically when they are inserted - Cserélhető adathordozók automata csatolása behelyezéskor - - - - Show available options for removable media when they are inserted - Cserélhető adathordozók behelyezéskor választás felkínálása - - - - When removable medium unmounted: - Cserélhető adathordozó lecsatolásakor: - - - - Close &tab containing removable medium - Cserélhe&tő adathordozó fülének bezárása - - - - Chan&ge folder in the tab to home folder - A &fül a saját mappát fogja mutatni - - - - Programs - Programok - - - - Terminal emulator: - Terminálemulátor: - - - - Switch &user command: - Fel&használó váltási parancs: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Példa: "xterm -e %s" terminálhoz "gksu %s" felhasználóváltáshoz. -%s = A parancs, mely terminálhoz, vagy rendszergazdakénti végrehajtáshoz kell. - - - - Archiver in&tegration: - Csomagoló beépí&tés: - - - - Templates - Társítások - - - - Show only user defined templates in menu - Menüben csak felhasználói társítások - - - - Show only one template for each MIME type - Minden MIME típushoz csak egy társítás látható - - - - Run default application after creation from template - Tásítás után az alapértelmezett alkalmazás fut - - - - Use SI decimal prefixes instead of IEC binary prefixes - IEC bináris helyett SI decimális prefix használata - - - - QObject - - - Renaming files... - - - - - Abort - - - - - Warning - - - - - Renaming is aborted. - - - - - - Error - Hiba - - - - No file could be renamed. - - - - - Some files could not be renamed. - - - - diff --git a/pcmanfm/translations/pcmanfm-qt_id.ts b/pcmanfm/translations/pcmanfm-qt_id.ts deleted file mode 100644 index 5012644..0000000 --- a/pcmanfm/translations/pcmanfm-qt_id.ts +++ /dev/null @@ -1,1818 +0,0 @@ - - - - - AboutDialog - - - About - Tentang - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Manajer berkas yang ringan - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Pemrogram: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Manajer Berkas PCManFM-Qt - -Hak cipta (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Program ini adalah perangkat lunak bebas; Anda dapat menyebarluaskannya -dan/atau memodifikasinya dibawah persyaratan Lisensi Publik Umum GNU -sebagaimana dipublikasikan oleh Free Software Foundation; baik versi 2 -dari lisensi atau (terserah pilihan Anda) versi setelahnya. - -Program ini didistribusikan dengan harapan akan berguna, tetapi -TANPA ADANYA JAMINAN; bahkan tanpa jaminan tersirat atas -KELAYAKAN UNTUK DIPERDAGANGKAN atau KESESUAIAN UNTUK TUJUAN TERTENTU. -Lihat Lisensi Publik Umum GNU untuk lebih jelasnya. - -Anda seharusnya sudah menerima salinan dari Lisensi Publik Umum GNU -bersama dengan program ini; jika tidak, kirimkan surat Anda ke -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. - - - - Authors - Pembuat - - - - License - Lisensi - - - - AutoRunDialog - - - Removable medium is inserted - Perangkat media dimasukkan - - - - <b>Removable medium is inserted</b> - <b>Perangkat media dimasukkan</b> - - - - Type of medium: - Tipe media: - - - - Detecting... - Mendeteksi... - - - - Please select the action you want to perform: - Silakan pilih tindakan yang ingin dilakukan: - - - - BulkRenameDialog - - - Bulk Rename - Ganti nama massal - - - - # will be replaced by numbers starting with: - # akan diganti dengan angka yang dimulai dengan: - - - - Rename selected files to: - Ganti nama berkas terpilih menjadi: - - - - Name# - Nama# - - - - ConnectServerDialog - - - Connect to remote server - Sambungkan ke server jarak jauh - - - - Anonymous &login - Masuk secara anonim - - - - Login as &user: - Masuk sebagai pengg&una: - - - - Specify remote folder to connect - Tentukan folder jarak jauh untuk disambungkan - - - - Type: - Tipe: - - - - Port: - Port: - - - - Path: - Jalur: - - - - Host: - Host: - - - - DesktopFolder - - - Form - Formulir - - - - Desktop - Desktop - - - - Desktop folder: - Folder desktop: - - - - Image file - Berkas gambar - - - - Folder path - Jalur folder - - - - &Browse - &Telusur - - - - DesktopPreferencesDialog - - - Desktop Preferences - Preferensi Desktop - - - - Background - Latar Belakang - - - - Wallpaper mode: - Mode wallpaper: - - - - Wallpaper image file: - Berkas gambar wallpaper: - - - - Select background color: - Pilih warna latar belakang: - - - - Image file - Berkas gambar - - - - Image file path - Jalur berkas gambar - - - - &Browse - &Telusur - - - - Icons - Ikon - - - - Icon size: - Ukuran ikon: - - - - Label Text - Teks Label - - - - Select shadow color: - Pilih warna bayangan: - - - - Select font: - Pilih fonta: - - - - General - Umum - - - - Select text color: - Pilih warna teks: - - - - Spacing - Jarak - - - - Minimum item margins: - Batas item minimum: - - - - 3 px by default. - 3 px secara default. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 px secara default. -Spasi juga disediakan untuk 3 baris teks. - - - - Lock - Kunci - - - - Slide Show - Tampilan Slide - - - - Enable Slide Show - Aktifkan Tampilan Slide - - - - Wallpaper image folder: - Folder gambar kertas dinding: - - - - Browse - Telusuri - - - - hour(s) - jam - - - - and - dan - - - - Intervals less than 5min will be ignored - Interval kurang dari 5 menit akan diabaikan - - - - Interval: - Interval: - - - - minute(s) - menit - - - - Wallpaper folder - Folder kertas dinding - - - - Randomize the slide show - Mengacak tampilan slide - - - - Visible Shortcuts - Pintasan yang Terlihat - - - - Home - Beranda - - - - Trash - Tempat Sampah - - - - Computer - Komputer - - - - Network - Jaringan - - - - Window Manager - Manajer Jendela - - - - Show menus provided by window managers when desktop is clicked - Tampilkan menu yang disediakan oleh manajer jendela saat desktop diklik - - - - Advanced - Lanjutan - - - - MainWindow - - - File Manager - Manajer Berkas - - - - &Toolbars - &Bilah alat - - - - Path &Bar - Bilah &Jalur - - - - &Filtering - &Filter - - - - Go &Up - Ke &Atas - - - - Go Up - Ke Atas - - - - Alt+Up - Alt+Up - - - - &Home - &Rumah - - - - Alt+Home - Alt+Home - - - - &Reload - &Muat Ulang - - - - F5 - F5 - - - - Go - Ke - - - - Quit - Keluar - - - - &About - &Tentang - - - - &New Window - Je&ndela Baru - - - - New Window - Jendela Baru - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Tampilkan yang Tersembunyi - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Komputer - - - - &Trash - &Tempat Sampah - - - - &Network - &Jaringan - - - - &Desktop - &Desktop - - - - &Add to Bookmarks - &Tambah ke Markah - - - - &Applications - &Aplikasi - - - - Reload - Muat Ulang - - - - &Icon View - Tampilan Ikon - - - - &Compact View - Tampilan Kompak - - - - &Detailed List - Daftar Terperinci - - - - &Thumbnail View - Tampilan Gambar Kecil - - - - Cu&t - Po&tong - - - - Ctrl+X - Ctrl+X - - - - &Copy - Salin - - - - Ctrl+C - Ctrl+C - - - - &Paste - Tempel - - - - Ctrl+V - Ctrl+V - - - - Select &All - Pilih Semua - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - Preferensi - - - - &Ascending - Menaik - - - - &Descending - Menurun - - - - &By File Name - Oleh Nama Berkas - - - - By &Modification Time - Oleh Tanggal Modifikasi - - - - By File &Type - Oleh &Tipe Berkas - - - - By &Owner - Oleh Pengguna - - - - &Folder First - &Folder Pertama - - - - &Preserve sorting for this folder - &Pertahankan urutan untuk folder ini - - - - &Case Sensitive - Sensitif Kata - - - - By File &Size - Oleh Ukuran Berkas - - - - &Close Window - Tutup Jendela - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - &Folder - - - - &Blank File - Berkas &Kosong - - - - &Show/Focus Filter Bar - &Tampil/Fokus Bilah Filter - - - - Show Filter Bar - Tampilkan Bilah Filter - - - - Ctrl+I - Ctrl+I - - - - S&plit View - Tampilan &Pisah - - - - Split View - Tampilan Pisah - - - - F6 - F6 - - - - &Copy Full Path - &Salin Path Lengkap - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Bersihkan Semua Filter - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Tutup tab &sebelumnya - - - - Close &next tabs - Tutup tab &berikutnya - - - - &Preserve Settings for This Folder - &Pertahankan Pengaturan untuk Folder Ini - - - - Connect to &Server - Sambungkan ke &Server - - - - &Location - &Lokasi - - - - &Path Buttons - Tombol &Jalur - - - - &Bulk Rename - &Ganti nama massal - - - - Bulk Rename - Ganti Nama Massal - - - - Ctrl+F2 - Ctrl+N - Ctrl+F2 - - - - Close &other tabs - Tutup tab &lainnya - - - - Permanent &filter bar - Bilah &filter permanen - - - - &Menu bar - Bilah &menu - - - - Menu bar - Bilah menu - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menu - - - - New &Tab - &Tab Baru - - - - New Tab - Tab Baru - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Kembali - - - - Go Back - Kembali - - - - Alt+Left - Alt+Left - - - - Go &Forward - Maju - - - - Go Forward - Maju - - - - Alt+Right - Alt+Right - - - - &Invert Selection - Balikkan Seleksi - - - - &Delete - Hapus - - - - Del - Del - - - - &Rename - Ubah nama - - - - F2 - F2 - - - - C&lose Tab - Tutup Tab - - - - Ctrl+W - Ctrl+W - - - - File &Properties - &Properti Berkas - - - - Alt+Return - Alt+Return - - - - &Folder Properties - Properti &Folder - - - - Edit Bookmarks - Sunting Markah - - - - Open &Terminal - Buka &Terminal - - - - F4 - F4 - - - - Open as &Root - Buka sebagai &Root - - - - &Edit Bookmarks - &Sunting Markah - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - Cari Berkas - - - - F3 - F3 - - - - &File - Berkas - - - - C&reate New - Buat Baru - - - - &Help - Bantuan - - - - - &View - Lihat - - - - &Sorting - &Pengurutan - - - - &Edit - Sunting - - - - &Bookmarks - Markah - - - - &Go - Ke - - - - &Tool - Alat - - - - Main Toolbar - Bilah Alat Utama - - - - PCManFM::Application - - - Name of configuration profile - Nama profil konfigurasi - - - - PROFILE - PROFIL - - - - Run PCManFM as a daemon - Jalankan PCManFM sebagai daemon - - - - Quit PCManFM - Keluar PCManFM - - - - Launch desktop manager - Luncurkan manajer desktop - - - - Turn off desktop manager if it's running - Matikan manajer desktop jika berjalan - - - - Open desktop preference dialog on the page with the specified name - Buka dialog preferensi desktop pada halaman dengan nama yang ditentukan - - - - - NAME - NAMA - - - - Open new window - Buka jendela baru - - - - Open Find Files utility - Buka utilitas Cari Berkas - - - - Set desktop wallpaper from image FILE - Atur kertas dinding desktop dari BERKAS gambar - - - - FILE - BERKAS - - - - MODE - MODE - - - - Set mode of desktop wallpaper. MODE=(%1) - Atur mode kertas dinding desktop. MODE=(%1) - - - - Open Preferences dialog on the page with the specified name - Buka dialog Preferensi pada halaman ini dengan nama yang ditentukan - - - - Files or directories to open - Berkas atau direktori untuk dibuka - - - - [FILE1, FILE2,...] - [BERKAS1, BERKAS2, ...] - - - - - Error - Kesalahan - - - - Terminal emulator is not set. - Emulator terminal belum diatur. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Buka di manajer berkas - - - - Removable Disk - Disk yang dapat dilepas - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - WebDav Aman - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Isi dengan warna latar saja - - - - Stretch to fill the entire screen - Rentangkan untuk mengisi seluruh layar - - - - Stretch to fit the screen - Rentangkan agar sesuai dengan layar - - - - Center on the screen - Tengah layar - - - - Tile the image to fill the entire screen - Susun gambar agar sesuai dengan seluruh layar - - - - Zoom the image to fill the entire screen - Perbesar gambar agar sesuai dengan seluruh layar - - - - Image Files - Berkas Gambar - - - - PCManFM::DesktopWindow - - - Trash (One item) - Sampah (Satu barang) - - - - Trash (%Ln items) - Sampah (%Ln item) - - - - Trash (Empty) - Sampah (Kosong) - - - - Home - Beranda - - - - Computer - Komputer - - - - Network - Jaringan - - - - Open - Buka - - - - - Stic&k to Current Position - &Tetap Pada Posisi Saat Ini - - - - Empty Trash - Kosongkan Tempat Sampah - - - - Hide Desktop Items - Sembunyikan Item Desktop - - - - Desktop Preferences - Preferensi Desktop - - - - PCManFM::FilterBar - - - Filter: - Filter: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Bersihkan teks (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Instansi Root - - - - Hide menu bar - Sembunyikan bilah menu - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Ini akan menyembunyikan bilah menu sepenuhnya, gunakan Ctrl + M untuk menampilkannya lagi. - - - - Version: %1 - Versi: %1 - - - - &Move to Trash - Buang ke Te&mpat Sampah - - - - &Delete - Hapus - - - - - Error - Kesalahan - - - - Switch user command is not set. - Perintah beralih pengguna belum diatur. - - - - PCManFM::PreferencesDialog - - - Icon View - Tampilan Ikon - - - - Compact View - Tampilan Kompak - - - - Thumbnail View - Tampilan Gambar Kecil - - - - Detailed List View - Tampilan Daftar Terperinci - - - - PCManFM::TabPage - - - Error - Kesalahan - - - - Free space: %1 (Total: %2) - Ruang bebas: %1 (Jumlah: %2) - - - - %n item(s) - - %n item(s) - - - - - (%n hidden) - - (%n tersembunyi) - - - - - - - Link to - Tautan ke - - - - %n item(s) selected - - %n item(s) terpilih - - - - - PCManFM::View - - - Open in New T&ab - Buka di T&ab Baru - - - - Open in New Win&dow - Buka di Jen&dela Baru - - - - Open in Termina&l - Buka di Termina&l - - - - PreferencesDialog - - - Preferences - Preferensi - - - - User Interface - Antarmuka Pengguna - - - - Behavior - Perilaku - - - - - Thumbnail - Gambar Kecil - - - - Volume - Volume - - - - Advanced - Ahli - - - - Select newly created files - Pilih berkas yang baru dibuat - - - - Icons - Ikon - - - - Size of big icons: - Ukuran ikon besar: - - - - Size of small icons: - Ukuran ikon kecil: - - - - Size of thumbnails: - Ukuran gambar kecil: - - - - Size of side pane icons: - Ukuran ikon panel samping: - - - - Icon theme: - Tema ikon: - - - - Window - Jendela - - - - Always show the tab bar - Selalu tampilkan bilah tab - - - - Show 'Close' buttons on tabs - Tampilkan tombol 'Tutup' pada tab - - - - Remember the size of the last closed window - Ingat ukuran jendela terakhir yang ditutup - - - - Default width of new windows: - Lebar baku untuk jendela baru: - - - - Default height of new windows: - Tinggi baku untuk jendela baru: - - - - Browsing - Menjelajah - - - - Open files with single click - Buka berkas dengan sekali klik - - - - Delay of auto-selection in single click mode (0 to disable) - Keterlambatan seleksi otomatis dalam mode sekali klik (0 untuk menonaktifkan) - - - - Default view mode: - Mode tampilan baku: - - - - sec - dtk - - - - File Operations - Operasi Berkas - - - - Confirm before deleting files - Konfirmasi sebelum menghapus berkas - - - - Move deleted files to "trash bin" instead of erasing from disk. - Pindahkan berkas yang dihapus ke "tempat sampah" alih-alih menghapusnya dari disk. - - - - Show thumbnails of files - Tampilkan gambar kecil dari berkas - - - - Only show thumbnails for local files - Hanya tampilkan gambar kecil untuk berkas lokal - - - - Display - Tampilan - - - - Bookmarks: - Markah: - - - - Open in current tab - Buka di tab saat ini - - - - Open in new tab - Buka di tab baru - - - - Open in new window - Buka di jendela baru - - - - Erase files on removable media instead of "trash can" creation - Hapus berkas di media yang dapat dilepas alih-alih memindahkannya ke tempat sampah - - - - Confirm before moving files into "trash can" - Konfirmasi sebelum memindahkan kedalam "tempat sampah" - - - - - - Requires application restart to take effect completely - Perlu menjalankan ulang aplikasi untuk melihat perubahannya - - - - Launch executable files without prompt - Luncurkan berkas yang dapat dieksekusi tanpa prompt - - - - - Used by Icon View - Digunakan oleh Tampilan Ikon - - - - - Used by Compact View and Detailed List View - Digunakan oleh Tampilan Kompak dan Tampilan Daftar Terperinci - - - - - Used by Thumbnail View - Digunakan oleh Tampilan Gambar Kecil - - - - User interface - Antarmuka pengguna - - - - Treat backup files as hidden - Perlakukan berkas cadangan sebagai tersembunyi - - - - Always show full file names - Selalu tampilkan nama berkas lengkap - - - - Show icons of hidden files shadowed - Tampilkan ikon dari file tersembunyi yang dibayangi - - - - Minimum item margins in icon view: - Margin item minimum dalam tampilan ikon: - - - - 3 px by default. - 3 px secara default. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 px secara default. -Spasi juga disediakan untuk 3 baris teks. - - - - Lock - Kunci - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Bila tidak dicentang, bilah tab akan ditampilkan -hanya jika ada lebih dari satu tab. - - - - Application restart is needed for changes to take effect. - Diperlukan menjalankan ulang aplikasi agar perubahan diterapkan. - - - - Do not generate thumbnails for image files exceeding this size: - Jangan membuat gambar kecil untuk berkas gambar yang melebihi ukuran ini: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Butuh ffmpegthumbnailer - - - - Auto Mount - Auto Mount - - - - Mount mountable volumes automatically on program startup - Mount volume yang dapat dimount secara otomatis saat memulai program - - - - Mount removable media automatically when they are inserted - Mount media yang dapat dilepas secara otomatis saat mereka dimasukkan - - - - Show available options for removable media when they are inserted - Tampilkan opsi yang tersedia untuk media yang dapat dilepas saat mereka dimasukkan - - - - When removable medium unmounted: - Saat media yang dapat dilepas di unmount: - - - - Close &tab containing removable medium - Tutup &tab yang berisi media yang dapat dilepas - - - - Chan&ge folder in the tab to home folder - Ganti folder di tab ini ke folder home - - - - Programs - Program - - - - Terminal emulator: - Emulator terminal: - - - - Switch &user command: - Perintah pengg&una beralih: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Contoh: "xterm -e %s" untuk terminal atau "gksu %s" untuk beralih pengguna. -%s = baris perintah yang ingin Anda eksekusi dengan terminal atau su. - - - - Archiver in&tegration: - In&tegrasi Archiver: - - - - Templates - Templat - - - - Show only user defined templates in menu - Tampilkan hanya templat yang ditentukan pengguna dalam menu - - - - Show only one template for each MIME type - Tampilkan hanya satu templat untuk masing-masing MIME type - - - - Run default application after creation from template - Jalankan aplikasi default setelah pembuatan dari templat - - - - Use SI decimal prefixes instead of IEC binary prefixes - Gunakan prefiks desimal SI sebagai pengganti prefiks biner IEC - - - - QObject - - - Renaming files... - Mengubah nama berkas... - - - - Abort - Tentang - - - - Warning - Peringatan - - - - Renaming is aborted. - Mengubah nama dibatalkan. - - - - - Error - Kesalahan - - - - No file could be renamed. - Tidak ada berkas yang bisa diganti namanya. - - - - Some files could not be renamed. - Beberapa berkas tidak dapat diubah namanya. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_it.desktop b/pcmanfm/translations/pcmanfm-qt_it.desktop deleted file mode 100644 index 41992c0..0000000 --- a/pcmanfm/translations/pcmanfm-qt_it.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[it]=Gestore file PCManFM-Qt -GenericName[it]=Gestore file -Comment[it]=Esplora e organizza file e cartelle diff --git a/pcmanfm/translations/pcmanfm-qt_it.ts b/pcmanfm/translations/pcmanfm-qt_it.ts deleted file mode 100644 index 14f8479..0000000 --- a/pcmanfm/translations/pcmanfm-qt_it.ts +++ /dev/null @@ -1,1821 +0,0 @@ - - - - - AboutDialog - - - About - Informazioni - - - - Lightweight file manager - Gestore file leggero - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programmazione: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - Authors - Autori - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - - License - Licenza - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt Gestore File - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - AutoRunDialog - - - Removable medium is inserted - Supporto rimovibile inserito - - - - <b>Removable medium is inserted</b> - <b>Supporto rimovibile inserito</b> - - - - Type of medium: - Tipo di supporto: - - - - Detecting... - Rilevamento... - - - - Please select the action you want to perform: - Seleziona l'azione da eseguire: - - - - BulkRenameDialog - - - Bulk Rename - Rinomina in serie - - - - # will be replaced by numbers starting with: - # sarà sostituito da numeri a partire da: - - - - Rename selected files to: - Rinomina i file selezionati: - - - - Name# - Nome# - - - - ConnectServerDialog - - - Connect to remote server - Connetti a server remoto - - - - Anonymous &login - Login &anonimo - - - - Login as &user: - Login &utente: - - - - Specify remote folder to connect - Specifica cartella remota per la connessione - - - - Type: - Tipo: - - - - Port: - Porta: - - - - Path: - Percorso: - - - - Host: - - - - - DesktopFolder - - - Form - Modulo - - - - Desktop - Scrivania - - - - Desktop folder: - Cartella della scrivania: - - - - Image file - File immagine - - - - Folder path - Percorso della cartella - - - - &Browse - &Sfoglia - - - - DesktopPreferencesDialog - - - Desktop Preferences - Preferenze della scrivania - - - - Background - Sfondo - - - - Wallpaper mode: - Modalità sfondo: - - - - Wallpaper image file: - File immagine di sfondo: - - - - Select background color: - Seleziona il colore di sfondo: - - - - Image file - File immagine - - - - Image file path - Percorso al file immagine - - - - &Browse - &Sfoglia - - - - Icons - Icone - - - - Icon size: - Dimensione delle icone: - - - - Label Text - Testo etichette - - - - Select shadow color: - Seleziona il colore delle ombre: - - - - Select font: - Seleziona il carattere: - - - - General - Generale - - - - Select text color: - Seleziona colore testo: - - - - Spacing - Distanze - - - - Minimum item margins: - Distanze minime tra gli elementi: - - - - 3 px by default. - Predefinita 3 px. - - - - - px - - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - Predefinita 1 px. -E' predisposto anche uno spazio per tre righe di testo. - - - - Lock - Blocca - - - - Slide Show - Presentazione - - - - Enable Slide Show - Attiva la presentazione - - - - Wallpaper image folder: - Cartella degli sfondi desktop: - - - - Browse - Sfoglia - - - - hour(s) - ora/e - - - - and - e - - - - Intervals less than 5min will be ignored - Intervalli di meno di 5 minuti sono ignorati - - - - Interval: - Intervallo: - - - - minute(s) - minuto/i - - - - Wallpaper folder - Cartella sfondi desktop - - - - Randomize the slide show - Presentazione casuale - - - - Visible Shortcuts - Scorciatoie visibili - - - - Home - Home - - - - Trash - Cestino - - - - Computer - Computer - - - - Network - Rete - - - - Window Manager - Gestore delle finestre - - - - Show menus provided by window managers when desktop is clicked - Mostra i menu forniti dal gestore delle finestre quando fai clic sul desktop - - - - Advanced - Avanzate - - - - MainWindow - - - File Manager - Gestore file - - - - Go Up - Vai su - - - - Alt+Up - Alt+Su - - - - Alt+Home - Alt+Inizio - - - - Reload - Ricarica - - - - F5 - F5 - - - - &Toolbars - &Barra degli strumenti - - - - Path &Bar - Barra di &indirizzo - - - - &Filtering - &Filtro - - - - &Home - &Home - - - - &Reload - &Ricarica - - - - Go - Vai - - - - Quit - Esci - - - - &About - Inform&azioni - - - - New Window - Nuova finestra - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Mostra i file &nascosti - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Computer - - - - &Trash - Ces&tino - - - - &Network - &Rete - - - - &Desktop - &Scrivania - - - - &Add to Bookmarks - &Aggiungi ai segnalibri - - - - &Applications - &Applicazioni - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Copia - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Incolla - - - - Ctrl+V - Ctrl+V - - - - Select &All - Seleziona t&utto - - - - Pr&eferences - Pr&eferenze - - - - &Ascending - &Crescente - - - - &Descending - &Decrescente - - - - &By File Name - &Per nome file - - - - By &Modification Time - Per data di &modifica - - - - By File &Type - Per &tipo di file - - - - By &Owner - Per pr&oprietario - - - - &Folder First - Prima le ca&rtelle - - - - &Preserve sorting for this folder - &Ricorda ordinamento per questa cartella - - - - &Invert Selection - &Inverti selezione - - - - &Delete - &Elimina - - - - &Rename - &Rinomina - - - - &Show/Focus Filter Bar - &Mostra barra del filtro - - - - Show Filter Bar - Mostra barra del filtro - - - - Ctrl+I - Cltr+I - - - - S&plit View - Vista &divisa - - - - Split View - Vista divisa - - - - F6 - F6 - - - - &Copy Full Path - &Copia indirizzo intero - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - - - - - &Clear All Filters - &Pulisci tutti filtri - - - - Ctrl+Shift+K - Ctrl+Maiusc+K - - - - Close &previous tabs - Chiudi schede &precedenti - - - - Close &next tabs - Chiudi schede p&rossime - - - - &Menu bar - Barra del &menu - - - - &Preserve Settings for This Folder - &Ricorda impostazioni per questa cartella - - - - Connect to &Server - Connetti a &server - - - - &Location - &Scrivibile - - - - &Path Buttons - &Pulsanti - - - - &Bulk Rename - &Rinomina in serie - - - - Bulk Rename - Rinomina in serie - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Chiudi le &altre schede - - - - Permanent &filter bar - Barra di filtro &permanente - - - - Menu bar - Barra del menu - - - - Ctrl+M - - - - - - Menu - Menu - - - - Ctrl+A - Ctrl+A - - - - Go &Up - Vai &su - - - - &New Window - &Nuova finestra - - - - &Icon View - Vista &icone - - - - &Compact View - Vista &compatta - - - - &Detailed List - Elenco &dettagliato - - - - &Thumbnail View - Vista minia&ture - - - - Cu&t - &Taglia - - - - New &Tab - Nuova sc&heda - - - - New Tab - Nuova scheda - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Vai in&dietro - - - - Go Back - Vai indietro - - - - Alt+Left - Alt+Sinistra - - - - Go &Forward - Vai &avanti - - - - Go Forward - Vai avanti - - - - Alt+Right - Alt+Destra - - - - Del - Canc - - - - F2 - F2 - - - - C&lose Tab - C&hiudi scheda - - - - File &Properties - &Proprietà file - - - - &Folder Properties - Proprietà &cartella - - - - &Case Sensitive - Distingui le maius&cole - - - - By File &Size - Per dimen&sione del file - - - - &Close Window - &Chiudi finestra - - - - Ctrl+Q - - - - - &Folder - &Cartella - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - &Blank File - File &vuoto - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - Trova &file - - - - F3 - F3 - - - - C&reate New - C&rea nuovo - - - - &Sorting - &Ordinamento - - - - Main Toolbar - Barra degli strumenti principale - - - - Ctrl+W - Ctrl+W - - - - Alt+Return - Alt+Invio - - - - Edit Bookmarks - Modifica segnalibri - - - - Open &Terminal - Apri &terminale - - - - F4 - F4 - - - - Open as &Root - Apri come &root - - - - &Edit Bookmarks - &Modifica segnalibri - - - - &File - &File - - - - &Help - &Aiuto - - - - - &View - &Visualizza - - - - &Edit - &Modifica - - - - &Bookmarks - &Segnalibri - - - - &Go - &Vai - - - - &Tool - S&trumenti - - - - PCManFM::Application - - - Name of configuration profile - Nome del profilo di configurazione - - - - PROFILE - PROFILO - - - - Run PCManFM as a daemon - Esegui PCManFM come demone - - - - Quit PCManFM - Esci da PCManFM - - - - Launch desktop manager - Lancia il gestore della scrivania - - - - Turn off desktop manager if it's running - Spegni il gestore della scrivania se è in esecuzione - - - - Open desktop preference dialog on the page with the specified name - Apri le preferenze della scrivania alla pagina con il nome specificato - - - - - NAME - NOME - - - - Set desktop wallpaper from image FILE - Imposta lo sfondo della scrivania con l'immagine dal FILE - - - - FILE - FILE - - - - MODE - MODO - - - - Open Preferences dialog on the page with the specified name - where is that? - Apri le preferenze alla pagina con il nome specificato - - - - Open new window - Apri una nuova finestra - - - - Open Find Files utility - Apri l'utilità di ricerca file - - - - Set mode of desktop wallpaper. MODE=(%1) - Scegli la modalità dello sfondo. Modalita=(%1) - - - - [FILE1, FILE2,...] - [FILE1, FILE2, ...] - - - - Files or directories to open - File o cartelle da aprire - - - - - Error - Errore - - - - Terminal emulator is not set. - L'emulatore di terminale non è impostato. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Apri nel gestore file - - - - Removable Disk - Disco rimovibile - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - WebDav sicuro - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Riempi solo con il colore di sfondo - - - - Stretch to fill the entire screen - Allarga per riempire tutto lo schermo - - - - Stretch to fit the screen - Restringi per adattare allo schermo - - - - Center on the screen - Centra nello schermo - - - - Tile the image to fill the entire screen - Ripete l'immagine per riempire tutto lo schermo - - - - Zoom the image to fill the entire screen - Ingrandisci l'immagine per riempire lo schermo - - - - Image Files - File immagine - - - - PCManFM::DesktopWindow - - - Trash (One item) - Cestino (Un oggetto) - - - - Trash (%Ln items) - Cestino (%Ln oggetto) - Cestino (%Ln oggetti) - - - - Trash (Empty) - Cestino (Vuoto) - - - - Home - Home - - - - Computer - Computer - - - - Network - Rete - - - - Open - Apri - - - - - Stic&k to Current Position - Blo&cca alla posizione attuale - - - - Empty Trash - Svuota Cestino - - - - Hide Desktop Items - Nascondi elementi del desktop - - - - Desktop Preferences - Preferenze della scrivania - - - - PCManFM::FilterBar - - - Filter: - Filtro: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Cancella il testo (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Instanza Root - - - - Hide menu bar - Nascondi barra del menu - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Questo nasconderà la barra del menu, usa Ctrl+M per visualizzarla nuovamente. - - - - Version: %1 - Versione:%1 - - - - &Move to Trash - Cestin&a - - - - &Delete - &Elimina - - - - - Error - Errore - - - - Switch user command is not set. - Il comando per cambiare utente non è impostato. - - - - PCManFM::PreferencesDialog - - - Icon View - Vista icone - - - - Compact View - Vista compatta - - - - Thumbnail View - Vista miniature - - - - Detailed List View - Vista elenco dettagliato - - - - PCManFM::TabPage - - - Error - Errore - - - - Free space: %1 (Total: %2) - Spazio libero: %1 (totale: %2) - - - - %n item(s) - - %n elemento - %n elementi - - - - - (%n hidden) - - (%n nascosto) - (%n nascosti) - - - - - - - Link to - no idea what this refers to - Collegamento a - - - - %n item(s) selected - - %n elemento selezionato - %n elementi selezionati - - - - - PCManFM::View - - - Open in New T&ab - Apri in una nuova sc&heda - - - - Open in New Win&dow - Apri una nuova &finestra - - - - Open in Termina&l - Apri nel termina&le - - - - PreferencesDialog - - - Preferences - Preferenze - - - - User Interface - Interfaccia utente - - - - Behavior - Comportamento - - - - - Thumbnail - Miniatura - - - - Volume - Volume - - - - Advanced - Avanzate - - - - Select newly created files - Seleziona file creati recentemente - - - - Icons - Icone - - - - Size of big icons: - Dimensione delle icone grandi: - - - - Size of small icons: - Dimensione delle icone piccole: - - - - Size of thumbnails: - Dimensione delle miniature: - - - - Size of side pane icons: - Dimensione delle icone del riquadro laterale: - - - - Icon theme: - Tema delle icone: - - - - Window - Finestra - - - - Default width of new windows: - Larghezza predefinita delle nuove finestre: - - - - Default height of new windows: - Altezza predefinita delle nuove finestre: - - - - Always show the tab bar - Mostra sempre la barra delle schede - - - - Show 'Close' buttons on tabs - Mostra pulsanti di chiusura sulle schede - - - - Remember the size of the last closed window - Ricorda la dimensione della ultima finestra chiusa - - - - Browsing - Navigazione - - - - Open files with single click - Apri file con un clic singolo - - - - Delay of auto-selection in single click mode (0 to disable) - Ritardo per la selezione automatica in modalità con clic singolo (0 per disabilitare) - - - - Default view mode: - Modalità vista predefinita: - - - - sec - secondi - - - - File Operations - Operazioni sui file - - - - Confirm before deleting files - Conferma prima di rimuovere i file - - - - Move deleted files to "trash bin" instead of erasing from disk. - Sposta nel «Cestino» i file rimossi invece di eliminarli dal disco. - - - - Show thumbnails of files - Mostra miniature dei file - - - - Only show thumbnails for local files - Mostra miniature solo per i file locali - - - - Display - Visualizza - - - - Bookmarks: - Segnalibri: - - - - Open in current tab - Apri nella scheda attuale - - - - Open in new tab - Apri in una nuova scheda - - - - Open in new window - Apri una nuova finestra - - - - Erase files on removable media instead of "trash can" creation - Cancella i file sui supporti rimovibile invece di cestinarli - - - - Confirm before moving files into "trash can" - Conferma prima di cestinare i file - - - - - - Requires application restart to take effect completely - Necessario il riavvio dell' applicazione per avere effetto - - - - Launch executable files without prompt - Esegui file eseguibili senza conferma - - - - - Used by Icon View - Usata nella vista icone - - - - - Used by Compact View and Detailed List View - Usata nella vista compatta e la vista lista dettagliata - - - - - Used by Thumbnail View - Usata dalla vista miniature - - - - User interface - Interfaccia utente - - - - Treat backup files as hidden - Tratta i file di backup come nascosti - - - - Always show full file names - Mostra sempre il nome completo dei file - - - - Show icons of hidden files shadowed - Mostra le icone dei file nascosti come ombreggiate - - - - Minimum item margins in icon view: - Spazio minimo tra le icone: - - - - 3 px by default. - Predefinita 3px. - - - - - px - - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - Predefinita 1 px. -E' predisposto anche uno spazio per tre righe di testo. - - - - Lock - Blocca - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Se non viene spuntata la barra delle schede sarà visibile solo con più di una scheda. - - - - Application restart is needed for changes to take effect. - E' necessario il riavvio dell'applicazione per attivare le modifiche. - - - - Do not generate thumbnails for image files exceeding this size: - Non generare miniature per file immagine più grandi di: - - - - KB - · KB - - - - Needs ffmpegthumbnailer - Necessità di ffmpegthumbnailer - - - - Auto Mount - Montaggio automatico - - - - Mount mountable volumes automatically on program startup - Monta automaticamente i volumi disponibili all'avvio del programma - - - - Mount removable media automatically when they are inserted - Monta automaticamente i volumi rimovibli quando vengono inseriti - - - - Show available options for removable media when they are inserted - Mostra opzioni disponibili per i volumi rimovibli quando vengono inseriti - - - - When removable medium unmounted: - Quando viene smontato un volume rimovibile: - - - - Close &tab containing removable medium - Chiudi &scheda con il contenuto - - - - Chan&ge folder in the tab to home folder - Cambia in cartella &home - - - - Switch &user command: - Comando per &cambiare utente: - - - - Archiver in&tegration: - Gestore &archivi da usare: - - - - Templates - Modelli - - - - Show only user defined templates in menu - Mostra solo i modelli definiti dall'utente nel menu - - - - Show only one template for each MIME type - Mostra solo un modello per ogni tipo MIME - - - - Run default application after creation from template - Esegui l'applicazione predefinita dopo la creazione da modello - - - - Programs - Programmi - - - - Terminal emulator: - Emulatore di terminale: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Esempi: "xterm -e %s" per il terminale o "gksu %s" per cambiare utente. -%s = la riga di comando da eseguire con il terminal o con su. - - - - Use SI decimal prefixes instead of IEC binary prefixes - Usa i prefissi decimali del SI invece di quelli binari dello IEC - - - - QObject - - - Renaming files... - Rinomina files... - - - - Abort - Interrompi - - - - Warning - Avviso - - - - Renaming is aborted. - La rinomina è stata interrotto. - - - - - Error - Errore - - - - No file could be renamed. - Nessun file è stato rinominato. - - - - Some files could not be renamed. - Alcuni files non sono stati rinominati. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_ja.desktop b/pcmanfm/translations/pcmanfm-qt_ja.desktop deleted file mode 100644 index 2df3c24..0000000 --- a/pcmanfm/translations/pcmanfm-qt_ja.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[ja]=PCManFM-Qt ファイルマネージャ -GenericName[ja]=ファイルマネージャ -Comment[ja]=LXQt環境のファイル管理をします diff --git a/pcmanfm/translations/pcmanfm-qt_ja.ts b/pcmanfm/translations/pcmanfm-qt_ja.ts deleted file mode 100644 index ceae8d2..0000000 --- a/pcmanfm/translations/pcmanfm-qt_ja.ts +++ /dev/null @@ -1,1801 +0,0 @@ - - - - - AboutDialog - - - About - 情報 - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - - Lightweight file manager - 軽量なファイルマネージャー - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - プログラム作成: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - Authors - 作者 - - - - License - ライセンス - - - - AutoRunDialog - - - Removable medium is inserted - リムーバブルメディアが接続されました - - - - <b>Removable medium is inserted</b> - <b>リムーバブルメディアが接続されました</b> - - - - Type of medium: - メディアの種類: - - - - Detecting... - 検出中... - - - - Please select the action you want to perform: - 実行させる処理を選んでください: - - - - BulkRenameDialog - - - Bulk Rename - - - - - # will be replaced by numbers starting with: - - - - - Rename selected files to: - - - - - Name# - - - - - ConnectServerDialog - - - Connect to remote server - リモートサーバーに接続 - - - - Anonymous &login - Anonymousでログイン(&l) - - - - Login as &user: - ユーザーでログイン(&u): - - - - Specify remote folder to connect - 接続時にリモートフォルダを指定 - - - - Type: - - - - - Port: - - - - - Path: - パス: - - - - Host: - ホスト: - - - - DesktopFolder - - - Form - フォーム - - - - Desktop - デスクトップ - - - - Desktop folder: - デスクトップフォルダ: - - - - Image file - 画像ファイル - - - - Folder path - フォルダのパス - - - - &Browse - 参照(&B) - - - - DesktopPreferencesDialog - - - Desktop Preferences - デスクトップの設定 - - - - Background - 背景 - - - - Wallpaper mode: - 壁紙のモード: - - - - Wallpaper image file: - 壁紙の画像ファイル: - - - - Select background color: - 背景色を選択: - - - - Image file - 画像ファイル - - - - Image file path - 画像ファイルのパス - - - - &Browse - 参照(&B) - - - - Icons - アイコン - - - - Icon size: - アイコンの大きさ: - - - - Label Text - ラベルテキスト - - - - Select shadow color: - 影の色を選択: - - - - Select font: - フォントを選択: - - - - General - 一般 - - - - Select text color: - - - - - Spacing - 空白 - - - - Minimum item margins: - アイテムの最小のマージン: - - - - 3 px by default. - 既定では3 px。 - - - - - px - - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 既定では1 px。 -また3行分のテキストのため空白が確保されます。 - - - - Lock - ロック - - - - Slide Show - スライドショー - - - - Enable Slide Show - スライドショーを有効にする - - - - Wallpaper image folder: - 壁紙画像のフォルダ: - - - - Browse - 参照 - - - - hour(s) - 時間 - - - - and - - - - - Intervals less than 5min will be ignored - 5分以内の間隔は無視されます - - - - Interval: - 間隔: - - - - minute(s) - - - - - Wallpaper folder - 壁紙のフォルダ - - - - Randomize the slide show - スライドショーをランダムに表示する - - - - Visible Shortcuts - - - - - Home - ホーム - - - - Trash - - - - - Computer - - - - - Network - - - - - Window Manager - ウィンドウマネージャー - - - - Show menus provided by window managers when desktop is clicked - デスクトップのクリック時にウインドウマネージャーのメニューを表示 - - - - Advanced - 高度 - - - - MainWindow - - - File Manager - ファイルマネージャー - - - - Go Up - 上へ - - - - Alt+Up - Alt+Up - - - - Alt+Home - Alt+Home - - - - Reload - 再読込み - - - - F5 - F5 - - - - &Toolbars - ツールバー(&T) - - - - Path &Bar - パスバー(&B) - - - - &Filtering - - - - - &Home - ホーム(&H) - - - - &Reload - 再読込み(&R) - - - - Go - 開く - - - - Quit - 終了 - - - - &About - 情報(&A) - - - - New Window - 新しいウインドウ - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - 隠しファイルを表示(&H) - - - - Ctrl+H - Ctrl+H - - - - &Computer - コンピューター(&C) - - - - &Trash - ゴミ箱(&T) - - - - &Network - ネットワーク(&N) - - - - &Desktop - デスクトップ(&D) - - - - &Add to Bookmarks - ブックマークに追加(&A) - - - - &Applications - アプリケーション(&A) - - - - Ctrl+X - Ctrl+X - - - - &Copy - コピー(&C) - - - - Ctrl+C - Ctrl+C - - - - &Paste - 貼り付け(&P) - - - - Ctrl+V - Ctrl+V - - - - Select &All - すべてを選択(&A) - - - - Pr&eferences - 設定(&R) - - - - &Ascending - 昇順(&A) - - - - &Descending - 降順(&D) - - - - &By File Name - 名前順(&B) - - - - By &Modification Time - 更新時間順(&M) - - - - By File &Type - ファイルの種類順(&T) - - - - By &Owner - 作者順(&O) - - - - &Folder First - フォルダを最初に並べる(&F) - - - - &Preserve sorting for this folder - このフォルダのソートを保存する(&P) - - - - &Invert Selection - 選択を反転(&I) - - - - &Delete - 削除(&D) - - - - &Rename - 名前を変更(&R) - - - - &Case Sensitive - 大文字小文字を区別する(&C) - - - - By File &Size - ファイルのサイズ順(&S) - - - - &Close Window - ウィンドウを閉じる(&C) - - - - &Show/Focus Filter Bar - - - - - Show Filter Bar - - - - - Ctrl+I - - - - - S&plit View - - - - - Split View - - - - - F6 - F6 - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - - - - - &Clear All Filters - - - - - Ctrl+Shift+K - - - - - Close &previous tabs - 前のタブを閉じる(&p) - - - - Close &next tabs - 後ろのタブを閉じる(&n) - - - - &Preserve Settings for This Folder - このフォルダの設定を保存する(&P) - - - - Connect to &Server - サーバーに接続(&S) - - - - &Location - 場所(&L) - - - - &Path Buttons - パスボタン(&P) - - - - &Bulk Rename - - - - - Bulk Rename - - - - - Ctrl+F2 - - - - - Close &other tabs - 他のタブを閉じる(&o) - - - - Permanent &filter bar - - - - - &Menu bar - メニューバー(&M) - - - - Menu bar - メニューバー - - - - Ctrl+M - - - - - - Menu - メニュー - - - - Ctrl+A - Ctrl+A - - - - Go &Up - 上へ(&U) - - - - &New Window - 新しいウインドウ(&N) - - - - &Icon View - アイコン表示(&I) - - - - &Compact View - コンパクト表示(&C) - - - - &Detailed List - 詳細リスト(&D) - - - - &Thumbnail View - サムネイル表示(&T) - - - - Cu&t - 切り取り(&T) - - - - New &Tab - 新しいタブ(&T) - - - - New Tab - 新しいタブ - - - - Ctrl+T - Ctrl+T - - - - Go &Back - 戻る(&B) - - - - Go Back - 戻る - - - - Alt+Left - Alt+Left - - - - Go &Forward - 進む(&F) - - - - Go Forward - 進む - - - - Alt+Right - Alt+Right - - - - Del - Del - - - - F2 - F2 - - - - C&lose Tab - タブを閉じる(&C) - - - - File &Properties - ファイルのプロパティー(&P) - - - - &Folder Properties - フォルダーのプロパティー(&F) - - - - Ctrl+Q - - - - - Ctrl+Shift+N - - - - - Ctrl+Alt+N - - - - - C&reate New - 新規作成(&r) - - - - &Sorting - ソート(&S) - - - - Main Toolbar - メインツールバー - - - - Ctrl+W - Ctrl+W - - - - Alt+Return - Alt+Return - - - - Edit Bookmarks - ブックマークを編集 - - - - Open &Terminal - 端末で開く(&T) - - - - F4 - F4 - - - - Open as &Root - rootで開く(&R) - - - - &Edit Bookmarks - ブックマークを編集(&E) - - - - &Folder - フォルダ(&F) - - - - &Blank File - 空白のファイル(&B) - - - - &Find Files - ファイルを検索(&F) - - - - F3 - F3 - - - - &File - ファイル(&F) - - - - &Help - ヘルプ(&H) - - - - - &View - 表示(&V) - - - - &Edit - 編集(&E) - - - - &Bookmarks - ブックマーク(&B) - - - - &Go - 開く(&G) - - - - &Tool - ツール(&T) - - - - PCManFM::Application - - - Name of configuration profile - 設定プロファイルの名前 - - - - PROFILE - PROFILE - - - - Run PCManFM as a daemon - PCManFMをデーモンとして実行 - - - - Quit PCManFM - PCManFMを終了 - - - - Launch desktop manager - デスクトップマネージャーを起動 - - - - Turn off desktop manager if it's running - 実行中のデスクトップマネージャーを終了 - - - - Open desktop preference dialog on the page with the specified name - 特定の名前のページ上でデスクトップ設定ダイアログを開く - - - - - NAME - NAME - - - - Set desktop wallpaper from image FILE - 画像ファイルからデスクトップの壁紙を設定 - - - - FILE - FILE - - - - MODE - MODE - - - - Open Preferences dialog on the page with the specified name - 特定の名前のページで設定ダイアログを開く - - - - Open new window - 新しいウインドウを開く - - - - Open Find Files utility - ファイル検索ユーティリティーを開く - - - - Set mode of desktop wallpaper. MODE=(%1) - デスクトップ壁紙のモードの設定。MODE=(%1) - - - - [FILE1, FILE2,...] - [FILE1, FILE2,...] - - - - Files or directories to open - 開くファイルまたはディレクトリー - - - - - Error - エラー - - - - Terminal emulator is not set. - 端末エミュレーターを未設定です。 - - - - PCManFM::AutoRunDialog - - - Open in file manager - ファイルマネージャーで開く - - - - Removable Disk - リムーバブルディスク - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - 背景色のみで埋める - - - - Stretch to fill the entire screen - 画面全部に引き伸ばす - - - - Stretch to fit the screen - 画面に合わせて調節 - - - - Center on the screen - 画面の中央に表示 - - - - Tile the image to fill the entire screen - 画面全体に並べる - - - - Zoom the image to fill the entire screen - 画像をスクリーン全体に拡大 - - - - Image Files - 画像ファイル - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - - - - - - - Trash (Empty) - - - - - Home - ホーム - - - - Computer - - - - - Network - - - - - Open - - - - - - Stic&k to Current Position - 現在の場所に固定(&k) - - - - Empty Trash - - - - - Hide Desktop Items - - - - - Desktop Preferences - デスクトップ設定 - - - - PCManFM::FilterBar - - - Filter: - - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - テキストを消去 (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - メニューバーを隠す - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - メニューバーが完全に隠れます。Ctrl+Mにより再表示されます。 - - - - Version: %1 - バージョン: %1 - - - - &Move to Trash - ゴミ箱へ移動(&M) - - - - &Delete - 削除(&D) - - - - - Error - エラー - - - - Switch user command is not set. - ユーザー切替コマンドを未設定です。 - - - - PCManFM::PreferencesDialog - - - Icon View - アイコン表示 - - - - Compact View - - - - - Thumbnail View - サムネイル表示 - - - - Detailed List View - 詳細なリスト表示 - - - - PCManFM::TabPage - - - Error - エラー - - - - Free space: %1 (Total: %2) - 空き領域: %1 (全体: %2) - - - - %n item(s) - - %n 個のアイテム - - - - - (%n hidden) - - (%n 個の隠しアイテム) - - - - - - - Link to - - - - - %n item(s) selected - - %n アイテムが選択されました - - - - - PCManFM::View - - - Open in New T&ab - 新しいタブを開く(&T) - - - - Open in New Win&dow - 新しいウインドウを開く(&D) - - - - Open in Termina&l - 端末内で開く(&L) - - - - PreferencesDialog - - - Preferences - 設定 - - - - User Interface - ユーザーインターフェース - - - - Behavior - 挙動 - - - - Display - ディスプレイ - - - - - Thumbnail - サムネイル - - - - Volume - ボリューム - - - - Advanced - 高度 - - - - Bookmarks: - ブックマーク: - - - - Open in current tab - 現在のタブで開く - - - - Open in new tab - 新しいタブで開く - - - - Open in new window - 新しいウィンドウで開く - - - - Erase files on removable media instead of "trash can" creation - ゴミ箱を作らずに、リムーバブルメディア上のファイルを消去する - - - - Confirm before moving files into "trash can" - ゴミ箱に入れる前に確認する - - - - - - Requires application restart to take effect completely - - - - - Launch executable files without prompt - - - - - Icons - アイコン - - - - Size of big icons: - 大きいアイコンの大きさ: - - - - Size of small icons: - 小さいアイコンの大きさ: - - - - Size of thumbnails: - サムネイルの大きさ: - - - - Size of side pane icons: - サイドペインのアイコンの大きさ - - - - Icon theme: - アイコンテーマ: - - - - Window - ウインドウ - - - - Default width of new windows: - 新しいウインドウのデフォルト幅 - - - - Default height of new windows: - 新しいウインドウのデフォルトの高さ - - - - Always show the tab bar - タブバーを常に表示 - - - - Show 'Close' buttons on tabs - 閉じるボタンをタブに表示 - - - - Remember the size of the last closed window - 直前に閉じたウインドウのサイズを記憶 - - - - Browsing - ブラウジング - - - - Open files with single click - シングルクリックでファイルを開く - - - - Delay of auto-selection in single click mode (0 to disable) - シングルクリックモードでの自動選択の遅延時間(0で無効) - - - - Default view mode: - デフォルトの表示モード: - - - - sec - - - - - File Operations - ファイル操作 - - - - Confirm before deleting files - ファイルを削除する前に確認 - - - - Move deleted files to "trash bin" instead of erasing from disk. - ディスクから削除せずに"ゴミ箱"へ入れる。 - - - - Select newly created files - - - - - - Used by Icon View - アイコン表示を使用 - - - - - Used by Compact View and Detailed List View - コンパクト表示及び詳細リスト表示の際に使用 - - - - - Used by Thumbnail View - サムネイル表示を使用 - - - - User interface - ユーザーインターフェース - - - - Treat backup files as hidden - バックアップガイルを隠しファイルと同様に扱う - - - - Always show full file names - 常にファイル名をフルに表示する - - - - Show icons of hidden files shadowed - 隠しファイルのアイコンに影をつける - - - - Minimum item margins in icon view: - アイコン表示における最小のアイテムの余白: - - - - 3 px by default. - 既定で 3 px。 - - - - - px - - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 既定では1 px。 -また3行分のテキストのため空白が確保されます。 {3 ?} {3 ?} - - - - Lock - ロック - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - - - - - Application restart is needed for changes to take effect. - - - - - Needs ffmpegthumbnailer - - - - - Show thumbnails of files - ファイルのサムネイルを表示 - - - - Templates - - - - - Show only user defined templates in menu - - - - - Show only one template for each MIME type - - - - - Run default application after creation from template - - - - - Only show thumbnails for local files - ローカルファイルのみサムネイル表示 - - - - Do not generate thumbnails for image files exceeding this size: - 次のサイズを超える画像ファイルのサムネイルを生成しない: - - - - KB - KB - - - - When removable medium unmounted: - リムーバブルメディアもアンマウントする際に: - - - - Switch &user command: - - - - - Archiver in&tegration: - - - - - Terminal emulator: - 端末エミュレーター: - - - - Auto Mount - 自動マウント - - - - Mount mountable volumes automatically on program startup - プログラム開始時にマウント可能なボリュームをマウントする - - - - Mount removable media automatically when they are inserted - リムーバブルメディアが接続された際に自動的にマウントする - - - - Show available options for removable media when they are inserted - リムーバブルメディアが接続された際に、可能な処理を表示する - - - - Close &tab containing removable medium - - - - - Chan&ge folder in the tab to home folder - - - - - Programs - プログラム - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - 例: 端末に "xterm -e %s" 、ユーザー切替に "gksu %s" -%s には、端末やsuで実行するコマンドが代入されます - - - - Use SI decimal prefixes instead of IEC binary prefixes - IEC二進接頭辞の代わりに、SI十進接頭辞を用いる - - - - QObject - - - Renaming files... - - - - - Abort - - - - - Warning - - - - - Renaming is aborted. - - - - - - Error - エラー - - - - No file could be renamed. - - - - - Some files could not be renamed. - - - - diff --git a/pcmanfm/translations/pcmanfm-qt_lt.desktop b/pcmanfm/translations/pcmanfm-qt_lt.desktop deleted file mode 100644 index 8e8a3be..0000000 --- a/pcmanfm/translations/pcmanfm-qt_lt.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[lt]=PCManFM-Qt failų tvarkytuvė -GenericName[lt]=Failų tvarkytuvė -Comment[lt]=Naršyti failų sistemą ir tvarkyti failus diff --git a/pcmanfm/translations/pcmanfm-qt_lt.ts b/pcmanfm/translations/pcmanfm-qt_lt.ts deleted file mode 100644 index 224530a..0000000 --- a/pcmanfm/translations/pcmanfm-qt_lt.ts +++ /dev/null @@ -1,1825 +0,0 @@ - - - - - AboutDialog - - - About - Apie - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Supaprastinta failų tvarkytuvė - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programavo: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt failų tvarkytuvė - -Autorių teisės (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Ši programa yra laisva programinė įranga; jūs galite ją platinti ir/arba -modifikuoti remdamiesi Free Software Foundation paskelbtomis -GNU Bendrosios Viešosios Licencijos sąlygomis; licencijos 2 versija -arba (jūsų pasirinkimu) bet kuria velesne versija. - -Ši programa platinama, tikintis, kad ji bus naudinga, -tačiau BE JOKIŲ GARANTIJŲ; netgi be numanomos PARDAVIMO -ar TINKAMUMO TAM TIKRAM TIKSLUI garantijos. Išsamiau apie tai, -žiūrėkite GNU Bendrojoje Viešojoje Licencijoje. - -Kartu su šia programa turėjote gauti GNU Bendrosios Viešosios -Licencijos kopiją; jeigu jos negavote,rašykite Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - Authors - Autoriai - - - - License - Licencija - - - - AutoRunDialog - - - Removable medium is inserted - Įdėta keičiamoji laikmena - - - - <b>Removable medium is inserted</b> - <b>Yra įdėta keičiamoji laikmena</b> - - - - Type of medium: - Laikmenos tipas: - - - - Detecting... - Aptinkama... - - - - Please select the action you want to perform: - Pasirinkite veiksmą, kurį norėtumėte atlikti: - - - - BulkRenameDialog - - - Bulk Rename - Masinis pervadinimas - - - - # will be replaced by numbers starting with: - # bus pakeista skaitmenimis, pradedant nuo: - - - - Rename selected files to: - Pervadinti pažymėtus failus į: - - - - Name# - Pavadinimas# - - - - ConnectServerDialog - - - Connect to remote server - Prisijungti prie nuotolinio serverio - - - - Anonymous &login - Anoniminis &prisijungimas - - - - Login as &user: - Prisijungti kaip na&udotojas: - - - - Specify remote folder to connect - Nurodykite nuotolinį aplanką prie kurio prisijungti - - - - Type: - Tipas: - - - - Port: - Prievadas: - - - - Path: - Kelias: - - - - Host: - Serveris: - - - - DesktopFolder - - - Form - Forma - - - - Desktop - Darbalaukis - - - - Desktop folder: - Darbalaukio aplankas: - - - - Image file - Paveikslo failas - - - - Folder path - Aplanko kelias - - - - &Browse - &Naršyti - - - - DesktopPreferencesDialog - - - Desktop Preferences - Darbalaukio nuostatos - - - - Background - Fonas - - - - Wallpaper mode: - Darbalaukio fono veiksena: - - - - Wallpaper image file: - Darbalaukio fono paveikslo failas: - - - - Select background color: - Pasirinkite fono spalvą: - - - - Image file - Paveikslo failas - - - - Image file path - Paveikslo failo kelias - - - - &Browse - &Naršyti - - - - Icons - Piktogramos - - - - Icon size: - Piktogramų dydis: - - - - Label Text - Etikečių tekstas - - - - Select shadow color: - Pasirinkite šešėlio spalvą: - - - - Select font: - Pasirinkite šriftą: - - - - General - Bendra - - - - Select text color: - Pasirinkite teksto spalvą: - - - - Spacing - Atstumai - - - - Minimum item margins: - Mažiausios elemento paraštės: - - - - 3 px by default. - Pagal numatymą - 3 pikseliai. - - - - - px - piks - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - Pagal numatymą - 1 pikselis. -Taip pat rezervuojama vieta 3 teksto eilutėms. - - - - Lock - Užrakinti - - - - Slide Show - Skaidrių rodymas - - - - Enable Slide Show - Įjungti skaidrių rodymą - - - - Wallpaper image folder: - Darbalaukio fono paveikslų aplankas: - - - - Browse - Naršyti - - - - hour(s) - valanda(-ų) - - - - and - ir - - - - Intervals less than 5min will be ignored - Mažesnių nei 5 min. intervalų bus nepaisoma - - - - Interval: - Intervalas: - - - - minute(s) - minutė(-ių) - - - - Wallpaper folder - Darbalaukio fonų aplankas - - - - Randomize the slide show - Atsitiktinė tvarka - - - - Visible Shortcuts - Matomi šaukiniai - - - - Home - Namai - - - - Trash - Šiukšlinė - - - - Computer - Kompiuteris - - - - Network - Tinklas - - - - Window Manager - Langų tvarkytuvė - - - - Show menus provided by window managers when desktop is clicked - Spustelėjus darbalaukyje, rodyti langų tvarkytuvių pateikiamus meniu - - - - Advanced - Išplėstinės - - - - MainWindow - - - File Manager - Failų tvarkytuvė - - - - &Toolbars - Įrankių juos&tos - - - - Path &Bar - &Kelio juosta - - - - &Filtering - &Filtravimas - - - - Go &Up - Eiti a&ukštyn - - - - Go Up - Eiti aukštyn - - - - Alt+Up - Alt+Aukštyn - - - - &Home - &Namai - - - - Alt+Home - Alt+Home(Prad) - - - - &Reload - Į&kelti iš naujo - - - - F5 - F5 - - - - Go - Pereiti - - - - Quit - Išeiti - - - - &About - &Apie - - - - &New Window - &Naujas langas - - - - New Window - Naujas langas - - - - Ctrl+N - Ctrl(Vald)+N - - - - Show &Hidden - Rodyti &paslėptus - - - - Ctrl+H - Ctrl(Vald)+H - - - - &Computer - &Kompiuteris - - - - &Trash - Š&iukšlinė - - - - &Network - &Tinklas - - - - &Desktop - &Darbalaukis - - - - &Add to Bookmarks - Įtr&aukti į žymeles - - - - &Applications - Pro&gramos - - - - Reload - Įkelti iš naujo - - - - &Icon View - &Piktogramų rodinys - - - - &Compact View - &Glaustas rodinys - - - - &Detailed List - &Išsamaus sąrašo rodinys - - - - &Thumbnail View - &Miniatiūrų rodinys - - - - Cu&t - &Iškirpti - - - - Ctrl+X - Ctrl(Vald)+X - - - - &Copy - &Kopijuoti - - - - Ctrl+C - Ctrl(Vald)+C - - - - &Paste - Į&dėti - - - - Ctrl+V - Ctrl(Vald)+V - - - - Select &All - Žymėti vis&ką - - - - Ctrl+A - Ctrl(Vald)+A - - - - Pr&eferences - &Nuostatos - - - - &Ascending - &Didėjimo tvarka - - - - &Descending - &Mažėjimo tvarka - - - - &By File Name - &Pagal failo pavadinimą - - - - By &Modification Time - Pagal &keitimo laiką - - - - By File &Type - Pagal failo &tipą - - - - By &Owner - Pagal &savininką - - - - &Folder First - P&irmiausia aplankai - - - - &Preserve sorting for this folder - &Išsaugoti rikiavimą šiam aplankui - - - - &Case Sensitive - &Skirti raidžių dydį - - - - By File &Size - Pagal failo &dydį - - - - &Close Window - &Užverti langą - - - - Ctrl+Q - Ctrl(Vald)+Q - - - - &Folder - &Aplankas - - - - &Blank File - &Tuščias failas - - - - &Show/Focus Filter Bar - &Rodyti/Fokusuoti filtro juostą - - - - Show Filter Bar - Rodyti filtro juostą - - - - Ctrl+I - Ctrl(Vald)+I - - - - S&plit View - Suskai&dytas rodinys - - - - Split View - Suskaidytas rodinys - - - - F6 - F6 - - - - &Copy Full Path - &Kopijuoti pilną kelią - - - - Ctrl+Shift+C - Ctrl(Vald)+Shift(Lyg2)+C - - - - Ctrl+B - Ctrl(Vald)+B - - - - &Bulk Rename - &Masinis pervadinimas - - - - Bulk Rename - Masinis pervadinimas - - - - Ctrl+F2 - Ctrl(Vald)+F2 - - - - Close &previous tabs - Užverti ankstesnes ko&rteles - - - - Permanent &filter bar - Nuolatinė &filtro juosta - - - - &Clear All Filters - &Išvalyti visus filtrus - - - - Ctrl+Shift+K - Ctrl(Vald)+Shift(Lyg2)+K - - - - Close &next tabs - Užverti ki&tas korteles - - - - &Preserve Settings for This Folder - Iš&saugoti nustatymus šiam aplankui - - - - Connect to &Server - Prisijungti prie &serverio - - - - &Location - &Vieta - - - - &Path Buttons - Kelio &mygtukai - - - - Close &other tabs - Užverti &kitas korteles - - - - &Menu bar - &Meniu juosta - - - - Menu bar - Meniu juosta - - - - Ctrl+M - Ctrl(Vald)+M - - - - - Menu - Meniu - - - - New &Tab - Nauja &kortelė - - - - New Tab - Nauja kortelė - - - - Ctrl+T - Ctrl(Vald)+T - - - - Go &Back - At&gal - - - - Go Back - Atgal - - - - Alt+Left - Alt+Kairėn - - - - Go &Forward - &Pirmyn - - - - Go Forward - Pirmyn - - - - Alt+Right - Alt+Dešinėn - - - - &Invert Selection - &Invertuoti žymėjimą - - - - &Delete - Iš&trinti - - - - Del - Del(Šal) - - - - &Rename - Pe&rvadinti - - - - F2 - F2 - - - - C&lose Tab - &Užverti kortelę - - - - Ctrl+W - Ctrl(Vald)+W - - - - File &Properties - Failo &savybės - - - - Alt+Return - Alt+Return(Įvesti) - - - - &Folder Properties - Aplanko sa&vybės - - - - Edit Bookmarks - Redaguoti žymeles - - - - Open &Terminal - Atverti &terminalą - - - - F4 - F4 - - - - Open as &Root - Atverti a&dministratoriaus teisėmis - - - - &Edit Bookmarks - R&edaguoti žymeles - - - - Ctrl+Shift+N - Ctrl(Vald)+Shift(Lyg2)+N - - - - Ctrl+Alt+N - Ctrl(Vald)+Alt+N - - - - &Find Files - &Rasti failus - - - - F3 - F3 - - - - &File - &Failas - - - - C&reate New - Suku&rti naują - - - - &Help - Ži&nynas - - - - - &View - &Rodinys - - - - &Sorting - Ri&kiavimas - - - - &Edit - &Taisa - - - - &Bookmarks - Ž&ymelės - - - - &Go - &Eiti - - - - &Tool - Įrank&iai - - - - Main Toolbar - Pagrindinė įrankių juosta - - - - PCManFM::Application - - - Name of configuration profile - Konfigūracijos profilio pavadinimas - - - - PROFILE - PROFILIS - - - - Run PCManFM as a daemon - Vykdyti PCManFM kaip tarnybą - - - - Quit PCManFM - Išeiti iš PCManFM - - - - Launch desktop manager - Paleisti darbalaukio tvarkytuvę - - - - Turn off desktop manager if it's running - Išjungti darbalaukio tvarkytuvę, jeigu ji yra vykdoma - - - - Open desktop preference dialog on the page with the specified name - Atverti darbalaukio nuostatų dialogą nurodyto pavadinimo puslapyje - - - - - NAME - PAVADINIMAS - - - - Open new window - Atverti naują langą - - - - Open Find Files utility - Atverti failų paieškos paslaugų programą - - - - Set desktop wallpaper from image FILE - Nustatyti darbalaukio foną iš paveikslo FAILO - - - - FILE - FAILAS - - - - MODE - VEIKSENA - - - - Set mode of desktop wallpaper. MODE=(%1) - Nustatyti darbalaukio fono veikseną. VEIKSENA=(%1) - - - - Open Preferences dialog on the page with the specified name - Atverti nuostatų dialogą nurodyto pavadinimo puslapyje - - - - Files or directories to open - Failai ar katalogai, kuriuos atverti - - - - [FILE1, FILE2,...] - [FAILAS1, FAILAS2,...] - - - - - Error - Klaida - - - - Terminal emulator is not set. - Terminalo emuliatorius nėra nustatytas. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Atverti failų tvarkytuvėje - - - - Removable Disk - Keičiamasis diskas - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - Saugus WebDav - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Užpildyti tik fono spalva - - - - Stretch to fill the entire screen - Ištempti, kad būtų užpildytas visas ekranas - - - - Stretch to fit the screen - Ištempti, kad būtų priderinta prie ekrano - - - - Center on the screen - Centruoti ekrane - - - - Tile the image to fill the entire screen - Iškloti paveikslą, kad būtų užpildytas visas ekranas - - - - Zoom the image to fill the entire screen - Didinti paveikslą, kad būtų užpildytas visas ekranas - - - - Image Files - Paveikslų failai - - - - PCManFM::DesktopWindow - - - Trash (One item) - Šiukšlinė (Vienas elementas) - - - - Trash (%Ln items) - Šiukšlinė (%Ln elementas) - Šiukšlinė (%Ln elementai) - Šiukšlinė (%Ln elementų) - - - - Trash (Empty) - Šiukšlinė (Tuščia) - - - - Home - Namai - - - - Computer - Kompiuteris - - - - Network - Tinklas - - - - Open - Atverti - - - - - Stic&k to Current Position - Pritvirtinti prie esamos &vietos - - - - Empty Trash - Išvalyti šiukšlinę - - - - Hide Desktop Items - Slėpti darbalaukio elementus - - - - Desktop Preferences - Darbalaukio nuostatos - - - - PCManFM::FilterBar - - - Filter: - Filtras: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Išvalyti tekstą (Ctrl(Vald)+K) - - - - PCManFM::MainWindow - - - Root Instance - Šaknies egzempliorius - - - - Hide menu bar - Slėpti meniu juostą - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Tai visiškai paslėps meniu juostą, naudokite Ctrl(Vald)+M, kad ji vėl būtų parodyta. - - - - Version: %1 - Versija: %1 - - - - &Move to Trash - &Perkelti į šiukšlinę - - - - &Delete - &Ištrinti - - - - - Error - Klaida - - - - Switch user command is not set. - Naudotojo perjungimo komanda nėra nustatyta. - - - - PCManFM::PreferencesDialog - - - Icon View - Piktogramų rodinys - - - - Compact View - Glaustas rodinys - - - - Thumbnail View - Miniatiūrų rodinys - - - - Detailed List View - Išsamaus sąrašo rodinys - - - - PCManFM::TabPage - - - Error - Klaida - - - - Free space: %1 (Total: %2) - Laisva vieta: %1 (Viso: %2) - - - - %n item(s) - - %n elementas - %n elementai - %n elementų - - - - - (%n hidden) - - (%n paslėptas) - (%n paslėpti) - (%n paslėptų) - - - - - - - Link to - Nuoroda į - - - - %n item(s) selected - - Pažymėtas %n elementas - Pažymėti %n elementai - Pažymėta %n elementų - - - - - PCManFM::View - - - Open in New T&ab - Atverti naujoje k&ortelėje - - - - Open in New Win&dow - Atverti naujame lan&ge - - - - Open in Termina&l - Atverti termina&le - - - - PreferencesDialog - - - Preferences - Nuostatos - - - - User Interface - Naudotojo sąsaja - - - - Behavior - Elgsena - - - - - Thumbnail - Miniatiūros - - - - Volume - Tomai - - - - Advanced - Išplėstinės - - - - Select newly created files - Pasirinkti naujai sukurtus failus - - - - Icons - Piktogramos - - - - Size of big icons: - Didelių piktogramų dydis: - - - - Size of small icons: - Mažų piktogramų dydis: - - - - Size of thumbnails: - Miniatiūrų dydis: - - - - Size of side pane icons: - Šoninio polangio piktogramų dydis: - - - - Icon theme: - Piktogramų tema: - - - - Window - Langas - - - - Always show the tab bar - Visada rodyti kortelių juostą - - - - Show 'Close' buttons on tabs - Rodyti ant kortelių mygtuką "Užverti" - - - - Remember the size of the last closed window - Prisiminti paskutinio užverto lango dydį - - - - Default width of new windows: - Numatytasis naujų langų plotis: - - - - Default height of new windows: - Numatytasis naujų langų aukštis: - - - - Browsing - Naršymas - - - - Open files with single click - Atverti failus vienkarčiu spustelėjimu - - - - Delay of auto-selection in single click mode (0 to disable) - Automatinio žymėjimo delsa vienkarčio spustelėjimo veiksenoje (0, norint išjungti) - - - - Default view mode: - Numatytojo rodinio veiksena: - - - - sec - sek - - - - File Operations - Failų operacijos - - - - Confirm before deleting files - Patvirtinti prieš ištrinant failus - - - - Move deleted files to "trash bin" instead of erasing from disk. - Perkelti ištrinamus failus į šiukšlinę, o ne ištrinti iš disko. - - - - Show thumbnails of files - Rodyti failų miniatiūras - - - - Only show thumbnails for local files - Rodyti miniatiūras tik vietiniams failams - - - - Display - Rodymas - - - - Bookmarks: - Žymelės: - - - - Open in current tab - Atverti esamoje kortelėje - - - - Open in new tab - Atverti naujoje kortelėje - - - - Open in new window - Atverti naujame lange - - - - Erase files on removable media instead of "trash can" creation - Keičiamojoje laikmenoje nekurti šiukšlinės, o ištrinti failus iš karto - - - - Confirm before moving files into "trash can" - Patvirtinti prieš perkeliant failus į šiukšlinę - - - - - - Requires application restart to take effect completely - Tam, kad pilnai įsigaliotų, reikia paleisti programą iš naujo - - - - Launch executable files without prompt - Paleisti vykdomuosius failus neklausiant - - - - - Used by Icon View - Naudojama piktogramų rodinio - - - - - Used by Compact View and Detailed List View - Naudojama glausto rodinio ir išsamaus sąrašo rodinio - - - - - Used by Thumbnail View - Naudojama miniatiūrų rodinio - - - - User interface - Naudotojo sąsaja - - - - Treat backup files as hidden - Žiūrėti į atsarginių kopijų failus kaip į paslėptus - - - - Always show full file names - Visada rodyti pilnus failų pavadinimus - - - - Show icons of hidden files shadowed - Rodyti paslėptų failų piktogramas užtamsintai - - - - Minimum item margins in icon view: - Mažiausios elemento paraštės piktogramų rodinyje: - - - - 3 px by default. - Pagal numatymą - 3 pikseliai. - - - - - px - piks - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - Pagal numatymą - 3 pikseliai. -Taip pat rezervuojama vieta 3 teksto eilutėms. - - - - Lock - Užrakinti - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Kai žymėjimas nuimtas, kortelių juosta bus -rodoma tik tuomet, kai bus daugiau nei -viena kortelė. - - - - Application restart is needed for changes to take effect. - Tam, kad įsigaliotų pakeitimai, reikia paleisti programą iš naujo. - - - - Do not generate thumbnails for image files exceeding this size: - Nekurti miniatiūrų, jei failas didesnis nei: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Reikalauja ffmpegthumbnailer - - - - Auto Mount - Automatinis prijungimas - - - - Mount mountable volumes automatically on program startup - Paleidus programą, automatiškai prijungti prieinamus tomus - - - - Mount removable media automatically when they are inserted - Automatiškai prijungti keičiamąsias laikmenas, kai jos yra įdedamos - - - - Show available options for removable media when they are inserted - Įdėjus keičiamąją laikmeną, rodyti prieinamas parinktis - - - - When removable medium unmounted: - Atjungus keičiamąją laikmeną: - - - - Close &tab containing removable medium - Užverti keičiamosios laikmenos kor&telę - - - - Chan&ge folder in the tab to home folder - Pakeisti aplanką kortelėje į &Namų aplanką - - - - Programs - Programos - - - - Terminal emulator: - Terminalo emuliatorius: - - - - Switch &user command: - Na&udotojo perjungimo komanda: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Pavyzdžiai: "xterm -e %s" terminalui arba "gksu %s" naudotojo perjungimui. -%s = komandų eilutė, kurią norite vykdyti su terminalu ar su. - - - - Archiver in&tegration: - Archyvavimo programos in&tegracija: - - - - Templates - Šablonai - - - - Show only user defined templates in menu - Meniu rodyti tik naudotojo apibrėžtus šablonus - - - - Show only one template for each MIME type - Kiekvienam MIME tipui rodyti tik po vieną šabloną - - - - Run default application after creation from template - Sukūrus šabloną, paleisti numatytąją programą - - - - Use SI decimal prefixes instead of IEC binary prefixes - Vietoj IEC dvejetainių priešdelių, naudoti SI dešimtainius priešdelius - - - - QObject - - - Renaming files... - Pervadinami failai... - - - - Abort - Nutraukti - - - - Warning - Įspėjimas - - - - Renaming is aborted. - Pervadinimas yra nutrauktas. - - - - - Error - Klaida - - - - No file could be renamed. - Nepavyko pervadinti jokio failo. - - - - Some files could not be renamed. - Kai kurių failų pervadinti nepavyko. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_nb_NO.ts b/pcmanfm/translations/pcmanfm-qt_nb_NO.ts deleted file mode 100644 index e82c2a9..0000000 --- a/pcmanfm/translations/pcmanfm-qt_nb_NO.ts +++ /dev/null @@ -1,1814 +0,0 @@ - - - - - AboutDialog - - - About - Om - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - - Lightweight file manager - Lettvekts filhåndterer - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programmering: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt Filhåndterer - -Opphavsrett (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Dette programmet er fri programvare. Du kan redistribuere det og/eller -forandre det under vilkårene i GNU General Public License -som publisert av Free Software Foundation, enten versjon 2 -av lisensen eller (etter ditt ønske) enhver senere versjon. - -Dette programmet distribueres i håpet at det vil være nyttig, -men UTEN NOEN GARANTI, til og med uten de antatte garantiene -om SALGBARHET eller VELEGNETHET FOR ET BESTEMT FORMÅL. Se -GNU General Public License for flere detaljer. - -Du skal ha mottatt en kopi av GNU General Public License -sammen med dette programmet. Hvis ikke, skriv til Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - Authors - Opphavsmenn - - - - License - Lisens - - - - AutoRunDialog - - - Removable medium is inserted - Uttagbart medium er satt inn - - - - <b>Removable medium is inserted</b> - <b>Uttagbart medium er satt inn</b> - - - - Type of medium: - Type medium: - - - - Detecting... - Undersøker... - - - - Please select the action you want to perform: - Vennligst velg handlingen du ønsker å utføre: - - - - BulkRenameDialog - - - Bulk Rename - Gi nytt navn til flere - - - - # will be replaced by numbers starting with: - # kommer til å erstattes med tall som starter med: - - - - Rename selected files to: - Gi valgte filer dette navnet: - - - - Name# - Navn# - - - - ConnectServerDialog - - - Connect to remote server - Koble opp til server - - - - Anonymous &login - Anonym inn&logging - - - - Login as &user: - Log inn som br&uker: - - - - Specify remote folder to connect - Spesifiser mappe å koble opp til - - - - Type: - - - - - Port: - - - - - Path: - Filsti: - - - - Host: - Vert: - - - - DesktopFolder - - - Form - - - - - Desktop - Skrivebord - - - - Desktop folder: - Skrivebordsmappe: - - - - Image file - Bildefil - - - - Folder path - Mappesti - - - - &Browse - &Se gjennom - - - - DesktopPreferencesDialog - - - Desktop Preferences - Skrivebordsvalg - - - - Background - Bakgrunn - - - - Wallpaper mode: - Skrivebordsbakgrunnsmodus: - - - - Wallpaper image file: - Skrivebordsbakgrunnens bildefil: - - - - Select background color: - Velg bakgrunnsfarge: - - - - Image file - Bildefil - - - - Image file path - Bildefilsti - - - - &Browse - &Se gjennom - - - - Icons - Symboler - - - - Icon size: - Symbolstørrelse: - - - - Label Text - Etikettekst - - - - Select shadow color: - Velg skyggens farge: - - - - Select font: - Velg skrift: - - - - General - Generelt - - - - Select text color: - Velg tekstens farge: - - - - Spacing - Mellomrom - - - - Minimum item margins: - Minste marg: - - - - 3 px by default. - Standard er 3 punkter. - - - - - px - p - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 punkt er standard. -Et mellomrom er også reservert for 3 linjers tekst. - - - - Lock - Lås - - - - Slide Show - Lysbildeshow - - - - Enable Slide Show - Aktiver lysbildeshow - - - - Wallpaper image folder: - Mappe for skrivebordsbakgrunner: - - - - Browse - Se gjennom - - - - hour(s) - time(r) - - - - and - og - - - - Intervals less than 5min will be ignored - Intervaller mindre enn 5 minutter ingoreres - - - - Interval: - Intervall: - - - - minute(s) - minutte(r) - - - - Wallpaper folder - Skrivebordsbakgrunnsmappe - - - - Randomize the slide show - Tilfeldig bilde i lysbildeshow - - - - Visible Shortcuts - Synlige snarveier - - - - Home - Hjem - - - - Trash - Papirkurv - - - - Computer - Datamaskin - - - - Network - Nettverk - - - - Window Manager - Vindushåndterer - - - - Show menus provided by window managers when desktop is clicked - Vis menyer fra vindushåndtereren når skrivebordet klikkes - - - - Advanced - Avansert - - - - MainWindow - - - File Manager - Filhåndterer - - - - &Toolbars - &Verktøylinjer - - - - Path &Bar - Filsti&linje - - - - &Filtering - &Filtrering - - - - Go &Up - Gå &opp - - - - Go Up - Gå opp - - - - Alt+Up - Alt+opp - - - - &Home - &Hjem - - - - Alt+Home - - - - - &Reload - &Last på nytt - - - - F5 - - - - - Go - - - - - Quit - Avslutt - - - - &About - &Om - - - - &New Window - &Nytt vindu - - - - New Window - Nytt vindu - - - - Ctrl+N - - - - - Show &Hidden - Vis &skjulte - - - - Ctrl+H - - - - - &Computer - &Datamaskin - - - - &Trash - &Papirkurv - - - - &Network - &Nettverk - - - - &Desktop - &Skrivebord - - - - &Add to Bookmarks - &Legg til bokmerker - - - - &Applications - &Programmer - - - - Reload - Last inn på nytt - - - - &Icon View - &Symbolvisning - - - - &Compact View - &Kompakt visning - - - - &Detailed List - &Detaljert liste - - - - &Thumbnail View - &Minibildevisning - - - - Cu&t - Kli&pp ut - - - - Ctrl+X - - - - - &Copy - &Kopier - - - - Ctrl+C - - - - - &Paste - &Lim inn - - - - Ctrl+V - - - - - Select &All - Velg &alt - - - - Ctrl+A - - - - - Pr&eferences - V&alg - - - - &Ascending - &Stigende - - - - &Descending - S&ynkende - - - - &By File Name - Etter fi&lnavn - - - - By &Modification Time - Etter &sist endret - - - - By File &Type - Etter fil&type - - - - By &Owner - Etter &eier - - - - &Folder First - &Mapper først - - - - &Preserve sorting for this folder - &Husk sortering for denne mappen - - - - &Case Sensitive - &Forskjell på STORE og små bokstaver - - - - By File &Size - Etter &størrelse - - - - &Close Window - &Lukk vindu - - - - Ctrl+Q - - - - - &Folder - &Mappe - - - - &Blank File - &Tom fil - - - - &Show/Focus Filter Bar - &Vis/gi fokus til filterlinje - - - - Show Filter Bar - Vis filterlinje - - - - Ctrl+I - - - - - S&plit View - &Delt visning - - - - Split View - Delt visning - - - - F6 - - - - - &Copy Full Path - &Kopier hele filstien - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - - - - - &Clear All Filters - &Fjern alle filtre - - - - Ctrl+Shift+K - - - - - Close &previous tabs - Lukk &forrige fane - - - - Close &next tabs - Lukk &neste fane - - - - &Preserve Settings for This Folder - &Husk innstillinger for denne mappen - - - - Connect to &Server - Koble til &server - - - - &Location - &Plassering - - - - &Path Buttons - &Filstiknapper - - - - &Bulk Rename - &Gi nytt navn til flere - - - - Bulk Rename - Gi nytt navn til flere - - - - Ctrl+F2 - - - - - Close &other tabs - Lukk &andre faner - - - - Permanent &filter bar - Permanent &filterlinje - - - - &Menu bar - &Menylinje - - - - Menu bar - Menylinje - - - - Ctrl+M - - - - - - Menu - Meny - - - - New &Tab - Ny &fane - - - - New Tab - Ny fane - - - - Ctrl+T - - - - - Go &Back - Gå til&bake - - - - Go Back - Gå tilbake - - - - Alt+Left - Alt+venstre - - - - Go &Forward - Gå &framover - - - - Go Forward - Gå framover - - - - Alt+Right - Alt+høyre - - - - &Invert Selection - &Inverter markering - - - - &Delete - &Slett - - - - Del - Slett - - - - &Rename - &Gi nytt navn - - - - F2 - - - - - C&lose Tab - &Lukk fane - - - - Ctrl+W - - - - - File &Properties - Fil&egenskaper - - - - Alt+Return - Alt+Retur - - - - &Folder Properties - &Mappeegenskaper - - - - Edit Bookmarks - Rediger bokmerker - - - - Open &Terminal - Åpne &terminal - - - - F4 - - - - - Open as &Root - Åpne som &rot - - - - &Edit Bookmarks - R&ediger bokmerker - - - - Ctrl+Shift+N - - - - - Ctrl+Alt+N - - - - - &Find Files - &Finn filer - - - - F3 - - - - - &File - &Fil - - - - C&reate New - L&ag ny - - - - &Help - &Hjelp - - - - - &View - &Visning - - - - &Sorting - &Sortering - - - - &Edit - R&ediger - - - - &Bookmarks - &Bokmerker - - - - &Go - &Gå - - - - &Tool - &Verktøy - - - - Main Toolbar - Hovedverktøylinje - - - - PCManFM::Application - - - Name of configuration profile - Navn på konfigurasjonsprofil - - - - PROFILE - Profil - - - - Run PCManFM as a daemon - Kjør PCManFM som bakgrunnsprosess - - - - Quit PCManFM - Avslutt PCManFM - - - - Launch desktop manager - Kjør skrivebordshåndterer - - - - Turn off desktop manager if it's running - Slå av skrivebordshåndterer hvis den kjører - - - - Open desktop preference dialog on the page with the specified name - Åpne skrivebordsvalg på siden med det spesifiserte navnet - - - - - NAME - Navn - - - - Open new window - Åpne nytt vindu - - - - Open Find Files utility - Åpne finn filer-verktøyet - - - - Set desktop wallpaper from image FILE - Sett skrivebordsbakgrunn fra bildefil - - - - FILE - Fil - - - - MODE - Modus - - - - Set mode of desktop wallpaper. MODE=(%1) - Sett modus for skrivebordsbakgrunn. Modus=(%1) - - - - Open Preferences dialog on the page with the specified name - Åpne valg på siden med det spesifiserte navnet - - - - Files or directories to open - Filer og mapper å åpne - - - - [FILE1, FILE2,...] - [FIL1, FIL2,...] - - - - - Error - Feil - - - - Terminal emulator is not set. - Terminalemulator er ikke stilt inn. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Åpne i filhåndtereren - - - - Removable Disk - Uttagbar disk - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - Sikker WebDav - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Fyll bare med bakgrunnsfarge - - - - Stretch to fill the entire screen - Strekk for å fylle hele skjermen - - - - Stretch to fit the screen - Strekk for å passe til skjermen - - - - Center on the screen - Sentrer på skjermen - - - - Tile the image to fill the entire screen - Gjenta bildet for å fylle hele skjermen - - - - Zoom the image to fill the entire screen - Zoom bildet for å fylle hele skjermen - - - - Image Files - Bildefiler - - - - PCManFM::DesktopWindow - - - Trash (One item) - Papirkurv (et objekt) - - - - Trash (%Ln items) - Papirkurv (&Ln objekt) - Papirkurv (&Ln objekter) - - - - Trash (Empty) - Papirkurv (tom) - - - - Home - Hjem - - - - Computer - Datamaskin - - - - Network - Nettverk - - - - Open - Åpne - - - - - Stic&k to Current Position - &Sett fast i nåværende posisjon - - - - Empty Trash - Tøm papirkurv - - - - Hide Desktop Items - Skjul skrivebordsobjekter - - - - Desktop Preferences - Skrivebordsvalg - - - - PCManFM::FilterBar - - - Filter: - - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Fjern tekst (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Rot-instans - - - - Hide menu bar - Skjul menylinje - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Dette vil skjule menylinjen helt. Bruk Ctrl+M for å vise den igjen. - - - - Version: %1 - Versjon: %1 - - - - &Move to Trash - Flytt til &papirkurven - - - - &Delete - &Slett - - - - - Error - Feil - - - - Switch user command is not set. - Skiftbrukerkommando er ikke innstilt. - - - - PCManFM::PreferencesDialog - - - Icon View - Symbolvisning - - - - Compact View - Kompakt visning - - - - Thumbnail View - Minibildevisning - - - - Detailed List View - Detaljert listevisning - - - - PCManFM::TabPage - - - Error - Feil - - - - Free space: %1 (Total: %2) - Ledig plass: %1 (Totalt: %2) - - - - %n item(s) - %n objekt - %n objekter - - - - (%n hidden) - (%n skjult) - (%n skjulte) - - - - - - Link to - Lenke til - - - - %n item(s) selected - %n valgt objekt - %n valgte objekter - - - - PCManFM::View - - - Open in New T&ab - Åpne i ny f&ane - - - - Open in New Win&dow - Åpne i nytt &vindu - - - - Open in Termina&l - Åpne i termina&l - - - - PreferencesDialog - - - Preferences - Innstillinger - - - - User Interface - Brukergrensesnitt - - - - Behavior - Oppførsel - - - - - Thumbnail - Minibilde - - - - Volume - Volum - - - - Advanced - Avansert - - - - Select newly created files - Velg nylig opprettede filer - - - - Icons - Symboler - - - - Size of big icons: - Størrelse på store symboler: - - - - Size of small icons: - Størrelse på små symboler: - - - - Size of thumbnails: - Størrelse på minibilder: - - - - Size of side pane icons: - Størrelse på symboler i sidepanelet: - - - - Icon theme: - Symboltema: - - - - Window - Vindu - - - - Always show the tab bar - Alltid vis fanelinjen - - - - Show 'Close' buttons on tabs - Vis lukkeknapper i faner - - - - Remember the size of the last closed window - Husk størrelsen på det sist lukkede vinduet - - - - Default width of new windows: - Standardbredde for nye vinduer: - - - - Default height of new windows: - Standardhøyde for nye vinduer: - - - - Browsing - Gjennomsyn - - - - Open files with single click - Åpne filer med ett klikk - - - - Delay of auto-selection in single click mode (0 to disable) - Forsinkelse for automarkering i ettklikksmodus (0 for å deaktivere) - - - - Default view mode: - Standardvisning: - - - - sec - sek. - - - - File Operations - Filhandlinger - - - - Confirm before deleting files - Bekreft før sletting av filer - - - - Move deleted files to "trash bin" instead of erasing from disk. - Flytt slettede filer til papirkurven i stedet for å slette dem fra disken. - - - - Show thumbnails of files - Vis minibilder av filer - - - - Only show thumbnails for local files - Bare vis minibilder for lokale filer - - - - Display - Visning - - - - Bookmarks: - Bokmerker: - - - - Open in current tab - Åpne i nåværende fane - - - - Open in new tab - Åpne i ny fane - - - - Open in new window - Åpne i nytt vindu - - - - Erase files on removable media instead of "trash can" creation - Slett filer på uttagbare medier i stedet for å legge dem i papirkurven - - - - Confirm before moving files into "trash can" - Bekreft før filer flyttes til papirkurven - - - - - - Requires application restart to take effect completely - Krever omstart av programmet for å tre helt i kraft - - - - Launch executable files without prompt - Kjør kjørbare filer uten å spør - - - - - Used by Icon View - Brukt av symbolvisning - - - - - Used by Compact View and Detailed List View - Brukt av kompaktvisning og detaljert listevisning - - - - - Used by Thumbnail View - Brukt av minibildevisning - - - - User interface - Brukergrensesnitt - - - - Treat backup files as hidden - Behandle sikkerhetskopifiler som skjulte - - - - Always show full file names - Alltid vis fulle filnavn - - - - Show icons of hidden files shadowed - Vis skyggelagte symboler for skjulte filer - - - - Minimum item margins in icon view: - Minimum marg i symbolvisning: - - - - 3 px by default. - Standard er 3 punkter. - - - - - px - p - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 punkter er standard. -Et mellomrom er også reservert for tre linjers tekst. - - - - Lock - Lås - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Når ikke avkrysset vil fanelinjen bare vises -hvis det er mer enn en fane. - - - - Application restart is needed for changes to take effect. - Programmet må omstartes for at endringer skal tre i kraft. - - - - Do not generate thumbnails for image files exceeding this size: - Ikke lag minibilder for bildefiler større enn: - - - - KB - kB - - - - Needs ffmpegthumbnailer - Trenger ffmpegthumbnailer - - - - Auto Mount - Automontering - - - - Mount mountable volumes automatically on program startup - Monter automatisk monterbare disker ved programstart - - - - Mount removable media automatically when they are inserted - Monter automatisk uttagbare medier når de settes inn - - - - Show available options for removable media when they are inserted - Vis valg for uttagbare medier når de settes inn - - - - When removable medium unmounted: - Når et uttagbart medium avmonteres: - - - - Close &tab containing removable medium - Lukk &faner der uttagbare medier er åpne - - - - Chan&ge folder in the tab to home folder - Skift mappe i fanen til h&jemmemappen - - - - Programs - Programmer - - - - Terminal emulator: - Terminalemulator: - - - - Switch &user command: - Skiftbr&uker-kommando: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Eksempler: "xterm -e %s" for terminal eller "gksu %s" for å bytte bruker. -%s = kommandoen du vil kjøre med terminalen eller med su. - - - - Archiver in&tegration: - Komprimeringsin&tegrasjon: - - - - Templates - Maler - - - - Show only user defined templates in menu - Vis bare brukerdefinerte maler i meny - - - - Show only one template for each MIME type - Vis bare en mal for hver MIME-type - - - - Run default application after creation from template - Kjør standardprogram etter oppretelse fra mal - - - - Use SI decimal prefixes instead of IEC binary prefixes - Bruk SI desimalprefiks i stedet for IEC binærprefiks - - - - QObject - - - Renaming files... - Gir nytt navn til filer.. - - - - Abort - Avbryt - - - - Warning - Advarsel - - - - Renaming is aborted. - Bytte av navn er avbrutt. - - - - - Error - Feil - - - - No file could be renamed. - Ingen fil kunne gis nytt navn. - - - - Some files could not be renamed. - Noen filler kunne ikke gis nytt navn. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_nl.ts b/pcmanfm/translations/pcmanfm-qt_nl.ts deleted file mode 100644 index 4eaa737..0000000 --- a/pcmanfm/translations/pcmanfm-qt_nl.ts +++ /dev/null @@ -1,1821 +0,0 @@ - - - - - AboutDialog - - - About - Over - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Lichtgewicht bestandsbeheerder - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programmeur: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Auteursrecht © 2009 - 2014 洪任諭 (Hong Jen Yee) - -Dit programma is vrije programmatuur; u kunt het verspreiden en/of -aanpassen binnen de voorwaarden van de GNU General Public License -zoals gepubliceerd door de Free Software Foundation; hetzij versie 2 -van die licentie hetzij (naar uw eigen keuze) een nieuwere versie. - -Dit programma wordt verspreid in de hoop dat het bruikbaar is, maar -ZONDER ENIGE GARANTIE; zelfs zonder de garantie van VERKOOPBAARHEID -of BRUIKBAARHEID VOOR EEN BEPAALD DOEL. Zie de GNU General Public -License voor meer bijzonderheden. - -Een exemplaar van de GNU General Public License heeft u, als het -goed is, samen met dit programma gekregen; schrijf anders naar de -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301 USA. - - - - Authors - Auteurs - - - - License - Licentie - - - - AutoRunDialog - - - Removable medium is inserted - Verwijderbaar medium is ingevoegd - - - - <b>Removable medium is inserted</b> - <b>Verwijderbaar medium is ingevoegd</b> - - - - Type of medium: - Soort medium: - - - - Detecting... - Onderzoeken... - - - - Please select the action you want to perform: - Kies a.u.b. de actie die u wilt uitvoeren: - - - - BulkRenameDialog - - - Bulk Rename - Massaal hernoemen - - - - # will be replaced by numbers starting with: - # zal worden vervangen door nummers, om te beginnen met: - - - - Rename selected files to: - Hernoem gekozen bestanden naar: - - - - Name# - Naam# - - - - ConnectServerDialog - - - Connect to remote server - Verbind met server op afstand - - - - Anonymous &login - Anoniem aanmelden - - - - Login as &user: - Aanmelden als &gebruiker: - - - - Specify remote folder to connect - Geef map op afstand aan om mee te verbinden - - - - Type: - Soort: - - - - Port: - Poort: - - - - Path: - Pad: - - - - Host: - Gastheercomputer: - - - - DesktopFolder - - - Form - Vorm - - - - Desktop - Bureaublad - - - - Desktop folder: - Bureaubladmap: - - - - Image file - Afbeeldingsbestand - - - - Folder path - Mappad - - - - &Browse - &Verkennen - - - - DesktopPreferencesDialog - - - Desktop Preferences - Bureaubladvoorkeuren - - - - Background - Achtergrond - - - - Wallpaper mode: - Modus voor bureaubladachtergrond: - - - - Wallpaper image file: - Afbeeldingsbestand voor bureaubladachtergrond: - - - - Select background color: - Kies achtergrondkleur: - - - - Image file - Afbeeldingsbestand - - - - Image file path - Pad van afbeeldingsbestand - - - - &Browse - &Verkennen - - - - Icons - Pictogrammen - - - - Icon size: - Pictogramgrootte: - - - - Label Text - Etikettekst - - - - Select shadow color: - Kies schaduwkleur: - - - - Select font: - Kies lettertype: - - - - General - Algemeen - - - - Select text color: - - - - - Spacing - Tussenruimte - - - - Minimum item margins: - Minimale marges voor elementen: - - - - 3 px by default. - Standaard 3 px. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - Standaard 1 px. -Er is ook een spatie gereserveerd voor drie regels tekst. - - - - Lock - Vergrendelen - - - - Slide Show - Diavertoning - - - - Enable Slide Show - Diavertoning inschakelen - - - - Wallpaper image folder: - Map voor bureaubladachtergronden: - - - - Browse - Verkennen - - - - hour(s) - u(u)r(en) - - - - and - en - - - - Intervals less than 5min will be ignored - Tussenpozen van minder dan 5 minuten zullen worden genegeerd - - - - Interval: - Tussenpoze: - - - - minute(s) - minu(u)t(en) - - - - Wallpaper folder - Map voor bureaubladachtergrond - - - - Randomize the slide show - Diavertoning in willekeurige volgorde - - - - Visible Shortcuts - - - - - Home - Persoonlijke map - - - - Trash - - - - - Computer - Computer - - - - Network - Netwerk - - - - Window Manager - Vensterbeheerder - - - - Show menus provided by window managers when desktop is clicked - Toon menu's aangeboden door vensterbeheerders wanneer er op bureaublad wordt geklikt - - - - Advanced - Geavanceerd - - - - MainWindow - - - File Manager - Bestandsbeheerder - - - - &Toolbars - &Werkbalken - - - - Path &Bar - Padbalk - - - - &Filtering - &Filteren - - - - Go &Up - Om&hoog - - - - Go Up - Omhoog - - - - Alt+Up - Alt+PageUp - - - - &Home - &Persoonlijke map - - - - Alt+Home - Alt+Home - - - - &Reload - Her&laden - - - - F5 - F5 - - - - Go - Ga naar - - - - Quit - Afsluiten - - - - &About - &Over - - - - &New Window - &Nieuw venster - - - - New Window - Nieuw venster - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Toon &verborgen elementen - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Computer - - - - &Trash - &Prullenbak - - - - &Network - &Netwerk - - - - &Desktop - &Bureaublad - - - - &Add to Bookmarks - Voeg &toe aan bladwijzers - - - - &Applications - Toe&passingen - - - - Reload - Herladen - - - - &Icon View - &Pictogramweergave - - - - &Compact View - &Compacte weergave - - - - &Detailed List - &Gedetailleerde lijst - - - - &Thumbnail View - &Miniaturenweergave - - - - Cu&t - &Knippen - - - - Ctrl+X - Ctrl+X - - - - &Copy - K&opiëren - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Plakken - - - - Ctrl+V - Ctrl+V - - - - Select &All - Selecteer &alles - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - Voorkeur&en - - - - &Ascending - &Oplopend - - - - &Descending - &Aflopend - - - - &By File Name - Op bestandnaam - - - - By &Modification Time - Op &bewerkingstijdstip - - - - By File &Type - Op bestandsoort - - - - By &Owner - Op &eigenaar - - - - &Folder First - &Mappen eerst - - - - &Preserve sorting for this folder - Behoud rangschikking voor deze map - - - - &Case Sensitive - &Hoofdlettergevoelig - - - - By File &Size - Op bestandgrootte - - - - &Close Window - Sluit &venster - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - &Map - - - - &Blank File - &Leeg bestand - - - - &Show/Focus Filter Bar - Filterbalk tonen/&scherpstellen - - - - Show Filter Bar - Filterbalk tonen - - - - Ctrl+I - Ctrl+I - - - - S&plit View - Gesplitste weergave - - - - Split View - Gesplitste weergave - - - - F6 - F6 - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - Alle filters wissen - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Sluit vorige tabbladen - - - - Close &next tabs - Sluit volgende tabbladen - - - - &Preserve Settings for This Folder - Behoud instellingen voor deze map - - - - Connect to &Server - Verbinden met server - - - - &Location - &Locatie - - - - &Path Buttons - &Padknoppen - - - - &Bulk Rename - &Massaal hernoemen - - - - Bulk Rename - Massaal hernoemen - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Sluit &andere tabbladen - - - - Permanent &filter bar - Blijvende filterbalk - - - - &Menu bar - &Menubalk - - - - Menu bar - Menubalk - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menu - - - - New &Tab - Nieuw &tabblad - - - - New Tab - Nieuw tabblad - - - - Ctrl+T - Ctrl+T - - - - Go &Back - &Terug - - - - Go Back - Terug - - - - Alt+Left - Alt+Links - - - - Go &Forward - &Verder - - - - Go Forward - Verder - - - - Alt+Right - Alt+Rechts - - - - &Invert Selection - &Draai selectie om - - - - &Delete - &Wissen - - - - Del - Wis - - - - &Rename - &Hernoemen - - - - F2 - F2 - - - - C&lose Tab - S&luit tabblad - - - - Ctrl+W - Ctrl+W - - - - File &Properties - &Bestandeigenschappen - - - - Alt+Return - Alt+Enter - - - - &Folder Properties - &Mapeigenschappen - - - - Edit Bookmarks - Bladwijzers bewerken - - - - Open &Terminal - Open &terminalvenster - - - - F4 - F4 - - - - Open as &Root - Open als &root - - - - &Edit Bookmarks - Bladwijzers b&ewerken - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - &Zoek bestanden - - - - F3 - F3 - - - - &File - &Bestand - - - - C&reate New - &Maak nieuw - - - - &Help - &Hulp - - - - - &View - &Tonen - - - - &Sorting - &Sorteren - - - - &Edit - &Bewerken - - - - &Bookmarks - &Bladwijzers - - - - &Go - &Ga - - - - &Tool - Ge&reedschap - - - - Main Toolbar - Hoofdwerkbalk - - - - PCManFM::Application - - - Name of configuration profile - Naam van instellingenprofiel - - - - PROFILE - PROFIEL - - - - Run PCManFM as a daemon - Draai PCManFM als achtergronddienst - - - - Quit PCManFM - Sluit PCManFM af - - - - Launch desktop manager - Start bureaubladbeheerder - - - - Turn off desktop manager if it's running - Schakel bureaubladbeheerder uit als deze draait - - - - Open desktop preference dialog on the page with the specified name - Open dialoogvenster met bureaubladvoorkeuren op de pagina met de opgegeven naam - - - - - NAME - NAAM - - - - Open new window - Open nieuw venster - - - - Open Find Files utility - Start de bestandenzoeker - - - - Set desktop wallpaper from image FILE - Stel afbeeldingsBESTAND in als bureaubladachtergrond - - - - FILE - BESTAND - - - - MODE - MODUS - - - - Set mode of desktop wallpaper. MODE=(%1) - Stel modus van bureaubladachtergrond in. MODUS=(%1) - - - - Open Preferences dialog on the page with the specified name - Open dialoogvenster met voorkeuren op de pagina met de opgegeven naam - - - - Files or directories to open - Te openen bestanden of mappen - - - - [FILE1, FILE2,...] - [BESTAND1, BESTAND2, enz.] - - - - - Error - Fout - - - - Terminal emulator is not set. - Terminalnabootser is niet ingesteld. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Open in bestandsbeheerder - - - - Removable Disk - Verwijderbare schijf - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - Beveiligde WebDav - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Vul alleen op met achtergrondkleur - - - - Stretch to fill the entire screen - Rek uit om het hele scherm te vullen - - - - Stretch to fit the screen - Rek uit om op het scherm te passen - - - - Center on the screen - Centreer op het scherm - - - - Tile the image to fill the entire screen - Tegel de afbeelding om het volledige scherm te vullen - - - - Zoom the image to fill the entire screen - Vergroot de afbeelding om haar schermvullend te maken - - - - Image Files - Afbeeldingsbestanden - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - - - - - - - - Trash (Empty) - - - - - Home - Persoonlijke map - - - - Computer - Computer - - - - Network - Netwerk - - - - Open - - - - - - Stic&k to Current Position - &Blijf op de huidige positie - - - - Empty Trash - - - - - Hide Desktop Items - Bureaubladelementen verbergen - - - - Desktop Preferences - Bureaubladvoorkeuren - - - - PCManFM::FilterBar - - - Filter: - Filter: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Wis tekst (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - Verberg menubalk - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Dit zal de menubalk volledig verbergen, gebruik Ctrl+M om hem opnieuw weer te geven. - - - - Version: %1 - Versie: %1 - - - - &Move to Trash - Verplaats naar &prullenbak - - - - &Delete - &Verwijderen - - - - - Error - Fout - - - - Switch user command is not set. - De opdracht voor gebruikerswissel is niet ingesteld. - - - - PCManFM::PreferencesDialog - - - Icon View - Pictogramweergave - - - - Compact View - Compacte weergave - - - - Thumbnail View - Miniaturenweergave - - - - Detailed List View - Gedetailleerde lijstweergave - - - - PCManFM::TabPage - - - Error - Fout - - - - Free space: %1 (Total: %2) - Vrije ruimte: %1 (totaal : %2) - - - - %n item(s) - - %n element - %n elementen - - - - - (%n hidden) - - (%n verborgen) - (%n verborgen) - - - - - - - Link to - Koppelen naar - - - - %n item(s) selected - - %n element(en) gekozen - %n elementen gekozen - - - - - PCManFM::View - - - Open in New T&ab - Open in nieuw &tabblad - - - - Open in New Win&dow - Open in nieuw &venster - - - - Open in Termina&l - Open in termina&lvenster - - - - PreferencesDialog - - - Preferences - Voorkeuren - - - - User Interface - Gebruikersschil - - - - Behavior - Gedrag - - - - - Thumbnail - Miniatuur - - - - Volume - Schijf - - - - Advanced - Geavanceerd - - - - Select newly created files - Kies recent aangemaakte bestanden - - - - Icons - Pictogrammen - - - - Size of big icons: - Omvang van grote pictogrammen: - - - - Size of small icons: - Omvang van kleine pictogrammen: - - - - Size of thumbnails: - Grootte van miniaturen: - - - - Size of side pane icons: - Grootte van zijbalkpictogrammen: - - - - Icon theme: - Pictogramthema: - - - - Window - Venster - - - - Always show the tab bar - Geef de tabbladwerkbalk altijd weer - - - - Show 'Close' buttons on tabs - Toon 'Sluiten'-knoppen op tabbladen - - - - Remember the size of the last closed window - Onthoud de grootte van het laatst gesloten venster - - - - Default width of new windows: - Standaardbreedte van nieuwe vensters: - - - - Default height of new windows: - Standaardhoogte van nieuwe vensters: - - - - Browsing - Verkennen - - - - Open files with single click - Open bestanden met een enkele klik - - - - Delay of auto-selection in single click mode (0 to disable) - Vertraging voor automatische selectie in enkele-klik-modus (0 om uit te schakelen) - - - - Default view mode: - Standaardweergavemodus: - - - - sec - sec - - - - File Operations - Bestandbewerkingen - - - - Confirm before deleting files - Vraag om bevestiging bij verwijderen van bestanden - - - - Move deleted files to "trash bin" instead of erasing from disk. - Verplaats verwijderde bestanden naar de prullenbak in plaats van hen te wissen van de schijf. - - - - Show thumbnails of files - Toon miniaturen van bestanden - - - - Only show thumbnails for local files - Toon alleen miniaturen voor lokale bestanden - - - - Display - Weergave - - - - Bookmarks: - Bladwijzers: - - - - Open in current tab - Open in huidig tabblad - - - - Open in new tab - Open in nieuw tabblad - - - - Open in new window - Open in nieuw venster - - - - Erase files on removable media instead of "trash can" creation - Wis bestanden op verwijderbare media in plaats van een prullenbak aan te maken - - - - Confirm before moving files into "trash can" - Vraag om bevestiging bij verplaatsen van bestanden naar prullenbak - - - - - - Requires application restart to take effect completely - Vereist een herstart van de toepassing om volledig in werking te treden - - - - Launch executable files without prompt - Uitvoerbare bestanden starten zonder melding - - - - - Used by Icon View - Gebruikt door pictogramweergave - - - - - Used by Compact View and Detailed List View - Gebruikt door compacte weergave en door gedetailleerde lijstweergave - - - - - Used by Thumbnail View - Gebruikt door miniaturenweergave - - - - User interface - Gebruikersschil - - - - Treat backup files as hidden - Verberg reservekopiebestanden - - - - Always show full file names - Toon altijd volledige bestandnamen - - - - Show icons of hidden files shadowed - Geef pictogrammen van verborgen bestanden weer met schaduw - - - - Minimum item margins in icon view: - Minimale marges voor elementen in pictogramweergave: - - - - 3 px by default. - Standaard 3 px. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - Standaard 3 px. -Een spatie is gereserveerd voor 3 regels tekst. - - - - Lock - Vergrendelen - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Wanneer niet aangevinkt, wordt de -tabbladwerkbalk alleen weergegeven als er meer dan één tabblad is. - - - - Application restart is needed for changes to take effect. - Herstart van toepassing is nodig voordat de wijzigingen effect hebben. - - - - Do not generate thumbnails for image files exceeding this size: - Maak geen miniaturen aan voor afbeeldingsbestanden groter dan: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Vereist ffmpegthumbnailer - - - - Auto Mount - Automatisch aankoppelen - - - - Mount mountable volumes automatically on program startup - Koppel aankoppelbare schijven automatisch aan bij opstarten van programma - - - - Mount removable media automatically when they are inserted - Koppel verwijderbare media automatisch aan wanneer ze worden ingevoegd - - - - Show available options for removable media when they are inserted - Toon beschikbare opties voor verwijderbare media wanneer ze worden ingevoegd - - - - When removable medium unmounted: - Na ontkoppelen van verwijderbaar medium: - - - - Close &tab containing removable medium - Sluit &tabblad met verwijderbaar medium - - - - Chan&ge folder in the tab to home folder - Verander ma&p in het tabblad in de persoonlijke map - - - - Programs - Programma's - - - - Terminal emulator: - Terminalnabootser: - - - - Switch &user command: - Opdracht voor &gebruikerswissel: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Voorbeelden: "xterm -e %s" voor de terminal of "gksu %s" om van gebruiker te wisselen. -%s = de opdrachtregel die u wilt uitvoeren met de terminal of met su. - - - - Archiver in&tegration: - In&tegratie met archivering: - - - - Templates - Sjablonen - - - - Show only user defined templates in menu - Toon alleen sjablonen gedefinieerd door de gebruiker in menu - - - - Show only one template for each MIME type - Toon slechts één sjabloon voor elke bestandsoort (MIME-type) - - - - Run default application after creation from template - Voer standaardtoepassing uit na aanmaken vanuit sjabloon - - - - Use SI decimal prefixes instead of IEC binary prefixes - Gebruik decimale SI-voorvoegsels in plaats van binaire IEC-voorvoegsels - - - - QObject - - - Renaming files... - Bestanden hernoemen... - - - - Abort - Afbreken - - - - Warning - Waarschuwing - - - - Renaming is aborted. - Hernoemen is afgebroken. - - - - - Error - Fout - - - - No file could be renamed. - Geen enkel bestand kon worden hernoemd. - - - - Some files could not be renamed. - Sommige bestanden konden niet worden hernoemd. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_pl.desktop b/pcmanfm/translations/pcmanfm-qt_pl.desktop deleted file mode 100644 index f8cae09..0000000 --- a/pcmanfm/translations/pcmanfm-qt_pl.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[pl]=Menedżer plików PCManFM-Qt -GenericName[pl]=Menedżer plików -Comment[pl]=Przegląd systemu plików i zarządzanie plikami diff --git a/pcmanfm/translations/pcmanfm-qt_pl.ts b/pcmanfm/translations/pcmanfm-qt_pl.ts deleted file mode 100644 index 015d1a6..0000000 --- a/pcmanfm/translations/pcmanfm-qt_pl.ts +++ /dev/null @@ -1,1824 +0,0 @@ - - - - - AboutDialog - - - About - O programie - - - - Lightweight file manager - Lekki menedżer plików - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programowanie: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Authors - Autorzy - - - - License - Licencja - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt File Manager - -Prawa autorskie (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Niniejszy program jest otwartym oprogramowaniem; możesz go rozprowadzać -dalej i/lub modyfikować na warunkach Powszechnej Licencji Publicznej GNU, -wydanej przez Fundację Wolnodostępnego Oprogramowania - według wersji drugiej -tej Licencji lub którejś z późniejszych wersji. - -Niniejszy program rozpowszechniany jest z nadzieją, iż będzie on użyteczny - -jednak BEZ JAKIEJKOLWIEK GWARANCJI, nawet domyślnej gwarancji PRZYDATNOŚCI -HANDLOWEJ albo PRZYDATNOŚCI DO OKREŚLONYCH ZASTOSOWAŃ. W celu uzyskania -bliższych informacji - Powszechna Licencja Publiczna GNU. - -Z pewnością wraz z niniejszym programem otrzymałeś też egzemplarz Powszechnej -Licencji Publicznej GNU; jeśli nie - napisz do Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - AutoRunDialog - - - Removable medium is inserted - Wykryto nośnik wymienny - - - - <b>Removable medium is inserted</b> - <b>Wykryto nośnik wymienny</b> - - - - Type of medium: - Typ nośnika: - - - - Detecting... - Wykrywanie... - - - - Please select the action you want to perform: - Wybierz działanie, które chcesz wykonać: - - - - BulkRenameDialog - - - Bulk Rename - Masowa zmiana nazw - - - - # will be replaced by numbers starting with: - # zostanie zastąpione liczbami zaczynając od: - - - - Rename selected files to: - Zmień nazwę zaznaczonych plików na: - - - - Name# - Nazwa# - - - - ConnectServerDialog - - - Connect to remote server - Połącz do zdalnego serwera - - - - Anonymous &login - Za&loguj anonimowo - - - - Login as &user: - Zaloguj jako &użytkownik: - - - - Specify remote folder to connect - Określ folder do połączenia - - - - Type: - Rodzaj: - - - - Port: - Port: - - - - Path: - Ścieżka: - - - - Host: - Host: - - - - DesktopFolder - - - Form - Formularz - - - - Desktop - Pulpit - - - - Desktop folder: - Katalog Pulpitu: - - - - Image file - Plik obrazka - - - - Folder path - Ścieżka katalogu - - - - &Browse - &Wybierz - - - - DesktopPreferencesDialog - - - Desktop Preferences - Ustawienia pulpitu - - - - Background - Tło - - - - Wallpaper mode: - Tryb: - - - - Wallpaper image file: - Obraz tła: - - - - Select background color: - Kolor tła: - - - - Image file - Plik obrazka - - - - Image file path - Ścieżka obrazka - - - - &Browse - &Wybierz - - - - Icons - Ikony - - - - Icon size: - Rozmiar ikon: - - - - Label Text - Tekst - - - - Select shadow color: - Kolor cienia: - - - - Select font: - Czcionka: - - - - General - Wygląd - - - - Select text color: - Kolor tekstu: - - - - Spacing - Odstępy - - - - Minimum item margins: - Minimalne odstępy między elementami: - - - - 3 px by default. - Domyślnie 3 piksele. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - Domyślnie 1 piksel. -Zarezerwowane jest też miejsce dla 3 linii tekstu. - - - - Lock - Zablokuj - - - - Slide Show - Pokaz slajdów - - - - Enable Slide Show - Włącz pokaz slajdów - - - - Wallpaper image folder: - Folder z tłami pulpitu: - - - - Browse - Przeglądaj - - - - hour(s) - godzin - - - - and - i - - - - Intervals less than 5min will be ignored - Odstępy mniejsze niż 5 minut będą ignorowane - - - - Interval: - Odstęp czasu: - - - - minute(s) - minut - - - - Wallpaper folder - Folder z tłami pulpitu - - - - Randomize the slide show - Kolejność losowa - - - - Visible Shortcuts - Widoczne skróty - - - - Home - Katalog domowy - - - - Trash - Kosz - - - - Computer - Komputer - - - - Network - Sieć - - - - Window Manager - Menedżer okien - - - - Show menus provided by window managers when desktop is clicked - Wyświetlanie menu menedżera okien po kliknięciu na pulpicie - - - - Advanced - Zaawansowane - - - - MainWindow - - - File Manager - Menedżer plików - - - - Go Up - Katalog nadrzędny - - - - Alt+Up - Alt+Góra - - - - Alt+Home - Alt+Home - - - - Reload - Odśwież - - - - F5 - F5 - - - - &Toolbars - Paski nar&zędzi - - - - Path &Bar - Pasek ś&cieżki - - - - &Filtering - &Filtrowanie - - - - &Home - Katalog &użytkownika - - - - &Reload - &Załaduj ponownie - - - - Go - Przejdź - - - - Quit - Wyjdź - - - - &About - &O programie - - - - New Window - Nowe okno - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Wyświetl &ukryte pliki - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Komputer - - - - &Trash - Ko&sz - - - - &Network - &Sieć - - - - &Desktop - &Pulpit - - - - &Add to Bookmarks - &Dodaj zakładkę - - - - &Applications - P&rogramy - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Kopiuj - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Wklej - - - - Ctrl+V - Ctrl+V - - - - Select &All - Zazn&acz wszystko - - - - Pr&eferences - Pr&eferencje - - - - &Ascending - &Rosnąco - - - - &Descending - &Malejąco - - - - &By File Name - &Nazwa - - - - By &Modification Time - Data &modyfikacji - - - - By File &Type - &Typ pliku - - - - By &Owner - W&łaściciel - - - - &Folder First - Najpierw &katalogi - - - - &Preserve sorting for this folder - Za&pamiętaj sortowanie w tym folderze - - - - &Invert Selection - &Odwróć zaznaczenie - - - - &Delete - & Usuń - - - - &Rename - &Zmień nazwę - - - - &Case Sensitive - Uwzględniaj wielkość &liter - - - - By File &Size - Według &rozmiaru - - - - &Close Window - &Zamknij okno - - - - Ctrl+Q - Ctrl+Q - - - - &Show/Focus Filter Bar - Pokaż/zaznacz pa&sek filtrowania - - - - Show Filter Bar - Pokaż pasek filtrowania - - - - Ctrl+I - Ctrl+I - - - - S&plit View - &Podziel widok - - - - Split View - Podziel widok - - - - F6 - F6 - - - - &Copy Full Path - Kopiuj pełną ś&cieżkę - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - Wy&czyść wszystkie filtry - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Zamknij &poprzednie karty - - - - Close &next tabs - Zamknij &następne karty - - - - &Preserve Settings for This Folder - Za&pamiętaj ustawienia dla tego folderu - - - - Connect to &Server - Połącz z &serwerem - - - - &Location - &Położenie - - - - &Path Buttons - &Przyciski ścieżki - - - - &Bulk Rename - &Masowa zmiana nazw - - - - Bulk Rename - Masowa zmiana nazw - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Zamknij poz&ostałe karty - - - - Permanent &filter bar - Stały pasek &filtrowania - - - - &Menu bar - Pasek &menu - - - - Menu bar - Pasek menu - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menu - - - - Ctrl+A - Ctrl+A - - - - Go &Up - Do &góry - - - - &New Window - &Nowe okno - - - - &Icon View - &Ikony - - - - &Compact View - Lista &zwarta - - - - &Detailed List - Lista &szczegółowa - - - - &Thumbnail View - &Miniatury - - - - Cu&t - Wy&tnij - - - - New &Tab - Nowa &karta - - - - New Tab - Nowa karta - - - - Ctrl+T - Ctrl+T - - - - Go &Back - &Poprzedni katalog - - - - Go Back - Poprzedni katalog - - - - Alt+Left - Alt+Lewo - - - - Go &Forward - &Następny katalog - - - - Go Forward - Następny katalog - - - - Alt+Right - Alt+Prawo - - - - Del - Del - - - - F2 - F2 - - - - C&lose Tab - &Zamknij kartę - - - - File &Properties - Właściwości &pliku - - - - &Folder Properties - Właściwości &katalogu - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - C&reate New - &Nowy - - - - &Sorting - &Uszereguj według - - - - Main Toolbar - Pasek narzędziowy - - - - Ctrl+W - Ctrl+W - - - - Alt+Return - Alt+Return - - - - Edit Bookmarks - Edytuj zakładki - - - - Open &Terminal - Otwórz w &terminalu - - - - F4 - F4 - - - - Open as &Root - Otwórz jako &Root - - - - &Edit Bookmarks - Edytuj &Zakładki - - - - &Folder - &Katalog - - - - &Blank File - &Pusty plik - - - - &Find Files - &Znajdź pliki - - - - F3 - F3 - - - - &File - &Plik - - - - &Help - &Pomoc - - - - - &View - &Widok - - - - &Edit - &Edycja - - - - &Bookmarks - &Zakładki - - - - &Go - P&rzejdź - - - - &Tool - &Narzędzia - - - - PCManFM::Application - - - Name of configuration profile - Nazwa profilu konfiguracji - - - - PROFILE - PROFIL - - - - Run PCManFM as a daemon - Uruchom PCManFM jako daemon - - - - Quit PCManFM - Zakończ PCManFM - - - - Launch desktop manager - Uruchom menedżera pulpitu - - - - Turn off desktop manager if it's running - Wyłądż menedżera pulpitu jeżeli jest uruchomiony - - - - Open desktop preference dialog on the page with the specified name - Otwórz okno preferencji pulpitu na stronie o określonej nazwie - - - - - NAME - NAZWA - - - - Open new window - Otwórz nowe okno - - - - Open Find Files utility - Otwórz narzędzie wyszukiwania - - - - Set desktop wallpaper from image FILE - Ustaw tło pulpitu z obrazka PLIK - - - - FILE - PLIK - - - - MODE - TRYB - - - - Set mode of desktop wallpaper. MODE=(%1) - Ustaw tryb tła pulpitu. TRYB=(%1) - - - - Open Preferences dialog on the page with the specified name - Otwórz okno preferencji na stronie o określonej nazwie - - - - Files or directories to open - Pliki lub katalogi do otwarcia - - - - [FILE1, FILE2,...] - [PLIK1, PLIK2,...] - - - - - Error - Błąd - - - - Terminal emulator is not set. - Nie ustawiono emulatora terminala. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Otwórz w menedżerze plików - - - - Removable Disk - Nośnik wymienny - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - Zabezpieczony WebDav - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Wypełnij tylko kolorem - - - - Stretch to fill the entire screen - Rozciągnij do rozmiaru ekranu - - - - Stretch to fit the screen - Dopasuj do rozmiaru ekranu - - - - Center on the screen - Wyśrodkuj - - - - Tile the image to fill the entire screen - Sąsiadująco - - - - Zoom the image to fill the entire screen - Powiększ obraz, aby wypełnił ekran - - - - Image Files - Pliki obrazków - - - - PCManFM::DesktopWindow - - - Trash (One item) - Kosz (jeden element) - - - - Trash (%Ln items) - Kosz (%Ln element) - Kosz (%Ln elementy) - Kosz (%Ln elementów) - - - - Trash (Empty) - Kosz (pusty) - - - - Home - Katalog domowy - - - - Computer - Komputer - - - - Network - Sieć - - - - Open - Otwórz - - - - - Stic&k to Current Position - Przyp&nij do aktualnej pozycji - - - - Empty Trash - Pusty kosz - - - - Hide Desktop Items - Ukryj ikony pulpitu - - - - Desktop Preferences - Ustawienia pulpitu - - - - PCManFM::FilterBar - - - Filter: - Filtr: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Wyczyść tekst (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Główna instancja - - - - Hide menu bar - Ukryj pasek menu - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Ta opcja całkowicie ukryje pasek menu, możesz go przywrócić skrótem Ctrl+M. - - - - Version: %1 - Wersja: %1 - - - - &Move to Trash - &Przenieś do kosza - - - - &Delete - &Usuń - - - - - Error - Błąd - - - - Switch user command is not set. - Nie ustawiono polecenia do przełączania użytkowników. - - - - PCManFM::PreferencesDialog - - - Icon View - Ikony - - - - Compact View - Widok kompaktowy - - - - Thumbnail View - Miniatury - - - - Detailed List View - Lista szczegółowa - - - - PCManFM::TabPage - - - Error - Błąd - - - - Free space: %1 (Total: %2) - Wolna przestrzeń: %1 (całkowita: %2) - - - - %n item(s) - - %n element - %n elementy - %n elementów - - - - - (%n hidden) - - (%n ukryty) - (%n ukryte) - (%n ukrytych) - - - - - - - Link to - Odnośnik do - - - - %n item(s) selected - - Zaznaczono %n element - Zaznaczono %n elementy - Zaznaczono %n elementów - - - - - PCManFM::View - - - Open in New T&ab - Otwórz w nowej &karcie - - - - Open in New Win&dow - Otwórz w nowym &oknie - - - - Open in Termina&l - Otwórz w &terminalu - - - - PreferencesDialog - - - Preferences - Preferencje - - - - User Interface - Wyświetlanie - - - - Behavior - Zachowanie - - - - - Thumbnail - Miniatury - - - - Volume - Wolumen - - - - Advanced - Zaawansowane - - - - Select newly created files - Zaznaczaj nowo utworzone pliki - - - - Icons - Ikony - - - - Size of big icons: - Rozmiar dużych ikon: - - - - Size of small icons: - Rozmiar małych ikon: - - - - Size of thumbnails: - Rozmiar miniatur: - - - - Size of side pane icons: - Rozmiar ikon panelu bocznego: - - - - Icon theme: - Motyw ikon: - - - - Window - Okno - - - - Default width of new windows: - Domyślna szerokość nowych okien: - - - - Default height of new windows: - Domyślna wysokość nowych okien: - - - - Always show the tab bar - Zawsze pokazuj pasek kart - - - - Show 'Close' buttons on tabs - Pokazuj przycisk 'Zamknij' na kartach - - - - Remember the size of the last closed window - Zapamiętuj rozmiar ostatnio zamkniętego okna - - - - Browsing - Przeglądanie - - - - Open files with single click - Otwórz pliki pojedynczym kliknięciem - - - - Delay of auto-selection in single click mode (0 to disable) - Opóźnienie zaznaczania (0 aby wyłączyć) - - - - Default view mode: - Domyślny tryb widoku: - - - - sec - s - - - - File Operations - Operacje na plikach - - - - Confirm before deleting files - Potwierdź przed usunięciem plików - - - - Move deleted files to "trash bin" instead of erasing from disk. - Przenoś pliki do "Kosza" zamiast usuwać z dysku. - - - - Show thumbnails of files - Wyświetlaj miniatury zawartości plików - - - - Only show thumbnails for local files - Wyświetl miniatury zawartości tylko lokalnych plików - - - - Display - Wygląd - - - - Bookmarks: - Zakładki: - - - - Open in current tab - Otwórz w aktualnej zakładce - - - - Open in new tab - Otwórz w nowej zakładce - - - - Open in new window - Otwórz w nowym oknie - - - - Erase files on removable media instead of "trash can" creation - Usuwaj pliki na urządzeniach wymiennych zamiast przenosić je do kosza - - - - Confirm before moving files into "trash can" - Potwierdź przed przeniesieniem plików do "Kosza" - - - - - - Requires application restart to take effect completely - Wymaga ponownego uruchomienia aplikacji, aby uzyskać pełny efekt - - - - Launch executable files without prompt - Uruchamiaj pliki wykonywalne bez potwierdzenia - - - - - Used by Icon View - Używane w widoku ikon - - - - - Used by Compact View and Detailed List View - Używane w widoku kompaktowym i widoku szczegółowym - - - - - Used by Thumbnail View - Używane w widoku miniatur - - - - User interface - Wyświetlanie - - - - Treat backup files as hidden - Traktuj pliki kopii zapasowych jako ukryte - - - - Always show full file names - Zawsze wyświetlaj pełne nazwy plików - - - - Show icons of hidden files shadowed - Przyciemniaj ikony ukrytych plików - - - - Minimum item margins in icon view: - Minimalne odstępy elementów w trybie ikon: - - - - 3 px by default. - Domyślnie 3 piksele. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - Domyślnie 3 piksele. -Zarezerwowane jest też miejsce dla 3 linii tekstu. - - - - Lock - Zablokuj - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Kiedy odznaczone, pasek kart będzie widoczny -tylko jeżeli jest więcej niż jedna karta. - - - - Application restart is needed for changes to take effect. - Aby uzyskać efekt, musisz uruchomić aplikację ponownie. - - - - Do not generate thumbnails for image files exceeding this size: - Nie generuj miniatur dla plików większych niż: - - - - KB - KB - - - - Needs ffmpegthumbnailer - Wymaga ffmpegthumbnailera - - - - Auto Mount - Automatyczne montowanie - - - - Mount mountable volumes automatically on program startup - Montuj nośniki wymienne podczas uruchamiania programu - - - - Mount removable media automatically when they are inserted - Montuj nośniki wymienne po ich wsunięciu - - - - Show available options for removable media when they are inserted - Wyświetlaj możliwe czynności po wsunięciu nośnika wymiennego - - - - When removable medium unmounted: - Działania po odmontowaniu nośnika wymiennego: - - - - Close &tab containing removable medium - Zamknij &kartę nośnika wymiennego - - - - Chan&ge folder in the tab to home folder - Z&mień katalog w karcie na katalog użytkownika - - - - Switch &user command: - Polecenie przełączania &użytkownika: - - - - Archiver in&tegration: - Menedżer &archiwów: - - - - Templates - Szablony - - - - Show only user defined templates in menu - Pokazuj w menu tylko szablony zdefiniowane przez użytkownika - - - - Show only one template for each MIME type - Pokazuj tylko jeden szablon dla każdego typu MIME - - - - Run default application after creation from template - Uruchom domyślną aplikację po utworzeniu pliku z szablonu - - - - Programs - Programy - - - - Terminal emulator: - Emulator terminala: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Przykład: "xterm -e %s" dla terminala lub "gksu %s" dla przełączania użytkownika. -%s = polecenie, które chcesz wykonać za pomocą terminala lub su. - - - - Use SI decimal prefixes instead of IEC binary prefixes - Używanie dziesiętnych prefiksów SI zamiast binarnych IEC - - - - QObject - - - Renaming files... - Trwa zmiana nazw plików… - - - - Abort - Przerwij - - - - Warning - Ostrzeżenie - - - - Renaming is aborted. - Anulowanie zmiany nazw.. - - - - - Error - Błąd - - - - No file could be renamed. - Nie udało się zmienić nazw wszystkich plików. - - - - Some files could not be renamed. - Nie udało się zmienić nazw niektórych plików. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_pt.desktop b/pcmanfm/translations/pcmanfm-qt_pt.desktop deleted file mode 100644 index 64df8a8..0000000 --- a/pcmanfm/translations/pcmanfm-qt_pt.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[pt]=Gestor de ficheiros PCManFM-Qt -GenericName[pt]=Gestor de ficheiros -Comment[pt]=Explorar o sistema de ficheiros e gerir os seus ficheiros e pastas diff --git a/pcmanfm/translations/pcmanfm-qt_pt.ts b/pcmanfm/translations/pcmanfm-qt_pt.ts deleted file mode 100644 index b70b010..0000000 --- a/pcmanfm/translations/pcmanfm-qt_pt.ts +++ /dev/null @@ -1,1822 +0,0 @@ - - - - - AboutDialog - - - About - Acerca - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Gestor de ficheiros - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Gestor de ficheiros PCManFM-Qt - -Copyright (C) 2009 - 2019 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Desenvolvido por: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - Authors - Autores - - - - License - Licença - - - - AutoRunDialog - - - Removable medium is inserted - Disco amovível inserido - - - - <b>Removable medium is inserted</b> - <b>Disco amovível inserido</b> - - - - Type of medium: - Tipo de disco: - - - - Detecting... - A detetar... - - - - Please select the action you want to perform: - Por favor escolha a ação a executar: - - - - BulkRenameDialog - - - Bulk Rename - Renomear em lote - - - - # will be replaced by numbers starting with: - # será substituído por números começando em: - - - - Rename selected files to: - Renomear seleção para: - - - - Name# - Nome# - - - - ConnectServerDialog - - - Connect to remote server - Conectar a um servidor remoto - - - - Anonymous &login - Sessã&o anónima - - - - Login as &user: - Sessão com o &utilizador: - - - - Specify remote folder to connect - Indique a pasta remota para estabelecer a ligação - - - - Type: - Tipo: - - - - Port: - Porta: - - - - Path: - Caminho: - - - - Host: - Servidor: - - - - DesktopFolder - - - Form - Formulário - - - - Desktop - Área de trabalho - - - - Desktop folder: - Pasta da área de trabalho: - - - - Image file - Ficheiro de imagem - - - - Folder path - Caminho da pasta - - - - &Browse - E&xplorar - - - - DesktopPreferencesDialog - - - Desktop Preferences - Preferências da área de trabalho - - - - Background - Fundo - - - - Wallpaper mode: - Modo do papel de parede: - - - - Wallpaper image file: - Ficheiro do papel de parede: - - - - Select background color: - Escolha a cor de fundo: - - - - Image file - Ficheiro de imagem - - - - Image file path - Caminho do ficheiro de imagem - - - - &Browse - E&xplorar - - - - Icons - Ícones - - - - Icon size: - Tamanho dos ícones: - - - - Label Text - Texto - - - - Select shadow color: - Escolha a cor da sombra: - - - - Select font: - Escolha o tipo de letra: - - - - General - Geral - - - - Select text color: - Selecione a cor do texto: - - - - Spacing - Espaçamento - - - - Minimum item margins: - Margem mínima entre itens: - - - - 3 px by default. - 3 pixeis por definição. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 pixel por definição. -Será reservado um espaço para 3 linhas de texto. - - - - Lock - Bloquear - - - - Slide Show - Apresentação - - - - Enable Slide Show - Ativar apresentação - - - - Wallpaper image folder: - Pasta da imagem do papel de parede: - - - - Browse - Explorar - - - - hour(s) - hora(s) - - - - and - e - - - - Intervals less than 5min will be ignored - Intervalos menores a 5 min. serão ignoradaos - - - - Interval: - Intervalo: - - - - minute(s) - minuto(s) - - - - Wallpaper folder - Pasta do papel de parede - - - - Randomize the slide show - Apresentação aleatória - - - - Visible Shortcuts - Atalhos visíveis - - - - Home - Pasta pessoal - - - - Trash - Lixo - - - - Computer - Computador - - - - Network - Rede - - - - Window Manager - Gestor de janelas - - - - Show menus provided by window managers when desktop is clicked - Ao clicar na área de trabalho, mostrar o menu disponibilizado pelo gestor de janelas - - - - Advanced - Avançado - - - - MainWindow - - - File Manager - Gestor de ficheiros - - - - Go Up - Subir - - - - Alt+Up - Alt+Up - - - - Alt+Home - Alt+Home - - - - Reload - Recarregar - - - - F5 - F5 - - - - &Toolbars - Barra de ferramen&tas - - - - Path &Bar - &Barra de caminho - - - - &Filtering - &Filtrar - - - - &Home - &Pasta pessoal - - - - &Reload - &Recarregar - - - - Go - Ir - - - - Quit - Sair - - - - &About - &Acerca - - - - New Window - Nova janela - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Mostrar &ocultos - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Computador - - - - &Trash - &Lixo - - - - &Network - &Rede - - - - &Desktop - Área &de trabalho - - - - &Add to Bookmarks - &Adicionar aos marcadores - - - - &Applications - &Aplicações - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Copiar - - - - Ctrl+C - Ctrl+C - - - - &Paste - Co&lar - - - - Ctrl+V - Ctrl+V - - - - Select &All - Selecion&ar tudo - - - - Pr&eferences - Pr&eferências - - - - &Ascending - &Ascendente - - - - &Descending - &Descendente - - - - &By File Name - Por nome de &ficheiro - - - - By &Modification Time - Por data de &modificação - - - - By File &Type - Por &tipo de ficheiro - - - - By &Owner - Por d&ono - - - - &Folder First - &Pastas primeiro - - - - &Preserve sorting for this folder - Manter organização para esta &pasta - - - - &Invert Selection - &Inverter seleção - - - - &Delete - &Apagar - - - - &Rename - &Renomear - - - - &Case Sensitive - Distinguir maiúsculas/minús&culas - - - - By File &Size - Por tama&ho do ficheiro - - - - &Close Window - Fe&char janela - - - - &Show/Focus Filter Bar - Mo&strar/focar barra de filtro - - - - Show Filter Bar - Mostrar barra de filtro - - - - Ctrl+I - Ctrl+I - - - - S&plit View - Vista du&pla - - - - Split View - Vista dupla - - - - F6 - F6 - - - - &Copy Full Path - &Copiar caminho completo - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Limpar todos os filtros - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Fechar separadores &anteriores - - - - Close &next tabs - Fechar separadores &seguintes - - - - &Preserve Settings for This Folder - Manter definições para esta &pasta - - - - Connect to &Server - Conectar a um &servidor - - - - &Location - &Localização - - - - &Path Buttons - Botões de camin&ho - - - - &Bulk Rename - Renomear em &lote - - - - Bulk Rename - Renomear em lote - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Fechar &os outros separadores - - - - Permanent &filter bar - Barra de &filtro permanente - - - - &Menu bar - Barra de &menu - - - - Menu bar - Barra de menu - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menu - - - - Ctrl+A - Ctrl+A - - - - Go &Up - S&ubir - - - - &New Window - &Nova janela - - - - &Icon View - V&ista de ícones - - - - &Compact View - Vista &compacta - - - - &Detailed List - Lista &detalhada - - - - &Thumbnail View - Vista de minia&turas - - - - Cu&t - Cor&tar - - - - New &Tab - Novo &separador - - - - New Tab - Novo separador - - - - Ctrl+T - Ctrl+T - - - - Go &Back - &Recuar - - - - Go Back - Recuar - - - - Alt+Left - Alt+Left - - - - Go &Forward - &Avançar - - - - Go Forward - Avançar - - - - Alt+Right - Alt+Right - - - - Del - Del - - - - F2 - F2 - - - - C&lose Tab - &Fechar separador - - - - File &Properties - &Propriedades do ficheiro - - - - &Folder Properties - Propried&ades da pasta - - - - Ctrl+Q - Ctrl+Q - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - C&reate New - C&riar - - - - &Sorting - &Ordenação - - - - Main Toolbar - Barra principal - - - - Ctrl+W - Ctrl+W - - - - Alt+Return - Alt+Return - - - - Edit Bookmarks - Editar marcadores - - - - Open &Terminal - Abrir &terminal - - - - F4 - F4 - - - - Open as &Root - Abrir como &root - - - - &Edit Bookmarks - &Editar marcadores - - - - &Folder - &Pasta - - - - &Blank File - &Ficheiro - - - - &Find Files - &Localizar ficheiros - - - - F3 - F3 - - - - &File - &Ficheiro - - - - &Help - Aj&uda - - - - - &View - &Ver - - - - &Edit - &Editar - - - - &Bookmarks - &Marcadores - - - - &Go - &Ir - - - - &Tool - Ferramen&tas - - - - PCManFM::Application - - - Name of configuration profile - Nome do perfil de configuração - - - - PROFILE - Perfil - - - - Run PCManFM as a daemon - Executar PCManFM-Qt como serviço - - - - Quit PCManFM - Fechar o PCManFM-Qt - - - - Launch desktop manager - Abrir gestor da área de trabalho - - - - Turn off desktop manager if it's running - Desativar gestor da área de trabalho, se em execução - - - - Open desktop preference dialog on the page with the specified name - Abrir preferências da área de trabalho na página especificada - - - - - NAME - Nome - - - - Set desktop wallpaper from image FILE - Definir papel de parede com base em ficheiro - - - - FILE - Ficheiro - - - - MODE - Modo - - - - Open Preferences dialog on the page with the specified name - Abrir diálogo de preferências na página especificada - - - - Open new window - Abrir nova janela - - - - Open Find Files utility - Abrir utilitário 'Localizar ficheiros' - - - - Set mode of desktop wallpaper. MODE=(%1) - Definir modo do papel de parede. Modo=(%1) - - - - [FILE1, FILE2,...] - [Ficheiro1, ficheiro2,...] - - - - Files or directories to open - Ficheiros ou diretórios a abrir - - - - - Error - Erro - - - - Terminal emulator is not set. - Emulador de terminal não definido. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Abrir no gestor de ficheiros - - - - Removable Disk - Disco amovível - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - WebDav seguro - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Preencher apenas com a cor de fundo - - - - Stretch to fill the entire screen - Esticar para preencher o ecrã - - - - Stretch to fit the screen - Esticar para ajustar ao ecrã - - - - Center on the screen - Centrar no ecrã - - - - Tile the image to fill the entire screen - Imagens em mosaico para preencher o ecrã - - - - Zoom the image to fill the entire screen - Ampliar imagem para preencher o ecrã - - - - Image Files - Ficheiros de imagem - - - - PCManFM::DesktopWindow - - - Trash (One item) - Lixo (1 item) - - - - Trash (%Ln items) - - Lixo (%Ln item) - Lixo (%Ln itens) - - - - - Trash (Empty) - Lixo (vazio) - - - - Home - Pasta pessoal - - - - Computer - Computador - - - - Network - Rede - - - - Open - Abrir - - - - - Stic&k to Current Position - Fi&xar na posição atual - - - - Empty Trash - Esvaziar lixo - - - - Hide Desktop Items - Ocultar itens da área de trabalho - - - - Desktop Preferences - Preferências da área de trabalho - - - - PCManFM::FilterBar - - - Filter: - Filtrar: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Limpar texto (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Instância root - - - - Hide menu bar - Ocultar barra de menu - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - A barra de menu será ocultada. Use Ctrl+M para a mostrar novamente. - - - - Version: %1 - Versão: %1 - - - - &Move to Trash - &Mover para o lixo - - - - &Delete - &Apagar - - - - - Error - Erro - - - - Switch user command is not set. - Comando para trocar de utilizadores não está definido. - - - - PCManFM::PreferencesDialog - - - Icon View - Vista de ícones - - - - Compact View - Vista compacta - - - - Thumbnail View - Vista de miniaturas - - - - Detailed List View - Lista detalhada - - - - PCManFM::TabPage - - - Error - Erro - - - - Free space: %1 (Total: %2) - Espaço livre: %1 (Total: %2) - - - - %n item(s) - - %n item - %n itens - - - - - (%n hidden) - - (%n oculto) - (%n ocultos) - - - - - - - Link to - Ligação para - - - - %n item(s) selected - - %n item selecionado - %n itens selecionados - - - - - PCManFM::View - - - Open in New T&ab - Abrir em novo sep&arador - - - - Open in New Win&dow - Abrir em &nova janela - - - - Open in Termina&l - Abrir no termina&l - - - - PreferencesDialog - - - Preferences - Preferências - - - - User Interface - Interface - - - - Behavior - Comportamento - - - - Display - Exibição - - - - - Thumbnail - Miniaturas - - - - Volume - Volume - - - - Advanced - Avançado - - - - Bookmarks: - Marcadores: - - - - Open in current tab - Abrir no separador atual - - - - Open in new tab - Abrir em novo separador - - - - Open in new window - Abrir em nova janela - - - - Erase files on removable media instead of "trash can" creation - Apagar ficheiros do disco amovível em vez de os enviar para o lixo - - - - Confirm before moving files into "trash can" - Confirmar antes de mover os ficheiros para o lixo - - - - - - Requires application restart to take effect completely - Tem que reiniciar a aplicação para aplicar as alterações - - - - Launch executable files without prompt - Iniciar ficheiros executáveis (sem confirmação) - - - - Icons - Ícones - - - - Size of big icons: - Tamanho dos ícones grandes: - - - - Size of small icons: - Tamanho dos ícones pequenos: - - - - Size of thumbnails: - Tamanho das miniaturas: - - - - Size of side pane icons: - Tamanho dos ícones do painel lateral: - - - - Icon theme: - Tema de ícones: - - - - Window - Janela - - - - Default width of new windows: - Largura para as novas janelas: - - - - Default height of new windows: - Altura para as novas janelas: - - - - Always show the tab bar - Mostrar sempre barra de separadores - - - - Show 'Close' buttons on tabs - Mostrar botão "Fechar" nos separadoress - - - - Remember the size of the last closed window - Memorizar tamanho da última janela fechada - - - - Browsing - Navegação - - - - Open files with single click - Abrir ficheiros com um clique - - - - Delay of auto-selection in single click mode (0 to disable) - Atraso para seleção automática no modo de um clique (0 para desativar) - - - - Default view mode: - Modo de visualização: - - - - sec - seg - - - - File Operations - Operações de ficheiros - - - - Confirm before deleting files - Confirmar antes de apagar - - - - Move deleted files to "trash bin" instead of erasing from disk. - Mover ficheiros para o lixo em vez de os apagar do disco. - - - - Select newly created files - Selecionar ficheiros criados recentemente - - - - - Used by Icon View - Utilizado na vista de ícones - - - - - Used by Compact View and Detailed List View - Utilizado na vista compacta e na lista detalhada - - - - - Used by Thumbnail View - Utilizado na vista de miniaturas - - - - User interface - Interface - - - - Treat backup files as hidden - Tratar ficheiros de backup como ocultos - - - - Always show full file names - Mostrar sempre nome completo dos ficheiros - - - - Show icons of hidden files shadowed - Mostrar sombra nos ícones dos ficheiros ocultos - - - - Minimum item margins in icon view: - Margem mínima entre itens na vista de ícones: - - - - 3 px by default. - 3 pixeis por definição. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 pixeis por definição. -Será reservado um espaço para 3 linhas de texto. - - - - Lock - Bloquear - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Se desativar a opção, a barra de separadores apenas -será mostrada se existir mais do que um separador. - - - - Application restart is needed for changes to take effect. - Tem que reiniciar a aplicação para aplicar as alterações. - - - - Needs ffmpegthumbnailer - Requer ffmpegthumbnailer - - - - Show thumbnails of files - Mostrar miniaturas dos ficheiros - - - - Templates - Modelos - - - - Show only user defined templates in menu - Mostrar no menu apenas os modelos do utilizador - - - - Show only one template for each MIME type - Mostrar apenas um modelo para cada tipo MIME - - - - Run default application after creation from template - Iniciar aplicação padrão após a criação baseada no modelo - - - - Only show thumbnails for local files - Mostrar miniaturas apenas para ficheiros locais - - - - Do not generate thumbnails for image files exceeding this size: - Não gerar miniaturas para as imagens que excedam este tamanho: - - - - KB - KB - - - - When removable medium unmounted: - Ao desmontar um disco amovível: - - - - Switch &user command: - Comando para trocar de &utilizador: - - - - Archiver in&tegration: - In&tegração do arquivador: - - - - Terminal emulator: - Emulador de terminal: - - - - Auto Mount - Montar automaticamente - - - - Mount mountable volumes automatically on program startup - Montar discos amovíveis ao iniciar a aplicação - - - - Mount removable media automatically when they are inserted - Montar discos amovíveis ao inserir - - - - Show available options for removable media when they are inserted - Mostrar opções possíveis para os discos assim que forem inseridos - - - - Close &tab containing removable medium - Fechar o separador que con&tém o disco amovível - - - - Chan&ge folder in the tab to home folder - &Alterar a pasta do separador para a pasta pessoal - - - - Programs - Programas - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Exemplo: "xterm -e %s" para terminal ou "gksu %s" para trocar de utilizador. -%s = a linha de comandos a executar no terminal ou com o comando su. - - - - Use SI decimal prefixes instead of IEC binary prefixes - Utilizar prefixos decimais SI em vez dos prefixos binários IEC - - - - QObject - - - Renaming files... - A renomear ficheiros... - - - - Abort - Abortar - - - - Warning - Aviso - - - - Renaming is aborted. - A operação foi abortada. - - - - - Error - Erro - - - - No file could be renamed. - Nenhum ficheiro foi renomeado. - - - - Some files could not be renamed. - Alguns ficheiros não foram renomeados. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_pt_BR.desktop b/pcmanfm/translations/pcmanfm-qt_pt_BR.desktop deleted file mode 100644 index 575577a..0000000 --- a/pcmanfm/translations/pcmanfm-qt_pt_BR.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[pt_BR]=Gerenciador de Arquivos PCManFM-Qt -GenericName[pt_BR]=Gerenciador de Arquivos -Comment[pt_BR]=Navegue pelo sistema de arquivos e gerencie arquivos e pastas diff --git a/pcmanfm/translations/pcmanfm-qt_pt_BR.ts b/pcmanfm/translations/pcmanfm-qt_pt_BR.ts deleted file mode 100644 index 338e683..0000000 --- a/pcmanfm/translations/pcmanfm-qt_pt_BR.ts +++ /dev/null @@ -1,1821 +0,0 @@ - - - - - AboutDialog - - - About - Sobre - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Gerenciador de arquivos leve - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Gerenciador de Arquivos PCManFM-Qt - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Esse programa é um software livre: você pode distribuí-lo e/ou -modificá-lo sob os termos da Licença Pública Geral GNU -publicada pela Free Software Foundation, tanto na versão 2 -da licença ou, como opção, qualquer versão posterior. - -Esse programa é distrubuído na esperança de ser útil, -mas não possui NENHUMA GARANTIA, nem mesmo a garantia implícita -de COMERCIALIDADE ou PARA USO PARTICULAR. Veja a -Licença Pública Geral GNU para mais detalhes. - -Você deve ter recebido uma cópia da Licença Pública Geral GNU -juntamente com esse programa. Se não, escreva para a Free Software -Foundation: Inc., 51 Franklin Street, 5º Andar, Boston, MA 02110-1301, EUA. - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programação: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - Authors - Autores - - - - License - Licença - - - - AutoRunDialog - - - Removable medium is inserted - Mídia removível inserida - - - - <b>Removable medium is inserted</b> - <b>Mídia removível inserida</b> - - - - Type of medium: - Tipo de mídia: - - - - Detecting... - Detectando.... - - - - Please select the action you want to perform: - Por favor, selecione a ação que deseja executar: - - - - BulkRenameDialog - - - Bulk Rename - Renomear em massa - - - - # will be replaced by numbers starting with: - # será substituído por números que começam com: - - - - Rename selected files to: - Renomear os arquivos selecionados para: - - - - Name# - Nome# - - - - ConnectServerDialog - - - Connect to remote server - Conectar a um servidor remoto - - - - Anonymous &login - &Login anônimo - - - - Login as &user: - Entrar como &usuário: - - - - Specify remote folder to connect - Especifique a pasta remota para conectar - - - - Type: - Tipo: - - - - Port: - Porta: - - - - Path: - Caminho: - - - - Host: - Hospedeiro: - - - - DesktopFolder - - - Form - Formulário - - - - Desktop - Área de trabalho - - - - Desktop folder: - Pasta da área de trabalho: - - - - Image file - Arquivo de imagem - - - - Folder path - Caminho da pasta - - - - &Browse - &Navegar - - - - DesktopPreferencesDialog - - - Desktop Preferences - Preferências da Área de Trabalho - - - - Background - Papel de parede - - - - Wallpaper mode: - Modo do papel de parede: - - - - Wallpaper image file: - Arquivo do papel de parede: - - - - Select background color: - Escolha a cor do papel de parede: - - - - Image file - Arquivo de imagem - - - - Image file path - Caminho do arquivo de imagem - - - - &Browse - &Navegar - - - - Icons - Ícones - - - - Icon size: - Tamanho do ícone: - - - - Label Text - Texto do rótulo - - - - Select shadow color: - Selecione a cor da sombra: - - - - Select font: - Selecione a fonte: - - - - General - Geral - - - - Select text color: - Selecionar cor do texto: - - - - Spacing - Espaçamento - - - - Minimum item margins: - Margens mínimas dos itens: - - - - 3 px by default. - 3 px por padrão. - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 px por padrão. -Um espaço também é reservado para 3 linhas de texto. - - - - Lock - Trancar - - - - Slide Show - Apresentação de slides - - - - Enable Slide Show - Habilitar apresentação de slides - - - - Wallpaper image folder: - Pasta de imagem de papel de parede: - - - - Browse - Procurar - - - - hour(s) - hora(s) - - - - and - e - - - - Intervals less than 5min will be ignored - Intervalos com menos de 5min serão ignorados - - - - Interval: - Intervalo: - - - - minute(s) - minuto(s) - - - - Wallpaper folder - Pasta de papel de parede - - - - Randomize the slide show - Apresentação de slides aleatória - - - - Visible Shortcuts - Atalhos visíveis - - - - Home - Pasta pessoal - - - - Trash - Lixeira - - - - Computer - Computador - - - - Network - Rede - - - - Window Manager - Gerenciador de janelas - - - - Show menus provided by window managers when desktop is clicked - Exibir menu do gerenciador de janelas quando a área de trabalho for clicada - - - - Advanced - Avançado - - - - MainWindow - - - File Manager - Gerenciador de arquivos - - - - Go Up - Ir Acima - - - - Alt+Up - Alt+Up - - - - Alt+Home - Alt+Home - - - - Reload - Recarregar - - - - F5 - F5 - - - - &Toolbars - &Barra de ferramentas - - - - Path &Bar - &Barra de endereço - - - - &Filtering - &Filtrando - - - - &Home - &Pasta principal - - - - &Reload - &Recarregar - - - - Go - Ir - - - - Quit - Sair - - - - &About - &Sobre - - - - New Window - Nova janela - - - - Ctrl+N - - - - - Show &Hidden - Exibir &ocultos - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Computador - - - - &Trash - &Lixeira - - - - &Network - &Rede - - - - &Desktop - &Área de trabalho - - - - &Add to Bookmarks - &Adicionar aos favoritos - - - - &Applications - &Aplicativos - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Copiar - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Colar - - - - Ctrl+V - Ctrl+V - - - - Select &All - Selecion&ar tudo - Selecionar &tudo - - - - Pr&eferences - Pr&eferências - - - - &Ascending - &Ascendente - - - - &Descending - &Descendente - - - - &By File Name - &Por nome do arquivo - - - - By &Modification Time - Por Data de &Modificação - - - - By File &Type - Por &tipo de arquivo - - - - By &Owner - Por &proprietário - - - - &Folder First - &Pasta primeiro - - - - &Preserve sorting for this folder - &Preservar a classificação para esta pasta - - - - &Invert Selection - &Inverter seleção - - - - &Delete - &Excluir - - - - &Rename - &Renomear - - - - &Case Sensitive - &Maiúsculas e minúsculas - - - - By File &Size - Por &tamanho do arquivo - - - - &Close Window - &Fechar janela - - - - Permanent &filter bar - Barra de &filtro permanente - - - - &Show/Focus Filter Bar - &Exibir/Foco Barra de Filtro - - - - Show Filter Bar - Exibir Barra de Filtros - - - - Ctrl+I - Ctrl+I - - - - S&plit View - Visualização D&ividida - - - - Split View - Visualização Dividida - - - - F6 - F6 - - - - &Copy Full Path - &Copiar localização - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Limpar Todos os Filtros - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Fechar aba &anterior - - - - Close &next tabs - Fechar &próxima aba - - - - Close &other tabs - Fechar &outras abas - - - - &Menu bar - &Barra de Menu - - - - Menu bar - Barra de Menu - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menu - - - - &Preserve Settings for This Folder - &Preservar configurações para esta pasta - - - - Connect to &Server - Conectar ao &Servidor - - - - &Location - &Localização - - - - &Path Buttons - &Botões de Atalho - - - - &Bulk Rename - &Renomear em massa - - - - Bulk Rename - Renomear em Massa - - - - Ctrl+F2 - Ctrl+F2 - - - - Ctrl+A - - - - - Go &Up - Ir &Acima - - - - &New Window - &Nova janela - - - - &Icon View - Visualização em &Ícones - - - - &Compact View - Visualização &Compacta - - - - &Detailed List - Lista &Detalhada - - - - &Thumbnail View - Visualização em &Miniaturas - - - - Cu&t - Cor&tar - - - - New &Tab - Nova &Aba - - - - New Tab - Nova Aba - - - - Ctrl+T - Ctrl+T - - - - Go &Back - &Voltar - - - - Go Back - Voltar - - - - Alt+Left - Alt+Seta esquerda - - - - Go &Forward - &Avançar - - - - Go Forward - Avançar - - - - Alt+Right - Alt+Seta direita - - - - Del - - - - - F2 - F2 - - - - C&lose Tab - F&echar Aba - - - - File &Properties - &Propriedades do arquivo - - - - &Folder Properties - Propriedades da &Pasta - - - - Ctrl+Q - Ctrl+Q - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - C&reate New - C&riar Novo - - - - &Sorting - &Classificação - - - - Main Toolbar - Barra de Ferramentas - - - - Ctrl+W - - - - - Alt+Return - Alt+Enter - - - - Edit Bookmarks - Editar Favoritos - - - - Open &Terminal - Abrir &Terminal - - - - F4 - F4 - - - - Open as &Root - Abrir como &Root - - - - &Edit Bookmarks - &Editar Favoritos - - - - &Folder - &Pasta - - - - &Blank File - Arquivo em &Branco - - - - &Find Files - &Encontrar Arquivos - - - - F3 - F3 - - - - &File - &Arquivo - - - - &Help - Aj&uda - - - - - &View - &Exibir - - - - &Edit - E&ditar - - - - &Bookmarks - &Favoritos - - - - &Go - &Ir - - - - &Tool - Ferra&mentas - - - - PCManFM::Application - - - Name of configuration profile - Nome do perfil de configuração - - - - PROFILE - PERFIL - - - - Run PCManFM as a daemon - Executar o PCManFM como um serviço - - - - Quit PCManFM - Sair do PCManFM - - - - Launch desktop manager - Iniciar o gerenciador da área de trabalho - - - - Turn off desktop manager if it's running - Desligar o gerenciador da área de trabalho se ele já estiver em execução - - - - Open desktop preference dialog on the page with the specified name - Abrir o diálogo de preferências da área de trabalho na página especificada - - - - - NAME - NOME - - - - Set desktop wallpaper from image FILE - Definir papel de parede de um ARQUIVO de imagem - - - - FILE - ARQUIVO - - - - MODE - MODO - - - - Open Preferences dialog on the page with the specified name - Abrir a caixa de diálogo de preferências na página com o nome especificado - - - - Open new window - Abrir nova janela - - - - Open Find Files utility - Abrir utilitário de pesquisa de arquivos - - - - Set mode of desktop wallpaper. MODE=(%1) - Definir o modo de papel de parede da área de trabalho. MODO=(%1) - - - - [FILE1, FILE2,...] - [ARQUIVO1, ARQUIVO2,...] - - - - Files or directories to open - Arquivos ou diretórios para abrir - - - - - Error - Erro - - - - Terminal emulator is not set. - O emulador de terminal não está definido. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Abrir no gerenciador de arquivos - - - - Removable Disk - Disco removível - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - WebDav Seguro - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Preencher somente com a cor do papel de parede - - - - Stretch to fill the entire screen - Esticar para preencher a tela inteira - - - - Stretch to fit the screen - Esticar para ajustar na tela - - - - Center on the screen - Centralizar na tela - - - - Tile the image to fill the entire screen - Repetir a imagem para preencher a tela inteira - - - - Zoom the image to fill the entire screen - Ampliar a imagem para preencher a tela inteira - - - - Image Files - Arquivos de imagem - - - - PCManFM::DesktopWindow - - - Trash (One item) - Lixeira (um item) - - - - Trash (%Ln items) - Lixeira (%Ln item) - Lixeira (%Ln itens) - - - - Trash (Empty) - Lixeira (vazia) - - - - Home - Pasta pessoal - - - - Computer - Computador - - - - Network - Rede - - - - Open - Abrir - - - - - Stic&k to Current Position - Fi&xar na posição atual - - - - Empty Trash - Esvaziar lixeira - - - - Hide Desktop Items - Ocultar itens da área de trabalho - - - - Desktop Preferences - Preferências da área de trabalho - - - - PCManFM::FilterBar - - - Filter: - Filtrar: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Limpar texto (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Abrir como Root - - - - Hide menu bar - Ocultar Barra de Menu - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Isto ocultará completamente a barra de menus, use Ctrl+M para exibi-la novamente. - - - - Version: %1 - Versão: %1 - - - - &Move to Trash - &Mover para a lixeira - - - - &Delete - &Deletar - - - - - Error - Erro - - - - Switch user command is not set. - O comando para trocar de usuário não está definido. - - - - PCManFM::PreferencesDialog - - - Icon View - Visualização em ícones - - - - Compact View - Visualização Compacta - - - - Thumbnail View - Visualização em miniaturas - - - - Detailed List View - Visualização Lista detalhada - - - - PCManFM::TabPage - - - Error - Erro - - - - Free space: %1 (Total: %2) - Espaço livre: %1 (Total: %2) - - - - %n item(s) - - %n item(ns) - %n itens - - - - - (%n hidden) - - (%n oculto) - (%n ocultos) - - - - - - - Link to - Link para - - - - %n item(s) selected - - %n item(ns) selecionado(s) - %n itens selecionados - - - - - PCManFM::View - - - Open in New T&ab - Abrir em nova a&ba - - - - Open in New Win&dow - Abrir em Nova &Janela - - - - Open in Termina&l - Abrir no Termina&l - - - - PreferencesDialog - - - Preferences - Preferências - - - - User Interface - Interface do usuário - - - - Behavior - Comportamento - - - - Display - Exibição - - - - - Thumbnail - Miniaturas - - - - Volume - - - - - Advanced - Avançado - - - - Bookmarks: - Favoritos: - - - - Open in current tab - Abrir na aba atual - - - - Open in new tab - Abrir em nova aba - - - - Open in new window - Abrir em nova janela - - - - Erase files on removable media instead of "trash can" creation - Apagar arquivos em mídia removível em vez da criação de "lixeira" - - - - Confirm before moving files into "trash can" - Confirme antes de mover os arquivos para a "lixeira" - - - - - - Requires application restart to take effect completely - Requer reinicialização do aplicativo para obter efeito completamente - - - - Launch executable files without prompt - Lançar arquivos executáveis sem prompt - - - - Icons - Ícones - - - - Size of big icons: - Tamanho dos ícones grandes: - - - - Size of small icons: - Tamanho dos ícones pequenos: - - - - Size of thumbnails: - Tamanho das miniaturas: - - - - Size of side pane icons: - Tamanho dos ícones do painel lateral: - - - - Icon theme: - Tema dos ícones: - - - - Window - Janela - - - - Default width of new windows: - Largura padrão de novas janelas: - - - - Default height of new windows: - Altura padrão de novas janelas: - - - - Always show the tab bar - Sempre exibir a barra de abas - - - - Show 'Close' buttons on tabs - Exibir botão "Fechar" nas abas - - - - Remember the size of the last closed window - Memorizar tamanho da última janela fechada - - - - Browsing - Navegação - - - - Open files with single click - Abrir arquivos com um clique - - - - Delay of auto-selection in single click mode (0 to disable) - Atraso de seleção automática no modo de clique único (0 para desabilitar) - - - - Default view mode: - Modo de visualização padrão: - - - - sec - seg - - - - File Operations - Operações de Arquivos - - - - Confirm before deleting files - Confirmar antes de excluir arquivos - - - - Move deleted files to "trash bin" instead of erasing from disk. - Mover os arquivos excluídos para "lixeira" em vez de apagar do disco. - - - - Select newly created files - Selecione arquivos criados recentemente - - - - - Used by Icon View - Usado pela visualização de ícones - - - - - Used by Compact View and Detailed List View - Usado pela Visualização Compacta e pela Visualização de Lista Detalhada - - - - - Used by Thumbnail View - Usado pela visualização de miniaturas - - - - User interface - Interface de usuário - - - - Treat backup files as hidden - Tratar arquivos de backup como oculto - - - - Always show full file names - Exibir sempre os nomes completos dos arquivos - - - - Show icons of hidden files shadowed - Exibir ícones de arquivos ocultos sombreados - - - - Minimum item margins in icon view: - Margens mínimas de itens na visualização de ícones: - - - - 3 px by default. - 3 px por padrão. - - - - - px - px - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 px por padrão. -Um espaço também é reservado para 3 linhas de texto. - - - - Lock - Trancar - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Quando desmarcada, a barra de abas será exibida -somente se houver mais de uma aba. - - - - Application restart is needed for changes to take effect. - A reinicialização do aplicativo é necessária para que as alterações entrem em vigor. - - - - Needs ffmpegthumbnailer - Necessita de ffmpegthumbnailer - - - - Show thumbnails of files - Exibir miniaturas dos arquivos - - - - Templates - Modelos - - - - Show only user defined templates in menu - Exibir apenas modelos definidos pelo usuário no menu - - - - Show only one template for each MIME type - Exibir apenas um modelo para cada tipo MIME - - - - Run default application after creation from template - Executar o aplicativo padrão após a criação do modelo - - - - Only show thumbnails for local files - Exibir miniaturas apenas para arquivos locais - - - - Do not generate thumbnails for image files exceeding this size: - Não gerar miniaturas para arquivos de imagens que ultrapassem este tamanho: - - - - KB - KB - - - - When removable medium unmounted: - Quando o dispositivo removível desmontado: - - - - Switch &user command: - Alternar comando do &usuário: - - - - Archiver in&tegration: - In&tegração do arquivador: - - - - Terminal emulator: - Emulador de terminal: - - - - Auto Mount - Montar automaticamente - - - - Mount mountable volumes automatically on program startup - Montar volumes automaticamente na inicialização do programa - - - - Mount removable media automatically when they are inserted - Montar mídia removível automaticamente quando for inserida - - - - Show available options for removable media when they are inserted - Mostrar opções disponíveis para mídia removível quando for inserida - - - - Close &tab containing removable medium - Fechar &aba contendo mídia removível - - - - Chan&ge folder in the tab to home folder - Alterar pasta na aba para a pasta pessoal - - - - Programs - Programas - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Exemplo: "xterm -e %s" para terminal ou "gksu %s" para trocar de usuário. -%s = a linha de comando que você deseja executar com terminal ou com o comando su. - - - - Use SI decimal prefixes instead of IEC binary prefixes - Utilizar prefixos decimais do SI em vez de prefixos binários do IEC - - - - QObject - - - Renaming files... - Renomear arquivos... - - - - Abort - Abortar - - - - Warning - Atenção - - - - Renaming is aborted. - A renomeação é abortada. - - - - - Error - Erro - - - - No file could be renamed. - Nenhum arquivo pode ser renomeado. - - - - Some files could not be renamed. - Alguns arquivos não puderam ser renomeados. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_ru.desktop b/pcmanfm/translations/pcmanfm-qt_ru.desktop deleted file mode 100644 index dcf93da..0000000 --- a/pcmanfm/translations/pcmanfm-qt_ru.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[ru]=Диспетчер файлов PCManFM-Qt -GenericName[ru]=Диспетчер файлов -Comment[ru]=Просматривайте файловую систему и управляйте файлами \ No newline at end of file diff --git a/pcmanfm/translations/pcmanfm-qt_ru.ts b/pcmanfm/translations/pcmanfm-qt_ru.ts deleted file mode 100644 index c5c4d06..0000000 --- a/pcmanfm/translations/pcmanfm-qt_ru.ts +++ /dev/null @@ -1,1826 +0,0 @@ - - - - - AboutDialog - - - About - О программе - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Легковесный диспетчер файлов - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Authors - Авторы - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Программирование: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - License - Лицензия - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Диспетчер файлов PCMan-Qt - -Авторское право (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Эта программа является свободным программным обеспечением; -вы можете распространять и/или модифицировать её согласно -условиям стандартной общественной лицензии GNU, опубликованной -Фондом свободного ПО; либо версии 2 лицензии, либо -(по вашему выбору) любой более поздней версии. - -Эта программа распространяется в надежде, что она будет полезной, -но БЕЗ КАКИХ БЫ ТО НИ БЫЛО ГАРАНТИЙНЫХ ОБЯЗАТЕЛЬСТВ; даже без -косвенных гарантийных обязательств, связанных с ПОТРЕБИТЕЛЬСКИМИ -СВОЙСТВАМИ и ПРИГОДНОСТЬЮ ДЛЯ ОПРЕДЕЛЁННЫХ ЦЕЛЕЙ. Подробности -читайте в Стандартной Общественной Лицензии GNU. - -Вы должны были получить копию Стандартной Общественной Лицензии GNU -вместе с этой программой. Если лицензии не было, напишите по адресу -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - AutoRunDialog - - - Removable medium is inserted - Вставлен съёмный носитель - - - - <b>Removable medium is inserted</b> - <b>Вставлен съёмный носитель</b> - - - - Type of medium: - Тип носителя: - - - - Detecting... - Обнаружение... - - - - Please select the action you want to perform: - Выберите действие, которое следует совершить: - - - - BulkRenameDialog - - - Bulk Rename - Групповое переименование - - - - # will be replaced by numbers starting with: - # будет заменен на числа, начиная с: - - - - Rename selected files to: - Переименовать выбранные файлы в: - - - - Name# - Имя# - - - - ConnectServerDialog - - - Connect to remote server - Подключение к удалённому серверу - - - - Anonymous &login - Анонимный &вход - - - - Login as &user: - Войти как &пользователь: - - - - Specify remote folder to connect - Укажите удалённую папку для подключения - - - - Type: - Тип: - - - - Port: - Порт: - - - - Path: - Путь: - - - - Host: - Хост: - - - - DesktopFolder - - - Form - Форма - - - - Desktop - Рабочий стол - - - - Desktop folder: - Папка рабочего стола: - - - - Image file - Файл изображения - - - - Folder path - Путь к папке - - - - &Browse - &Обзор - - - - DesktopPreferencesDialog - - - Desktop Preferences - Настройки рабочего стола - - - - General - Общие - - - - Background - Фон - - - - Wallpaper mode: - Режим обоев: - - - - Wallpaper image file: - Файл изображения обоев: - - - - Select background color: - Выбрать цвет фона: - - - - Image file - Файл изображения - - - - Image file path - Путь к файлу изображения - - - - &Browse - &Обзор - - - - Icons - Значки - - - - Icon size: - Размер значков: - - - - Label Text - Текст ярлыков - - - - Select shadow color: - Выбрать цвет тени: - - - - Select font: - Выбрать шрифт: - - - - Spacing - Расстояние - - - - Minimum item margins: - Минимальные границы элементов: - - - - 3 px by default. - По умолчанию - 3 пикселя. - - - - - px - пикс. - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - По умолчанию - 3 пикселя. -Также резервируется место для 3 строк текста. - - - - Lock - Связать - - - - Slide Show - Показ слайдов - - - - Enable Slide Show - Разрешить показ слайдов - - - - Wallpaper image folder: - Папка с обоями: - - - - Browse - Обзор - - - - hour(s) - час. - - - - and - и - - - - Intervals less than 5min will be ignored - Интервал короче 5 минут будет проигнорирован - - - - Interval: - Интервал: - - - - minute(s) - мин. - - - - Wallpaper folder - Папка с обоями - - - - Randomize the slide show - Случайный порядок слайдов - - - - Visible Shortcuts - Отображаемые ярлыки - - - - Home - Home - - - - Trash - Корзина - - - - Computer - Компьютер - - - - Network - Сеть - - - - Window Manager - Оконный менеджер - - - - Advanced - Расширенные - - - - Select text color: - Выберите цвет текста: - - - - Show menus provided by window managers when desktop is clicked - Показывать меню, предоставляемые оконными менеджерами, по клику на рабочий стол - - - - MainWindow - - - File Manager - Диспетчер файлов - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &File - &Файл - - - - C&reate New - &Создать - - - - &Help - &Справка - - - - - &View - &Вид - - - - &Sorting - &Сортировка - - - - &Toolbars - &Панель инструментов - - - - Path &Bar - Путь в строке &адреса - - - - &Filtering - &Фильтр - - - - &Edit - &Правка - - - - &Bookmarks - &Закладки - - - - &Go - &Перейти - - - - &Tool - &Инструмент - - - - Main Toolbar - Главная панель инструментов - - - - Go &Up - Перейти вв&ерх - - - - Go Up - Перейти вверх - - - - Alt+Up - - - - - &Home - &Домой - - - - Alt+Home - - - - - &Reload - &Обновить - - - - F5 - - - - - Go - Перейти - - - - Quit - Выход - - - - &About - &О программе - - - - &New Window - &Новое окно - - - - New Window - Новое окно - - - - Ctrl+N - - - - - Show &Hidden - Показать &скрытые - - - - Ctrl+H - - - - - &Computer - &Компьютер - - - - &Trash - &Корзина - - - - &Network - &Сеть - - - - &Desktop - &Рабочий стол - - - - &Add to Bookmarks - &Добавить в закладки - - - - &Applications - &Приложения - - - - Reload - Обновить - - - - &Icon View - Просмотр &значками - - - - &Compact View - &Компактный просмотр - - - - &Detailed List - Просмотр &подробным списком - - - - &Thumbnail View - Просмотр &эскизами - - - - Cu&t - &Вырезать - - - - Ctrl+X - - - - - &Copy - &Копировать - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Вставить - - - - Ctrl+V - Ctrl+V - - - - Select &All - Выделить &всё - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - &Настройки - - - - &Ascending - По &возрастанию - - - - &Descending - По &убыванию - - - - &By File Name - &По имени файла - - - - By &Modification Time - По времени &изменения - - - - By File &Type - По &типу файла - - - - By &Owner - По &владельцу - - - - &Folder First - Сначала &папки - - - - &Preserve sorting for this folder - &Сохранять сортировку для этой папки - - - - &Case Sensitive - &Чувствительная к регистру - - - - By File &Size - По &размеру файла - - - - &Close Window - &Закрыть окно - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - &Папка - - - - &Blank File - &Пустой файл - - - - &Find Files - &Найти файлы - - - - F3 - F3 - - - - &Show/Focus Filter Bar - &Показать/скрыть панель фильтра - - - - Show Filter Bar - Показать панель фильтра - - - - Ctrl+I - Ctrl+I - - - - S&plit View - &Разделить окно - - - - Split View - Разделить окно - - - - F6 - F6 - - - - &Copy Full Path - С&копировать полный путь - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - &Отменить все фильтры - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - Закрыть &предыдущие вкладки - - - - Close &next tabs - Закрыть &следующие вкладки - - - - &Preserve Settings for This Folder - &Сохранить настройки для этой папки - - - - Connect to &Server - Подключение к &серверу - - - - &Location - &Расположение - - - - &Path Buttons - &Путь кнопок - - - - &Bulk Rename - &Групповое переименование - - - - Bulk Rename - Групповое переименование - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - Закрыть &остальные вкладки - - - - Permanent &filter bar - Не скрывать панель &фильтров - - - - &Menu bar - &Cтрока меню - - - - Menu bar - Панель меню - - - - Ctrl+M - Ctrl+M - - - - - Menu - Меню - - - - New &Tab - Новая &вкладка - - - - New Tab - Новая вкладка - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Перейти &назад - - - - Go Back - Перейти назад - - - - Alt+Left - Alt+Стрелка_влево - - - - Go &Forward - Перейти &вперёд - - - - Go Forward - Перейти вперёд - - - - Alt+Right - - - - - &Invert Selection - &Инвертировать выделение - - - - &Delete - &Удалить - - - - Del - Del - - - - &Rename - Пере&именовать - - - - F2 - F2 - - - - C&lose Tab - &Закрыть вкладку - - - - Ctrl+W - Ctrl+W - - - - File &Properties - Свойства &файла - - - - Alt+Return - Alt+Return - - - - &Folder Properties - Свойства &папки - - - - Edit Bookmarks - Изменить закладки - - - - Open &Terminal - Открыть &терминал - - - - F4 - F4 - - - - Open as &Root - Открыть от имени &суперпользователя - - - - &Edit Bookmarks - &Изменить закладки - - - - PCManFM::Application - - - Name of configuration profile - Имя профиля конфигурации - - - - PROFILE - ПРОФИЛЬ - - - - Run PCManFM as a daemon - Запустить PCManFM как демон - - - - Quit PCManFM - Выйти из PCManFM - - - - Launch desktop manager - Запустить менеджер рабочего стола - - - - Turn off desktop manager if it's running - Отключить менеджер рабочего стола, если он запущен - - - - Open desktop preference dialog on the page with the specified name - Открыть диалог настроек рабочего стола на странице с указанным именем - - - - - NAME - ИМЯ - - - - Set desktop wallpaper from image FILE - Выбрать обои рабочего стола из ФАЙЛА изображения - - - - FILE - ФАЙЛ - - - - MODE - РЕЖИМ - - - - Open Preferences dialog on the page with the specified name - Открыть диалог настроек на странице с указанным именем - - - - Open new window - Открыть новое окно - - - - Open Find Files utility - Открыть утилиту поиска файлов - - - - Set mode of desktop wallpaper. MODE=(%1) - Задать режим обоев рабочего стола. РЕЖИМ=(%1) - - - - [FILE1, FILE2,...] - [ФАЙЛ1, ФАЙЛ2,...] - - - - Files or directories to open - Файлы или папки для открытия - - - - - Error - Ошибка - - - - Terminal emulator is not set. - Эмулятор терминала не указан. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Открыть в диспетчере файлов - - - - Removable Disk - Съёмный диск - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - Безопасный WebDav - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Заполнить только цветом фона - - - - Stretch to fill the entire screen - Растянуть по всему экрану - - - - Stretch to fit the screen - Растянуть по размеру экрана - - - - Center on the screen - По центру экрана - - - - Tile the image to fill the entire screen - Плиточное заполнение всего экрана изображением - - - - Zoom the image to fill the entire screen - Увеличить изображение до заполнения всего экрана - - - - Image Files - Файлы изображений - - - - PCManFM::DesktopWindow - - - Trash (One item) - Корзина (1 объект) - - - - Trash (%Ln items) - Корзина (%Ln объект) - Корзина (%Ln объекта) - Корзина (%Ln объектов) - - - - Trash (Empty) - Корзина (пусто) - - - - Home - Home - - - - Computer - Компьютер - - - - Network - Сеть - - - - Open - Открыть - - - - - Stic&k to Current Position - &Прикрепить к текущему положению - - - - Empty Trash - Очистить корзину - - - - Hide Desktop Items - Скрыть значки рабочего стола - - - - Desktop Preferences - Настройки рабочего стола - - - - PCManFM::FilterBar - - - Filter: - Фильтр: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Стереть текст (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Запущено от root - - - - Hide menu bar - Скрыть панель меню - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Полностью скрыть панель меню; нажмите Ctrl+M, чтобы вернуть ее. - - - - Version: %1 - Версия: %1 - - - - &Move to Trash - &Переместить в корзину - - - - &Delete - &Удалить - - - - - Error - Ошибка - - - - Switch user command is not set. - Команда переключения пользователя не задана. - - - - PCManFM::PreferencesDialog - - - Icon View - Просмотр значками - - - - Compact View - Компактный просмотр - - - - Thumbnail View - Просмотр эскизами - - - - Detailed List View - Просмотр подробным списком - - - - PCManFM::TabPage - - - Error - Ошибка - - - - Free space: %1 (Total: %2) - Свободное место: %1 (всего: %2) - - - - %n item(s) - - %n объект - %n объекта - %n объектов - - - - - (%n hidden) - - (%n скрыт) - (%n скрыто) - (%n скрыто) - - - - - - - Link to - Ссылка на - - - - %n item(s) selected - - %n объект выделен - %n объекта выделено - %n объектов выделено - - - - - PCManFM::View - - - Open in New T&ab - Открыть в новой &вкладке - - - - Open in New Win&dow - Открыть в новом &окне - - - - Open in Termina&l - Открыть в &терминале - - - - PreferencesDialog - - - Preferences - Настройки - - - - User Interface - Интерфейс пользователя - - - - Behavior - Поведение - - - - - Thumbnail - Эскизы - - - - Volume - Том - - - - Advanced - Расширенные - - - - Select newly created files - Выделять только что созданные файлы - - - - Icons - Значки - - - - Size of big icons: - Размер больших значков: - - - - Size of small icons: - Размер маленьких значков: - - - - Size of thumbnails: - Размер эскизов: - - - - Size of side pane icons: - Размер значков боковой панели: - - - - Icon theme: - Тема значков: - - - - Window - Окно - - - - Always show the tab bar - Всегда показывать панель вкладок - - - - Show 'Close' buttons on tabs - Показывать кнопку «Закрыть» на вкладках - - - - Remember the size of the last closed window - Запоминать размер последнего закрытого окна - - - - Default width of new windows: - Ширина новых окон по умолчанию: - - - - Default height of new windows: - Высота новых окон по умолчанию: - - - - Browsing - Просмотр - - - - Open files with single click - Открывать файлы по одиночному щелчку мыши - - - - Delay of auto-selection in single click mode (0 to disable) - Задержка автовыделения в режиме одиночного щелчка (0 для отключения) - - - - Default view mode: - Режим просмотра по умолчанию: - - - - sec - сек - - - - File Operations - Операции с файлами - - - - Confirm before deleting files - Подтверждение перед удалением файлов - - - - Move deleted files to "trash bin" instead of erasing from disk. - Перемещать удалённые файлы в «корзину» вместо удаления их с диска. - - - - Show thumbnails of files - Показывать эскизы файлов - - - - Only show thumbnails for local files - Показывать эскизы только для локальных файлов - - - - Display - Вид - - - - Bookmarks: - Закладки: - - - - Open in current tab - Открывать в текущей вкладке - - - - Open in new tab - Открывать в новой вкладке - - - - Open in new window - Открывать в новом окне - - - - Erase files on removable media instead of "trash can" creation - Удалять файлы на съёмных носителях вместо создания «корзины» - - - - Confirm before moving files into "trash can" - Подтверждение перед перемещением файлов в «корзину» - - - - - - Requires application restart to take effect completely - Для полного применения настроек нужно перезапустить приложение - - - - Launch executable files without prompt - Запускать исполняемые файлы без запроса - - - - - Used by Icon View - Используется в режиме просмотра значками - - - - - Used by Compact View and Detailed List View - Используется в компактном режиме и просмотре подробным списком - - - - - Used by Thumbnail View - Используется в режиме просмотра эскизов - - - - User interface - Интерфейс пользователя - - - - Treat backup files as hidden - Рассматривать резервные файлы как скрытые - - - - Always show full file names - Всегда показывать полные имена файлов - - - - Show icons of hidden files shadowed - Показывать значки скрытых файлов затенёнными - - - - Minimum item margins in icon view: - Минимальные границы элементов в режиме значков: - - - - 3 px by default. - по умолчанию - 3 пикселя. - - - - - px - пикс. - - - - x - x - - - - 3 px by default. -A space is also reserved for 3 lines of text. - По умолчанию - 3 пикселя. -Также резервируется место для 3 строк текста. - - - - Lock - Связать - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Если не отмечено, то панель вкладок будет отображаться, -только если есть больше одной вкладки. - - - - Application restart is needed for changes to take effect. - Чтобы изменения вступили в силу, необходим перезапуск приложения. - - - - Do not generate thumbnails for image files exceeding this size: - Не создавать эскизы для файлов изображений больших чем: - - - - KB - КБ - - - - Needs ffmpegthumbnailer - Необходим ffmpegthumbnailer - - - - Auto Mount - Автоподключение - - - - Mount mountable volumes automatically on program startup - Подключать съёмные тома автоматически при запуске программы - - - - Mount removable media automatically when they are inserted - Подключать съёмные тома автоматически при их вставлении - - - - Show available options for removable media when they are inserted - Показывать доступные варианты для съёмных устройств при их вставлении - - - - When removable medium unmounted: - При отключении съёмного устройства: - - - - Close &tab containing removable medium - Закрыть &вкладку, отображающую содержимое съёмного носителя - - - - Chan&ge folder in the tab to home folder - Изме&нить папку во вкладке на домашнюю - - - - Switch &user command: - Команда смены &пользователя: - - - - Archiver in&tegration: - Ин&теграция с архиваторами: - - - - Templates - Шаблоны - - - - Show only user defined templates in menu - Показывать в меню только шаблоны, определённые пользователем - - - - Show only one template for each MIME type - Показывать только один шаблон для каждого типа MIME - - - - Run default application after creation from template - Запускать приложение по умолчанию после создания из шаблона - - - - Programs - Программы - - - - Terminal emulator: - Эмулятор терминала: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Примеры: "xterm -e %s" для терминала или "gksu %s" для переключения пользователя. -%s = командная строка,которую вы хотите выполнить с терминалом или su. - - - - Use SI decimal prefixes instead of IEC binary prefixes - Использовать десятичные префиксы СИ вместо двоичных префиксов IEC - - - - QObject - - - Renaming files... - Переименование файлов… - - - - Abort - Прервать - - - - Warning - Предупреждение - - - - Renaming is aborted. - Переименование прервано. - - - - - Error - Ошибка - - - - No file could be renamed. - Не удалось переименовать ни один файл. - - - - Some files could not be renamed. - Не удалось переименовать некоторые файлы. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_tr.desktop b/pcmanfm/translations/pcmanfm-qt_tr.desktop deleted file mode 100644 index 49cfe8b..0000000 --- a/pcmanfm/translations/pcmanfm-qt_tr.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations / translated by tulliana -Name[tr]=PCManFM-Qt -GenericName[tr]=Dosya Yönetici -Comment[tr]=Lxqt dosya ve masaüstü yöneticisi diff --git a/pcmanfm/translations/pcmanfm-qt_tr.ts b/pcmanfm/translations/pcmanfm-qt_tr.ts deleted file mode 100644 index 44d3f2b..0000000 --- a/pcmanfm/translations/pcmanfm-qt_tr.ts +++ /dev/null @@ -1,1818 +0,0 @@ - - - - - AboutDialog - - - About - Hakkında - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Hafif bir dosya yöneticisi - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Programcı: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt Dosya Yöneticisi - -Telif Hakkı (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -Bu program ücretsiz bir yazılımdır; bunu dağıtabilir veya -GNU Genel Kamu Lisansı kapsamında değiştirebilirsiniz -Özgür Yazılım Vakfı lisansı altında yada -benzeri başka bir lisans altında bir sürüm çatallayabilirsiniz. - -Bu program faydalı olacağı amacıyla geliştirilmiştir, -fakat size hiçbir kullanım garantisi vermez. -Belirli bir amaca katkı vermek için kamu yararına geliştirildi. -Daha fazla bilgi edinmek için GNU Genel Kamu Lisansını inceleyin. - -Bu program ile birlikte GNU Genel Kamu Lisansını -kabul etmiş varsayılırsınız. -VAKIF, Inc., 51 Franklin Caddesi, Beşinci Kat, Boston, MA 02110-1301, ABD. -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - Authors - Yazarlar - - - - License - Lisans - - - - AutoRunDialog - - - Removable medium is inserted - Harici bir bellek takıldı - - - - <b>Removable medium is inserted</b> - <b>Harici Bellek Takıldı</b> - - - - Type of medium: - Bellek tipi: - - - - Detecting... - Taranıyor... - - - - Please select the action you want to perform: - Gerçekleştirmek istediğiniz eylemi seçiniz: - - - - BulkRenameDialog - - - Bulk Rename - Çoklu yeniden adlandırma - - - - # will be replaced by numbers starting with: - # şununla başlayarak sayılarla değiştirilecek: - - - - Rename selected files to: - Seçilen dosyların ismini şununla değiştir: - - - - Name# - İsim# - - - - ConnectServerDialog - - - Connect to remote server - Uzak sunucuya bağlan - - - - Anonymous &login - Anonim &giriş - - - - Login as &user: - K&ullanıcı olarak giriş: - - - - Specify remote folder to connect - Bağlanılacak uzak dizini belirleyin - - - - Type: - Tür: - - - - Port: - Port: - - - - Path: - Yol: - - - - Host: - Host: - - - - DesktopFolder - - - Form - Form - - - - Desktop - Masaüstü - - - - Desktop folder: - Masaüstü: - - - - Image file - Resim dosyası - - - - Folder path - Dosya yolu - - - - &Browse - &Gözat - - - - DesktopPreferencesDialog - - - Desktop Preferences - Masaüstü Tercihleri - - - - Background - Arkaplan - - - - Wallpaper mode: - Duvar kağıdı kipi: - - - - Wallpaper image file: - Duvar kağıdı resim dosyası: - - - - Select background color: - Arkaplan rengi seç: - - - - Image file - Resim dosyası - - - - Image file path - Resim dosya yolu - - - - &Browse - &Gözat - - - - Icons - Simgeler - - - - Icon size: - Simge boyutu: - - - - Label Text - Etiket Metni - - - - Select shadow color: - Gölge rengi seç: - - - - Select font: - Yazıtipi seç: - - - - General - Genel - - - - Select text color: - Metin rengini seç: - - - - Spacing - Boşluk - - - - Minimum item margins: - En az öge boyutları: - - - - 3 px by default. - Öntanımlı olarak 3 px. - - - - - px - - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - Varsayılan olarak 1 piksel. -Ayrıca, 3 satırlık metin için bir boşluk ayrılmıştır. - - - - Lock - Kilitle - - - - Slide Show - Slayt Gösterisi - - - - Enable Slide Show - Slayt Gösterisini Etkinleştir - - - - Wallpaper image folder: - Duvar kağıdı resim dizini: - - - - Browse - Gözat - - - - hour(s) - .saat(ler) - - - - and - ve - - - - Intervals less than 5min will be ignored - 5 dakikadan kısa zaman aralıkları görmezden gelinecek - - - - Interval: - Zaman Aralığı: - - - - minute(s) - .dakika(lar) - - - - Wallpaper folder - Duvar kağıdı dizini - - - - Randomize the slide show - Duvar kağıdı rasgele seçilsin - - - - Visible Shortcuts - Kısayolları Göster - - - - Home - Ev Dizini - - - - Trash - Çöp Kutusu - - - - Computer - Bilgisayar - - - - Network - - - - - Window Manager - Pencere Yönetici - - - - Show menus provided by window managers when desktop is clicked - Masaüstüne tıklandığında pencere yöneticisinin sağladığı simgeleri göster - - - - Advanced - Gelişmiş - - - - MainWindow - - - File Manager - Dosya Yöneticisi - - - - &Toolbars - Araç &Çubukları - - - - Path &Bar - Yol &Çubuğu - - - - &Filtering - &Filtreleme - - - - Go &Up - Üst &Dizin - - - - Go Up - Üst Dizin - - - - Alt+Up - Alt+Yukarı - - - - &Home - &Ev Dizini - - - - Alt+Home - Alt+Home - - - - &Reload - &Yeniden Yükle - - - - F5 - F5 - - - - Go - Git - - - - Quit - Çıkış - - - - &About - &Hakkında - - - - &New Window - &Yeni Pencere - - - - New Window - Yeni Pencere - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - &Gizli Dosyaları Göster - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Bilgisayar - - - - &Trash - &Çöp Kutusu - - - - &Network - &Ağ - - - - &Desktop - &Masaüstü - - - - &Add to Bookmarks - Yer İmlerine &Ekle - - - - &Applications - &Uygulamalar - - - - Reload - Yeniden Yükle - - - - &Icon View - &Simge Görünümü - - - - &Compact View - &Sıkışık Görünüm - - - - &Detailed List - &Ayrıntılı Liste - - - - &Thumbnail View - &Önizleme - - - - Cu&t - Ke&s - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Kopyala - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Yapıştır - - - - Ctrl+V - Ctrl+V - - - - Select &All - Tümünü &Seç - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - Ter&cihler - - - - &Ascending - &Artan - - - - &Descending - &Azalan - - - - &By File Name - &Dosya Adına Göre - - - - By &Modification Time - &Değiştirme Zamanına Göre - - - - By File &Type - &Dosya Türüne Göre - - - - By &Owner - &Sahibine Göre - - - - &Folder First - &Önce Dizin - - - - &Preserve sorting for this folder - Bu dizinin sıralamasını &koru - - - - &Case Sensitive - &Büyük/Küçük Harf Duyarlı - - - - By File &Size - Dosya &Boyutuna Göre - - - - &Close Window - &Pencereyi Kapat - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - &Dizin - - - - &Blank File - &Boş Dosya - - - - &Show/Focus Filter Bar - Filtre Çubuğunu &Göster/Odakla - - - - Show Filter Bar - Süzgeç Çubuğunu Göster - - - - Ctrl+I - Ctrl+I - - - - S&plit View - Görünümü &Böl - - - - Split View - Görünümü Böl - - - - F6 - F6 - - - - &Copy Full Path - Tüm Yolu &Kopyala - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - Tüm Süzgeçleri &Temizle - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - &Önceki sekmeleri kapat - - - - Close &next tabs - So&nraki sekmeleri kapat - - - - &Preserve Settings for This Folder - Bu Dizinin Ayarlarını &Koru - - - - Connect to &Server - &Sunucuya Bağlan - - - - &Location - &Konum - - - - &Path Buttons - &Yol Düğmeleri - - - - &Bulk Rename - &Toplu Yeniden Adlandır - - - - Bulk Rename - Toplu Yeniden Adlandır - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - &Diğer sekmeleri kapat - - - - Permanent &filter bar - Kalıcı &filtre çubuğu - - - - &Menu bar - &Menü çubuğu - - - - Menu bar - Menü çubuğu - - - - Ctrl+M - Ctrl+M - - - - - Menu - Menü - - - - New &Tab - Yeni &Sekme - - - - New Tab - Yeni Sekme - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Geri &Git - - - - Go Back - Geri Git - - - - Alt+Left - Alt+Left - - - - Go &Forward - &İleri - - - - Go Forward - İleri - - - - Alt+Right - Alt+Right - - - - &Invert Selection - Seçimi &Tersine Çevir - - - - &Delete - &Sil - - - - Del - Sil - - - - &Rename - &Yeniden Adlandır - - - - F2 - F2 - - - - C&lose Tab - S&ekmeyi Kapat - - - - Ctrl+W - Ctrl+W - - - - File &Properties - Dosya &Özellikleri - - - - Alt+Return - Alt+Return - - - - &Folder Properties - &Dizin Özellikleri - - - - Edit Bookmarks - Yer İmlerini Düzenle - - - - Open &Terminal - Uçbirimi &Aç - - - - F4 - F4 - - - - Open as &Root - &Yetkili Olarak Aç - - - - &Edit Bookmarks - &Yer İmlerini Düzenle - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - Dosyaları &Bul - - - - F3 - F3 - - - - &File - &Dosya - - - - C&reate New - Y&eni Oluştur - - - - &Help - &Yardım - - - - - &View - &Görünüm - - - - &Sorting - &Sıralama - - - - &Edit - &Düzenle - - - - &Bookmarks - &Yer İmleri - - - - &Go - &Git - - - - &Tool - &Araçlar - - - - Main Toolbar - Ana Araç Çubuğu - - - - PCManFM::Application - - - Name of configuration profile - Profil yapılandırma adı - - - - PROFILE - PROFİL - - - - Run PCManFM as a daemon - PCManFM'i arkaplanda çalıştır - - - - Quit PCManFM - PCManFM'den Çık - - - - Launch desktop manager - Masaüstü yöneticisini başlat - - - - Turn off desktop manager if it's running - Eğer çalışıyorsa masaüstü yöneticisini durdur - - - - Open desktop preference dialog on the page with the specified name - Aynı adı taşıyan sayfa yada dosya varsa masaüstünde bir tercih öner - - - - - NAME - İSİM - - - - Open new window - Yeni pencere aç - - - - Open Find Files utility - Açık Dosya Bulmaya yarar - - - - Set desktop wallpaper from image FILE - DOSYA masaüstü duvarkağıdı olarak ayarlansın - - - - FILE - DOSYA - - - - MODE - KİP - - - - Set mode of desktop wallpaper. MODE=(%1) - Masaüstü duvar kağıdının kipini ayarla. KİP=(%1) - - - - Open Preferences dialog on the page with the specified name - Aynı adı taşıyan sayfa yada dosya varsa bir tercih öner - - - - Files or directories to open - Dosya veya dizin aç - - - - [FILE1, FILE2,...] - [DOSYA1, DOSYA,...] - - - - - Error - Hata - - - - Terminal emulator is not set. - Uçbirim uygulaması ayarlanmadı. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Dosya yöneticisinde aç - - - - Removable Disk - Çıkarılabilir Bellek - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Arkaplan sadece renk dolgusu olsun - - - - Stretch to fill the entire screen - Tüm ekranı kaplayacak şekilde ger - - - - Stretch to fit the screen - Ekran boyutuna uzat ve uydur - - - - Center on the screen - Ekranı ortala - - - - Tile the image to fill the entire screen - Tüm ekranı dolduracak şekilde döşe - - - - Zoom the image to fill the entire screen - Remi tüm ekranı dolduracak şekilde ayarla - - - - Image Files - Resim Dosyaları - - - - PCManFM::DesktopWindow - - - Trash (One item) - Çöp Kutusu (Bir öge) - - - - Trash (%Ln items) - Çöp Kutusu (%Ln öge) - Çöp Kutusu (%Ln öge) - - - - Trash (Empty) - Çöp Kutusu (Boş) - - - - Home - Ev Dizini - - - - Computer - Bilgisayar - - - - Network - - - - - Open - - - - - - Stic&k to Current Position - Geçerli Konuma Sa&bitle - - - - Empty Trash - Çöpü Boşalt - - - - Hide Desktop Items - Masaüstü Ögelerini Gizle - - - - Desktop Preferences - Masaüstü Tercihleri - - - - PCManFM::FilterBar - - - Filter: - Süzgeç: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Metni temizle (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Kök Örneği - - - - Hide menu bar - Menü çubuğunu gizle - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Bu eylem menü çubuğunu tamamen gizleyecektir, tekrar göstermek için Ctrl+M kısayolunu kullanın. - - - - Version: %1 - Sürüm: %1 - - - - &Move to Trash - &Çöp Kutusuna Taşı - - - - &Delete - &Sil - - - - - Error - Hata - - - - Switch user command is not set. - Kullanıcı değiştirme komutu atanmamış. - - - - PCManFM::PreferencesDialog - - - Icon View - Simgeler - - - - Compact View - Sıkışık Görünüm - - - - Thumbnail View - Önizleme - - - - Detailed List View - Detaylı Liste - - - - PCManFM::TabPage - - - Error - Hata - - - - Free space: %1 (Total: %2) - Boş alan: %1 (Toplam %2) - - - - %n item(s) - - %n nesne(ler) - - - - - (%n hidden) - - (%n gizli) - - - - - - - Link to - Bağlantı - - - - %n item(s) selected - - %n nesne seçildi - - - - - PCManFM::View - - - Open in New T&ab - Yeni S&ekmede Aç - - - - Open in New Win&dow - Yeni Pen&cerede Aç - - - - Open in Termina&l - Uçbirim&de Aç - - - - PreferencesDialog - - - Preferences - Tercihler - - - - User Interface - Kullanıcı Arayüzü - - - - Behavior - Davranış - - - - - Thumbnail - Önizleme - - - - Volume - Disk Yönetimi - - - - Advanced - Gelişmiş - - - - Select newly created files - En son oluşturulan dosyaları seç - - - - Icons - Simgeler - - - - Size of big icons: - Büyük simge boyutu: - - - - Size of small icons: - Küçük simge boyutu: - - - - Size of thumbnails: - Önizleme boyutu: - - - - Size of side pane icons: - Yan bölme simgelerinin boyutu: - - - - Icon theme: - Simge teması: - - - - Window - Pencere - - - - Always show the tab bar - Sekme çubuğunu daima göster - - - - Show 'Close' buttons on tabs - Sekmelerde 'Kapat' düğmesi göster - - - - Remember the size of the last closed window - Son kapatılan pencere boyutunu anımsa - - - - Default width of new windows: - Yeni pencereleri varsayılan genişlikte aç: - - - - Default height of new windows: - Yeni pencereleri varsayılan yükseklikte aç: - - - - Browsing - Gözat - - - - Open files with single click - Dosyaları çift tıklama ile aç - - - - Delay of auto-selection in single click mode (0 to disable) - İmleç üzerinde bekleyince kendiliğinden seç ve tek tıkla (0 etkisizleştirir) - - - - Default view mode: - Varsayılan görünüm kipi: - - - - sec - sn - - - - File Operations - Dosya İşlemleri - - - - Confirm before deleting files - Dosyaları silmeden önce onayla - - - - Move deleted files to "trash bin" instead of erasing from disk. - Silinen dosyaları "çöpe atmadan" diskten sil. - - - - Show thumbnails of files - Dosya önizlemelerini göster - - - - Only show thumbnails for local files - Yerel dosyalar için önizleme göster - - - - Display - Görünüm - - - - Bookmarks: - Yer İmleri: - - - - Open in current tab - Geçerli sekmede aç - - - - Open in new tab - Yeni sekmede aç - - - - Open in new window - Yeni pencerede aç - - - - Erase files on removable media instead of "trash can" creation - Çıkarılabilir bellek takılınca kendiliğinden oluşan "kalıntıları" sil - - - - Confirm before moving files into "trash can" - Dosyalar "çöpe" gönderilmeden önce onay iste - - - - - - Requires application restart to take effect completely - Ayarların etkin olabilmesi için istenilen uygulama yeniden başlatılacak - - - - Launch executable files without prompt - Yürütülebilir dosyaları istemsiz başlat - - - - - Used by Icon View - - - - - - Used by Compact View and Detailed List View - - - - - - Used by Thumbnail View - - - - - User interface - Kullanıcı arayüzü - - - - Treat backup files as hidden - Yedekleme dosyalarını gizle - - - - Always show full file names - Her zaman dosya adının tamamını göster - - - - Show icons of hidden files shadowed - Gizli dosyaların simgesini gölgele - - - - Minimum item margins in icon view: - - - - - 3 px by default. - Varsayılan olarak 3 piksel. - - - - - px - - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - Varsayılan olarak 3 piksel. -Ayrıca, 3 satırlık metin için bir boşluk ayrılmıştır. - - - - Lock - Kilitle - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Seçimi kaldırdığınızda, sekme çubuğu yalnızca -birden fazla sekme var ise görünür. - - - - Application restart is needed for changes to take effect. - Değişikliklerin etkili olması için uygulamanın yeniden başlatılması gerekiyor. - - - - Do not generate thumbnails for image files exceeding this size: - Şundan büyük boyuttaki dosyalar için önizleme oluşturma: - - - - KB - .KB - - - - Needs ffmpegthumbnailer - ffmpegthumbnailer gerekiyor - - - - Auto Mount - Otomatik bağla - - - - Mount mountable volumes automatically on program startup - Uygulama başlarken diskleri otomatik bağla - - - - Mount removable media automatically when they are inserted - Çıkarılabilir bellek takıldığında otomatik olarak bağla - - - - Show available options for removable media when they are inserted - Çıkarılabilir bellek takıldığında seçenekleri göster - - - - When removable medium unmounted: - Çıkarılabilir disk ayrıldığında: - - - - Close &tab containing removable medium - Bellek çıkarılınca &sekme kapansın - - - - Chan&ge folder in the tab to home folder - Sek&me konumu kullanıcı klasörü olarak değişsin - - - - Programs - Uygulamalar - - - - Terminal emulator: - Uçbirim emülatörü: - - - - Switch &user command: - &Kullanıcı değiştirme-komutu: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Örnek: uçbirim için "xterm -e %s" veya kullanıcı değiştirmek için "gksu %s". -%s = komut satırı veya uçbirimde su komutu ile. - - - - Archiver in&tegration: - Sıkıştırma uy&gulaması: - - - - Templates - Şablonlar - - - - Show only user defined templates in menu - Menüde sadece kullanıcı şablonlarını göster - - - - Show only one template for each MIME type - Her MIME türü için tek bir şablon göster - - - - Run default application after creation from template - Şablonu uygulama çalıştıktan sonra oluştur - - - - Use SI decimal prefixes instead of IEC binary prefixes - SI onluk önekleri yerine IEC ikili önekleri kullan - - - - QObject - - - Renaming files... - Dosyalar yeniden adlandırılıyor... - - - - Abort - İptal - - - - Warning - Uyarı - - - - Renaming is aborted. - Yeniden isimlendirme iptal edildi. - - - - - Error - Hata - - - - No file could be renamed. - Yeniden isimlendirilecek dosya yok. - - - - Some files could not be renamed. - Bazı dosyalar yeniden isimlendirilemedi. - - - diff --git a/pcmanfm/translations/pcmanfm-qt_uk.ts b/pcmanfm/translations/pcmanfm-qt_uk.ts deleted file mode 100644 index 12539ec..0000000 --- a/pcmanfm/translations/pcmanfm-qt_uk.ts +++ /dev/null @@ -1,1826 +0,0 @@ - - - - - AboutDialog - - - About - Про - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - Lightweight file manager - Легкий менеджер файлів - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - Програмування: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - Менеджер файлів PCManFM-Qt - -Всі права застережено (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - Authors - Автори - - - - License - Ліцензія - - - - AutoRunDialog - - - Removable medium is inserted - Вставлено знімний пристрій - - - - <b>Removable medium is inserted</b> - <b>Вставлено знімний пристрій</b> - - - - Type of medium: - Тип пристрою: - - - - Detecting... - Розпізнавання... - - - - Please select the action you want to perform: - Будь ласка, виберіть дію, яку бажаєте виконати: - - - - BulkRenameDialog - - - Bulk Rename - - - - - # will be replaced by numbers starting with: - - - - - Rename selected files to: - - - - - Name# - - - - - ConnectServerDialog - - - Connect to remote server - Зв'язок з віддаленим сервером - - - - Anonymous &login - Анонімне &логування - - - - Login as &user: - Ввійти як &користувач: - - - - Specify remote folder to connect - Вкажіть віддалену теку для зв'язку - - - - Type: - Тип: - - - - Port: - Порт: - - - - Path: - Шлях: - - - - Host: - Сервер: - - - - DesktopFolder - - - Form - Форма - - - - Desktop - Стільниця - - - - Desktop folder: - Тека стільниці: - - - - Image file - Файл малюнку - - - - Folder path - Шлях теки - - - - &Browse - &Переглянути - - - - DesktopPreferencesDialog - - - Desktop Preferences - Налаштування стільниці - - - - Background - Тло - - - - Wallpaper mode: - Режим тла: - - - - Wallpaper image file: - Файл малюнка тла: - - - - Select background color: - Вибрати колір фону: - - - - Image file - Файл малюнка - - - - Image file path - Шлях до файлу малюнка - - - - &Browse - &Переглянути - - - - Icons - Значки - - - - Icon size: - Розмір значка: - - - - Label Text - Текст мітки - - - - Select shadow color: - Вибрати колір тіні: - - - - Select font: - Вибрати шрифт: - - - - General - Загальне - - - - Select text color: - - - - - Spacing - Пропуски - - - - Minimum item margins: - Мінімальні поля: - - - - 3 px by default. - 3 пт типово. - - - - - px - пт - - - - x - х - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 1 пт типово. -Також зареєстровано простір для 3 лінійок тексту. - - - - Lock - Замок - - - - Slide Show - - - - - Enable Slide Show - - - - - Wallpaper image folder: - - - - - Browse - - - - - hour(s) - - - - - and - - - - - Intervals less than 5min will be ignored - - - - - Interval: - - - - - minute(s) - - - - - Wallpaper folder - - - - - Randomize the slide show - - - - - Visible Shortcuts - - - - - Home - Домашня тека - - - - Trash - - - - - Computer - Комп'ютер - - - - Network - Мережа - - - - Window Manager - Менеджер вікон - - - - Show menus provided by window managers when desktop is clicked - Показати меню, яке пропонує менеджер вікон, коли клацнуто на стільниці - - - - Advanced - Більше - - - - MainWindow - - - File Manager - Менеджер файлів - - - - &Toolbars - &Панелі інструментів - - - - Path &Bar - Шлях &до панелі - - - - &Filtering - - - - - Go &Up - Піднятися &вгору - - - - Go Up - Піднятися вгору - - - - Alt+Up - Alt+Up - - - - &Home - &Додому - - - - Alt+Home - Alt+Home - - - - &Reload - &Перезавантажити - - - - F5 - F5 - - - - Go - Йти - - - - Quit - Закінчити - - - - &About - &Про - - - - &New Window - &Нове вікно - - - - New Window - Нове вікно - - - - Ctrl+N - Ctrl+N - - - - Show &Hidden - Показати &сховані - - - - Ctrl+H - Ctrl+H - - - - &Computer - &Комп'ютер - - - - &Trash - &Смітник - - - - &Network - &Мережа - - - - &Desktop - &Стільниця - - - - &Add to Bookmarks - &Додати до закладок - - - - &Applications - &Програми - - - - Reload - Перезавантажити - - - - &Icon View - &Вигляд значками - - - - &Compact View - &Компактний вигляд - - - - &Detailed List - &Детальний список - - - - &Thumbnail View - &Вигляд мініатюрами - - - - Cu&t - Ви&різати - - - - Ctrl+X - Ctrl+X - - - - &Copy - &Копія - - - - Ctrl+C - Ctrl+C - - - - &Paste - &Вставити - - - - Ctrl+V - Ctrl+V - - - - Select &All - Вибрати &все - - - - Ctrl+A - Ctrl+A - - - - Pr&eferences - Пара&метри - - - - &Ascending - В порядку &зростання - - - - &Descending - В порядку &спадання - - - - &By File Name - &По назві файлу - - - - By &Modification Time - По часу з&міни - - - - By File &Type - По типу &файлу - - - - By &Owner - По вла&снику - - - - &Folder First - Те&ки спершу - - - - &Preserve sorting for this folder - &Зберегти сортування для цієї теки - - - - &Case Sensitive - &Чутливість до регістру - - - - By File &Size - По р&озміру файлу - - - - &Close Window - &Закрити вікно - - - - Ctrl+Q - Ctrl+Q - - - - &Folder - &Тека - - - - &Blank File - &Порожній файл - - - - &Show/Focus Filter Bar - - - - - Show Filter Bar - - - - - Ctrl+I - - - - - S&plit View - - - - - Split View - - - - - F6 - F6 - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - Ctrl+B - - - - &Clear All Filters - - - - - Ctrl+Shift+K - - - - - Close &previous tabs - Замкнути &попередні вкладки - - - - Close &next tabs - Замкнути наступні &вкладки - - - - &Preserve Settings for This Folder - &Зберігати налаштування для цієї теки - - - - Connect to &Server - Зв'язок з &сервером - - - - &Location - &Знаходження - - - - &Path Buttons - - - - - &Bulk Rename - - - - - Bulk Rename - - - - - Ctrl+F2 - - - - - Close &other tabs - Закрити &інші вкладки - - - - Permanent &filter bar - - - - - &Menu bar - &Панель меню - - - - Menu bar - Панель меню - - - - Ctrl+M - Ctrl+M - - - - - Menu - Меню - - - - New &Tab - Нова вк&ладка - - - - New Tab - Нова вкладка - - - - Ctrl+T - Ctrl+T - - - - Go &Back - Перейти &назад - - - - Go Back - Перейти назад - - - - Alt+Left - Alt+Left - - - - Go &Forward - Перейти в&перед - - - - Go Forward - Перейти вперед - - - - Alt+Right - Alt+Right - - - - &Invert Selection - &Інвертувати обране - - - - &Delete - &Вилучити - - - - Del - Del - - - - &Rename - &Перейменувати - - - - F2 - F2 - - - - C&lose Tab - З&акрити вкладку - - - - Ctrl+W - Ctrl+W - - - - File &Properties - Властивості &файлу - - - - Alt+Return - Alt+Return - - - - &Folder Properties - В&ластивості теки - - - - Edit Bookmarks - Редагувати закладки - - - - Open &Terminal - Відкрити &термінал - - - - F4 - F4 - - - - Open as &Root - Відкрити як &Root - - - - &Edit Bookmarks - &Редагувати закладки - - - - Ctrl+Shift+N - Ctrl+Shift+N - - - - Ctrl+Alt+N - Ctrl+Alt+N - - - - &Find Files - &Знайти файли - - - - F3 - F3 - - - - &File - &Файл - - - - C&reate New - Ств&орити новий - - - - &Help - &Допомога - - - - - &View - &Перегляд - - - - &Sorting - &Сортування - - - - &Edit - &Редагувати - - - - &Bookmarks - &Закладки - - - - &Go - &Перейти - - - - &Tool - &Інструменти - - - - Main Toolbar - Головна панель інструментів - - - - PCManFM::Application - - - Name of configuration profile - Назва профілю налаштування - - - - PROFILE - ПРОФІЛЬ - - - - Run PCManFM as a daemon - Запустити PCManFM як демон - - - - Quit PCManFM - Завершити PCManFM - - - - Launch desktop manager - Запустити менеджер стільниці - - - - Turn off desktop manager if it's running - Вимкнути менеджер стільниці, якщо він запущений - - - - Open desktop preference dialog on the page with the specified name - Відкрити діалог налаштування стільниці на сторінці з вказаною назвою - - - - - NAME - НАЗВА - - - - Open new window - Відкрити нове вікно - - - - Open Find Files utility - Відкрити інструмент пошуку файлів - - - - Set desktop wallpaper from image FILE - Встановити тло стільниці з ФАЙЛУ малюнку - - - - FILE - ФАЙЛ - - - - MODE - РЕЖИМ - - - - Set mode of desktop wallpaper. MODE=(%1) - Встановити режим тла стільниці. РЕЖИМ=(%1) - - - - Open Preferences dialog on the page with the specified name - Відкрити діалог налаштування на сторінці з вказаною назвою - - - - Files or directories to open - Файли або теки для відкриття - - - - [FILE1, FILE2,...] - [ФАЙЛ1, ФАЙЛ2,...] - - - - - Error - Помилка - - - - Terminal emulator is not set. - Емулятор терміналу не встановлений. - - - - PCManFM::AutoRunDialog - - - Open in file manager - Відкрити в менеджері файлів - - - - Removable Disk - Знімний диск - - - - PCManFM::ConnectServerDialog - - - SSH - SSH - - - - FTP - FTP - - - - WebDav - WebDav - - - - Secure WebDav - Безпечний WebDav - - - - HTTP - HTTP - - - - HTTPS - HTTPS - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - Заповнити тільки кольором фону - - - - Stretch to fill the entire screen - Розтягнути для заповнення цілого екрану - - - - Stretch to fit the screen - Розтягнути для вміщення в екран - - - - Center on the screen - Центрувати на екрані - - - - Tile the image to fill the entire screen - Розмножити малюнок для заповнення всього екрану - - - - Zoom the image to fill the entire screen - Змінити розмір малюнку щоб заповнити весь екран - - - - Image Files - Файли малюнків - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - - - - - - - - - Trash (Empty) - - - - - Home - Домашня тека - - - - Computer - Комп'ютер - - - - Network - Мережа - - - - Open - - - - - - Stic&k to Current Position - Прип&нути до поточної позиції - - - - Empty Trash - - - - - Hide Desktop Items - - - - - Desktop Preferences - Налаштування стільниці - - - - PCManFM::FilterBar - - - Filter: - - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - Очистити текст (Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - Приховати панель меню - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - Це приховає панель меню повністю, скористайтесь з Ctrl+M для показу панелі меню знову. - - - - Version: %1 - Версія: %1 - - - - &Move to Trash - &Перемістити до смітника - - - - &Delete - &Вилучити - - - - - Error - Помилка - - - - Switch user command is not set. - Команда пемикання користувачів не встановлена. - - - - PCManFM::PreferencesDialog - - - Icon View - Вигляд значками - - - - Compact View - Компактний вигляд - - - - Thumbnail View - Вигляд мініатюрами - - - - Detailed List View - Детальний вигляд списком - - - - PCManFM::TabPage - - - Error - Помилка - - - - Free space: %1 (Total: %2) - Вільний простір: %1 (Повністю: %2) - - - - %n item(s) - - %n пункт - %n пунктів - %n пунктів - - - - - (%n hidden) - - (%n прихований) - (%n приховано) - (%n приховані) - - - - - - - Link to - - - - - %n item(s) selected - - %n штуку(ук) вибрано - %n штуки вибрано - %n штук вибрано - - - - - PCManFM::View - - - Open in New T&ab - Відкрити в новій &вкладці - - - - Open in New Win&dow - Відкрити в новому ві&кні - - - - Open in Termina&l - Відкрити в &терміналі - - - - PreferencesDialog - - - Preferences - Параметри - - - - User Interface - Інтерфейс користувача - - - - Behavior - Поведінка - - - - - Thumbnail - Мініатюра - - - - Volume - Гучність - - - - Advanced - Більше - - - - Select newly created files - - - - - Icons - Значки - - - - Size of big icons: - Розмір великих значків: - - - - Size of small icons: - Розмір малих значків: - - - - Size of thumbnails: - Розмір мініатюр: - - - - Size of side pane icons: - Розмір значків бічної панелі: - - - - Icon theme: - Тема значка: - - - - Window - Вікно - - - - Always show the tab bar - Завжди показувати панель вкладок - - - - Show 'Close' buttons on tabs - Показати кнопку 'Закрити' на вкладках - - - - Remember the size of the last closed window - Пам'ятати розмір останнього закритого вікна - - - - Default width of new windows: - Типовий розмір нових вікон: - - - - Default height of new windows: - Типова висота нових вікон: - - - - Browsing - Перегляд - - - - Open files with single click - Відкривати файли одинарним клацанням - - - - Delay of auto-selection in single click mode (0 to disable) - Затримка автовибору в режимі одинарного клацання (0 для вимкнення) - - - - Default view mode: - Типовий режим перегляду: - - - - sec - сек - - - - File Operations - Операції над файлами - - - - Confirm before deleting files - Підтвердити перед вилученням файлів - - - - Move deleted files to "trash bin" instead of erasing from disk. - Перемістити вилучені файли до "смітника" замість витирання їх з диску. - - - - Show thumbnails of files - Показати мініатюри файлів - - - - Only show thumbnails for local files - Показати мініатюри тільки для локальних файлів - - - - Display - Дисплей - - - - Bookmarks: - Закладки: - - - - Open in current tab - Відкрити в поточній вкладці - - - - Open in new tab - Відкрити в новій вкладці - - - - Open in new window - Відкрити в новому вікні - - - - Erase files on removable media instead of "trash can" creation - Витерти файли на знімному диску замість створення "смітника" - - - - Confirm before moving files into "trash can" - Підтвердити перед перенесенням до "смітника" - - - - - - Requires application restart to take effect completely - - - - - Launch executable files without prompt - - - - - - Used by Icon View - Використано Переглядом значків - - - - - Used by Compact View and Detailed List View - Використати Компактний перегляд або Детальний перегляд списком - - - - - Used by Thumbnail View - Використано Переглядом мініатюрами - - - - User interface - Інтерфейс користувача - - - - Treat backup files as hidden - Трактувати файли бекапу як приховані - - - - Always show full file names - Завжди показувати повні назви файлів - - - - Show icons of hidden files shadowed - Показати значки прихованих файлів як затінені - - - - Minimum item margins in icon view: - Мінімальний проміжок в перегляді значками: - - - - 3 px by default. - 3 пт типово. - - - - - px - пт - - - - x - х - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 3 пт типово. -Зарезервовано також область для 3 лінійок тексту. - - - - Lock - Замок - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - Коли невідмічено, панель вкладок буде показано -тільки тоді, якщо є більше ніж одна вкладка. - - - - Application restart is needed for changes to take effect. - - - - - Do not generate thumbnails for image files exceeding this size: - Не створювати мініатюри для файлів малюнків, що мають розмір більший ніж: - - - - KB - КБ - - - - Needs ffmpegthumbnailer - Потрібно ffmpegthumbnailer - - - - Auto Mount - Автомонтування - - - - Mount mountable volumes automatically on program startup - Монтувати розділи автоматично при старті програми - - - - Mount removable media automatically when they are inserted - Монтувати знімні пристрої автоматично, коли вони вставлені - - - - Show available options for removable media when they are inserted - Показати доступні параметри для знімних пристроїв, коли вони вставлені - - - - When removable medium unmounted: - Коли знімний пристрій відмонтований: - - - - Close &tab containing removable medium - Закрити &вкладку, яка містить знімний пристрій - - - - Chan&ge folder in the tab to home folder - Змінити &теку у вкладці на домашню теку - - - - Programs - Програми - - - - Terminal emulator: - Емулятор терміналу: - - - - Switch &user command: - Команда &перемикання користувача: - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - Приклади: "xterm -e %s" для терміналу або "gksu %s" для перемикання користувача. -%s = командна стрічка, яку Ви бажаєте виконати з терміналом або su. - - - - Archiver in&tegration: - Інтеграція з &архіватором: - - - - Templates - Шаблони - - - - Show only user defined templates in menu - Показати тільки користувацькі шаблони в меню - - - - Show only one template for each MIME type - Показати тільки шаблони для кожного типу MIME - - - - Run default application after creation from template - Запустити типову програму після створення з шаблону - - - - Use SI decimal prefixes instead of IEC binary prefixes - Використати SI десяткові префікси замість двійкових префіксів IEC - - - - QObject - - - Renaming files... - - - - - Abort - - - - - Warning - - - - - Renaming is aborted. - - - - - - Error - Помилка - - - - No file could be renamed. - - - - - Some files could not be renamed. - - - - diff --git a/pcmanfm/translations/pcmanfm-qt_zh_CN.desktop b/pcmanfm/translations/pcmanfm-qt_zh_CN.desktop deleted file mode 100644 index 3c2d264..0000000 --- a/pcmanfm/translations/pcmanfm-qt_zh_CN.desktop +++ /dev/null @@ -1,4 +0,0 @@ -#Translations -Name[zh_CN]=PCManFM-Qt 文件管理器 -GenericName[zh_CN]=文件管理器 -Comment[zh_CN]=浏览文件系统并管理文件。 diff --git a/pcmanfm/translations/pcmanfm-qt_zh_CN.ts b/pcmanfm/translations/pcmanfm-qt_zh_CN.ts deleted file mode 100644 index d721b9a..0000000 --- a/pcmanfm/translations/pcmanfm-qt_zh_CN.ts +++ /dev/null @@ -1,1797 +0,0 @@ - - - - - AboutDialog - - - About - 关于 - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - - - - - Lightweight file manager - 轻量级文件管理器 - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - - Authors - 作者 - - - - License - 协议 - - - - AutoRunDialog - - - Removable medium is inserted - 已插入可移动媒体 - - - - <b>Removable medium is inserted</b> - <b>已插入可移动媒体</b> - - - - Type of medium: - 媒体种类: - - - - Detecting... - 正在检测... - - - - Please select the action you want to perform: - 请选择您想执行的动作: - - - - BulkRenameDialog - - - Bulk Rename - 批量重命名 - - - - # will be replaced by numbers starting with: - # 会被替换为数字开始自: - - - - Rename selected files to: - 重命名已选定的文件至: - - - - Name# - 名称# - - - - ConnectServerDialog - - - Connect to remote server - 连接至远程服务器 - - - - Anonymous &login - 匿名登录(&L) - - - - Login as &user: - 作为用户连接(&S): - - - - Specify remote folder to connect - 指定要连接的远程目录 - - - - Type: - 种类: - - - - Port: - 端口: - - - - Path: - 路径: - - - - Host: - 主机: - - - - DesktopFolder - - - Form - - - - - Desktop - 桌面 - - - - Desktop folder: - 桌面文件夹: - - - - Image file - 图像文件 - - - - Folder path - 文件夹路径 - - - - &Browse - 浏览(&B) - - - - DesktopPreferencesDialog - - - Desktop Preferences - 桌面偏好设置 - - - - Background - 背景 - - - - Wallpaper mode: - 墙纸模式: - - - - Wallpaper image file: - 墙纸图像文件: - - - - Select background color: - 选择背景颜色: - - - - Image file - 图像文件 - - - - Image file path - 图像文件路径 - - - - &Browse - 浏览(&B) - - - - Icons - 图标 - - - - Icon size: - 图标大小: - - - - Label Text - 标签文字 - - - - Select shadow color: - 选择阴影颜色: - - - - Select font: - 选择字体: - - - - General - 常规 - - - - Select text color: - 选择文本颜色: - - - - Spacing - 间距 - - - - Minimum item margins: - 最小项目外边距: - - - - 3 px by default. - 默认为3px。 - - - - - px - px - - - - x - x - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 默认为1px。 -会保留三行文字高度的空间。 - - - - Lock - 锁定 - - - - Slide Show - 幻灯片放映 - - - - Enable Slide Show - 启用幻灯片播放 - - - - Wallpaper image folder: - 墙纸图像文件夹: - - - - Browse - 浏览 - - - - hour(s) - 小时 - - - - and - - - - - Intervals less than 5min will be ignored - 少于5分钟的间隔将被忽略 - - - - Interval: - 间隔: - - - - minute(s) - 分钟 - - - - Wallpaper folder - 墙纸文件夹 - - - - Randomize the slide show - 随机幻灯片放映 - - - - Visible Shortcuts - 可见的快捷键 - - - - Home - 主文件夹 - - - - Trash - 垃圾桶 - - - - Computer - 计算机 - - - - Network - 网络 - - - - Window Manager - 窗口管理器 - - - - Show menus provided by window managers when desktop is clicked - 右击桌面时弹出窗口管理器提供的菜单 - - - - Advanced - 高级 - - - - MainWindow - - - File Manager - 文件管理器 - - - - &Toolbars - 工具栏(&T) - - - - Path &Bar - 路径工具栏(&B) - - - - &Filtering - 过滤(F) - - - - Go &Up - 向上(&U) - - - - Go Up - 向上 - - - - Alt+Up - - - - - &Home - 主文件夹(&H) - - - - Alt+Home - - - - - &Reload - 刷新(&R) - - - - F5 - - - - - Go - 转到 - - - - Quit - 退出 - - - - &About - 关于(&A) - - - - &New Window - 新建窗口(&N) - - - - New Window - 新建窗口 - - - - Ctrl+N - - - - - Show &Hidden - 显示隐藏文件(&H) - - - - Ctrl+H - - - - - &Computer - 计算机(&C) - - - - &Trash - 回收站(&T) - - - - &Network - 网络(&N) - - - - &Desktop - 桌面(&D) - - - - &Add to Bookmarks - 添加至书签(&A) - - - - &Applications - 应用程序(&A) - - - - Reload - 刷新 - - - - &Icon View - 图标视图(&I) - - - - &Compact View - 列表视图(&C) - - - - &Detailed List - 详细信息(&D) - - - - &Thumbnail View - 缩略图视图(&T) - - - - Cu&t - 剪切(&T) - - - - Ctrl+X - - - - - &Copy - 复制(&C) - - - - Ctrl+C - - - - - &Paste - 粘贴(&P) - - - - Ctrl+V - - - - - Select &All - 全选(&A) - - - - Ctrl+A - - - - - Pr&eferences - 偏好设置(&E) - - - - &Ascending - 升序(&A) - - - - &Descending - 降序(&D) - - - - &By File Name - 按名称(&B) - - - - By &Modification Time - 按修改时间(&M) - - - - By File &Type - 按文件类型(&T) - - - - By &Owner - 按所有者(&O) - - - - &Folder First - 文件夹优先(&F) - - - - &Preserve sorting for this folder - 保存此目录的排序(&P) - - - - &Case Sensitive - 区分大小写(&C) - - - - By File &Size - 按大小(&S) - - - - &Close Window - 关闭窗口(&C) - - - - Ctrl+Q - - - - - &Folder - 文件夹(&F) - - - - &Blank File - 空文件(&B) - - - - &Show/Focus Filter Bar - 显示/聚焦过滤条(S) - - - - Show Filter Bar - 显示过滤条 - - - - Ctrl+I - Ctrl+I - - - - S&plit View - 分屏浏览(S) - - - - Split View - 分屏浏览 - - - - F6 - F6 - - - - &Copy Full Path - 复制完整路径(C) - - - - Ctrl+Shift+C - Ctrl+Shift+C - - - - Ctrl+B - - - - - &Clear All Filters - 清除所有过滤(C) - - - - Ctrl+Shift+K - Ctrl+Shift+K - - - - Close &previous tabs - 关闭上一个标签页(&P) - - - - Close &next tabs - 关闭下一个标签页(&N) - - - - &Preserve Settings for This Folder - 保存此目录的设置(&P) - - - - Connect to &Server - 连接至服务器(&S) - - - - &Location - 位置(&L) - - - - &Path Buttons - 路径按钮(&P) - - - - &Bulk Rename - 批量重命名(&B) - - - - Bulk Rename - 批量重命名 - - - - Ctrl+F2 - - - - - Close &other tabs - 关闭其他标签页(&O) - - - - Permanent &filter bar - 永久过滤器栏(F) - - - - &Menu bar - 菜单栏(&M) - - - - Menu bar - 菜单栏 - - - - Ctrl+M - - - - - - Menu - 菜单 - - - - New &Tab - 新建标签页(&T) - - - - New Tab - 新建标签页 - - - - Ctrl+T - - - - - Go &Back - 后退(&B) - - - - Go Back - 后退 - - - - Alt+Left - - - - - Go &Forward - 前进(&F) - - - - Go Forward - 前进 - - - - Alt+Right - - - - - &Invert Selection - 反选(&I) - - - - &Delete - 删除(&D) - - - - Del - - - - - &Rename - 重命名(&R) - - - - F2 - - - - - C&lose Tab - 关闭标签页(&L) - - - - Ctrl+W - - - - - File &Properties - 文件属性(&P) - - - - Alt+Return - - - - - &Folder Properties - 文件夹属性(&F) - - - - Edit Bookmarks - 编辑书签 - - - - Open &Terminal - 打开终端(&T) - - - - F4 - - - - - Open as &Root - 以管理员身份运行(&R) - - - - &Edit Bookmarks - 编辑书签(&E) - - - - Ctrl+Shift+N - - - - - Ctrl+Alt+N - - - - - &Find Files - 查找文件(&F) - - - - F3 - - - - - &File - 文件(&F) - - - - C&reate New - 新建(&C) - - - - &Help - 帮助(&H) - - - - - &View - 查看(&V) - - - - &Sorting - 排序(&S) - - - - &Edit - 编辑(&E) - - - - &Bookmarks - 书签(&B) - - - - &Go - 转到(&G) - - - - &Tool - 工具(&T) - - - - Main Toolbar - 主工具栏 - - - - PCManFM::Application - - - Name of configuration profile - 配置文件名称 - - - - PROFILE - 配置文件 - - - - Run PCManFM as a daemon - 作为守护进程运行 PCManFM - - - - Quit PCManFM - 退出 PCManFM - - - - Launch desktop manager - 运行桌面管理器 - - - - Turn off desktop manager if it's running - 如桌面管理器正在运行,关闭之 - - - - Open desktop preference dialog on the page with the specified name - 在此页面上以指定名称打开桌面偏好设定对话框 - - - - - NAME - 名称 - - - - Open new window - 打开新窗口 - - - - Open Find Files utility - 打开文件搜索实用程序 - - - - Set desktop wallpaper from image FILE - 从图像 FILE 设置桌面墙纸 - - - - FILE - 文件 - - - - MODE - 模式 - - - - Set mode of desktop wallpaper. MODE=(%1) - 设置桌面墙纸的模式 模式=(%1) - - - - Open Preferences dialog on the page with the specified name - 在此页面上以指定名称打开偏好设定对话框 - - - - Files or directories to open - 要打开的文件或目录 - - - - [FILE1, FILE2,...] - [文件1, 文件2,...] - - - - - Error - 错误 - - - - Terminal emulator is not set. - 终端模拟器未设置。 - - - - PCManFM::AutoRunDialog - - - Open in file manager - 在文件管理器中打开 - - - - Removable Disk - 可移动磁盘 - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - 仅以背景色填充 - - - - Stretch to fill the entire screen - 拉伸图像以填充整个屏幕 - - - - Stretch to fit the screen - 拉伸图像以适合屏幕 - - - - Center on the screen - 在屏幕上居中 - - - - Tile the image to fill the entire screen - 平铺图像以填充整个屏幕 - - - - Zoom the image to fill the entire screen - 缩放图像以填充整个屏幕 - - - - Image Files - 图像文件 - - - - PCManFM::DesktopWindow - - - Trash (One item) - 垃圾桶(单个项目) - - - - Trash (%Ln items) - 垃圾桶(%Ln个项目) - - - - Trash (Empty) - 垃圾桶(空) - - - - Home - 主文件夹 - - - - Computer - 计算机 - - - - Network - 网络 - - - - Open - 打开 - - - - - Stic&k to Current Position - 固定至当前位置(&K) - - - - Empty Trash - 清空垃圾桶 - - - - Hide Desktop Items - 隐藏桌面项目 - - - - Desktop Preferences - 桌面偏好设置 - - - - PCManFM::FilterBar - - - Filter: - 过滤器: - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - 清除文本(Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - Root实例 - - - - Hide menu bar - 隐藏菜单栏 - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - 这将完全隐藏菜单栏,请使用 Ctrl+M 以恢复显示。 - - - - Version: %1 - 版本: %1 - - - - &Move to Trash - 移至回收站(&M) - - - - &Delete - 删除(&D) - - - - - Error - 错误 - - - - Switch user command is not set. - 切换用户命令尚未设置。 - - - - PCManFM::PreferencesDialog - - - Icon View - 图标视图 - - - - Compact View - 列表视图 - - - - Thumbnail View - 缩略图视图 - - - - Detailed List View - 详细信息视图 - - - - PCManFM::TabPage - - - Error - 错误 - - - - Free space: %1 (Total: %2) - 可用空间: %1 (总容量: %2) - - - - %n item(s) - - %n 个项目 - - - - - (%n hidden) - - (%n 个隐藏) - - - - - - - Link to - 链接至 - - - - %n item(s) selected - - 已选中 %n 个项目 - - - - - PCManFM::View - - - Open in New T&ab - 在新标签页中打开(&A) - - - - Open in New Win&dow - 在新窗口中打开(&D) - - - - Open in Termina&l - 在终端中打开(&L) - - - - PreferencesDialog - - - Preferences - 偏好设置 - - - - User Interface - 用户界面 - - - - Behavior - 行为 - - - - - Thumbnail - 缩略图 - - - - Volume - 音量 - - - - Advanced - 高级 - - - - Select newly created files - 选择新创建的文件 - - - - Icons - 图标 - - - - Size of big icons: - 大图标尺寸: - - - - Size of small icons: - 小图标尺寸: - - - - Size of thumbnails: - 缩略图大小: - - - - Size of side pane icons: - 侧边栏图标尺寸: - - - - Icon theme: - 图标主题: - - - - Window - 窗口 - - - - Always show the tab bar - 总是显示标签栏 - - - - Show 'Close' buttons on tabs - 在标签上显示“关闭”按钮 - - - - Remember the size of the last closed window - 记住最后关闭的窗口的大小 - - - - Default width of new windows: - 新窗口的默认宽度: - - - - Default height of new windows: - 新窗口的默认高度: - - - - Browsing - 浏览 - - - - Open files with single click - 单击打开文件 - - - - Delay of auto-selection in single click mode (0 to disable) - 单击模式下自动选择的延迟时间(0表示关闭) - - - - Default view mode: - 默认视图: - - - - sec - - - - - File Operations - 文件操作 - - - - Confirm before deleting files - 删除文件前确认 - - - - Move deleted files to "trash bin" instead of erasing from disk. - 将要删除的文件移至“回收站”,而不直接从磁盘中删除。 - - - - Show thumbnails of files - 显示文件缩略图 - - - - Only show thumbnails for local files - 仅显示本地文件的缩略图 - - - - Display - 显示 - - - - Bookmarks: - 书签: - - - - Open in current tab - 在当前标签页中打开 - - - - Open in new tab - 在新标签页中打开 - - - - Open in new window - 在新窗口中打开 - - - - Erase files on removable media instead of "trash can" creation - 直接删除可移动媒体内的文件,而不移至回收站 - - - - Confirm before moving files into "trash can" - 移至回收站前确认 - - - - - - Requires application restart to take effect completely - 应用程序需重新启动才能完全生效 - - - - Launch executable files without prompt - 启动可执行文件时不提示 - - - - - Used by Icon View - 使用图标视图 - - - - - Used by Compact View and Detailed List View - 使用列表与详细信息视图 - - - - - Used by Thumbnail View - 使用缩略图视图 - - - - User interface - 用户界面 - - - - Treat backup files as hidden - 将备份文件视作隐藏 - - - - Always show full file names - 总是显示完整文件名 - - - - Show icons of hidden files shadowed - 显示投影的隐藏文件的图标 - - - - Minimum item margins in icon view: - 图标视图最小项目外边距: - - - - 3 px by default. - 默认为3px。 - - - - - px - - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 默认为1px。 -会保留三行文字高度的空间。 - - - - Lock - 锁定 - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - 如不勾选,则标签栏仅会在有多于一个标签页时显示。 - - - - Application restart is needed for changes to take effect. - 应用程序需要重新启动以使更改生效。 - - - - Do not generate thumbnails for image files exceeding this size: - 不为超过此大小的图像文件生成缩略图: - - - - KB - - - - - Needs ffmpegthumbnailer - 需要 ffmpegthumbnailer - - - - Auto Mount - 自动挂载 - - - - Mount mountable volumes automatically on program startup - 程序启动时自动挂载可挂载的卷 - - - - Mount removable media automatically when they are inserted - 插入可移动媒体时自动挂载 - - - - Show available options for removable media when they are inserted - 在可移动媒体插入时显示可用选项 - - - - When removable medium unmounted: - 卸载可移动媒体时: - - - - Close &tab containing removable medium - 关闭包含可移动媒体的标签页(&T) - - - - Chan&ge folder in the tab to home folder - 将标签页内容更改为主文件夹(&G) - - - - Programs - 程序 - - - - Terminal emulator: - 终端模拟器: - - - - Switch &user command: - 切换用户命令(&U): - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - 例:"xterm -e %s"表示终端,"gksu %s"表示切换用户。 -%s 表示您想在终端中执行的命令。 - - - - Archiver in&tegration: - 默认压缩程序(&T): - - - - Templates - 模板 - - - - Show only user defined templates in menu - 仅在菜单中显示用户定义的模板 - - - - Show only one template for each MIME type - 仅为每个 MIME 类型显示一个模板 - - - - Run default application after creation from template - 创建文件模板后运行默认应用程序 - - - - Use SI decimal prefixes instead of IEC binary prefixes - 使用国际单位制的十进制词头,而不使用IEC的二进制词头 - - - - QObject - - - Renaming files... - 重命名文件... - - - - Abort - 忽略 - - - - Warning - 警告 - - - - Renaming is aborted. - 重命名已取消。 - - - - - Error - 错误错误 - - - - No file could be renamed. - 没有文件可以被重命名。 - - - - Some files could not be renamed. - 某些文件不能被重命名。 - - - diff --git a/pcmanfm/translations/pcmanfm-qt_zh_TW.ts b/pcmanfm/translations/pcmanfm-qt_zh_TW.ts deleted file mode 100644 index 7012e75..0000000 --- a/pcmanfm/translations/pcmanfm-qt_zh_TW.ts +++ /dev/null @@ -1,1817 +0,0 @@ - - - - - AboutDialog - - - About - 關於 - - - - Lightweight file manager - 輕量級檔案管理程式 - - - - Programming: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - 程式: -* Hong Jen Yee (PCMan) <pcman.tw@gmail.com> - - - - - <html><head/><body><p><a href="https://lxqt.org/"><span style=" text-decoration: underline; color:#0000ff;">https://lxqt.org/</span></a></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt</span></p></body></html> - <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">PCManFM-Qt 檔案管理程式</span></p></body></html> - - - - Authors - 作者 - - - - License - 授權 - - - - PCManFM-Qt File Manager - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - PCManFM-Qt 檔案管理程式 - -Copyright (C) 2009 - 2014 洪任諭 (Hong Jen Yee) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - - - AutoRunDialog - - - Removable medium is inserted - 插入可移除式裝置 - - - - <b>Removable medium is inserted</b> - <b>插入可移除式裝置</b> - - - - Type of medium: - 媒體種類: - - - - Detecting... - 正在偵測... - - - - Please select the action you want to perform: - 請選擇想要執行的動作: - - - - BulkRenameDialog - - - Bulk Rename - 批量重新命名 - - - - # will be replaced by numbers starting with: - # 將會被開始數量取代: - - - - Rename selected files to: - 重新命名選取的檔案: - - - - Name# - 名稱# - - - - ConnectServerDialog - - - Connect to remote server - 連線到遠端伺服器 - - - - Anonymous &login - 匿名登入 (&L) - - - - Login as &user: - 以使用者名稱登入 (&U): - - - - Specify remote folder to connect - 指定要連線的遠端目錄 - - - - Type: - 型態: - - - - Port: - 連接埠: - - - - Path: - 路徑: - - - - Host: - 主機: - - - - DesktopFolder - - - Form - 表單 - - - - Desktop - 桌面 - - - - Desktop folder: - 桌面資料夾: - - - - Image file - 影像檔案 - - - - Folder path - 資料夾路徑 - - - - &Browse - 瀏覽(&B) - - - - DesktopPreferencesDialog - - - Desktop Preferences - 桌面偏好設定 - - - - Background - 背景 - - - - Wallpaper mode: - 桌布: - - - - Wallpaper image file: - 桌布影像檔案: - - - - Select background color: - 選擇背景顏色: - - - - Image file - 影像檔案 - - - - Image file path - 影像檔路徑 - - - - &Browse - 瀏覽(&B) - - - - Icons - 圖示 - - - - Icon size: - 圖示大小: - - - - Label Text - 標籤文字 - - - - Select shadow color: - 選擇陰影顏色: - - - - Select font: - 選擇字型: - - - - General - 一般 - - - - Select text color: - - - - - Spacing - 間距 - - - - Minimum item margins: - 項目邊緣留空: - - - - 3 px by default. - 預設 3 像素。 - - - - - px - 像素 - - - - x - - - - - 1 px by default. -A space is also reserved for 3 lines of text. - 預設 1 像素。 -還會額外保留三行文字高度的空間。 - - - - Lock - 鎖定 - - - - Slide Show - 幻燈片播放 - - - - Enable Slide Show - 啟用幻燈片播放 - - - - Wallpaper image folder: - 桌布圖片資料夾: - - - - Browse - 瀏覽 - - - - hour(s) - 小時 - - - - and - - - - - Intervals less than 5min will be ignored - 小於5分鐘的區間將被忽略 - - - - Interval: - 區間: - - - - minute(s) - 分鐘 - - - - Wallpaper folder - 桌布資料夾 - - - - Randomize the slide show - 隨機幻燈片播放 - - - - Visible Shortcuts - - - - - Home - 家目錄 - - - - Trash - - - - - Computer - 電腦 - - - - Network - 網路 - - - - Window Manager - 視窗管理員 - - - - Show menus provided by window managers when desktop is clicked - 按下桌面時顯示視窗管理員提供的選單 - - - - Advanced - 進階 - - - - MainWindow - - - File Manager - 檔案管理程式 - - - - Go Up - 往上一層 - - - - Alt+Up - - - - - Alt+Home - - - - - Reload - 重新讀取 - - - - F5 - - - - - &Toolbars - 工具列(&T) - - - - Path &Bar - 路徑工具列 (&B) - - - - &Filtering - - - - - Go &Up - 上一層(&U) - - - - &Home - - - - - &Reload - 重新讀取(&R) - - - - Go - 前往 - - - - Quit - 離開 - - - - &About - 關於(&A) - - - - &New Window - 新視窗(&N) - - - - New Window - 新視窗 - - - - Ctrl+N - - - - - Show &Hidden - 顯示隱藏檔(&H) - - - - Ctrl+H - - - - - &Computer - 電腦(&C) - - - - &Trash - 垃圾桶(&T) - - - - &Network - 網路(&N) - - - - &Desktop - 桌面(&D) - - - - &Add to Bookmarks - 加入到書籤(&A) - - - - &Applications - 應用程式(&A) - - - - &Icon View - 圖示檢視(&I) - - - - &Compact View - 簡易檢視(&C) - - - - &Detailed List - 詳細清單(&D) - - - - &Thumbnail View - 縮圖檢視(&T) - - - - Cu&t - 剪下(&T) - - - - &Ascending - 升冪排列(&A) - - - - &Descending - 降冪排列(&D) - - - - &By File Name - 以檔案名稱( &B) - - - - By &Modification Time - 以最後修改時間 (&M) - - - - By File &Type - 以檔案型態 (&T) - - - - By &Owner - 以擁有者 (&O) - - - - &Folder First - 資料夾優先 (&F) - - - - &Preserve sorting for this folder - 保存這個目錄的排序設定 - - - - C&lose Tab - 關閉(&L) - - - - File &Properties - 檔案屬性(&P) - - - - &Folder Properties - 資料夾屬性(&F) - - - - &Case Sensitive - 區分大小寫 (&C) - - - - By File &Size - 依照檔案大小 (&S) - - - - &Close Window - 關閉視窗 (&C) - - - - Ctrl+Q - - - - - Ctrl+Shift+N - - - - - Ctrl+Alt+N - - - - - &Show/Focus Filter Bar - - - - - Show Filter Bar - - - - - Ctrl+I - - - - - S&plit View - - - - - Split View - - - - - F6 - - - - - &Copy Full Path - - - - - Ctrl+Shift+C - - - - - Ctrl+B - - - - - &Clear All Filters - - - - - Ctrl+Shift+K - - - - - Close &previous tabs - 關閉前一個分頁 &P) - - - - Close &next tabs - 關閉下一個分頁 (&N) - - - - &Preserve Settings for This Folder - 保存這個目錄的設定 - - - - Connect to &Server - 連線到伺服器 (&S) - - - - &Location - 位置 (&L) - - - - &Path Buttons - 路徑按鈕 (&P) - - - - &Bulk Rename - 批量重新命名 (&B) - - - - Bulk Rename - 批量重新命名 - - - - Ctrl+F2 - Ctrl+F2 - - - - Close &other tabs - 關閉其他分頁 (&O) - - - - Permanent &filter bar - - - - - &Menu bar - 選單列 (&M) - - - - Menu bar - 選單列 - - - - Ctrl+M - - - - - - Menu - 選單 - - - - C&reate New - 新建 (&R) - - - - &Sorting - 排序(&S) - - - - Main Toolbar - 主要工具列 - - - - Ctrl+X - - - - - &Copy - 複製 (&C) - - - - Ctrl+C - - - - - &Paste - 貼上(&P) - - - - Ctrl+V - - - - - Select &All - 全選(&A) - - - - Pr&eferences - 偏好設定(&R) - - - - &Invert Selection - 反向選取(&I) - - - - &Delete - 刪除(&D) - - - - &Rename - 重新命名(&R) - - - - Ctrl+A - - - - - New &Tab - 新分頁(&T) - - - - New Tab - 新分頁 - - - - Ctrl+T - - - - - Go &Back - 後退(&B) - - - - Go Back - 後退 - - - - Alt+Left - - - - - Go &Forward - 前進(&F) - - - - Go Forward - 前進 - - - - Alt+Right - - - - - Del - - - - - F2 - - - - - Ctrl+W - - - - - Alt+Return - - - - - Edit Bookmarks - 編輯書籤 - - - - Open &Terminal - 開啟終端機(&T) - - - - F4 - - - - - Open as &Root - 以系統管理員權限開啟(&R) - - - - &Edit Bookmarks - 編輯書籤(&E) - - - - &Folder - 資料夾 (&F) - - - - &Blank File - 空白檔案 (&B) - - - - &Find Files - 尋找檔案 (&F) - - - - F3 - - - - - &File - 檔案(&F) - - - - &Help - 說明(&H) - - - - - &View - 檢視(&V) - - - - &Edit - 編輯(&E) - - - - &Bookmarks - 書籤(&B) - - - - &Go - 前往(&G) - - - - &Tool - 工具(&T) - - - - PCManFM::Application - - - Name of configuration profile - 配置文件名稱 - - - - PROFILE - 簡介 - - - - Run PCManFM as a daemon - 執行PCManFM常駐程式 - - - - Quit PCManFM - 離開PCManFM - - - - Launch desktop manager - 啟動桌面管理器 - - - - Turn off desktop manager if it's running - 關閉執行中的桌面管理器 - - - - Open desktop preference dialog on the page with the specified name - 在指定名稱的頁面上開啟桌面偏好設定對話框 - - - - - NAME - 名稱 - - - - Open new window - 開啟新視窗 - - - - Open Find Files utility - 打開「尋找檔案」工具 - - - - Set desktop wallpaper from image FILE - 從圖檔設定桌布 - - - - FILE - 檔案 - - - - MODE - 模式 - - - - Set mode of desktop wallpaper. MODE=(%1) - 設定桌布模式。模式=(%1) - - - - Open Preferences dialog on the page with the specified name - 在指定名稱的頁面打開偏好設定對話框 - - - - Files or directories to open - 開啟檔案或目錄 - - - - [FILE1, FILE2,...] - [檔案1, 檔案2,...] - - - - - Error - 錯誤 - - - - Terminal emulator is not set. - 終端機模擬器尚未設定。 - - - - PCManFM::AutoRunDialog - - - Open in file manager - 在檔案管理程式內開啟 - - - - Removable Disk - 可移除式磁碟 - - - - PCManFM::ConnectServerDialog - - - SSH - - - - - FTP - - - - - WebDav - - - - - Secure WebDav - 安全 WebDav - - - - HTTP - - - - - HTTPS - - - - - PCManFM::DesktopPreferencesDialog - - - Fill with background color only - 只以背景色填滿 - - - - Stretch to fill the entire screen - 延展以填滿整個螢幕 - - - - Stretch to fit the screen - 延展到最適合螢幕大小 - - - - Center on the screen - 置於螢幕中央 - - - - Tile the image to fill the entire screen - 連續拼貼鋪滿整個螢幕 - - - - Zoom the image to fill the entire screen - 縮放影像填滿整個螢幕 - - - - Image Files - 影像檔案 - - - - PCManFM::DesktopWindow - - - Trash (One item) - - - - - Trash (%Ln items) - - - - - - - Trash (Empty) - - - - - Home - 家目錄 - - - - Computer - 電腦 - - - - Network - 網路 - - - - Open - - - - - - Stic&k to Current Position - 保持在目前位置(&K) - - - - Empty Trash - - - - - Hide Desktop Items - 隱藏桌面項目 - - - - Desktop Preferences - 桌面偏好設定 - - - - PCManFM::FilterBar - - - Filter: - - - - - PCManFM::FilterEdit - - - Clear text (Ctrl+K) - 清除文字(Ctrl+K) - - - - PCManFM::MainWindow - - - Root Instance - - - - - Hide menu bar - 隱藏選單列 - - - - This will hide the menu bar completely, use Ctrl+M to show it again. - 選單列將完全被隱藏,使用 Ctrl+M 可再次顯示。 - - - - Version: %1 - 版本: %1 - - - - &Move to Trash - 移動到垃圾桶(&M) - - - - &Delete - 刪除(&D) - - - - - Error - 錯誤 - - - - Switch user command is not set. - 切換使用者指令尚未設定。 - - - - PCManFM::PreferencesDialog - - - Icon View - 圖示檢視 - - - - Compact View - 簡易檢視 - - - - Thumbnail View - 縮圖檢視 - - - - Detailed List View - 詳細清單檢視 - - - - PCManFM::TabPage - - - Error - 錯誤 - - - - Free space: %1 (Total: %2) - 可用空間 %1 (全部: %2) - - - - %n item(s) - - %n 個項目 - - - - - (%n hidden) - - (%n 個隱藏) - - - - - - - Link to - 連結到 - - - - %n item(s) selected - - 選取 %n 個項目 - - - - - PCManFM::View - - - Open in New T&ab - 在新分頁開啟 (&A) - - - - Open in New Win&dow - 在新視窗開啟 (&D) - - - - Open in Termina&l - 在終端機內開啟 (&L) - - - - PreferencesDialog - - - Preferences - 偏好設定 - - - - User Interface - 使用者界面 - - - - Behavior - 行為 - - - - Display - 顯示 - - - - - Thumbnail - 縮圖 - - - - Volume - 磁碟 - - - - Advanced - 進階 - - - - Bookmarks: - 書籤: - - - - Open in current tab - 在目前分頁開啟 - - - - Open in new tab - 在新分頁開啟 - - - - Open in new window - 在新視窗開啟 - - - - Erase files on removable media instead of "trash can" creation - 在可移除裝置上直接刪除檔案,而不移到垃圾桶 - - - - Confirm before moving files into "trash can" - 將檔案移到垃圾桶前先確認 - - - - - - Requires application restart to take effect completely - 需要重新啟動應用程式才能完全生效 - - - - Launch executable files without prompt - 啟動可執行檔時不提示 - - - - Icons - 圖示 - - - - Size of big icons: - 大圖示尺寸: - - - - Size of small icons: - 小圖示尺寸: - - - - Size of thumbnails: - 縮圖尺寸: - - - - Size of side pane icons: - 側邊欄圖示尺寸: - - - - Application restart is needed for changes to take effect. - - - - - Icon theme: - Icon 主題: - - - - Window - 視窗 - - - - Default width of new windows: - 新視窗的預設寬度: - - - - Default height of new windows: - 新視窗的預設高度: - - - - Always show the tab bar - 總是顯示標籤列 - - - - Show 'Close' buttons on tabs - 在分頁標籤上顯示「關閉」按鈕 - - - - Remember the size of the last closed window - 記住最後關閉視窗的大小 - - - - Browsing - 瀏覽 - - - - Open files with single click - 單擊開啟檔案 - - - - Delay of auto-selection in single click mode (0 to disable) - 滑鼠單擊模式下自動選取的時間延遲 (0 表示關閉) - - - - Default view mode: - 預設檢視模式: - - - - sec - - - - - File Operations - 檔案操作 - - - - Confirm before deleting files - 刪除檔案前確認 - - - - Move deleted files to "trash bin" instead of erasing from disk. - 將檔案移動到垃圾桶,而不直接刪除。 - - - - Select newly created files - 選擇新建立的檔案 - - - - - Used by Icon View - 由圖示檢視使用 - - - - - Used by Compact View and Detailed List View - 由簡易檢視和詳細清單列表使用 - - - - - Used by Thumbnail View - 縮圖檢視使用 - - - - User interface - 使用者界面 - - - - Treat backup files as hidden - 將備份檔案視為隱藏檔 - - - - Always show full file names - 總是顯示完整檔案名稱 - - - - Show icons of hidden files shadowed - 陰影化顯示隱藏檔案的圖示 - - - - Minimum item margins in icon view: - 圖示檢視項目邊緣留空: - - - - 3 px by default. - 預設 3 像素。 - - - - - px - 像素 - - - - x - - - - - 3 px by default. -A space is also reserved for 3 lines of text. - 預設 3 像素。 -還會額外保留三行文字高度的空間。 - - - - Lock - 鎖定 - - - - When unchecked, the tab bar will be shown -only if there are more than one tab. - 若取消,分頁工具列只會在有多於一個分頁的時候顯示。 - - - - Needs ffmpegthumbnailer - 需要 ffmpegthumbnailer - - - - Show thumbnails of files - 顯示檔案縮圖 - - - - Templates - 模板 - - - - Show only user defined templates in menu - 選單中只顯示使用者定義的範本 - - - - Show only one template for each MIME type - 每個 MIME 型態只顯示一個範本 - - - - Run default application after creation from template - 建立檔案範本之後執行預設程式開啟 - - - - Only show thumbnails for local files - 只顯示本地檔案的縮圖 - - - - Do not generate thumbnails for image files exceeding this size: - 不為超過指定大小的檔案產生縮圖: - - - - KB - - - - - When removable medium unmounted: - 當卸載可移除裝置時: - - - - Switch &user command: - 切換使用者的指令: - - - - Archiver in&tegration: - 壓縮程式整合: - - - - Terminal emulator: - 終端機模擬器: - - - - Auto Mount - 自動掛載 - - - - Mount mountable volumes automatically on program startup - 掛載可掛載的磁碟 - - - - Mount removable media automatically when they are inserted - 可移除式媒體插入時自動掛載 - - - - Show available options for removable media when they are inserted - 可移除式媒體插入時顯示可用的選項 - - - - Close &tab containing removable medium - 關閉顯示可移除裝置的分頁 - - - - Chan&ge folder in the tab to home folder - 將分頁內容改為家目錄 - - - - Programs - 程式 - - - - Examples: "xterm -e %s" for terminal or "gksu %s" for switching user. -%s = the command line you want to execute with terminal or su. - 範例: 終端機指令可用 "xterm -e %s"而切換使用者指令可用 "gksu %s"。 -%s = 想要用終端機或是切換使用者執行的指令。 - - - - Use SI decimal prefixes instead of IEC binary prefixes - 使用SI小數前綴代替IEC二進制前綴 - - - - QObject - - - Renaming files... - 重新命名檔案... - - - - Abort - 關於 - - - - Warning - 警告 - - - - Renaming is aborted. - 重新命名被中止。 - - - - - Error - 錯誤 - - - - No file could be renamed. - 沒有檔案可被重新命名。 - - - - Some files could not be renamed. - 某些檔案無法被重新命名。 - - - diff --git a/pcmanfm/view.cpp b/pcmanfm/view.cpp deleted file mode 100644 index c11161f..0000000 --- a/pcmanfm/view.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#include "view.h" -#include -#include -#include "application.h" -#include "settings.h" -#include "application.h" -#include "mainwindow.h" -#include "launcher.h" -#include - -namespace PCManFM { - -View::View(Fm::FolderView::ViewMode _mode, QWidget* parent): - Fm::FolderView(_mode, parent) { - - Settings& settings = static_cast(qApp)->settings(); - updateFromSettings(settings); -} - -View::~View() { -} - -void View::onFileClicked(int type, const std::shared_ptr& fileInfo) { - if(type == MiddleClick) { - if(fileInfo->isDir()) { - Q_EMIT openDirRequested(fileInfo->path(), OpenInNewTab); - } - } - else { - Fm::FolderView::onFileClicked(type, fileInfo); - } -} - -void View::onNewWindow() { - Fm::FileMenu* menu = static_cast(sender()->parent()); - // FIXME: open the files in a new window - Application* app = static_cast(qApp); - app->openFolders(menu->files()); -} - -void View::onNewTab() { - Fm::FileMenu* menu = static_cast(sender()->parent()); - auto files = menu->files(); - for(auto& file: files) { - Q_EMIT openDirRequested(file->path(), OpenInNewTab); - } -} - -void View::onOpenInTerminal() { - Application* app = static_cast(qApp); - Fm::FileMenu* menu = static_cast(sender()->parent()); - auto files = menu->files(); - for(auto& file: files) { - app->openFolderInTerminal(file->path()); - } -} - -void View::onSearch() { - -} - -void View::prepareFileMenu(Fm::FileMenu* menu) { - Application* app = static_cast(qApp); - menu->setConfirmDelete(app->settings().confirmDelete()); - menu->setConfirmTrash(app->settings().confirmTrash()); - menu->setUseTrash(app->settings().useTrash()); - - // add some more menu items for dirs - bool all_native = true; - bool all_directory = true; - auto files = menu->files(); - for(auto& fi: files) { - if(!fi->isDir()) { - all_directory = false; - } - else if(fi->isDir() && !fi->isNative()) { - all_native = false; - } - } - - if(all_directory) { - QAction* action = new QAction(QIcon::fromTheme("window-new"), tr("Open in New T&ab"), menu); - connect(action, &QAction::triggered, this, &View::onNewTab); - menu->insertAction(menu->separator1(), action); - - action = new QAction(QIcon::fromTheme("window-new"), tr("Open in New Win&dow"), menu); - connect(action, &QAction::triggered, this, &View::onNewWindow); - menu->insertAction(menu->separator1(), action); - - // TODO: add search - // action = menu->addAction(_("Search")); - - if(all_native) { - action = new QAction(QIcon::fromTheme("utilities-terminal"), tr("Open in Termina&l"), menu); - connect(action, &QAction::triggered, this, &View::onOpenInTerminal); - menu->insertAction(menu->separator1(), action); - } - } - else { - if(menu->pasteAction()) { // nullptr for trash - menu->pasteAction()->setVisible(false); - } - if(menu->createAction()) { - menu->createAction()->setVisible(false); - } - } -} - -void View::prepareFolderMenu(Fm::FolderMenu* /*menu*/) { -} - -void View::updateFromSettings(Settings& settings) { - - setIconSize(Fm::FolderView::IconMode, QSize(settings.bigIconSize(), settings.bigIconSize())); - setIconSize(Fm::FolderView::CompactMode, QSize(settings.smallIconSize(), settings.smallIconSize())); - setIconSize(Fm::FolderView::ThumbnailMode, QSize(settings.thumbnailIconSize(), settings.thumbnailIconSize())); - setIconSize(Fm::FolderView::DetailedListMode, QSize(settings.smallIconSize(), settings.smallIconSize())); - - setMargins(settings.folderViewCellMargins()); - - setAutoSelectionDelay(settings.autoSelectionDelay()); - - Fm::ProxyFolderModel* proxyModel = model(); - if(proxyModel) { - proxyModel->setShowThumbnails(settings.showThumbnails()); - proxyModel->setBackupAsHidden(settings.backupAsHidden()); - } -} - -} // namespace PCManFM diff --git a/pcmanfm/view.h b/pcmanfm/view.h deleted file mode 100644 index 297b33e..0000000 --- a/pcmanfm/view.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - - Copyright (C) 2013 Hong Jen Yee (PCMan) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - - -#ifndef PCMANFM_FOLDERVIEW_H -#define PCMANFM_FOLDERVIEW_H - -#include -#include - - -namespace Fm { -class FileMenu; -class FolderMenu; -} - -namespace PCManFM { - -class Settings; - -class View : public Fm::FolderView { - Q_OBJECT -public: - - explicit View(Fm::FolderView::ViewMode _mode = IconMode, QWidget* parent = 0); - virtual ~View(); - - void updateFromSettings(Settings& settings); - - QSize getMargins() const { - return Fm::FolderView::getMargins(); - } - void setMargins(QSize size) { - Fm::FolderView::setMargins(size); - } - -Q_SIGNALS: - void openDirRequested(const Fm::FilePath& path, int target); - -protected Q_SLOTS: - void onNewWindow(); - void onNewTab(); - void onOpenInTerminal(); - void onSearch(); - -protected: - virtual void onFileClicked(int type, const std::shared_ptr& fileInfo); - virtual void prepareFileMenu(Fm::FileMenu* menu); - virtual void prepareFolderMenu(Fm::FolderMenu* menu); - -private: - -}; - -} -#endif // PCMANFM_FOLDERVIEW_H diff --git a/pcmanfm/xdgdir.cpp b/pcmanfm/xdgdir.cpp deleted file mode 100644 index b626efd..0000000 --- a/pcmanfm/xdgdir.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (C) 2013 Hong Jen Yee (PCMan) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#include "xdgdir.h" -#include -#include -#include -#include - -QString XdgDir::readUserDirsFile() { - QFile file(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QStringLiteral("/user-dirs.dirs")); - if(file.open(QIODevice::ReadOnly | QIODevice::Text)) { - QByteArray data = file.readAll(); - file.close(); - return QString::fromLocal8Bit(data); - } - return QString(); -} - -QString XdgDir::readDesktopDir() { - QString str = readUserDirsFile(); - if(str.isEmpty()) - return QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + QStringLiteral("/Desktop"); - QRegExp reg(QStringLiteral("XDG_DESKTOP_DIR=\"([^\n]*)\"")); - if(reg.lastIndexIn(str) != -1) { - str = reg.cap(1); - if(str.startsWith(QStringLiteral("$HOME"))) - str = QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + str.mid(5); - return str; - } - return QString(); -} - -void XdgDir::setDesktopDir(QString path) { - QString home = QStandardPaths::writableLocation(QStandardPaths::HomeLocation); - if(path.startsWith(home)) - path = QStringLiteral("$HOME") + path.mid(home.length()); - QString str = readUserDirsFile(); - QRegExp reg(QStringLiteral("XDG_DESKTOP_DIR=\"([^\n]*)\"")); - QString line = QStringLiteral("XDG_DESKTOP_DIR=\"") + path + '\"'; - if(reg.indexIn(str) != -1) - str.replace(reg, line); - else { - if(!str.endsWith('\n')) - str += '\n'; - str += line + '\n'; - } - QString dir = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation); - if(QDir().mkpath(dir)) { // write the file - QSaveFile file(dir + QStringLiteral("/user-dirs.dirs")); - if(file.open(QIODevice::WriteOnly | QIODevice::Text)) { - file.write(str.toLocal8Bit()); - file.commit(); - } - } -} - diff --git a/pcmanfm/xdgdir.h b/pcmanfm/xdgdir.h deleted file mode 100644 index 8a56539..0000000 --- a/pcmanfm/xdgdir.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (C) 2013 Hong Jen Yee (PCMan) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#include -#include - -class XdgDir : public QObject -{ - Q_OBJECT - -public: - static QString readDesktopDir(); - - static void setDesktopDir(QString path); - -private: - static QString readUserDirsFile(); -};