Change the folder attribute Time Modified to Time Created
This commit is contained in:
parent
c9236c7a0c
commit
4b6026b4ff
@ -0,0 +1,67 @@
|
||||
From 59c704e8afe87e9219014778faed4db7d3377339 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Wed, 28 Dec 2022 17:21:54 +0800
|
||||
Subject: [PATCH] Change the folder attribute Time Modified to Time Created
|
||||
|
||||
---
|
||||
libpeony-qt/controls/property-page/basic-properties-page.cpp | 2 +-
|
||||
translations/libpeony-qt/libpeony-qt_tr.ts | 4 ++--
|
||||
translations/libpeony-qt/libpeony-qt_zh_CN.ts | 4 ++--
|
||||
3 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/libpeony-qt/controls/property-page/basic-properties-page.cpp b/libpeony-qt/controls/property-page/basic-properties-page.cpp
|
||||
index 2d4c7fc..73fd2db 100644
|
||||
--- a/libpeony-qt/controls/property-page/basic-properties-page.cpp
|
||||
+++ b/libpeony-qt/controls/property-page/basic-properties-page.cpp
|
||||
@@ -386,7 +386,7 @@ void BasicPropertiesPage::initFloorThree(BasicPropertiesPage::FileType fileType)
|
||||
case BP_MultipleFIle:
|
||||
case BP_Folder:
|
||||
m_timeCreatedLabel = this->createFixedLabel(0,32,floor3);
|
||||
- layout3->addRow(this->createFixedLabel(m_labelWidth,32,tr("Time Modified:"),floor3), m_timeCreatedLabel);
|
||||
+ layout3->addRow(this->createFixedLabel(m_labelWidth,32,tr("Time Created:"),floor3), m_timeCreatedLabel);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
diff --git a/translations/libpeony-qt/libpeony-qt_tr.ts b/translations/libpeony-qt/libpeony-qt_tr.ts
|
||||
index 01c67c8..f85ef21 100644
|
||||
--- a/translations/libpeony-qt/libpeony-qt_tr.ts
|
||||
+++ b/translations/libpeony-qt/libpeony-qt_tr.ts
|
||||
@@ -607,13 +607,13 @@
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
+ <location filename="../../libpeony-qt/controls/property-page/basic-properties-page.cpp" line="389"/>
|
||||
<source>Time Created:</source>
|
||||
- <translation type="vanished">Oluşturma Zamanı:</translation>
|
||||
+ <translation>Oluşturma Zamanı:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../libpeony-qt/controls/property-page/basic-properties-page.cpp" line="90"/>
|
||||
<location filename="../../libpeony-qt/controls/property-page/basic-properties-page.cpp" line="383"/>
|
||||
- <location filename="../../libpeony-qt/controls/property-page/basic-properties-page.cpp" line="389"/>
|
||||
<source>Time Modified:</source>
|
||||
<translation>Değiştirme Zamanı:</translation>
|
||||
</message>
|
||||
diff --git a/translations/libpeony-qt/libpeony-qt_zh_CN.ts b/translations/libpeony-qt/libpeony-qt_zh_CN.ts
|
||||
index 9bf2358..3d74b7a 100644
|
||||
--- a/translations/libpeony-qt/libpeony-qt_zh_CN.ts
|
||||
+++ b/translations/libpeony-qt/libpeony-qt_zh_CN.ts
|
||||
@@ -612,13 +612,13 @@
|
||||
<translation>yyyy年MM月dd日, hh:mm:ss AP</translation>
|
||||
</message>
|
||||
<message>
|
||||
+ <location filename="../../libpeony-qt/controls/property-page/basic-properties-page.cpp" line="389"/>
|
||||
<source>Time Created:</source>
|
||||
- <translation type="vanished">创建时间:</translation>
|
||||
+ <translation>创建时间:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../libpeony-qt/controls/property-page/basic-properties-page.cpp" line="90"/>
|
||||
<location filename="../../libpeony-qt/controls/property-page/basic-properties-page.cpp" line="383"/>
|
||||
- <location filename="../../libpeony-qt/controls/property-page/basic-properties-page.cpp" line="389"/>
|
||||
<source>Time Modified:</source>
|
||||
<translation>修改时间:</translation>
|
||||
</message>
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -2,11 +2,12 @@
|
||||
|
||||
Name: peony
|
||||
Version: 3.2.4
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: file Manager for the UKUI desktop
|
||||
License: GPL-3.0-or-later and MIT and BSD-3-Clause
|
||||
URL: http://www.ukui.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch01: 0001-Change-the-folder-attribute-Time-Modified-to-Time-Created.patch
|
||||
|
||||
BuildRequires: libudisks2-devel
|
||||
BuildRequires: libnotify-devel
|
||||
@ -77,6 +78,7 @@ Provides: libpeony
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch01 -p1
|
||||
|
||||
%build
|
||||
qmake-qt5
|
||||
@ -132,6 +134,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_prefix}/%{_lib}/*.so
|
||||
|
||||
%changelog
|
||||
* Wed Dec 28 2022 peijiankang <peijiankang@kylinos.cn> - 3.2.4-5
|
||||
- Change the folder attribute Time Modified to Time Created
|
||||
|
||||
* Wed Jul 13 2022 peijiankang <peijiankang@kylinos.cn> - 3.2.4-4
|
||||
- add qt5-qttranslations
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user