feat(sidebar): add a new name for the local disk

This commit is contained in:
kateleet 2021-12-26 23:40:53 +08:00
parent f89af80744
commit b1a1061922
6 changed files with 118 additions and 95 deletions

View file

@ -18,6 +18,7 @@
*/ */
#include "fm.h" #include "fm.h"
#include <QDir>
#include <KIO/EmptyTrashJob> #include <KIO/EmptyTrashJob>
Fm::Fm(QObject *parent) : QObject(parent) Fm::Fm(QObject *parent) : QObject(parent)
@ -25,6 +26,11 @@ Fm::Fm(QObject *parent) : QObject(parent)
} }
QString Fm::rootPath()
{
return QDir::rootPath();
}
void Fm::emptyTrash() void Fm::emptyTrash()
{ {
KIO::Job *job = KIO::emptyTrash(); KIO::Job *job = KIO::emptyTrash();

View file

@ -29,6 +29,7 @@ class Fm : public QObject
public: public:
explicit Fm(QObject *parent = nullptr); explicit Fm(QObject *parent = nullptr);
Q_INVOKABLE QString rootPath();
Q_INVOKABLE static void emptyTrash(); Q_INVOKABLE static void emptyTrash();
}; };

View file

@ -166,7 +166,7 @@ QVariant PlacesModel::data(const QModelIndex &index, int role) const
switch (role) { switch (role) {
case PlacesModel::NameRole: case PlacesModel::NameRole:
return item->displayName(); return item->url().toLocalFile() == QDir::rootPath() ? tr("Computer") : item->displayName();
break; break;
case PlacesModel::IconNameRole: case PlacesModel::IconNameRole:
return item->iconName(); return item->iconName();

View file

@ -36,6 +36,10 @@ ListView {
target: sideBar target: sideBar
} }
Fm {
id: _fm
}
PlacesModel { PlacesModel {
id: placesModel id: placesModel
onDeviceSetupDone: sideBar.clicked(filePath) // onDeviceSetupDone: sideBar.clicked(filePath) //
@ -148,7 +152,7 @@ ListView {
visible: model.isDevice && visible: model.isDevice &&
!model.setupNeeded && !model.setupNeeded &&
model.isOpticalDisc && model.isOpticalDisc &&
!model.url.toString() === "/" !model.url.toString() === _fm.rootPath()
onTriggered: { onTriggered: {
placesModel.requestEject(index) placesModel.requestEject(index)
@ -161,7 +165,7 @@ ListView {
visible: model.isDevice && visible: model.isDevice &&
!model.setupNeeded && !model.setupNeeded &&
!model.isOpticalDisc && !model.isOpticalDisc &&
!model.url.toString() === "/" !model.url.toString() === _fm.rootPath()
onTriggered: { onTriggered: {
placesModel.requestTeardown(index) placesModel.requestTeardown(index)

View file

@ -127,112 +127,113 @@
<context> <context>
<name>FolderModel</name> <name>FolderModel</name>
<message> <message>
<location filename="../model/foldermodel.cpp" line="274"/> <location filename="../model/foldermodel.cpp" line="295"/>
<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="274"/> <location filename="../model/foldermodel.cpp" line="295"/>
<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="369"/> <location filename="../model/foldermodel.cpp" line="400"/>
<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="1171"/> <location filename="../model/foldermodel.cpp" line="1229"/>
<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="1284"/> <location filename="../model/foldermodel.cpp" line="1342"/>
<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="1600"/> <location filename="../model/foldermodel.cpp" line="1660"/>
<source>Open</source> <source>Open</source>
<translation>Open</translation> <translation>Open</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1603"/> <location filename="../model/foldermodel.cpp" line="1663"/>
<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="1606"/> <location filename="../model/foldermodel.cpp" line="1666"/>
<source>Cut</source> <source>Cut</source>
<translation>Cut</translation> <translation>Cut</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1609"/> <location filename="../model/foldermodel.cpp" line="1669"/>
<source>Copy</source> <source>Copy</source>
<translation>Copy</translation> <translation>Copy</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1612"/> <location filename="../model/foldermodel.cpp" line="1672"/>
<source>Paste</source> <source>Paste</source>
<translation>Paste</translation> <translation>Paste</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1615"/> <location filename="../model/foldermodel.cpp" line="898"/>
<location filename="../model/foldermodel.cpp" line="1675"/>
<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="1618"/> <location filename="../model/foldermodel.cpp" line="1678"/>
<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="1621"/> <location filename="../model/foldermodel.cpp" line="1681"/>
<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="1624"/> <location filename="../model/foldermodel.cpp" line="1684"/>
<source>Delete</source> <source>Delete</source>
<translation>Delete</translation> <translation>Delete</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1627"/> <location filename="../model/foldermodel.cpp" line="1687"/>
<source>Rename</source> <source>Rename</source>
<translation>Rename</translation> <translation>Rename</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1630"/> <location filename="../model/foldermodel.cpp" line="1690"/>
<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="1633"/> <location filename="../model/foldermodel.cpp" line="1693"/>
<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="1636"/> <location filename="../model/foldermodel.cpp" line="1696"/>
<source>Properties</source> <source>Properties</source>
<translation>Properties</translation> <translation>Properties</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1639"/> <location filename="../model/foldermodel.cpp" line="1699"/>
<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="1642"/> <location filename="../model/foldermodel.cpp" line="1702"/>
<source>Restore</source> <source>Restore</source>
<translation>Restore</translation> <translation>Restore</translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1645"/> <location filename="../model/foldermodel.cpp" line="1705"/>
<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="1650"/> <location filename="../model/foldermodel.cpp" line="1710"/>
<source>Open in new window</source> <source>Open in new window</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -240,98 +241,98 @@
<context> <context>
<name>FolderPage</name> <name>FolderPage</name>
<message> <message>
<location filename="../qml/FolderPage.qml" line="144"/> <location filename="../qml/FolderPage.qml" line="147"/>
<source>Empty folder</source> <source>Empty folder</source>
<translation>Empty folder</translation> <translation>Empty folder</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="186"/> <location filename="../qml/FolderPage.qml" line="200"/>
<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="64"/>
<location filename="../qml/FolderPage.qml" line="191"/> <location filename="../qml/FolderPage.qml" line="205"/>
<source>Properties</source> <source>Properties</source>
<translation>Properties</translation> <translation>Properties</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="51"/> <location filename="../qml/FolderPage.qml" line="54"/>
<source>File</source> <source>File</source>
<translation>File</translation> <translation>File</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="54"/> <location filename="../qml/FolderPage.qml" line="57"/>
<source>New Folder</source> <source>New Folder</source>
<translation>New Folder</translation> <translation>New Folder</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="68"/> <location filename="../qml/FolderPage.qml" line="71"/>
<source>Quit</source> <source>Quit</source>
<translation>Quit</translation> <translation>Quit</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="74"/> <location filename="../qml/FolderPage.qml" line="77"/>
<source>Edit</source> <source>Edit</source>
<translation>Edit</translation> <translation>Edit</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="77"/> <location filename="../qml/FolderPage.qml" line="80"/>
<source>Select All</source> <source>Select All</source>
<translation>Select All</translation> <translation>Select All</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="84"/> <location filename="../qml/FolderPage.qml" line="87"/>
<source>Cut</source> <source>Cut</source>
<translation>Cut</translation> <translation>Cut</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="89"/> <location filename="../qml/FolderPage.qml" line="92"/>
<source>Copy</source> <source>Copy</source>
<translation>Copy</translation> <translation>Copy</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="94"/> <location filename="../qml/FolderPage.qml" line="97"/>
<source>Paste</source> <source>Paste</source>
<translation>Paste</translation> <translation>Paste</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="100"/> <location filename="../qml/FolderPage.qml" line="103"/>
<source>Help</source> <source>Help</source>
<translation>Help</translation> <translation>Help</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="103"/> <location filename="../qml/FolderPage.qml" line="106"/>
<source>About</source> <source>About</source>
<translation>About</translation> <translation>About</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="111"/> <location filename="../qml/FolderPage.qml" line="114"/>
<source>File Manager</source> <source>File Manager</source>
<translation type="unfinished">File Manager</translation> <translation type="unfinished">File Manager</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="112"/> <location filename="../qml/FolderPage.qml" line="115"/>
<source>A file manager designed for CutefishOS.</source> <source>A file manager designed for CutefishOS.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="253"/> <location filename="../qml/FolderPage.qml" line="268"/>
<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="254"/> <location filename="../qml/FolderPage.qml" line="269"/>
<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="260"/> <location filename="../qml/FolderPage.qml" line="275"/>
<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="284"/> <location filename="../qml/FolderPage.qml" line="300"/>
<source>Empty Trash</source> <source>Empty Trash</source>
<translation>Empty Trash</translation> <translation>Empty Trash</translation>
</message> </message>
@ -445,6 +446,11 @@
<source>Drives</source> <source>Drives</source>
<translation>Drives</translation> <translation>Drives</translation>
</message> </message>
<message>
<location filename="../model/placesmodel.cpp" line="169"/>
<source>Computer</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PropertiesDialog</name> <name>PropertiesDialog</name>
@ -497,22 +503,22 @@
<context> <context>
<name>SideBar</name> <name>SideBar</name>
<message> <message>
<location filename="../qml/SideBar.qml" line="113"/> <location filename="../qml/SideBar.qml" line="126"/>
<source>Open</source> <source>Open</source>
<translation type="unfinished">Open</translation> <translation type="unfinished">Open</translation>
</message> </message>
<message> <message>
<location filename="../qml/SideBar.qml" line="124"/> <location filename="../qml/SideBar.qml" line="137"/>
<source>Open in new window</source> <source>Open in new window</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/SideBar.qml" line="138"/> <location filename="../qml/SideBar.qml" line="151"/>
<source>Eject</source> <source>Eject</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/SideBar.qml" line="150"/> <location filename="../qml/SideBar.qml" line="164"/>
<source>Unmount</source> <source>Unmount</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View file

@ -127,112 +127,113 @@
<context> <context>
<name>FolderModel</name> <name>FolderModel</name>
<message> <message>
<location filename="../model/foldermodel.cpp" line="274"/> <location filename="../model/foldermodel.cpp" line="295"/>
<source>%1 item</source> <source>%1 item</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="274"/> <location filename="../model/foldermodel.cpp" line="295"/>
<source>%1 items</source> <source>%1 items</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="369"/> <location filename="../model/foldermodel.cpp" line="400"/>
<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="1171"/> <location filename="../model/foldermodel.cpp" line="1229"/>
<source>Select All</source> <source>Select All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1284"/> <location filename="../model/foldermodel.cpp" line="1342"/>
<source>File Manager</source> <source>File Manager</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1600"/> <location filename="../model/foldermodel.cpp" line="1660"/>
<source>Open</source> <source>Open</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1603"/> <location filename="../model/foldermodel.cpp" line="1663"/>
<source>Open with</source> <source>Open with</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1606"/> <location filename="../model/foldermodel.cpp" line="1666"/>
<source>Cut</source> <source>Cut</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1609"/> <location filename="../model/foldermodel.cpp" line="1669"/>
<source>Copy</source> <source>Copy</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1612"/> <location filename="../model/foldermodel.cpp" line="1672"/>
<source>Paste</source> <source>Paste</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1615"/> <location filename="../model/foldermodel.cpp" line="898"/>
<location filename="../model/foldermodel.cpp" line="1675"/>
<source>New Folder</source> <source>New Folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1618"/> <location filename="../model/foldermodel.cpp" line="1678"/>
<source>Move To Trash</source> <source>Move To Trash</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1621"/> <location filename="../model/foldermodel.cpp" line="1681"/>
<source>Empty Trash</source> <source>Empty Trash</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1624"/> <location filename="../model/foldermodel.cpp" line="1684"/>
<source>Delete</source> <source>Delete</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1627"/> <location filename="../model/foldermodel.cpp" line="1687"/>
<source>Rename</source> <source>Rename</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1630"/> <location filename="../model/foldermodel.cpp" line="1690"/>
<source>Open in Terminal</source> <source>Open in Terminal</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1633"/> <location filename="../model/foldermodel.cpp" line="1693"/>
<source>Set as Wallpaper</source> <source>Set as Wallpaper</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1636"/> <location filename="../model/foldermodel.cpp" line="1696"/>
<source>Properties</source> <source>Properties</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1639"/> <location filename="../model/foldermodel.cpp" line="1699"/>
<source>Change background</source> <source>Change background</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1642"/> <location filename="../model/foldermodel.cpp" line="1702"/>
<source>Restore</source> <source>Restore</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1645"/> <location filename="../model/foldermodel.cpp" line="1705"/>
<source>Show hidden files</source> <source>Show hidden files</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../model/foldermodel.cpp" line="1650"/> <location filename="../model/foldermodel.cpp" line="1710"/>
<source>Open in new window</source> <source>Open in new window</source>
<translation></translation> <translation></translation>
</message> </message>
@ -240,98 +241,98 @@
<context> <context>
<name>FolderPage</name> <name>FolderPage</name>
<message> <message>
<location filename="../qml/FolderPage.qml" line="144"/> <location filename="../qml/FolderPage.qml" line="147"/>
<source>Empty folder</source> <source>Empty folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="186"/> <location filename="../qml/FolderPage.qml" line="200"/>
<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="64"/>
<location filename="../qml/FolderPage.qml" line="191"/> <location filename="../qml/FolderPage.qml" line="205"/>
<source>Properties</source> <source>Properties</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="51"/> <location filename="../qml/FolderPage.qml" line="54"/>
<source>File</source> <source>File</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="54"/> <location filename="../qml/FolderPage.qml" line="57"/>
<source>New Folder</source> <source>New Folder</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="68"/> <location filename="../qml/FolderPage.qml" line="71"/>
<source>Quit</source> <source>Quit</source>
<translation>退</translation> <translation>退</translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="74"/> <location filename="../qml/FolderPage.qml" line="77"/>
<source>Edit</source> <source>Edit</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="77"/> <location filename="../qml/FolderPage.qml" line="80"/>
<source>Select All</source> <source>Select All</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="84"/> <location filename="../qml/FolderPage.qml" line="87"/>
<source>Cut</source> <source>Cut</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="89"/> <location filename="../qml/FolderPage.qml" line="92"/>
<source>Copy</source> <source>Copy</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="94"/> <location filename="../qml/FolderPage.qml" line="97"/>
<source>Paste</source> <source>Paste</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="100"/> <location filename="../qml/FolderPage.qml" line="103"/>
<source>Help</source> <source>Help</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="103"/> <location filename="../qml/FolderPage.qml" line="106"/>
<source>About</source> <source>About</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="111"/> <location filename="../qml/FolderPage.qml" line="114"/>
<source>File Manager</source> <source>File Manager</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="112"/> <location filename="../qml/FolderPage.qml" line="115"/>
<source>A file manager designed for CutefishOS.</source> <source>A file manager designed for CutefishOS.</source>
<translation> CutefishOS </translation> <translation> CutefishOS </translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="253"/> <location filename="../qml/FolderPage.qml" line="268"/>
<source>%1 item</source> <source>%1 item</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="254"/> <location filename="../qml/FolderPage.qml" line="269"/>
<source>%1 items</source> <source>%1 items</source>
<translation>%1 </translation> <translation>%1 </translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="260"/> <location filename="../qml/FolderPage.qml" line="275"/>
<source>%1 selected</source> <source>%1 selected</source>
<translation> %1 </translation> <translation> %1 </translation>
</message> </message>
<message> <message>
<location filename="../qml/FolderPage.qml" line="284"/> <location filename="../qml/FolderPage.qml" line="300"/>
<source>Empty Trash</source> <source>Empty Trash</source>
<translation></translation> <translation></translation>
</message> </message>
@ -445,6 +446,11 @@
<source>Drives</source> <source>Drives</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<location filename="../model/placesmodel.cpp" line="169"/>
<source>Computer</source>
<translation></translation>
</message>
</context> </context>
<context> <context>
<name>PropertiesDialog</name> <name>PropertiesDialog</name>
@ -505,22 +511,22 @@
<context> <context>
<name>SideBar</name> <name>SideBar</name>
<message> <message>
<location filename="../qml/SideBar.qml" line="113"/> <location filename="../qml/SideBar.qml" line="126"/>
<source>Open</source> <source>Open</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/SideBar.qml" line="124"/> <location filename="../qml/SideBar.qml" line="137"/>
<source>Open in new window</source> <source>Open in new window</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/SideBar.qml" line="138"/> <location filename="../qml/SideBar.qml" line="151"/>
<source>Eject</source> <source>Eject</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/SideBar.qml" line="150"/> <location filename="../qml/SideBar.qml" line="164"/>
<source>Unmount</source> <source>Unmount</source>
<translation></translation> <translation></translation>
</message> </message>