diff --git a/CMakeLists.txt b/CMakeLists.txt index 1220da9..8bc824e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/app/i18n/digital_clock_pt_PT.ts b/app/i18n/digital_clock_pt_PT.ts new file mode 100644 index 0000000..9bc8065 --- /dev/null +++ b/app/i18n/digital_clock_pt_PT.ts @@ -0,0 +1,548 @@ + + + + + AboutDialog + + + About + Sobre + + + + Info + Info + + + + Links + Hiperligações + + + + Useful links + Hiperligações úteis + + + + <a href="https://digitalclock4.sourceforge.io/">project home page</a> + <a href="https://digitalclock4.sourceforge.io/">página principal do projeto</a> + + + + <a href="https://github.com/Kolcha/DigitalClock5/issues">bug report/feature request</a> + <a href="https://github.com/Kolcha/DigitalClock5/issues">reportar erro ou pedir melhorias</a> + + + + <a href="https://github.com/Kolcha/DigitalClock5/wiki/Translate">help to translate</a> + + + + + <a href="https://github.com/Kolcha/DigitalClock5/commits/master/">view full changelog</a> + <a href="https://github.com/Kolcha/DigitalClock5/commits/master/">ver registo de alterações completo</a> + + + + <a href="https://github.com/Kolcha/DigitalClock5/wiki">project Wiki home page</a> + <a href="https://github.com/Kolcha/DigitalClock5/wiki">página principal da Wiki do projeto</a> + + + + More info + Mais informações + + + + version: %1 + versão: %1 + + + + build date: %1 + data de compilação: %1 + + + + Application + + + Settings + Configurações + + + + About + Sobre + + + + Quit + Sair + + + + Position + Posição + + + + Top + Topo + + + + + + Left + Esquerda + + + + + + + Middle + Meio + + + + + + Right + Direita + + + + Bottom + Fundo + + + + ClockWindow + + + Settings + Configurações + + + + About + Sobre + + + + Quit + Sair + + + + Position + Posição + + + + Top + Topo + + + + + + Left + Esquerda + + + + + + + Middle + Meio + + + + + + Right + Direita + + + + Bottom + Fundo + + + + PluginInfoDialog + + + About plugin + Sobre o módulo + + + + version: %1 + versão: %1 + + + + unknown + desconhecido + + + + PluginSettingsDialog + + + Instance %1 + + + + + SettingsDialog + + + Settings + Configurações + + + + App &Global + + + + + transparent for m&ouse events + transparente para o rato + + + + become almost transparent on mouse &hover + + + + + &hide completely + + + + + enable multiple &clocks + + + + + same appea&rance + + + + + check for &updates every + Verificar por atualizações a cada + + + + include &beta + verificar lançamentos beta + + + + enable &debug options + + + + + Most of options listed here require app restart to take effect. + + + + + stay on &top of other windows + manter por cima de tudo + + + + show clock in fullscreen mode (may not work for some apps) + mostrar relógio no modo ecrã total (pode não funcionar para algumas aplicações) + + + + show in fullscreen mode + mostrar relógio no modo ecrã total + + + + start on &system startup + Iniciar no arranque do sistema + + + + help to translate + + + + + &Format + Formato + + + + replacement characters for ':' in format + + + + + custo&m format + personalizado + + + + custom separators (will be used instead of '&:') + + + + + make seco&nds smaller, + + + + + of clock's &height + + + + + layout &config string (useful only for multiline formats) + + + + + Apply + Aplicar + + + + display time in another time &zone + mostrar tempo noutro fuso horário + + + + &12h + + + + + leading &zero + + + + + show &seconds + + + + + &24h + + + + + show AM&/PM + + + + + add space &before AM/PM + + + + + &uppercase + + + + + &lowercase + + + + + &Appearance + Aparência + + + + fo&nt + fonte + + + + s&kin + tema + + + + flashing sepa&rator + flashes do separador + + + + &texture + textura + + + + + solid color + cor sólida + + + + + gradient + + + + + + pattern + + + + + + apply per &element + aplicar por elemento + + + + &opacity + opacidade + + + + s&caling + aproximação + + + + &colorize + colorir + + + + colorization color + + + + + &background + fundo + + + + alignment + alinhamento + + + + &left + esquerda + + + + &center + centro + + + + &right + direita + + + + spacing + + + + + &H: + + + + + &V: + + + + + &Misc + Vários + + + + &Plugins + Módulos + + + + Import + Importar + + + + Export + Exportar + + + + window %1 + + + + + + follow system theme + + + + + + stretch instead of tile + + + + + + Images (*.png *.bmp *.jpg) + Imagens (*.png *.bmp *.jpg) + + + + Automatic + + + + + 1 day + 1 dia + + + + 1 week + 1 semana + + + + 2 weeks + 2 semanas + + + + 1 month + + + + diff --git a/app/res/langs.ini b/app/res/langs.ini index f39f8f6..988541d 100644 --- a/app/res/langs.ini +++ b/app/res/langs.ini @@ -2,3 +2,4 @@ en_US=English ru_RU=Русский zh_CN=简体中文 +pt_PT=Português diff --git a/plugin_core/i18n/plugin_core_pt_PT.ts b/plugin_core/i18n/plugin_core_pt_PT.ts new file mode 100644 index 0000000..6788f9b --- /dev/null +++ b/plugin_core/i18n/plugin_core_pt_PT.ts @@ -0,0 +1,173 @@ + + + + + AppearanceSettingsWidget + + + Appearance + Aparência + + + + position + Posição + + + + bottom + no fundo + + + + right + à direita + + + + content alignment + Alinhamento + + + + layout configuration string: + + + + + resize policy + + + + + autoscale + + + + + fixed size + + + + + Skin + Tema + + + + font + fonte + + + + use clock skin instead + usar tema atual do relógio + + + + &texture + textura + + + + + solid color + cor sólida + + + + + gradient + + + + + + pattern + + + + + + apply per &element + aplicar por elemento + + + + &background + fundo + + + + appearance + aparência + + + + follow clock + + + + + custom + parsonalizado + + + + left + alignment + esquerda + + + + + center + alignment + centro + + + + right + alignment + direita + + + + top + alignment + topo + + + + bottom + alignment + fundo + + + + + follow system theme + + + + + + stretch instead of tile + + + + + + Images (*.png *.bmp *.jpg) + Imagens (*.png *.bmp *.jpg) + + + + WidgetPluginBase + + + Plugin + + + + diff --git a/plugins/any_zoom/i18n/any_zoom_pt_PT.ts b/plugins/any_zoom/i18n/any_zoom_pt_PT.ts new file mode 100644 index 0000000..058871c --- /dev/null +++ b/plugins/any_zoom/i18n/any_zoom_pt_PT.ts @@ -0,0 +1,35 @@ + + + + + AnyZoomPluginFactory + + + Allows to set any clock zoom, even different values for X and Y axis. + Permite definir um aumento qualquer do relógio, até mesmo valores diferentes para o eixo do X e do Y. + + + + Any zoom + Qualquer aumento + + + + SettingsWidget + + + Zoom + Aumento + + + + Y zoom: + Aumento Y: + + + + X zoom: + Aumento X: + + + diff --git a/plugins/chime/i18n/chime_pt_PT.ts b/plugins/chime/i18n/chime_pt_PT.ts new file mode 100644 index 0000000..ab1fafd --- /dev/null +++ b/plugins/chime/i18n/chime_pt_PT.ts @@ -0,0 +1,124 @@ + + + + + ChimePluginFactory + + + Chimes with selected period. + Toca o sino num período selecionado. + + + + Chime + Tocar o Sino + + + + chime::SettingsWidget + + + Chime Settings + Configurações de Tocar o Sino + + + + Sounds + Sons + + + + Hour + Hora + + + + Quarter + Quarto + + + + Quiet time + Tempo sosegado + + + + Enable + Ativar + + + + + Once + Uma vez + + + + 1-12 times + 1-12 vezes + + + + 1-3 times + 1-3 vezes + + + + chime::SoundDialog + + + Sound Settings + Configurações do Som + + + + Sound + Som + + + + default + padrão + + + + custom + parsonalizado + + + + Volume + Volume + + + + sound 1 + som 1 + + + + sound 2 + som 2 + + + + sound 3 + som 3 + + + + sound 4 + som 4 + + + + Select sound + Selecionar som + + + + Sounds (*.wav *.mp3 *.ogg *.oga *.m4a);;All files (*.*) + Sons (*.wav *.mp3 *.ogg *.oga *.m4a);;Todos os ficheiros (*.*) + + + diff --git a/plugins/countdown_timer/i18n/countdown_timer_pt_PT.ts b/plugins/countdown_timer/i18n/countdown_timer_pt_PT.ts new file mode 100644 index 0000000..d9850a7 --- /dev/null +++ b/plugins/countdown_timer/i18n/countdown_timer_pt_PT.ts @@ -0,0 +1,132 @@ + + + + + CountdownTimerPlugin + + + Countdown timer + Contador decrescente + + + + CountdownTimerPluginFactory + + + Just a countdown timer. + Apenas um contador decrescente. + + + + Countdown timer + Contador decrescente + + + + HotkeysSettingsWidget + + + Hotkeys + + + + + pause timer + + + + + restart timer + + + + + TimerSettingsWidget + + + Timer + Contador + + + + target time + tempo alvo + + + + interval + intervalo + + + + hours + horas + + + + minutes + minutos + + + + seconds + segundos + + + + minimum days count to show + + + + + If remaining days count less than this value, days will not be shown. +Set this to -1 to never show days count, or to 0 to always show. + + + + + also hide hours + + + + + restart on double click + + + + + auto-restart countdown + + + + + hide timer when it is not active + + + + + reverse counting + + + + + chime when countdown finishes + + + + + show custom message on timeout + + + + + Open File + + + + + Sounds (*.wav *.mp3 *.ogg *.oga *.m4a) + + + + diff --git a/plugins/date/i18n/date_pt_PT.ts b/plugins/date/i18n/date_pt_PT.ts new file mode 100644 index 0000000..574e6cc --- /dev/null +++ b/plugins/date/i18n/date_pt_PT.ts @@ -0,0 +1,60 @@ + + + + + DatePluginFactory + + + Allows to display current date under the clock. + Permite mostrar a data atual por baixo do relógio. + + + + Date + Data + + + + SettingsWidget + + + Date + Data + + + + Date Format + Formato + + + + system + sistema + + + + custom + personalizado + + + + MMMM d, yyyy'\nWeek: 'WW + MMMM d, yyyy'\nSemana: 'WW + + + + yyyy-MM-dd'\nweek': WW'\nday': J + yyyy-MM-dd'\nsemana': WW'\ndia': J + + + + long system format + longo + + + + short system format + curto + + + diff --git a/plugins/quick_note/i18n/quick_note_pt_PT.ts b/plugins/quick_note/i18n/quick_note_pt_PT.ts new file mode 100644 index 0000000..4b340fc --- /dev/null +++ b/plugins/quick_note/i18n/quick_note_pt_PT.ts @@ -0,0 +1,41 @@ + + + + + QuickNotePlugin + + + double click me! + + + + + Nothing is here! +Double click the widget to change the text. + + + + + Quick note + Nota rápida + + + + Enter the desired note + + + + + QuickNotePluginFactory + + + Allows to display any short message under the clock. + Permite mostrar uma mensagem curta qualquer por baixo do relógio. + + + + Quick note + Nota rápida + + + diff --git a/plugins/random_position/i18n/random_position_pt_PT.ts b/plugins/random_position/i18n/random_position_pt_PT.ts new file mode 100644 index 0000000..37e4421 --- /dev/null +++ b/plugins/random_position/i18n/random_position_pt_PT.ts @@ -0,0 +1,17 @@ + + + + + RandomPositionPluginFactory + + + Randomly changes clock position during time. + + + + + Random position + + + + diff --git a/plugins/sample/i18n/sample_pt_PT.ts b/plugins/sample/i18n/sample_pt_PT.ts new file mode 100644 index 0000000..9cf563b --- /dev/null +++ b/plugins/sample/i18n/sample_pt_PT.ts @@ -0,0 +1,17 @@ + + + + + SamplePluginFactory + + + Test plugin just for debugging and testing purposes. Also can be used as minimal example. Does nothing. + + + + + Sample Plugin + + + + diff --git a/plugins/spectrum_clock/i18n/spectrum_clock_pt_PT.ts b/plugins/spectrum_clock/i18n/spectrum_clock_pt_PT.ts new file mode 100644 index 0000000..47d1bf8 --- /dev/null +++ b/plugins/spectrum_clock/i18n/spectrum_clock_pt_PT.ts @@ -0,0 +1,12 @@ + + + + + SpectrumClockPluginFactory + + + Changes clock color during time. + Altera a cor o relógio ao longo do tempo. + + + diff --git a/plugins/stopwatch/i18n/stopwatch_pt_PT.ts b/plugins/stopwatch/i18n/stopwatch_pt_PT.ts new file mode 100644 index 0000000..5178552 --- /dev/null +++ b/plugins/stopwatch/i18n/stopwatch_pt_PT.ts @@ -0,0 +1,50 @@ + + + + + HotkeysSettingsWidget + + + Hotkeys + + + + + pause timer + + + + + restart timer + + + + + StopwatchPluginFactory + + + Very simple stopwatch. +Single click to start/pause. +Double click to reset/restart. + + + + + Stopwatch + + + + + TimerSettingsWidget + + + Timer + + + + + hide timer when it is not active + + + + diff --git a/plugins/var_translucency/i18n/var_translucency_pt_PT.ts b/plugins/var_translucency/i18n/var_translucency_pt_PT.ts new file mode 100644 index 0000000..10d13a7 --- /dev/null +++ b/plugins/var_translucency/i18n/var_translucency_pt_PT.ts @@ -0,0 +1,17 @@ + + + + + VarTranslucencyPluginFactory + + + Changes clock opacity level during time. + Altera a opacidade do relógio ao longo to tempo. + + + + Variable translucency + Translúcido variável + + +