Update translations

This commit is contained in:
reionwong 2021-06-14 21:47:42 +08:00
parent a6442684dc
commit 73a2ed7f5f
4 changed files with 39 additions and 17 deletions

View file

@ -10,7 +10,7 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt5 CONFIG REQUIRED Widgets DBus X11Extras Concurrent Svg LinguistTools QuickControls2) find_package(Qt5 CONFIG REQUIRED Widgets DBus X11Extras Concurrent LinguistTools QuickControls2)
find_package(KF5WindowSystem REQUIRED) find_package(KF5WindowSystem REQUIRED)
find_package(FishUI REQUIRED) find_package(FishUI REQUIRED)
@ -46,7 +46,6 @@ target_link_libraries(${PROJECT_NAME} PRIVATE
Qt5::X11Extras Qt5::X11Extras
Qt5::Concurrent Qt5::Concurrent
Qt5::DBus Qt5::DBus
Qt5::Svg
FishUI FishUI

View file

@ -42,7 +42,7 @@ Item {
id: _background id: _background
anchors.fill: parent anchors.fill: parent
radius: windowRadius radius: windowRadius
color: FishUI.Theme.darkMode ? "#828286" : "#F2F2F2" color: FishUI.Theme.darkMode ? "#333333" : "#F2F2F2"
opacity: FishUI.Theme.darkMode ? 0.5 : 0.4 opacity: FishUI.Theme.darkMode ? 0.5 : 0.4
border.width: 0 border.width: 0

View file

@ -4,32 +4,55 @@
<context> <context>
<name>AppItem</name> <name>AppItem</name>
<message> <message>
<location filename="../qml/AppItem.qml" line="44"/> <location filename="../qml/AppItem.qml" line="73"/>
<source>Open</source> <source>Open</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/AppItem.qml" line="56"/> <location filename="../qml/AppItem.qml" line="85"/>
<source>Unpin</source> <source>Unpin</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/AppItem.qml" line="56"/> <location filename="../qml/AppItem.qml" line="85"/>
<source>Pin</source> <source>Pin</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/AppItem.qml" line="63"/> <location filename="../qml/AppItem.qml" line="94"/>
<source>Close All</source> <source>Close window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/AppItem.qml" line="95"/>
<source>Close %1 windows</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>
<name>ApplicationModel</name> <name>ApplicationModel</name>
<message> <message>
<location filename="../src/applicationmodel.cpp" line="282"/> <location filename="../src/applicationmodel.cpp" line="285"/>
<source>Launcher</source> <source>Launcher</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>main</name>
<message>
<location filename="../qml/main.qml" line="114"/>
<source>Trash</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/main.qml" line="124"/>
<source>Open</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/main.qml" line="129"/>
<source>Empty Trash</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS> </TS>

View file

@ -4,27 +4,27 @@
<context> <context>
<name>AppItem</name> <name>AppItem</name>
<message> <message>
<location filename="../qml/AppItem.qml" line="54"/> <location filename="../qml/AppItem.qml" line="73"/>
<source>Open</source> <source>Open</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/AppItem.qml" line="66"/> <location filename="../qml/AppItem.qml" line="85"/>
<source>Unpin</source> <source>Unpin</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/AppItem.qml" line="66"/> <location filename="../qml/AppItem.qml" line="85"/>
<source>Pin</source> <source>Pin</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/AppItem.qml" line="75"/> <location filename="../qml/AppItem.qml" line="94"/>
<source>Close window</source> <source>Close window</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/AppItem.qml" line="76"/> <location filename="../qml/AppItem.qml" line="95"/>
<source>Close %1 windows</source> <source>Close %1 windows</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
@ -40,17 +40,17 @@
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
<location filename="../qml/main.qml" line="136"/> <location filename="../qml/main.qml" line="114"/>
<source>Trash</source> <source>Trash</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/main.qml" line="146"/> <location filename="../qml/main.qml" line="124"/>
<source>Open</source> <source>Open</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/main.qml" line="151"/> <location filename="../qml/main.qml" line="129"/>
<source>Empty Trash</source> <source>Empty Trash</source>
<translation></translation> <translation></translation>
</message> </message>