diff --git a/libfm-qt-0.14.1/src/folderitemdelegate.cpp b/libfm-qt-0.14.1/src/folderitemdelegate.cpp
index ea6f0d145dc30d8b3be48af59f3a2ea86c663273..04681a586e9be9077acadd9cf567460a293456a4 100644
--- a/libfm-qt-0.14.1/src/folderitemdelegate.cpp
+++ b/libfm-qt-0.14.1/src/folderitemdelegate.cpp
@@ -205,10 +205,10 @@ void FolderItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& op
painter->drawRoundedRect(QRect(pos_x + 78,pos_y+30,len,10),5,5);
- QString str = freesize + "可用,共" + totsize;
+ QString str = freesize + tr(" spare,total ") + totsize;
painter->setPen(QColor("#aeaeae"));
painter->setBrush(Qt::NoBrush);
- painter->drawText(QRect(pos_x + 78,pos_y+ 45,200,20),str);
+ painter->drawText(QRect(pos_x + 78,pos_y+ 45,600,100),str);
}
}
diff --git a/libfm-qt-0.14.1/src/translations/libfm-qt_zh_CN.ts b/libfm-qt-0.14.1/src/translations/libfm-qt_zh_CN.ts
index d1f34918c9f6fd4609074cdfc922df27531d7689..7ed7a114ab5d16c994771fa1c6e3489bc5abac7f 100644
--- a/libfm-qt-0.14.1/src/translations/libfm-qt_zh_CN.ts
+++ b/libfm-qt-0.14.1/src/translations/libfm-qt_zh_CN.ts
@@ -374,6 +374,14 @@
选择用于打开“%1”文件的应用程序
+
+ Fm::FolderItemDelegate
+
+
+ spare,total
+ 空闲,共
+
+
Fm::Bookmarks
diff --git a/libfm-qt.spec b/libfm-qt.spec
index b849654de86d0a56529162187479e70524990cad..baa5fe469c148b13b980e9b069a0816b202305e6 100644
--- a/libfm-qt.spec
+++ b/libfm-qt.spec
@@ -1,6 +1,6 @@
Name: libfm-qt
Version: 0.14.1
-Release: 194%{?dist}
+Release: 195%{?dist}
Summary: Companion library for PCManFM
License: GPLv2+
URL: http://www.gd-linux.com
@@ -129,6 +129,9 @@ sed -i "s/Requires:.*/Requires: Qt5Widgets Qt5X11Extras/" %{buildroot}/%{_libdir
%dir %{_datadir}/libfm-qt/translations
%changelog
+* Mon Sep 27 2021 Li Shengsong - 0.14.1-195
+- 磁盘挂载点多国语言支持(#4240)
+
* Wed Sep 22 2021 Wu Shangmin - 0.14.1-194
- 异常关闭文件夹后,将文件夹删除,点击文件管理器,点击恢复关闭前状态,出现空目录(#4204)