Open in new window
This commit is contained in:
parent
a5a9f7c054
commit
ace426f422
6 changed files with 233 additions and 62 deletions
66
images/dark/add.svg
Normal file
66
images/dark/add.svg
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
enable-background="new"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="add.svg"
|
||||||
|
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
|
||||||
|
<metadata
|
||||||
|
id="metadata12">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1652"
|
||||||
|
inkscape:window-height="997"
|
||||||
|
id="namedview8"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="45.9375"
|
||||||
|
inkscape:cx="8"
|
||||||
|
inkscape:cy="8"
|
||||||
|
inkscape:window-x="290"
|
||||||
|
inkscape:window-y="564"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg6"
|
||||||
|
inkscape:document-rotation="0" />
|
||||||
|
<rect
|
||||||
|
style="opacity:0.95;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.597918;stroke-miterlimit:4;stroke-dasharray:none"
|
||||||
|
id="rect832"
|
||||||
|
width="8.2469997"
|
||||||
|
height="0.5"
|
||||||
|
x="3.8765001"
|
||||||
|
y="7.75" />
|
||||||
|
<rect
|
||||||
|
style="opacity:0.95;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.597918;stroke-miterlimit:4;stroke-dasharray:none"
|
||||||
|
id="rect832-3"
|
||||||
|
width="8.2469997"
|
||||||
|
height="0.5"
|
||||||
|
x="3.8765001"
|
||||||
|
y="-8.25"
|
||||||
|
transform="rotate(90)" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
66
images/light/add.svg
Normal file
66
images/light/add.svg
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
enable-background="new"
|
||||||
|
version="1.1"
|
||||||
|
id="svg6"
|
||||||
|
sodipodi:docname="add.svg"
|
||||||
|
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
|
||||||
|
<metadata
|
||||||
|
id="metadata12">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs10" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="2160"
|
||||||
|
inkscape:window-height="1304"
|
||||||
|
id="namedview8"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="45.9375"
|
||||||
|
inkscape:cx="8"
|
||||||
|
inkscape:cy="8"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg6"
|
||||||
|
inkscape:document-rotation="0" />
|
||||||
|
<rect
|
||||||
|
style="opacity:0.95;fill:#363636;fill-opacity:1;stroke:none;stroke-width:0.597918;stroke-miterlimit:4;stroke-dasharray:none"
|
||||||
|
id="rect832"
|
||||||
|
width="8.2469997"
|
||||||
|
height="0.5"
|
||||||
|
x="3.8765001"
|
||||||
|
y="7.75" />
|
||||||
|
<rect
|
||||||
|
style="opacity:0.95;fill:#363636;fill-opacity:1;stroke:none;stroke-width:0.597918;stroke-miterlimit:4;stroke-dasharray:none"
|
||||||
|
id="rect832-3"
|
||||||
|
width="8.2469997"
|
||||||
|
height="0.5"
|
||||||
|
x="3.8765001"
|
||||||
|
y="-8.25"
|
||||||
|
transform="rotate(90)" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
|
@ -1060,7 +1060,10 @@ void FolderModel::openContextMenu(QQuickItem *visualParent, Qt::KeyboardModifier
|
||||||
menu->addAction(m_actionCollection.action("restore"));
|
menu->addAction(m_actionCollection.action("restore"));
|
||||||
|
|
||||||
menu->addAction(m_actionCollection.action("open"));
|
menu->addAction(m_actionCollection.action("open"));
|
||||||
|
menu->addAction(m_actionCollection.action("openInNewWindow"));
|
||||||
|
|
||||||
menu->addAction(m_actionCollection.action("openWith"));
|
menu->addAction(m_actionCollection.action("openWith"));
|
||||||
|
menu->addSeparator();
|
||||||
menu->addAction(m_actionCollection.action("cut"));
|
menu->addAction(m_actionCollection.action("cut"));
|
||||||
menu->addAction(m_actionCollection.action("copy"));
|
menu->addAction(m_actionCollection.action("copy"));
|
||||||
menu->addAction(m_actionCollection.action("trash"));
|
menu->addAction(m_actionCollection.action("trash"));
|
||||||
|
@ -1156,6 +1159,19 @@ void FolderModel::openDeleteDialog()
|
||||||
view->show();
|
view->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void FolderModel::openInNewWindow()
|
||||||
|
{
|
||||||
|
if (!m_selectionModel->hasSelection())
|
||||||
|
return;
|
||||||
|
|
||||||
|
for (const QModelIndex &index : m_selectionModel->selectedIndexes()) {
|
||||||
|
KFileItem item = itemForIndex(index);
|
||||||
|
if (item.isDir()) {
|
||||||
|
QProcess::startDetached("cutefish-filemanager", QStringList() << item.url().toLocalFile());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void FolderModel::updateSelectedItemsSize()
|
void FolderModel::updateSelectedItemsSize()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -1483,6 +1499,9 @@ void FolderModel::createActions()
|
||||||
setShowHiddenFiles(!m_showHiddenFiles);
|
setShowHiddenFiles(!m_showHiddenFiles);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
QAction *openInNewWindow = new QAction(tr("Open in new window"), this);
|
||||||
|
QObject::connect(openInNewWindow, &QAction::triggered, this, &FolderModel::openInNewWindow);
|
||||||
|
|
||||||
m_actionCollection.addAction(QStringLiteral("open"), open);
|
m_actionCollection.addAction(QStringLiteral("open"), open);
|
||||||
m_actionCollection.addAction(QStringLiteral("openWith"), openWith);
|
m_actionCollection.addAction(QStringLiteral("openWith"), openWith);
|
||||||
m_actionCollection.addAction(QStringLiteral("cut"), cut);
|
m_actionCollection.addAction(QStringLiteral("cut"), cut);
|
||||||
|
@ -1499,6 +1518,7 @@ void FolderModel::createActions()
|
||||||
m_actionCollection.addAction(QStringLiteral("changeBackground"), changeBackground);
|
m_actionCollection.addAction(QStringLiteral("changeBackground"), changeBackground);
|
||||||
m_actionCollection.addAction(QStringLiteral("restore"), restore);
|
m_actionCollection.addAction(QStringLiteral("restore"), restore);
|
||||||
m_actionCollection.addAction(QStringLiteral("showHidden"), showHidden);
|
m_actionCollection.addAction(QStringLiteral("showHidden"), showHidden);
|
||||||
|
m_actionCollection.addAction(QStringLiteral("openInNewWindow"), openInNewWindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FolderModel::updateActions()
|
void FolderModel::updateActions()
|
||||||
|
@ -1509,6 +1529,7 @@ void FolderModel::updateActions()
|
||||||
QList<QUrl> urls;
|
QList<QUrl> urls;
|
||||||
bool hasRemoteFiles = false;
|
bool hasRemoteFiles = false;
|
||||||
bool isTrashLink = false;
|
bool isTrashLink = false;
|
||||||
|
bool hasDir = false;
|
||||||
const bool isTrash = (resolvedUrl().scheme() == QLatin1String("trash"));
|
const bool isTrash = (resolvedUrl().scheme() == QLatin1String("trash"));
|
||||||
|
|
||||||
if (indexes.isEmpty()) {
|
if (indexes.isEmpty()) {
|
||||||
|
@ -1523,6 +1544,9 @@ void FolderModel::updateActions()
|
||||||
items.append(item);
|
items.append(item);
|
||||||
urls.append(item.url());
|
urls.append(item.url());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (item.isDir())
|
||||||
|
hasDir = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1609,6 +1633,10 @@ void FolderModel::updateActions()
|
||||||
showHidden->setCheckable(true);
|
showHidden->setCheckable(true);
|
||||||
showHidden->setChecked(m_showHiddenFiles);
|
showHidden->setChecked(m_showHiddenFiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (QAction *openInNewWindow = m_actionCollection.action("openInNewWindow")) {
|
||||||
|
openInNewWindow->setVisible(hasDir);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FolderModel::addDragImage(QDrag *drag, int x, int y)
|
void FolderModel::addDragImage(QDrag *drag, int x, int y)
|
||||||
|
|
|
@ -204,6 +204,7 @@ public:
|
||||||
Q_INVOKABLE void openInTerminal();
|
Q_INVOKABLE void openInTerminal();
|
||||||
Q_INVOKABLE void openChangeWallpaperDialog();
|
Q_INVOKABLE void openChangeWallpaperDialog();
|
||||||
Q_INVOKABLE void openDeleteDialog();
|
Q_INVOKABLE void openDeleteDialog();
|
||||||
|
Q_INVOKABLE void openInNewWindow();
|
||||||
|
|
||||||
Q_INVOKABLE void updateSelectedItemsSize();
|
Q_INVOKABLE void updateSelectedItemsSize();
|
||||||
Q_INVOKABLE void keyboardSearch(const QString &text);
|
Q_INVOKABLE void keyboardSearch(const QString &text);
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
<context>
|
<context>
|
||||||
<name>DesktopView</name>
|
<name>DesktopView</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../desktop/desktopview.cpp" line="44"/>
|
<location filename="../desktop/desktopview.cpp" line="46"/>
|
||||||
<source>Desktop</source>
|
<source>Desktop</source>
|
||||||
<translation>Desktop</translation>
|
<translation>Desktop</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -114,12 +114,12 @@
|
||||||
<context>
|
<context>
|
||||||
<name>FilePropertiesDialog</name>
|
<name>FilePropertiesDialog</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/filepropertiesdialog.cpp" line="185"/>
|
<location filename="../dialogs/filepropertiesdialog.cpp" line="192"/>
|
||||||
<source>Properties</source>
|
<source>Properties</source>
|
||||||
<translation>Properties</translation>
|
<translation>Properties</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/filepropertiesdialog.cpp" line="233"/>
|
<location filename="../dialogs/filepropertiesdialog.cpp" line="245"/>
|
||||||
<source>%1 files</source>
|
<source>%1 files</source>
|
||||||
<translation>%1 files</translation>
|
<translation>%1 files</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -137,100 +137,105 @@
|
||||||
<translation>%1 items</translation>
|
<translation>%1 items</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="267"/>
|
<location filename="../model/foldermodel.cpp" line="297"/>
|
||||||
<source>The file or folder %1 does not exist.</source>
|
<source>The file or folder %1 does not exist.</source>
|
||||||
<translation>The file or folder %1 does not exist.</translation>
|
<translation>The file or folder %1 does not exist.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="999"/>
|
<location filename="../model/foldermodel.cpp" line="1034"/>
|
||||||
<source>Select All</source>
|
<source>Select All</source>
|
||||||
<translation>Select All</translation>
|
<translation>Select All</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1108"/>
|
<location filename="../model/foldermodel.cpp" line="1147"/>
|
||||||
<source>File Manager</source>
|
<source>File Manager</source>
|
||||||
<translation>File Manager</translation>
|
<translation>File Manager</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1359"/>
|
<location filename="../model/foldermodel.cpp" line="1452"/>
|
||||||
<source>Open</source>
|
<source>Open</source>
|
||||||
<translation>Open</translation>
|
<translation>Open</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1362"/>
|
<location filename="../model/foldermodel.cpp" line="1455"/>
|
||||||
<source>Open with</source>
|
<source>Open with</source>
|
||||||
<translation>Open with</translation>
|
<translation>Open with</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1365"/>
|
<location filename="../model/foldermodel.cpp" line="1458"/>
|
||||||
<source>Cut</source>
|
<source>Cut</source>
|
||||||
<translation>Cut</translation>
|
<translation>Cut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1368"/>
|
<location filename="../model/foldermodel.cpp" line="1461"/>
|
||||||
<source>Copy</source>
|
<source>Copy</source>
|
||||||
<translation>Copy</translation>
|
<translation>Copy</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1371"/>
|
<location filename="../model/foldermodel.cpp" line="1464"/>
|
||||||
<source>Paste</source>
|
<source>Paste</source>
|
||||||
<translation>Paste</translation>
|
<translation>Paste</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1374"/>
|
<location filename="../model/foldermodel.cpp" line="1467"/>
|
||||||
<source>New Folder</source>
|
<source>New Folder</source>
|
||||||
<translation>New Folder</translation>
|
<translation>New Folder</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1377"/>
|
<location filename="../model/foldermodel.cpp" line="1470"/>
|
||||||
<source>Move To Trash</source>
|
<source>Move To Trash</source>
|
||||||
<translation>Move To Trash</translation>
|
<translation>Move To Trash</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1380"/>
|
<location filename="../model/foldermodel.cpp" line="1473"/>
|
||||||
<source>Empty Trash</source>
|
<source>Empty Trash</source>
|
||||||
<translation>Empty Trash</translation>
|
<translation>Empty Trash</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1383"/>
|
<location filename="../model/foldermodel.cpp" line="1476"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation>Delete</translation>
|
<translation>Delete</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1386"/>
|
<location filename="../model/foldermodel.cpp" line="1479"/>
|
||||||
<source>Rename</source>
|
<source>Rename</source>
|
||||||
<translation>Rename</translation>
|
<translation>Rename</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1389"/>
|
<location filename="../model/foldermodel.cpp" line="1482"/>
|
||||||
<source>Open in Terminal</source>
|
<source>Open in Terminal</source>
|
||||||
<translation>Open in Terminal</translation>
|
<translation>Open in Terminal</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1392"/>
|
<location filename="../model/foldermodel.cpp" line="1485"/>
|
||||||
<source>Set as Wallpaper</source>
|
<source>Set as Wallpaper</source>
|
||||||
<translation>Set as Wallpaper</translation>
|
<translation>Set as Wallpaper</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1395"/>
|
<location filename="../model/foldermodel.cpp" line="1488"/>
|
||||||
<source>Properties</source>
|
<source>Properties</source>
|
||||||
<translation>Properties</translation>
|
<translation>Properties</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1398"/>
|
<location filename="../model/foldermodel.cpp" line="1491"/>
|
||||||
<source>Change background</source>
|
<source>Change background</source>
|
||||||
<translation>Change background</translation>
|
<translation>Change background</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1401"/>
|
<location filename="../model/foldermodel.cpp" line="1494"/>
|
||||||
<source>Restore</source>
|
<source>Restore</source>
|
||||||
<translation>Restore</translation>
|
<translation>Restore</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1404"/>
|
<location filename="../model/foldermodel.cpp" line="1497"/>
|
||||||
<source>Show hidden files</source>
|
<source>Show hidden files</source>
|
||||||
<translation>Show hidden files</translation>
|
<translation>Show hidden files</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../model/foldermodel.cpp" line="1502"/>
|
||||||
|
<source>Open in new window</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>FolderPage</name>
|
<name>FolderPage</name>
|
||||||
|
@ -434,47 +439,47 @@
|
||||||
<context>
|
<context>
|
||||||
<name>PropertiesDialog</name>
|
<name>PropertiesDialog</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="94"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="100"/>
|
||||||
<source>Type:</source>
|
<source>Type:</source>
|
||||||
<translation>Type:</translation>
|
<translation>Type:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="107"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="113"/>
|
||||||
<source>Location:</source>
|
<source>Location:</source>
|
||||||
<translation>Location:</translation>
|
<translation>Location:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="118"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="124"/>
|
||||||
<source>Size:</source>
|
<source>Size:</source>
|
||||||
<translation>Size:</translation>
|
<translation>Size:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="125"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="131"/>
|
||||||
<source>Calculating...</source>
|
<source>Calculating...</source>
|
||||||
<translation>Calculating...</translation>
|
<translation>Calculating...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="129"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="135"/>
|
||||||
<source>Created:</source>
|
<source>Created:</source>
|
||||||
<translation>Created:</translation>
|
<translation>Created:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="142"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="148"/>
|
||||||
<source>Modified:</source>
|
<source>Modified:</source>
|
||||||
<translation>Modified:</translation>
|
<translation>Modified:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="155"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="161"/>
|
||||||
<source>Accessed:</source>
|
<source>Accessed:</source>
|
||||||
<translation>Accessed:</translation>
|
<translation>Accessed:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="177"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="183"/>
|
||||||
<source>Cancel</source>
|
<source>Cancel</source>
|
||||||
<translation>Cancel</translation>
|
<translation>Cancel</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="183"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="189"/>
|
||||||
<source>OK</source>
|
<source>OK</source>
|
||||||
<translation>OK</translation>
|
<translation>OK</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
<context>
|
<context>
|
||||||
<name>DesktopView</name>
|
<name>DesktopView</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../desktop/desktopview.cpp" line="44"/>
|
<location filename="../desktop/desktopview.cpp" line="46"/>
|
||||||
<source>Desktop</source>
|
<source>Desktop</source>
|
||||||
<translation>桌面</translation>
|
<translation>桌面</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -114,12 +114,12 @@
|
||||||
<context>
|
<context>
|
||||||
<name>FilePropertiesDialog</name>
|
<name>FilePropertiesDialog</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/filepropertiesdialog.cpp" line="185"/>
|
<location filename="../dialogs/filepropertiesdialog.cpp" line="192"/>
|
||||||
<source>Properties</source>
|
<source>Properties</source>
|
||||||
<translation>属性</translation>
|
<translation>属性</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../dialogs/filepropertiesdialog.cpp" line="233"/>
|
<location filename="../dialogs/filepropertiesdialog.cpp" line="245"/>
|
||||||
<source>%1 files</source>
|
<source>%1 files</source>
|
||||||
<translation>%1 项</translation>
|
<translation>%1 项</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -137,100 +137,105 @@
|
||||||
<translation>%1 项</translation>
|
<translation>%1 项</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="267"/>
|
<location filename="../model/foldermodel.cpp" line="297"/>
|
||||||
<source>The file or folder %1 does not exist.</source>
|
<source>The file or folder %1 does not exist.</source>
|
||||||
<translation>文件或文件夹 %1 不存在</translation>
|
<translation>文件或文件夹 %1 不存在</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="999"/>
|
<location filename="../model/foldermodel.cpp" line="1034"/>
|
||||||
<source>Select All</source>
|
<source>Select All</source>
|
||||||
<translation>全选</translation>
|
<translation>全选</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1108"/>
|
<location filename="../model/foldermodel.cpp" line="1147"/>
|
||||||
<source>File Manager</source>
|
<source>File Manager</source>
|
||||||
<translation>文件管理器</translation>
|
<translation>文件管理器</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1359"/>
|
<location filename="../model/foldermodel.cpp" line="1452"/>
|
||||||
<source>Open</source>
|
<source>Open</source>
|
||||||
<translation>打开</translation>
|
<translation>打开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1362"/>
|
<location filename="../model/foldermodel.cpp" line="1455"/>
|
||||||
<source>Open with</source>
|
<source>Open with</source>
|
||||||
<translation>打开方式</translation>
|
<translation>打开方式</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1365"/>
|
<location filename="../model/foldermodel.cpp" line="1458"/>
|
||||||
<source>Cut</source>
|
<source>Cut</source>
|
||||||
<translation>剪切</translation>
|
<translation>剪切</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1368"/>
|
<location filename="../model/foldermodel.cpp" line="1461"/>
|
||||||
<source>Copy</source>
|
<source>Copy</source>
|
||||||
<translation>复制</translation>
|
<translation>复制</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1371"/>
|
<location filename="../model/foldermodel.cpp" line="1464"/>
|
||||||
<source>Paste</source>
|
<source>Paste</source>
|
||||||
<translation>粘贴</translation>
|
<translation>粘贴</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1374"/>
|
<location filename="../model/foldermodel.cpp" line="1467"/>
|
||||||
<source>New Folder</source>
|
<source>New Folder</source>
|
||||||
<translation>新建文件夹</translation>
|
<translation>新建文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1377"/>
|
<location filename="../model/foldermodel.cpp" line="1470"/>
|
||||||
<source>Move To Trash</source>
|
<source>Move To Trash</source>
|
||||||
<translation>移动到回收站</translation>
|
<translation>移动到回收站</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1380"/>
|
<location filename="../model/foldermodel.cpp" line="1473"/>
|
||||||
<source>Empty Trash</source>
|
<source>Empty Trash</source>
|
||||||
<translation>清空回收站</translation>
|
<translation>清空回收站</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1383"/>
|
<location filename="../model/foldermodel.cpp" line="1476"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation>删除</translation>
|
<translation>删除</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1386"/>
|
<location filename="../model/foldermodel.cpp" line="1479"/>
|
||||||
<source>Rename</source>
|
<source>Rename</source>
|
||||||
<translation>重命名</translation>
|
<translation>重命名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1389"/>
|
<location filename="../model/foldermodel.cpp" line="1482"/>
|
||||||
<source>Open in Terminal</source>
|
<source>Open in Terminal</source>
|
||||||
<translation>在终端中打开</translation>
|
<translation>在终端中打开</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1392"/>
|
<location filename="../model/foldermodel.cpp" line="1485"/>
|
||||||
<source>Set as Wallpaper</source>
|
<source>Set as Wallpaper</source>
|
||||||
<translation>设置为壁纸</translation>
|
<translation>设置为壁纸</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1395"/>
|
<location filename="../model/foldermodel.cpp" line="1488"/>
|
||||||
<source>Properties</source>
|
<source>Properties</source>
|
||||||
<translation>属性</translation>
|
<translation>属性</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1398"/>
|
<location filename="../model/foldermodel.cpp" line="1491"/>
|
||||||
<source>Change background</source>
|
<source>Change background</source>
|
||||||
<translation>更改桌面背景</translation>
|
<translation>更改桌面背景</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1401"/>
|
<location filename="../model/foldermodel.cpp" line="1494"/>
|
||||||
<source>Restore</source>
|
<source>Restore</source>
|
||||||
<translation>恢复</translation>
|
<translation>恢复</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../model/foldermodel.cpp" line="1404"/>
|
<location filename="../model/foldermodel.cpp" line="1497"/>
|
||||||
<source>Show hidden files</source>
|
<source>Show hidden files</source>
|
||||||
<translation>显示隐藏文件</translation>
|
<translation>显示隐藏文件</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../model/foldermodel.cpp" line="1502"/>
|
||||||
|
<source>Open in new window</source>
|
||||||
|
<translation>在新窗口中打开</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>FolderPage</name>
|
<name>FolderPage</name>
|
||||||
|
@ -438,47 +443,47 @@
|
||||||
<translation type="vanished">属性</translation>
|
<translation type="vanished">属性</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="94"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="100"/>
|
||||||
<source>Type:</source>
|
<source>Type:</source>
|
||||||
<translation>类型:</translation>
|
<translation>类型:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="107"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="113"/>
|
||||||
<source>Location:</source>
|
<source>Location:</source>
|
||||||
<translation>位置:</translation>
|
<translation>位置:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="118"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="124"/>
|
||||||
<source>Size:</source>
|
<source>Size:</source>
|
||||||
<translation>大小:</translation>
|
<translation>大小:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="125"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="131"/>
|
||||||
<source>Calculating...</source>
|
<source>Calculating...</source>
|
||||||
<translation>计算中...</translation>
|
<translation>计算中...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="129"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="135"/>
|
||||||
<source>Created:</source>
|
<source>Created:</source>
|
||||||
<translation>创建时间:</translation>
|
<translation>创建时间:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="142"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="148"/>
|
||||||
<source>Modified:</source>
|
<source>Modified:</source>
|
||||||
<translation>修改时间:</translation>
|
<translation>修改时间:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="155"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="161"/>
|
||||||
<source>Accessed:</source>
|
<source>Accessed:</source>
|
||||||
<translation>访问时间:</translation>
|
<translation>访问时间:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="177"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="183"/>
|
||||||
<source>Cancel</source>
|
<source>Cancel</source>
|
||||||
<translation>取消</translation>
|
<translation>取消</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="183"/>
|
<location filename="../qml/Dialogs/PropertiesDialog.qml" line="189"/>
|
||||||
<source>OK</source>
|
<source>OK</source>
|
||||||
<translation>确定</translation>
|
<translation>确定</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in a new issue