Skip to content

Commit

Permalink
cleanup after translation switch support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolcha committed Sep 12, 2024
1 parent 702d863 commit 732ec03
Show file tree
Hide file tree
Showing 7 changed files with 374 additions and 327 deletions.
221 changes: 118 additions & 103 deletions app/i18n/digital_clock_en.ts

Large diffs are not rendered by default.

221 changes: 118 additions & 103 deletions app/i18n/digital_clock_ru.ts

Large diffs are not rendered by default.

221 changes: 118 additions & 103 deletions app/i18n/digital_clock_zh_CN.ts

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions plugins/chime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

project(chime VERSION 2.0.1 LANGUAGES CXX)

set(CMAKE_AUTORCC ON)

qt_add_plugin(${PROJECT_NAME} CLASS_NAME ChimePluginFactory
gui/settings_widget.cpp
gui/settings_widget.hpp
Expand Down
12 changes: 6 additions & 6 deletions plugins/quick_note/i18n/quick_note_en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,36 @@
<context>
<name>QuickNotePlugin</name>
<message>
<location filename="../quick_note_plugin.cpp" line="49"/>
<location filename="../quick_note_plugin.cpp" line="55"/>
<source>double click me!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../quick_note_plugin.cpp" line="56"/>
<location filename="../quick_note_plugin.cpp" line="62"/>
<source>Nothing is here!
Double click the widget to change the text.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../quick_note_plugin.cpp" line="78"/>
<location filename="../quick_note_plugin.cpp" line="84"/>
<source>Quick note</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../quick_note_plugin.cpp" line="79"/>
<location filename="../quick_note_plugin.cpp" line="85"/>
<source>Enter the desired note</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickNotePluginFactory</name>
<message>
<location filename="../quick_note_plugin.cpp" line="95"/>
<location filename="../quick_note_plugin.cpp" line="102"/>
<source>Allows to display any short message under the clock.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../quick_note_plugin.hpp" line="43"/>
<location filename="../quick_note_plugin.hpp" line="45"/>
<source>Quick note</source>
<translation type="unfinished"></translation>
</message>
Expand Down
12 changes: 6 additions & 6 deletions plugins/quick_note/i18n/quick_note_ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@
<context>
<name>QuickNotePlugin</name>
<message>
<location filename="../quick_note_plugin.cpp" line="49"/>
<location filename="../quick_note_plugin.cpp" line="55"/>
<source>double click me!</source>
<translation>двойной щелчок здесь!</translation>
</message>
<message>
<location filename="../quick_note_plugin.cpp" line="56"/>
<location filename="../quick_note_plugin.cpp" line="62"/>
<source>Nothing is here!
Double click the widget to change the text.</source>
<translation>Здесь ничего нет!
Сделайте двойной щелчок по виджету чтобы изменить текст.</translation>
</message>
<message>
<location filename="../quick_note_plugin.cpp" line="78"/>
<location filename="../quick_note_plugin.cpp" line="84"/>
<source>Quick note</source>
<translation>Быстрая заметка</translation>
</message>
<message>
<location filename="../quick_note_plugin.cpp" line="79"/>
<location filename="../quick_note_plugin.cpp" line="85"/>
<source>Enter the desired note</source>
<translation>Введите желаемый текст</translation>
</message>
</context>
<context>
<name>QuickNotePluginFactory</name>
<message>
<location filename="../quick_note_plugin.cpp" line="95"/>
<location filename="../quick_note_plugin.cpp" line="102"/>
<source>Allows to display any short message under the clock.</source>
<translation>Отображает короткое сообщение под часами.</translation>
</message>
<message>
<location filename="../quick_note_plugin.hpp" line="43"/>
<location filename="../quick_note_plugin.hpp" line="45"/>
<source>Quick note</source>
<translation>Быстрая заметка</translation>
</message>
Expand Down
12 changes: 6 additions & 6 deletions plugins/quick_note/i18n/quick_note_zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,36 @@
<context>
<name>QuickNotePlugin</name>
<message>
<location filename="../quick_note_plugin.cpp" line="49"/>
<location filename="../quick_note_plugin.cpp" line="55"/>
<source>double click me!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../quick_note_plugin.cpp" line="56"/>
<location filename="../quick_note_plugin.cpp" line="62"/>
<source>Nothing is here!
Double click the widget to change the text.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../quick_note_plugin.cpp" line="78"/>
<location filename="../quick_note_plugin.cpp" line="84"/>
<source>Quick note</source>
<translation>便捷笔记</translation>
</message>
<message>
<location filename="../quick_note_plugin.cpp" line="79"/>
<location filename="../quick_note_plugin.cpp" line="85"/>
<source>Enter the desired note</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QuickNotePluginFactory</name>
<message>
<location filename="../quick_note_plugin.cpp" line="95"/>
<location filename="../quick_note_plugin.cpp" line="102"/>
<source>Allows to display any short message under the clock.</source>
<translation>在时钟下显示一段简短的自定义内容。</translation>
</message>
<message>
<location filename="../quick_note_plugin.hpp" line="43"/>
<location filename="../quick_note_plugin.hpp" line="45"/>
<source>Quick note</source>
<translation>便捷笔记</translation>
</message>
Expand Down

0 comments on commit 732ec03

Please sign in to comment.