Skip to content

Commit

Permalink
more translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolcha committed Sep 12, 2024
1 parent 8216110 commit 793b7aa
Show file tree
Hide file tree
Showing 14 changed files with 1,228 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(Qt6 6.7 REQUIRED COMPONENTS Widgets Network Svg
OPTIONAL_COMPONENTS Multimedia LinguistTools)

qt_standard_project_setup(I18N_TRANSLATED_LANGUAGES en ru zh_CN)
qt_standard_project_setup(I18N_TRANSLATED_LANGUAGES en ru pt_PT zh_CN)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
include(clock_utils)
Expand Down
548 changes: 548 additions & 0 deletions app/i18n/digital_clock_pt_PT.ts

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions app/res/langs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
en_US=English
ru_RU=Русский
zh_CN=简体中文
pt_PT=Português
173 changes: 173 additions & 0 deletions plugin_core/i18n/plugin_core_pt_PT.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt_PT" sourcelanguage="en_US">
<context>
<name>AppearanceSettingsWidget</name>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="20"/>
<source>Appearance</source>
<translation>Aparência</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="26"/>
<source>position</source>
<translation>Posição</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="32"/>
<source>bottom</source>
<translation>no fundo</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="42"/>
<source>right</source>
<translation>à direita</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="52"/>
<source>content alignment</source>
<translation>Alinhamento</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="70"/>
<source>layout configuration string:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="99"/>
<source>resize policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="105"/>
<source>autoscale</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="112"/>
<source>fixed size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="125"/>
<source>Skin</source>
<translation>Tema</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="131"/>
<source>font</source>
<translation>fonte</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="161"/>
<source>use clock skin instead</source>
<translation>usar tema atual do relógio</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="171"/>
<source>&amp;texture</source>
<translation>textura</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="188"/>
<location filename="../impl/appearance_settings_widget.ui" line="233"/>
<source>solid color</source>
<translation>cor sólida</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="193"/>
<location filename="../impl/appearance_settings_widget.ui" line="238"/>
<source>gradient</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="198"/>
<location filename="../impl/appearance_settings_widget.ui" line="243"/>
<source>pattern</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="206"/>
<location filename="../impl/appearance_settings_widget.ui" line="265"/>
<source>apply per &amp;element</source>
<translation>aplicar por elemento</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="223"/>
<source>&amp;background</source>
<translation>fundo</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="275"/>
<source>appearance</source>
<translation>aparência</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="281"/>
<source>follow clock</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.ui" line="288"/>
<source>custom</source>
<translation>parsonalizado</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.cpp" line="73"/>
<source>left</source>
<comment>alignment</comment>
<translation>esquerda</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.cpp" line="74"/>
<location filename="../impl/appearance_settings_widget.cpp" line="78"/>
<source>center</source>
<comment>alignment</comment>
<translation>centro</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.cpp" line="75"/>
<source>right</source>
<comment>alignment</comment>
<translation>direita</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.cpp" line="77"/>
<source>top</source>
<comment>alignment</comment>
<translation>topo</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.cpp" line="79"/>
<source>bottom</source>
<comment>alignment</comment>
<translation>fundo</translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.cpp" line="274"/>
<location filename="../impl/appearance_settings_widget.cpp" line="406"/>
<source>follow system theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.cpp" line="284"/>
<location filename="../impl/appearance_settings_widget.cpp" line="416"/>
<source>stretch instead of tile</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../impl/appearance_settings_widget.cpp" line="327"/>
<location filename="../impl/appearance_settings_widget.cpp" line="459"/>
<source>Images (*.png *.bmp *.jpg)</source>
<translation>Imagens (*.png *.bmp *.jpg)</translation>
</message>
</context>
<context>
<name>WidgetPluginBase</name>
<message>
<location filename="../widget_plugin_base.cpp" line="39"/>
<source>Plugin</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
35 changes: 35 additions & 0 deletions plugins/any_zoom/i18n/any_zoom_pt_PT.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt_PT" sourcelanguage="en_US">
<context>
<name>AnyZoomPluginFactory</name>
<message>
<location filename="../any_zoom_plugin.cpp" line="62"/>
<source>Allows to set any clock zoom, even different values for X and Y axis.</source>
<translation>Permite definir um aumento qualquer do relógio, até mesmo valores diferentes para o eixo do X e do Y.</translation>
</message>
<message>
<location filename="../any_zoom_plugin.hpp" line="50"/>
<source>Any zoom</source>
<translation>Qualquer aumento</translation>
</message>
</context>
<context>
<name>SettingsWidget</name>
<message>
<location filename="../gui/settings_widget.ui" line="14"/>
<source>Zoom</source>
<translation>Aumento</translation>
</message>
<message>
<location filename="../gui/settings_widget.ui" line="55"/>
<source>Y zoom:</source>
<translation>Aumento Y:</translation>
</message>
<message>
<location filename="../gui/settings_widget.ui" line="97"/>
<source>X zoom:</source>
<translation>Aumento X:</translation>
</message>
</context>
</TS>
124 changes: 124 additions & 0 deletions plugins/chime/i18n/chime_pt_PT.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt_PT" sourcelanguage="en_US">
<context>
<name>ChimePluginFactory</name>
<message>
<location filename="../chime_plugin.cpp" line="98"/>
<source>Chimes with selected period.</source>
<translation>Toca o sino num período selecionado.</translation>
</message>
<message>
<location filename="../chime_plugin.hpp" line="50"/>
<source>Chime</source>
<translation>Tocar o Sino</translation>
</message>
</context>
<context>
<name>chime::SettingsWidget</name>
<message>
<location filename="../gui/settings_widget.ui" line="17"/>
<source>Chime Settings</source>
<translation>Configurações de Tocar o Sino</translation>
</message>
<message>
<location filename="../gui/settings_widget.ui" line="26"/>
<source>Sounds</source>
<translation>Sons</translation>
</message>
<message>
<location filename="../gui/settings_widget.ui" line="32"/>
<source>Hour</source>
<translation>Hora</translation>
</message>
<message>
<location filename="../gui/settings_widget.ui" line="63"/>
<source>Quarter</source>
<translation>Quarto</translation>
</message>
<message>
<location filename="../gui/settings_widget.ui" line="97"/>
<source>Quiet time</source>
<translation>Tempo sosegado</translation>
</message>
<message>
<location filename="../gui/settings_widget.ui" line="103"/>
<source>Enable</source>
<translation>Ativar</translation>
</message>
<message>
<location filename="../gui/settings_widget.cpp" line="25"/>
<location filename="../gui/settings_widget.cpp" line="28"/>
<source>Once</source>
<translation>Uma vez</translation>
</message>
<message>
<location filename="../gui/settings_widget.cpp" line="26"/>
<source>1-12 times</source>
<translation>1-12 vezes</translation>
</message>
<message>
<location filename="../gui/settings_widget.cpp" line="29"/>
<source>1-3 times</source>
<translation>1-3 vezes</translation>
</message>
</context>
<context>
<name>chime::SoundDialog</name>
<message>
<location filename="../gui/sound_dialog.ui" line="14"/>
<source>Sound Settings</source>
<translation>Configurações do Som</translation>
</message>
<message>
<location filename="../gui/sound_dialog.ui" line="23"/>
<source>Sound</source>
<translation>Som</translation>
</message>
<message>
<location filename="../gui/sound_dialog.ui" line="29"/>
<source>default</source>
<translation>padrão</translation>
</message>
<message>
<location filename="../gui/sound_dialog.ui" line="55"/>
<source>custom</source>
<translation>parsonalizado</translation>
</message>
<message>
<location filename="../gui/sound_dialog.ui" line="85"/>
<source>Volume</source>
<translation>Volume</translation>
</message>
<message>
<location filename="../gui/sound_dialog.cpp" line="24"/>
<source>sound 1</source>
<translation>som 1</translation>
</message>
<message>
<location filename="../gui/sound_dialog.cpp" line="25"/>
<source>sound 2</source>
<translation>som 2</translation>
</message>
<message>
<location filename="../gui/sound_dialog.cpp" line="26"/>
<source>sound 3</source>
<translation>som 3</translation>
</message>
<message>
<location filename="../gui/sound_dialog.cpp" line="27"/>
<source>sound 4</source>
<translation>som 4</translation>
</message>
<message>
<location filename="../gui/sound_dialog.cpp" line="123"/>
<source>Select sound</source>
<translation>Selecionar som</translation>
</message>
<message>
<location filename="../gui/sound_dialog.cpp" line="125"/>
<source>Sounds (*.wav *.mp3 *.ogg *.oga *.m4a);;All files (*.*)</source>
<translation>Sons (*.wav *.mp3 *.ogg *.oga *.m4a);;Todos os ficheiros (*.*)</translation>
</message>
</context>
</TS>
Loading

0 comments on commit 793b7aa

Please sign in to comment.