SideBar: Add content menu

This commit is contained in:
kateleet 2021-12-03 03:58:55 +08:00
parent ad3407a5ac
commit d06a97f708
6 changed files with 139 additions and 78 deletions

View file

@ -1296,8 +1296,14 @@ void FolderModel::openDeleteDialog()
view->show(); view->show();
} }
void FolderModel::openInNewWindow() void FolderModel::openInNewWindow(const QString &url)
{ {
if (!url.isEmpty()) {
QProcess::startDetached("cutefish-filemanager", QStringList() << url);
return;
}
// url 为空则打开已选择的 items.
if (!m_selectionModel->hasSelection()) if (!m_selectionModel->hasSelection())
return; return;
@ -1642,7 +1648,7 @@ void FolderModel::createActions()
}); });
QAction *openInNewWindow = new QAction(tr("Open in new window"), this); QAction *openInNewWindow = new QAction(tr("Open in new window"), this);
QObject::connect(openInNewWindow, &QAction::triggered, this, &FolderModel::openInNewWindow); QObject::connect(openInNewWindow, &QAction::triggered, this, [=] { this->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);

View file

@ -207,7 +207,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 openInNewWindow(const QString &url = QString());
Q_INVOKABLE void updateSelectedItemsSize(); Q_INVOKABLE void updateSelectedItemsSize();
Q_INVOKABLE void keyboardSearch(const QString &text); Q_INVOKABLE void keyboardSearch(const QString &text);

View file

@ -29,6 +29,7 @@ ListView {
id: sideBar id: sideBar
signal clicked(string path) signal clicked(string path)
signal openInNewWindow(string path)
FishUI.WheelHandler { FishUI.WheelHandler {
target: sideBar target: sideBar
@ -91,13 +92,40 @@ ListView {
id: _mouseArea id: _mouseArea
anchors.fill: parent anchors.fill: parent
hoverEnabled: true hoverEnabled: true
acceptedButtons: Qt.LeftButton acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: { onClicked: {
if (model.isDevice && model.setupNeeded) if (mouse.button === Qt.LeftButton) {
placesModel.requestSetup(index) if (model.isDevice && model.setupNeeded)
placesModel.requestSetup(index)
// sideBar.currentIndex = index // sideBar.currentIndex = index
sideBar.clicked(model.path ? model.path : model.url) sideBar.clicked(model.path ? model.path : model.url)
} else if (mouse.button === Qt.RightButton) {
_menu.popup()
}
}
}
FishUI.DesktopMenu {
id: _menu
MenuItem {
text: qsTr("Open")
onTriggered: {
if (model.isDevice && model.setupNeeded)
placesModel.requestSetup(index)
sideBar.clicked(model.path ? model.path : model.url)
}
}
MenuItem {
text: qsTr("Open in new window")
onTriggered: {
sideBar.openInNewWindow(model.path ? model.path : model.url)
}
} }
} }

View file

@ -112,6 +112,7 @@ FishUI.Window {
Layout.fillHeight: true Layout.fillHeight: true
width: 180 + FishUI.Units.largeSpacing width: 180 + FishUI.Units.largeSpacing
onClicked: _folderPage.openUrl(path) onClicked: _folderPage.openUrl(path)
onOpenInNewWindow: _folderPage.model.openInNewWindow(path)
} }
FolderPage { FolderPage {

View file

@ -96,17 +96,17 @@
<translation>File Manager</translation> <translation>File Manager</translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="60"/> <location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="77"/>
<source>Do you want to permanently delete all files from the Trash?</source> <source>Do you want to permanently delete all files from the Trash?</source>
<translation>Do you want to permanently delete all files from the Trash?</translation> <translation>Do you want to permanently delete all files from the Trash?</translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="69"/> <location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="86"/>
<source>Cancel</source> <source>Cancel</source>
<translation>Cancel</translation> <translation>Cancel</translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="75"/> <location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="92"/>
<source>Empty Trash</source> <source>Empty Trash</source>
<translation>Empty Trash</translation> <translation>Empty Trash</translation>
</message> </message>
@ -127,112 +127,112 @@
<context> <context>
<name>FolderModel</name> <name>FolderModel</name>
<message> <message>
<location filename="../model/foldermodel.cpp" line="207"/> <location filename="../model/foldermodel.cpp" line="274"/>
<source>%1 item</source> <source>%1 item</source>
<translation>%1 item</translation> <translation>%1 item</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="207"/> <location filename="../model/foldermodel.cpp" line="274"/>
<source>%1 items</source> <source>%1 items</source>
<translation>%1 items</translation> <translation>%1 items</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="302"/> <location filename="../model/foldermodel.cpp" line="369"/>
<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="1039"/> <location filename="../model/foldermodel.cpp" line="1171"/>
<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="1152"/> <location filename="../model/foldermodel.cpp" line="1284"/>
<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="1462"/> <location filename="../model/foldermodel.cpp" line="1600"/>
<source>Open</source> <source>Open</source>
<translation>Open</translation> <translation>Open</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1465"/> <location filename="../model/foldermodel.cpp" line="1603"/>
<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="1468"/> <location filename="../model/foldermodel.cpp" line="1606"/>
<source>Cut</source> <source>Cut</source>
<translation>Cut</translation> <translation>Cut</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1471"/> <location filename="../model/foldermodel.cpp" line="1609"/>
<source>Copy</source> <source>Copy</source>
<translation>Copy</translation> <translation>Copy</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1474"/> <location filename="../model/foldermodel.cpp" line="1612"/>
<source>Paste</source> <source>Paste</source>
<translation>Paste</translation> <translation>Paste</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1477"/> <location filename="../model/foldermodel.cpp" line="1615"/>
<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="1480"/> <location filename="../model/foldermodel.cpp" line="1618"/>
<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="1483"/> <location filename="../model/foldermodel.cpp" line="1621"/>
<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="1486"/> <location filename="../model/foldermodel.cpp" line="1624"/>
<source>Delete</source> <source>Delete</source>
<translation>Delete</translation> <translation>Delete</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1489"/> <location filename="../model/foldermodel.cpp" line="1627"/>
<source>Rename</source> <source>Rename</source>
<translation>Rename</translation> <translation>Rename</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1492"/> <location filename="../model/foldermodel.cpp" line="1630"/>
<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="1495"/> <location filename="../model/foldermodel.cpp" line="1633"/>
<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="1498"/> <location filename="../model/foldermodel.cpp" line="1636"/>
<source>Properties</source> <source>Properties</source>
<translation>Properties</translation> <translation>Properties</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1501"/> <location filename="../model/foldermodel.cpp" line="1639"/>
<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="1504"/> <location filename="../model/foldermodel.cpp" line="1642"/>
<source>Restore</source> <source>Restore</source>
<translation>Restore</translation> <translation>Restore</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1507"/> <location filename="../model/foldermodel.cpp" line="1645"/>
<source>Show hidden files</source> <source>Show hidden files</source>
<translation>Show hidden files</translation> <translation>Show hidden files</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1512"/> <location filename="../model/foldermodel.cpp" line="1650"/>
<source>Open in new window</source> <source>Open in new window</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -245,13 +245,13 @@
<translation>Empty folder</translation> <translation>Empty folder</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="185"/> <location filename="../qml/FolderPage.qml" line="186"/>
<source>Open</source> <source>Open</source>
<translation>Open</translation> <translation>Open</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="61"/> <location filename="../qml/FolderPage.qml" line="61"/>
<location filename="../qml/FolderPage.qml" line="190"/> <location filename="../qml/FolderPage.qml" line="191"/>
<source>Properties</source> <source>Properties</source>
<translation>Properties</translation> <translation>Properties</translation>
</message> </message>
@ -316,22 +316,22 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="252"/> <location filename="../qml/FolderPage.qml" line="253"/>
<source>%1 item</source> <source>%1 item</source>
<translation>%1 item</translation> <translation>%1 item</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="253"/> <location filename="../qml/FolderPage.qml" line="254"/>
<source>%1 items</source> <source>%1 items</source>
<translation>%1 items</translation> <translation>%1 items</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="259"/> <location filename="../qml/FolderPage.qml" line="260"/>
<source>%1 selected</source> <source>%1 selected</source>
<translation>%1 selected</translation> <translation>%1 selected</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="274"/> <location filename="../qml/FolderPage.qml" line="284"/>
<source>Empty Trash</source> <source>Empty Trash</source>
<translation>Empty Trash</translation> <translation>Empty Trash</translation>
</message> </message>
@ -339,22 +339,22 @@
<context> <context>
<name>OpenWithDialog</name> <name>OpenWithDialog</name>
<message> <message>
<location filename="../qml/Dialogs/OpenWithDialog.qml" line="78"/> <location filename="../qml/Dialogs/OpenWithDialog.qml" line="80"/>
<source>No applications</source> <source>No applications</source>
<translation>No applications</translation> <translation>No applications</translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/OpenWithDialog.qml" line="142"/> <location filename="../qml/Dialogs/OpenWithDialog.qml" line="144"/>
<source>Set as default</source> <source>Set as default</source>
<translation>Set as default</translation> <translation>Set as default</translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/OpenWithDialog.qml" line="151"/> <location filename="../qml/Dialogs/OpenWithDialog.qml" line="159"/>
<source>Cancel</source> <source>Cancel</source>
<translation>Cancel</translation> <translation>Cancel</translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/OpenWithDialog.qml" line="160"/> <location filename="../qml/Dialogs/OpenWithDialog.qml" line="168"/>
<source>Open</source> <source>Open</source>
<translation>Open</translation> <translation>Open</translation>
</message> </message>
@ -494,6 +494,19 @@
<translation>OK</translation> <translation>OK</translation>
</message> </message>
</context> </context>
<context>
<name>SideBar</name>
<message>
<location filename="../qml/SideBar.qml" line="113"/>
<source>Open</source>
<translation type="unfinished">Open</translation>
</message>
<message>
<location filename="../qml/SideBar.qml" line="121"/>
<source>Open in new window</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>main</name> <name>main</name>
<message> <message>

View file

@ -96,17 +96,17 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="60"/> <location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="77"/>
<source>Do you want to permanently delete all files from the Trash?</source> <source>Do you want to permanently delete all files from the Trash?</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="69"/> <location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="86"/>
<source>Cancel</source> <source>Cancel</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="75"/> <location filename="../qml/Dialogs/EmptyTrashDialog.qml" line="92"/>
<source>Empty Trash</source> <source>Empty Trash</source>
<translation></translation> <translation></translation>
</message> </message>
@ -127,112 +127,112 @@
<context> <context>
<name>FolderModel</name> <name>FolderModel</name>
<message> <message>
<location filename="../model/foldermodel.cpp" line="207"/> <location filename="../model/foldermodel.cpp" line="274"/>
<source>%1 item</source> <source>%1 item</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="207"/> <location filename="../model/foldermodel.cpp" line="274"/>
<source>%1 items</source> <source>%1 items</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="302"/> <location filename="../model/foldermodel.cpp" line="369"/>
<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="1039"/> <location filename="../model/foldermodel.cpp" line="1171"/>
<source>Select All</source> <source>Select All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1152"/> <location filename="../model/foldermodel.cpp" line="1284"/>
<source>File Manager</source> <source>File Manager</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1462"/> <location filename="../model/foldermodel.cpp" line="1600"/>
<source>Open</source> <source>Open</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1465"/> <location filename="../model/foldermodel.cpp" line="1603"/>
<source>Open with</source> <source>Open with</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1468"/> <location filename="../model/foldermodel.cpp" line="1606"/>
<source>Cut</source> <source>Cut</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1471"/> <location filename="../model/foldermodel.cpp" line="1609"/>
<source>Copy</source> <source>Copy</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1474"/> <location filename="../model/foldermodel.cpp" line="1612"/>
<source>Paste</source> <source>Paste</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1477"/> <location filename="../model/foldermodel.cpp" line="1615"/>
<source>New Folder</source> <source>New Folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1480"/> <location filename="../model/foldermodel.cpp" line="1618"/>
<source>Move To Trash</source> <source>Move To Trash</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1483"/> <location filename="../model/foldermodel.cpp" line="1621"/>
<source>Empty Trash</source> <source>Empty Trash</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1486"/> <location filename="../model/foldermodel.cpp" line="1624"/>
<source>Delete</source> <source>Delete</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1489"/> <location filename="../model/foldermodel.cpp" line="1627"/>
<source>Rename</source> <source>Rename</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1492"/> <location filename="../model/foldermodel.cpp" line="1630"/>
<source>Open in Terminal</source> <source>Open in Terminal</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1495"/> <location filename="../model/foldermodel.cpp" line="1633"/>
<source>Set as Wallpaper</source> <source>Set as Wallpaper</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1498"/> <location filename="../model/foldermodel.cpp" line="1636"/>
<source>Properties</source> <source>Properties</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1501"/> <location filename="../model/foldermodel.cpp" line="1639"/>
<source>Change background</source> <source>Change background</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1504"/> <location filename="../model/foldermodel.cpp" line="1642"/>
<source>Restore</source> <source>Restore</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1507"/> <location filename="../model/foldermodel.cpp" line="1645"/>
<source>Show hidden files</source> <source>Show hidden files</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1512"/> <location filename="../model/foldermodel.cpp" line="1650"/>
<source>Open in new window</source> <source>Open in new window</source>
<translation></translation> <translation></translation>
</message> </message>
@ -245,13 +245,13 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="185"/> <location filename="../qml/FolderPage.qml" line="186"/>
<source>Open</source> <source>Open</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="61"/> <location filename="../qml/FolderPage.qml" line="61"/>
<location filename="../qml/FolderPage.qml" line="190"/> <location filename="../qml/FolderPage.qml" line="191"/>
<source>Properties</source> <source>Properties</source>
<translation></translation> <translation></translation>
</message> </message>
@ -316,22 +316,22 @@
<translation> CutefishOS </translation> <translation> CutefishOS </translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="252"/> <location filename="../qml/FolderPage.qml" line="253"/>
<source>%1 item</source> <source>%1 item</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="253"/> <location filename="../qml/FolderPage.qml" line="254"/>
<source>%1 items</source> <source>%1 items</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="259"/> <location filename="../qml/FolderPage.qml" line="260"/>
<source>%1 selected</source> <source>%1 selected</source>
<translation> %1 </translation> <translation> %1 </translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="274"/> <location filename="../qml/FolderPage.qml" line="284"/>
<source>Empty Trash</source> <source>Empty Trash</source>
<translation></translation> <translation></translation>
</message> </message>
@ -339,22 +339,22 @@
<context> <context>
<name>OpenWithDialog</name> <name>OpenWithDialog</name>
<message> <message>
<location filename="../qml/Dialogs/OpenWithDialog.qml" line="78"/> <location filename="../qml/Dialogs/OpenWithDialog.qml" line="80"/>
<source>No applications</source> <source>No applications</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/OpenWithDialog.qml" line="142"/> <location filename="../qml/Dialogs/OpenWithDialog.qml" line="144"/>
<source>Set as default</source> <source>Set as default</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/OpenWithDialog.qml" line="151"/> <location filename="../qml/Dialogs/OpenWithDialog.qml" line="159"/>
<source>Cancel</source> <source>Cancel</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/Dialogs/OpenWithDialog.qml" line="160"/> <location filename="../qml/Dialogs/OpenWithDialog.qml" line="168"/>
<source>Open</source> <source>Open</source>
<translation></translation> <translation></translation>
</message> </message>
@ -502,6 +502,19 @@
<translation type="vanished">%1 </translation> <translation type="vanished">%1 </translation>
</message> </message>
</context> </context>
<context>
<name>SideBar</name>
<message>
<location filename="../qml/SideBar.qml" line="113"/>
<source>Open</source>
<translation></translation>
</message>
<message>
<location filename="../qml/SideBar.qml" line="121"/>
<source>Open in new window</source>
<translation></translation>
</message>
</context>
<context> <context>
<name>main</name> <name>main</name>
<message> <message>