Verified Commit a965d78b authored by Alf Gaida's avatar Alf Gaida

Adding upstream version 0.14.1.

Signed-off-by: Alf Gaida's avatarAlf Gaida <agaida@siduction.org>
parent 4f66f4eb
liblxqt-0.14.1 / 2019-02-24
===========================
* Bumped version to 0.14.1
* Enable/disable a standard button if it exists. This is needed for adding
Apply button later because Apply button should be enabled/disabled
appropriately.
* Updated translations
* Note for packagers: liblxqt now depend on libqtxdg 3.3.1
liblxqt-0.14.0 / 2019-01-25
===========================
* Implementation fixed:
- Added missing text color of our HTML delegate
- Use the new signal and slot syntax
- Use the new signal and slot syntax
- Don't use automatic string conversions
- lxqtbacklight: centralize fopen() and perform path handling with length checks
- lxqtbacklight: apply maximum string length to fscanf to prevent overflow
......@@ -14,7 +23,7 @@ liblxqt-0.14.0 / 2019-01-25
- lxqtbacklight: fix and improve command line parameter handling
- lxqtbacklight: only pass basename into open_driver_file()
- lxqt-backlight: Simplify string construction
- lxqthtmldelegate: Position, alignment and size fixes for HTML delegate
- lxqthtmldelegate: Position, alignment and size fixes for HTML delegate
- lxqtpageselectwidget: Fix config dialog cell height
- lxqtpageselectwidget: Fixed config dialog select widget cells
* Improved cmake scripting
......
......@@ -10,7 +10,7 @@ project(liblxqt)
set(LXQTBT_MINIMUM_VERSION "0.6.0")
set(KF5_MINIMUM_VERSION "5.36.0")
set(QT_MINIMUM_VERSION "5.7.1")
set(QTXDG_MINIMUM_VERSION "3.3.0")
set(QTXDG_MINIMUM_VERSION "3.3.1")
# Major LXQt Version, belong to all components
set(LXQT_MAJOR_VERSION 0)
......@@ -25,7 +25,7 @@ set(LXQT_MINOR_VERSION 14)
# patch-version as liblxqt - in real life it will be fine if every component
# has it's own patch version within a major/minor life cyle.
#
set(LXQT_PATCH_VERSION 0)
set(LXQT_PATCH_VERSION 1)
set(LXQT_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_PATCH_VERSION})
......
......@@ -103,6 +103,13 @@ void ConfigDialog::setButtons(QDialogButtonBox::StandardButtons buttons)
button->setAutoDefault(false);
}
void ConfigDialog::enableButton(QDialogButtonBox::StandardButton which, bool enable)
{
Q_D(ConfigDialog);
if (QPushButton* pb = d->ui->buttons->button(which))
pb->setEnabled(enable);
}
void ConfigDialog::addPage(QWidget* page, const QString& name, const QString& iconName)
{
addPage(page, name, QStringList() << iconName);
......
......@@ -55,6 +55,11 @@ public:
*/
void setButtons(QDialogButtonBox::StandardButtons buttons);
/*!
* Enable/disable a standard button if it exists
*/
void enableButton(QDialogButtonBox::StandardButton which, bool enable);
/*!
* Add a page to the configure dialog
*/
......
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_GB">
<context>
<name>ConfigDialog</name>
<message>
<location filename="../configdialog/lxqtconfigdialog.ui" line="14"/>
<source>Dialog</source>
<translation></translation>
</message>
</context>
<context>
<name>LXQt::MessageBox</name>
<message>
<location filename="../lxqtpowermanager.cpp" line="74"/>
<source>LXQt Power Manager Error</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="74"/>
<source>Hibernate failed.</source>
<translation></translation>
</message>
</context>
<context>
<name>LXQt::NotificationPrivate</name>
<message>
<location filename="../lxqtnotification.cpp" line="154"/>
<source>Notifications Fallback</source>
<translation></translation>
</message>
</context>
<context>
<name>LXQt::PowerManager</name>
<message>
<location filename="../lxqtpowermanager.cpp" line="117"/>
<source>Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="124"/>
<source>Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="131"/>
<source>Reboot</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="138"/>
<source>Shutdown</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="145"/>
<source>Logout</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="157"/>
<source>LXQt Session Suspend</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="158"/>
<source>Do you want to really suspend your computer?&lt;p&gt;Suspends the computer into a low power state. System state is not preserved if the power is lost.</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="167"/>
<source>LXQt Session Hibernate</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="168"/>
<source>Do you want to really hibernate your computer?&lt;p&gt;Hibernates the computer into a low power state. System state is preserved if the power is lost.</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="177"/>
<source>LXQt Session Reboot</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="178"/>
<source>Do you want to really restart your computer? All unsaved work will be lost...</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="187"/>
<source>LXQt Session Shutdown</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="188"/>
<source>Do you want to really switch off your computer? All unsaved work will be lost...</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="197"/>
<source>LXQt Session Logout</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="198"/>
<source>Do you want to really logout? All unsaved work will be lost...</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="206"/>
<location filename="../lxqtpowermanager.cpp" line="211"/>
<source>LXQt Power Manager Error</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="206"/>
<source>Hibernate failed.</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="211"/>
<source>Suspend failed.</source>
<translation></translation>
</message>
</context>
<context>
<name>LXQt::ScreenSaver</name>
<message>
<location filename="../lxqtscreensaver.cpp" line="236"/>
<source>Lock Screen</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="156"/>
<source>Screen Saver Error</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="157"/>
<source>An error occurred starting screensaver. Syntax error in xdg-screensaver arguments.</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="162"/>
<location filename="../lxqtscreensaver.cpp" line="168"/>
<location filename="../lxqtscreensaver.cpp" line="175"/>
<source>Screen Saver Activation Error</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="163"/>
<source>An error occurred starting screensaver. Ensure you have xscreensaver installed and running.</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="169"/>
<source>An error occurred starting screensaver. Action &apos;activate&apos; failed. Ensure you have xscreensaver installed and running.</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="176"/>
<source>An error occurred starting screensaver. Unknown error - undocumented return value from xdg-screensaver: %1.</source>
<translation></translation>
</message>
</context>
<context>
<name>QCoreApplication</name>
<message>
<location filename="../configdialog/lxqtconfigdialogcmdlineoptions.cpp" line="49"/>
<source>Choose the page to be shown.</source>
<translation></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="87"/>
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="137"/>
<source>Power Manager Error</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="88"/>
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="138"/>
<source>QDBusInterface is invalid</source>
<translation></translation>
</message>
<message>
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="102"/>
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="152"/>
<source>Power Manager Error (D-BUS call)</source>
<translation></translation>
</message>
</context>
</TS>
......@@ -45,7 +45,7 @@
<message>
<location filename="../lxqtpowermanager.cpp" line="131"/>
<source>Reboot</source>
<translation>Jalankan Ulang</translation>
<translation>Muat ulang</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="138"/>
......@@ -65,7 +65,7 @@
<message>
<location filename="../lxqtpowermanager.cpp" line="158"/>
<source>Do you want to really suspend your computer?&lt;p&gt;Suspends the computer into a low power state. System state is not preserved if the power is lost.</source>
<translation>Apakah Anda ingin mensuspensi komputer Anda?&lt;p&gt;Suspensi kompeter ke kondisi daya rendah. Kondisi sistem tidak disimpan jika daya hilang.</translation>
<translation>Apakah Anda ingin mensuspensi komputer Anda?&lt;p&gt;Suspensi komputer ke kondisi daya rendah. Kondisi sistem tidak disimpan jika daya hilang.</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="167"/>
......
......@@ -14,7 +14,7 @@
<message>
<location filename="../lxqtpowermanager.cpp" line="74"/>
<source>LXQt Power Manager Error</source>
<translation>Erro no Gerenciador de Energia LXQt</translation>
<translation>Erro no gestor de energia LXQt</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="74"/>
......@@ -27,7 +27,7 @@
<message>
<location filename="../lxqtnotification.cpp" line="154"/>
<source>Notifications Fallback</source>
<translation>Notificações de Contingência</translation>
<translation>Recurso para notificações</translation>
</message>
</context>
<context>
......@@ -60,58 +60,58 @@
<message>
<location filename="../lxqtpowermanager.cpp" line="157"/>
<source>LXQt Session Suspend</source>
<translation>Suspender Sessão LXQt</translation>
<translation>Suspender sessão LXQt</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="158"/>
<source>Do you want to really suspend your computer?&lt;p&gt;Suspends the computer into a low power state. System state is not preserved if the power is lost.</source>
<translation>Deseja realmente suspender seu computador?&lt;p&gt;Suspende o computador em um estado de baixa energia. O estado do sistema não é preservado se a energia for perdida.</translation>
<translation>Tem a certeza de que deseja suspender o computador?&lt;p&gt;A suspensão deixa o computador num estado de baixa energia. O estado do sistema não é preservado se a energia for perdida.</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="167"/>
<source>LXQt Session Hibernate</source>
<translation>Hibernar Sessão LXQt</translation>
<translation>Hibernar sessão LXQt</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="168"/>
<source>Do you want to really hibernate your computer?&lt;p&gt;Hibernates the computer into a low power state. System state is preserved if the power is lost.</source>
<translation>Deseja realmente hibernar seu computador?&lt;p&gt;Hiberna o computador em um estado de baixa energia. O estado do sistema é preservado se a energia for perdida.</translation>
<translation>Tem a certeza de que deseja hibernar o computador?&lt;p&gt;A hibernação deixa o computador num estado de baixa energia. O estado do sistema é preservado se a energia for perdida.</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="177"/>
<source>LXQt Session Reboot</source>
<translation>Reiniciar Sessão LXQt</translation>
<translation>Reiniciar sessão LXQt</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="178"/>
<source>Do you want to really restart your computer? All unsaved work will be lost...</source>
<translation>Deseja realmente reiniciar seu computador? Todos os trabalhos não salvos serão perdidos...</translation>
<translation>Tem a certeza de que deseja reiniciar o computador? Todos os trabalhos não guardados serão perdidos...</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="187"/>
<source>LXQt Session Shutdown</source>
<translation>Desligar Sessão LXQt</translation>
<translation>Desligar sessão LXQt</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="188"/>
<source>Do you want to really switch off your computer? All unsaved work will be lost...</source>
<translation>Deseja realmente desligar seu computador? Todos os trabalhos não salvos serão perdidos...</translation>
<translation>Tem a certeza de que deseja desligar o computador? Todos os trabalhos não guardados serão perdidos...</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="197"/>
<source>LXQt Session Logout</source>
<translation>Sair Sessão LXQt</translation>
<translation>Sair da sessão LXQt</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="198"/>
<source>Do you want to really logout? All unsaved work will be lost...</source>
<translation>Deseja realmente sair? Todos os trabalhos não salvos serão perdidos...</translation>
<translation>Tem a certeza de que deseja sair da sessão? Todos os trabalhos não guardados serão perdidos...</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="206"/>
<location filename="../lxqtpowermanager.cpp" line="211"/>
<source>LXQt Power Manager Error</source>
<translation>Erro no Gerenciador de Energia LXQt</translation>
<translation>Erro no gestor de energia LXQt</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="206"/>
......@@ -129,39 +129,39 @@
<message>
<location filename="../lxqtscreensaver.cpp" line="236"/>
<source>Lock Screen</source>
<translation>Bloquear Tela</translation>
<translation>Bloquear ecrã</translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="156"/>
<source>Screen Saver Error</source>
<translation>Erro de Proteção de Tela</translation>
<translation>Erro de proteção de ecrã</translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="162"/>
<location filename="../lxqtscreensaver.cpp" line="168"/>
<location filename="../lxqtscreensaver.cpp" line="175"/>
<source>Screen Saver Activation Error</source>
<translation>Erro na Ativação de Proteção de Tela</translation>
<translation>Erro ao ativar a proteção de ecrã</translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="176"/>
<source>An error occurred starting screensaver. Unknown error - undocumented return value from xdg-screensaver: %1.</source>
<translation>Ocorreu um erro ao iniciar a proteção de tela. Erro desconhecido - valor de retorno não documentado do xdg-screensaver: %1.</translation>
<translation>Ocorreu um erro ao iniciar a proteção de ecrã. Erro desconhecido - valor de retorno não documentado em xdg-screensaver: %1.</translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="157"/>
<source>An error occurred starting screensaver. Syntax error in xdg-screensaver arguments.</source>
<translation>Ocorreu um erro ao iniciar a proteção de tela. Erro de sintaxe nos argumentos xdg-screensaver.</translation>
<translation>Ocorreu um erro ao iniciar a proteção de ecrã. Erro de sintaxe nos argumentos xdg-screensaver.</translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="163"/>
<source>An error occurred starting screensaver. Ensure you have xscreensaver installed and running.</source>
<translation>Ocorreu um erro ao iniciar a proteção de tela. Certifique-se de que xdg-screensaver está instalado e em execução.</translation>
<translation>Ocorreu um erro ao iniciar a proteção de ecrã. Certifique-se de que xdg-screensaver está instalado e em execução.</translation>
</message>
<message>
<location filename="../lxqtscreensaver.cpp" line="169"/>
<source>An error occurred starting screensaver. Action &apos;activate&apos; failed. Ensure you have xscreensaver installed and running.</source>
<translation>Ocorreu um erro ao iniciar a proteção de tela. Ação &apos;ativar&apos; falhou. Certifique-se de que xdg-screensaver está instalado e em execução.</translation>
<translation>Ocorreu um erro ao iniciar a proteção de ecrã. Ação &apos;activate&apos; falhou. Certifique-se de que xdg-screensaver está instalado e em execução.</translation>
</message>
</context>
<context>
......@@ -169,7 +169,7 @@
<message>
<location filename="../configdialog/lxqtconfigdialogcmdlineoptions.cpp" line="49"/>
<source>Choose the page to be shown.</source>
<translation>Escolha a página para ser exibida.</translation>
<translation>Escolha a página a ser mostrada.</translation>
</message>
</context>
<context>
......@@ -178,7 +178,7 @@
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="87"/>
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="137"/>
<source>Power Manager Error</source>
<translation>Erro no Gerenciador de Energia</translation>
<translation>Erro no gestor de energia</translation>
</message>
<message>
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="88"/>
......@@ -190,7 +190,7 @@
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="102"/>
<location filename="../lxqtpower/lxqtpowerproviders.cpp" line="152"/>
<source>Power Manager Error (D-BUS call)</source>
<translation>Erro no Gerenciador de Energia (chamada D-BUS)</translation>
<translation>Erro no gestor de energia (chamada D-BUS)</translation>
</message>
</context>
</TS>
......@@ -65,7 +65,7 @@
<message>
<location filename="../lxqtpowermanager.cpp" line="158"/>
<source>Do you want to really suspend your computer?&lt;p&gt;Suspends the computer into a low power state. System state is not preserved if the power is lost.</source>
<translation>Перевести компьютер в ждущий режим?&lt;p&gt;Переводит компьютер в режим низкого энергопотрбления. В случае отключения питания состояние системы будет потеряно.</translation>
<translation>Перевести компьютер в ждущий режим?&lt;p&gt;Переводит компьютер в режим низкого энергопотребления. В случае отключения питания состояние системы будет потеряно.</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="167"/>
......@@ -75,7 +75,7 @@
<message>
<location filename="../lxqtpowermanager.cpp" line="168"/>
<source>Do you want to really hibernate your computer?&lt;p&gt;Hibernates the computer into a low power state. System state is preserved if the power is lost.</source>
<translation>Перевести компьютер в спящий режим?&lt;p&gt;Переводит компьютер в режим низкого энергопотрбления. Состояние системы будет сохранено при отключении питания.</translation>
<translation>Перевести компьютер в спящий режим?&lt;p&gt;Переводит компьютер в режим низкого энергопотребления. Состояние системы будет сохранено при отключении питания.</translation>
</message>
<message>
<location filename="../lxqtpowermanager.cpp" line="177"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment