diff --git a/main.cpp b/main.cpp index 0be9f1a..1d8ed04 100644 --- a/main.cpp +++ b/main.cpp @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) { - QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); + //QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true); // Register QML Type. diff --git a/qml/FolderPage.qml b/qml/FolderPage.qml index 4adb789..5f3bc39 100644 --- a/qml/FolderPage.qml +++ b/qml/FolderPage.qml @@ -101,10 +101,18 @@ Item { MenuItem { text: qsTr("About") + onTriggered: _aboutDialog.show() } } } + FishUI.AboutDialog { + id: _aboutDialog + name: qsTr("File Manager") + description: qsTr("A file manager designed for CutefishOS.") + iconSource: "image://icontheme/file-system-manager" + } + Rectangle { id: _background anchors.fill: parent diff --git a/translations/en_US.ts b/translations/en_US.ts index 18bdda1..0d21481 100644 --- a/translations/en_US.ts +++ b/translations/en_US.ts @@ -14,12 +14,12 @@ New folder - + Cancel Cancel - + OK OK @@ -127,112 +127,112 @@ FolderModel - + %1 item %1 item - + %1 items %1 items - + The file or folder %1 does not exist. The file or folder %1 does not exist. - + Select All Select All - + File Manager File Manager - + Open Open - + Open with Open with - + Cut Cut - + Copy Copy - + Paste Paste - + New Folder New Folder - + Move To Trash Move To Trash - + Empty Trash Empty Trash - + Delete Delete - + Rename Rename - + Open in Terminal Open in Terminal - + Set as Wallpaper Set as Wallpaper - + Properties Properties - + Change background Change background - + Restore Restore - + Show hidden files Show hidden files - + Open in new window @@ -240,18 +240,18 @@ FolderPage - + Empty folder Empty folder - + Open Open - + Properties Properties @@ -306,22 +306,32 @@ About - + + File Manager + File Manager + + + + A file manager designed for CutefishOS. + + + + %1 item %1 item - + %1 items %1 items - + %1 selected %1 selected - + Empty Trash Empty Trash diff --git a/translations/zh_CN.ts b/translations/zh_CN.ts index 443259e..986549c 100644 --- a/translations/zh_CN.ts +++ b/translations/zh_CN.ts @@ -14,12 +14,12 @@ 新建文件夹 - + Cancel 取消 - + OK 确定 @@ -127,112 +127,112 @@ FolderModel - + %1 item %1 项 - + %1 items %1 项 - + The file or folder %1 does not exist. 文件或文件夹 %1 不存在 - + Select All 全选 - + File Manager 文件管理器 - + Open 打开 - + Open with 打开方式 - + Cut 剪切 - + Copy 复制 - + Paste 粘贴 - + New Folder 新建文件夹 - + Move To Trash 移动到回收站 - + Empty Trash 清空回收站 - + Delete 删除 - + Rename 重命名 - + Open in Terminal 在终端中打开 - + Set as Wallpaper 设置为壁纸 - + Properties 属性 - + Change background 更改桌面背景 - + Restore 恢复 - + Show hidden files 显示隐藏文件 - + Open in new window 在新窗口中打开 @@ -240,18 +240,18 @@ FolderPage - + Empty folder 空文件夹 - + Open 打开 - + Properties 属性 @@ -306,22 +306,32 @@ 关于 - + + File Manager + 文件管理器 + + + + A file manager designed for CutefishOS. + 专为 CutefishOS 打造的文件管理器 + + + %1 item %1 项 - + %1 items %1 项 - + %1 selected 选中了 %1 项 - + Empty Trash 清空回收站