Adding upstream version 0.9.0+20150925.
This commit is contained in:
parent
bee030dd8b
commit
f591c66457
@ -184,7 +184,7 @@
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Nascondi automaticamente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
@ -289,7 +289,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation>Configura pannello...</translation>
|
||||
<translation>Configura panello...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
|
@ -1,359 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<context>
|
||||
<name>ConfigPanelDialog</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configura il pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel size</source>
|
||||
<translation type="vanished">Dimensione pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Size:</source>
|
||||
<translation type="vanished">Dimensione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>px</source>
|
||||
<translation type="vanished">px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use automatic sizing</source>
|
||||
<translation type="vanished">Usa dimensionamento automatico</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Panel length && position</source>
|
||||
<translation type="vanished">Lunghezza e posizione del pannello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
<translation type="vanished">Sinistra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Center</source>
|
||||
<translation type="vanished">Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right</source>
|
||||
<translation type="vanished">Destra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%</source>
|
||||
<translation type="vanished">%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Alignment:</source>
|
||||
<translation type="vanished">Allineamento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Length:</source>
|
||||
<translation type="vanished">Lunghezza:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Position:</source>
|
||||
<translation type="vanished">Posizione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop</source>
|
||||
<translation type="vanished">Alto del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop</source>
|
||||
<translation type="vanished">Sinistra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop</source>
|
||||
<translation type="vanished">Destra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation type="vanished">Basso del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation type="vanished">Alto del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation type="vanished">Sinistra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation type="vanished">Destra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation type="vanished">Basso del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="80"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="86"/>
|
||||
<source>Configure Panel</source>
|
||||
<translation>Configura panello</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ConfigPanelWidget</name>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="20"/>
|
||||
<source>Configure panel</source>
|
||||
<translation>Configura panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="32"/>
|
||||
<source>Size</source>
|
||||
<translation>Dimensione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="41"/>
|
||||
<source>Size:</source>
|
||||
<translation>Dimensione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="48"/>
|
||||
<location filename="../config/configpaneldialog.ui" line="82"/>
|
||||
<source> px</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="58"/>
|
||||
<source>Icon size:</source>
|
||||
<translation>Dimensione icone:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="65"/>
|
||||
<source>Length:</source>
|
||||
<translation>Lunghezza:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="110"/>
|
||||
<source><p>Negative pixel value sets the panel length to that many pixels less than available screen space.</p><p/><p><i>E.g. "Length" set to -100px, screen size is 1000px, then real panel length will be 900 px.</i></p></source>
|
||||
<translation><p>Valori negativi impongano una lunghezza del panello di quel numero di pixel meno dello spazio disponibile. </p><p/><p><i>Esempio: -100px e schermo di 1280px = 1180px</i></p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="124"/>
|
||||
<source>%</source>
|
||||
<translation>%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="129"/>
|
||||
<source>px</source>
|
||||
<translation>px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="140"/>
|
||||
<source>Rows count:</source>
|
||||
<translation>Numero righe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="172"/>
|
||||
<source>Alignment && position</source>
|
||||
<translation>Allineamento e posizione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="182"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="234"/>
|
||||
<source>Left</source>
|
||||
<translation>Sinistra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="187"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="235"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="241"/>
|
||||
<source>Center</source>
|
||||
<translation>Centro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="192"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="236"/>
|
||||
<source>Right</source>
|
||||
<translation>Destra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="200"/>
|
||||
<source>Alignment:</source>
|
||||
<translation>Allineamento:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="210"/>
|
||||
<source>Position:</source>
|
||||
<translation>Posizione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="217"/>
|
||||
<source>Auto-hide</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="233"/>
|
||||
<source>Styling</source>
|
||||
<translation>Aspetto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="239"/>
|
||||
<source>Custom font color:</source>
|
||||
<translation>Colore carattere personalizzato:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="246"/>
|
||||
<source>Custom background image:</source>
|
||||
<translation>Immagine sfondo:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="260"/>
|
||||
<source>Custom background color:</source>
|
||||
<translation>Colore sfondo personalizzato:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.ui" line="351"/>
|
||||
<source>Opacity</source>
|
||||
<translation>Trasparenza</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="200"/>
|
||||
<source>Top of desktop</source>
|
||||
<translation>Alto del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="201"/>
|
||||
<source>Left of desktop</source>
|
||||
<translation>Sinistra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="202"/>
|
||||
<source>Right of desktop</source>
|
||||
<translation>Destra del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="203"/>
|
||||
<source>Bottom of desktop</source>
|
||||
<translation>Basso del desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="212"/>
|
||||
<source>Top of desktop %1</source>
|
||||
<translation>Alto del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="213"/>
|
||||
<source>Left of desktop %1</source>
|
||||
<translation>Sinistra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="214"/>
|
||||
<source>Right of desktop %1</source>
|
||||
<translation>Destra del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="215"/>
|
||||
<source>Bottom of desktop %1</source>
|
||||
<translation>Basso del desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="240"/>
|
||||
<source>Top</source>
|
||||
<translation>In cima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="242"/>
|
||||
<source>Bottom</source>
|
||||
<translation>In fondo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="397"/>
|
||||
<location filename="../config/configpaneldialog.cpp" line="411"/>
|
||||
<source>Pick color</source>
|
||||
<translation>Scegli colore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../config/configpaneldialog.cpp" line="431"/>
|
||||
<source>Images (*.png *.gif *.jpg)</source>
|
||||
<translation>Immagini (*.png *.gif *.jpg)</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LXQtPanel</name>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="623"/>
|
||||
<source>Add Panel Widgets</source>
|
||||
<translation>Aggiungi elementi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="951"/>
|
||||
<location filename="../lxqtpanel.cpp" line="970"/>
|
||||
<source>Panel</source>
|
||||
<translation>Panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="973"/>
|
||||
<source>Configure Panel...</source>
|
||||
<translation>Configura pannello...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="978"/>
|
||||
<source>Add Panel Widgets...</source>
|
||||
<translatorcomment>Call them "plugins" better?</translatorcomment>
|
||||
<translation>Aggiungi elementi...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="984"/>
|
||||
<source>Add Panel</source>
|
||||
<translation>Aggiungi panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtpanel.cpp" line="991"/>
|
||||
<source>Remove Panel</source>
|
||||
<translation>Rimuovi panello</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Configure panel...</source>
|
||||
<translation type="vanished">Configura pannello...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add plugins ...</source>
|
||||
<translation type="vanished">Aggiungi plugin...</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LXQtPanelPlugin</name>
|
||||
<message>
|
||||
<source>Configure</source>
|
||||
<translation type="vanished">Configura</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move</source>
|
||||
<translation type="vanished">Sposta</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove</source>
|
||||
<translation type="vanished">Rimuovi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LXQtPanelPrivate</name>
|
||||
<message>
|
||||
<source>Configure panel</source>
|
||||
<translation type="vanished">Configura pannello</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Plugin</name>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="395"/>
|
||||
<source>Configure "%1"</source>
|
||||
<translation>Configura "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="400"/>
|
||||
<source>Move "%1"</source>
|
||||
<translation>Sposta "%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plugin.cpp" line="408"/>
|
||||
<source>Remove "%1"</source>
|
||||
<translation>Rimuovi "%1"</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
3
plugin-clock/translations/clock_it.desktop
Normal file
3
plugin-clock/translations/clock_it.desktop
Normal file
@ -0,0 +1,3 @@
|
||||
Comment[it]=Orologio e calendario
|
||||
Name[it]=Orologio
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>FirstDayCombo</name>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.cpp" line="50"/>
|
||||
<source><locale based></source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation><basato su locale></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -63,12 +63,12 @@
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="100"/>
|
||||
<source>Show date below time on new &line</source>
|
||||
<translation>Mostra la data su una seconda riga</translation>
|
||||
<translation>Mostra la data su una &seconda riga</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="107"/>
|
||||
<source>First day of week in calendar</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Primo giorno della settimana</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="124"/>
|
||||
@ -78,7 +78,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtclockconfiguration.ui" line="130"/>
|
||||
<source>Auto&rotate when the panel is vertical</source>
|
||||
<translation>Ruota automaticamente se il panello è verticale</translation>
|
||||
<translation>&Ruota automaticamente se il panello è verticale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>&Font</source>
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Date & time
|
||||
Comment=Displays the current time. Comes with a calendar.
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Orologio e calendario
|
||||
Name[it_IT]=Orologio
|
@ -28,6 +28,7 @@
|
||||
#include "colorpicker.h"
|
||||
#include <QMouseEvent>
|
||||
#include <QHBoxLayout>
|
||||
#include <QScreen>
|
||||
|
||||
|
||||
ColorPicker::ColorPicker(const ILXQtPanelPluginStartupInfo &startupInfo) :
|
||||
@ -82,7 +83,7 @@ void ColorPickerWidget::mouseReleaseEvent(QMouseEvent *event)
|
||||
return;
|
||||
|
||||
WId id = QApplication::desktop()->winId();
|
||||
QPixmap pixmap = QPixmap::grabWindow(id, event->globalX(), event->globalY(), 1, 1);
|
||||
QPixmap pixmap = qApp->primaryScreen()->grabWindow(id, event->globalX(), event->globalY(), 1, 1);
|
||||
|
||||
QImage img = pixmap.toImage();
|
||||
QColor col = QColor(img.pixel(0,0));
|
||||
|
@ -1,6 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LxQtPanel/Plugin
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Color picker
|
||||
Comment=Get the color under the cursor. For web developers.
|
||||
|
||||
|
3
plugin-colorpicker/translations/colorpicker_it.desktop
Normal file
3
plugin-colorpicker/translations/colorpicker_it.desktop
Normal file
@ -0,0 +1,3 @@
|
||||
Comment[it]=Rileva il colore sotto il cursore. Per sviluppatori web.
|
||||
Name[it]=Selettore del colore
|
||||
|
@ -1,10 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Color picker
|
||||
Comment=Get the color under the cursor. For web developers.
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Rileva il colore sotto il cursore. Per sviluppatori web.
|
||||
Name[it_IT]=Selettore del colore
|
3
plugin-cpuload/translations/cpuload_it.desktop
Normal file
3
plugin-cpuload/translations/cpuload_it.desktop
Normal file
@ -0,0 +1,3 @@
|
||||
Comment[it]=Monitor del carico del processore
|
||||
Name[it]=Carico del processore
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtCpuLoad</name>
|
||||
<message>
|
||||
@ -10,7 +10,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtcpuload.cpp" line="124"/>
|
||||
<source>CPU load %1%</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation type="unfinished">Carico del processore %1%</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -22,7 +22,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtcpuloadconfiguration.ui" line="14"/>
|
||||
<source>CPU Load Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Impostazioni di carica del processore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtcpuloadconfiguration.ui" line="20"/>
|
||||
@ -52,7 +52,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtcpuloadconfiguration.ui" line="81"/>
|
||||
<source>Bar width:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Larghezza barra:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtcpuloadconfiguration.cpp" line="70"/>
|
@ -1,13 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
|
||||
Name=Cpu monitor
|
||||
Comment=Displays the current CPU load.
|
||||
|
||||
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Monitor del carico del processore
|
||||
Name[it_IT]=Carico del processore
|
@ -0,0 +1,2 @@
|
||||
Comment[it]=Permette di passare ad altri desktop virtuali
|
||||
Name[it]=Cambia desktop
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>DesktopSwitch</name>
|
||||
<message>
|
||||
<location filename="../desktopswitch.cpp" line="83"/>
|
||||
<source>Switch to desktop %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Cambia al desktop %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../desktopswitch.cpp" line="123"/>
|
||||
@ -20,27 +20,27 @@
|
||||
<message>
|
||||
<location filename="../desktopswitchconfiguration.ui" line="14"/>
|
||||
<source>DesktopSwitch settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Preferenze cambia desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../desktopswitchconfiguration.ui" line="20"/>
|
||||
<source>Number of rows:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Numero righe:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../desktopswitchconfiguration.ui" line="40"/>
|
||||
<source>Desktop labels:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Etichette desktop:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../desktopswitchconfiguration.ui" line="58"/>
|
||||
<source>Numbers</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Numeri</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../desktopswitchconfiguration.ui" line="63"/>
|
||||
<source>Names</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Nomi</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Desktop switcher
|
||||
Comment=Allows easy switching between virtual desktops.
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Permette di passare ad altri desktop virtuali
|
||||
Name[it_IT]=Cambia desktop
|
@ -0,0 +1,2 @@
|
||||
Name[it]=Menù cartella
|
||||
Comment[it]=Mostra il contenuto di una cartella
|
65
plugin-directorymenu/translations/directorymenu_it.ts
Normal file
65
plugin-directorymenu/translations/directorymenu_it.ts
Normal file
@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>DirectoryMenu</name>
|
||||
<message>
|
||||
<location filename="../directorymenu.cpp" line="146"/>
|
||||
<source>Open</source>
|
||||
<translation>Apri</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DirectoryMenuConfiguration</name>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.ui" line="14"/>
|
||||
<source>Directory Menu Settings</source>
|
||||
<translation>Impostazioni del menu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.ui" line="20"/>
|
||||
<source>Appearance</source>
|
||||
<translation>Aspetto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.ui" line="26"/>
|
||||
<source>Base directory:</source>
|
||||
<translation>Cartella mostrata:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.ui" line="39"/>
|
||||
<source>BaseDirectoryName</source>
|
||||
<translation>Nome della cartella</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.ui" line="46"/>
|
||||
<source>Icon:</source>
|
||||
<translation>Icona:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.cpp" line="107"/>
|
||||
<source>Choose Base Directory</source>
|
||||
<translation>Seleziona cartella mostrata</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.cpp" line="122"/>
|
||||
<source>Choose Icon</source>
|
||||
<translation>Seleziona icona</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.cpp" line="123"/>
|
||||
<source>Icons (*.png *.xpm *.jpg)</source>
|
||||
<translation>Icone (*.png .xpm *.jpg)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.cpp" line="131"/>
|
||||
<source>Directory Menu</source>
|
||||
<translation>Menu cartella</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../directorymenuconfiguration.cpp" line="131"/>
|
||||
<source>An error occurred while loading the icon.</source>
|
||||
<translation>Errore caricando l'icona.</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
2
plugin-kbindicator/translations/kbindicator_it.desktop
Normal file
2
plugin-kbindicator/translations/kbindicator_it.desktop
Normal file
@ -0,0 +1,2 @@
|
||||
Name[it]=Disposizione della tastiera
|
||||
Comment[it]=Mostra lo stato e la mappatura della tastiera
|
27
plugin-kbindicator/translations/kbindicator_it.ts
Normal file
27
plugin-kbindicator/translations/kbindicator_it.ts
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtKbIndicatorConfiguration</name>
|
||||
<message>
|
||||
<location filename="../lxqtkbindicatorconfiguration.ui" line="14"/>
|
||||
<source>Keyboard Indicator Settings</source>
|
||||
<translation>Indicatori</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtkbindicatorconfiguration.ui" line="20"/>
|
||||
<source>Caps Lock</source>
|
||||
<translation>Blocco maiuscolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtkbindicatorconfiguration.ui" line="27"/>
|
||||
<source>Num Lock</source>
|
||||
<translation>Blocco numeri</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtkbindicatorconfiguration.ui" line="34"/>
|
||||
<source>Scroll Lock</source>
|
||||
<translation>Blocco scorrimento</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
2
plugin-mainmenu/translations/mainmenu_it.desktop
Normal file
2
plugin-mainmenu/translations/mainmenu_it.desktop
Normal file
@ -0,0 +1,2 @@
|
||||
Comment[it]=Avviatore delle applicazioni basato su menù
|
||||
Name[it]=Menù delle applicazioni
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtMainMenu</name>
|
||||
<message>
|
||||
<location filename="../lxqtmainmenu.cpp" line="245"/>
|
||||
<source>Show/hide main menu</source>
|
||||
<translation>Mostra/nascondi menu principale</translation>
|
||||
<translation>Mostra/nascondi menù principale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Leave</source>
|
||||
@ -35,7 +35,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtmainmenuconfiguration.ui" line="14"/>
|
||||
<source>Main Menu settings</source>
|
||||
<translation>Impostazioni del menu principale di LXQt</translation>
|
||||
<translation>Impostazioni del menù principale di LXQt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtmainmenuconfiguration.ui" line="35"/>
|
||||
@ -55,12 +55,12 @@
|
||||
<message>
|
||||
<location filename="../lxqtmainmenuconfiguration.ui" line="81"/>
|
||||
<source>Menu file</source>
|
||||
<translation>File del menu</translation>
|
||||
<translation>File del menù</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtmainmenuconfiguration.ui" line="87"/>
|
||||
<source>Menu file:</source>
|
||||
<translation>File del menu:</translation>
|
||||
<translation>File del menù:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtmainmenuconfiguration.ui" line="101"/>
|
||||
@ -85,12 +85,12 @@
|
||||
<message>
|
||||
<location filename="../lxqtmainmenuconfiguration.cpp" line="100"/>
|
||||
<source>Choose menu file</source>
|
||||
<translation>Scegli il file del menu</translation>
|
||||
<translation>Scegli il file del menù</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtmainmenuconfiguration.cpp" line="100"/>
|
||||
<source>Menu files (*.menu)</source>
|
||||
<translation>File del menu (*.menu)</translation>
|
||||
<translation>File del menù (*.menu)</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Application menu
|
||||
Comment=A menu of all your applications.
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Avviatore delle applicazioni basato su menu
|
||||
Name[it_IT]=Menu delle applicazioni
|
2
plugin-mount/translations/mount_it.desktop
Normal file
2
plugin-mount/translations/mount_it.desktop
Normal file
@ -0,0 +1,2 @@
|
||||
Name[it]=Dispositivi rimovibili
|
||||
Comment[it]=Gestore dei dispositivi rimovibili (USB, CD, DVD, ...)
|
@ -1,22 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>DeviceActionInfo</name>
|
||||
<message>
|
||||
<location filename="../actions/deviceaction_info.cpp" line="45"/>
|
||||
<source>The device <b><nobr>"%1"</nobr></b> is connected.</source>
|
||||
<translation type="unfinished">Il dispositivo <b><nobr>"%1"</nobr></b> è connesso.</translation>
|
||||
<translation>Il dispositivo <b><nobr>"%1"</nobr></b> è connesso.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../actions/deviceaction_info.cpp" line="53"/>
|
||||
<source>The device <b><nobr>"%1"</nobr></b> is removed.</source>
|
||||
<translation type="unfinished">Il dispositivo <b><nobr>"%1"</nobr></b> è stato rimosso.</translation>
|
||||
<translation>Il dispositivo <b><nobr>"%1"</nobr></b> è stato rimosso.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../actions/deviceaction_info.cpp" line="59"/>
|
||||
<source>Removable media/devices manager</source>
|
||||
<translation type="unfinished">Gestore dei dispositivi rimovibili</translation>
|
||||
<translation>Gestore dei dispositivi rimovibili</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -28,7 +28,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtmountconfiguration.ui" line="14"/>
|
||||
<source>Removable Media Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Impostazioni dispositivi rimovibili</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtmountconfiguration.ui" line="20"/>
|
||||
@ -70,17 +70,17 @@
|
||||
<location filename="../menudiskitem.cpp" line="120"/>
|
||||
<location filename="../menudiskitem.cpp" line="155"/>
|
||||
<source>Removable media/devices manager</source>
|
||||
<translation type="unfinished">Gestore dei dispositivi rimovibili</translation>
|
||||
<translation>Gestore dei dispositivi rimovibili</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menudiskitem.cpp" line="121"/>
|
||||
<source>Mounting of <strong><nobr>"%1"</nobr></strong> failed: %2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Montaggio di <strong><nobr>"%1"</nobr></strong> non riuscito: %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../menudiskitem.cpp" line="156"/>
|
||||
<source>Unmounting of <strong><nobr>"%1"</nobr></strong> failed: %2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Smontaggio di <strong><nobr>"%1"</nobr></strong> non riuscito: %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -108,7 +108,7 @@
|
||||
<message>
|
||||
<location filename="../popup.cpp" line="68"/>
|
||||
<source>No devices are available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Nessun dispositivo presente</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Removable media
|
||||
Comment=Easy mounting and unmounting of USB and optical drives.
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Gestore dei dispositivi rimovibili (USB, CD, DVD, ...)
|
||||
Name[it_IT]=Dispositivi rimovibili
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtNetworkMonitor</name>
|
||||
<message>
|
||||
|
3
plugin-quicklaunch/translations/quicklaunch_it.desktop
Normal file
3
plugin-quicklaunch/translations/quicklaunch_it.desktop
Normal file
@ -0,0 +1,3 @@
|
||||
Comment[it]=Avvia le applicazioni preferite
|
||||
Name[it]=Avvio rapido
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtQuickLaunch</name>
|
||||
<message>
|
||||
<location filename="../lxqtquicklaunch.cpp" line="219"/>
|
||||
<source>Drop Error</source>
|
||||
<translation>Errore di spostamento</translation>
|
||||
<translation>Errore di trascinamento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtquicklaunch.cpp" line="220"/>
|
||||
@ -17,7 +17,8 @@
|
||||
<location filename="../lxqtquicklaunch.cpp" line="327"/>
|
||||
<source>Drop application
|
||||
icons here</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Trascina applicazioni
|
||||
dal menù qui</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Quick launch
|
||||
Comment=Easy access to your favourite applications.
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Avvia le tue applicazioni preferite
|
||||
Name[it_IT]=Avvio rapido
|
3
plugin-screensaver/translations/screensaver_it.desktop
Normal file
3
plugin-screensaver/translations/screensaver_it.desktop
Normal file
@ -0,0 +1,3 @@
|
||||
Comment[it]=Attiva un salvaschermo e/o blocca lo schermo
|
||||
Name[it]=Salvaschermo
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>PanelScreenSaver</name>
|
||||
<message>
|
||||
@ -10,12 +10,12 @@
|
||||
<message>
|
||||
<location filename="../panelscreensaver.cpp" line="52"/>
|
||||
<source>Lock Screen</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Blocca schermo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../panelscreensaver.cpp" line="67"/>
|
||||
<source>Panel Screensaver: Global shortcut '%1' cannot be registered</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>La scorciatoia globale per lo screensaver: '%1' non può essere registrata</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Launch screensaver
|
||||
Comment=Activate a screensaver and/or lock the screen
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Attiva un salvaschermo e/o blocca lo schermo
|
||||
Name[it_IT]=Salvaschermo
|
3
plugin-sensors/translations/sensors_it.desktop
Normal file
3
plugin-sensors/translations/sensors_it.desktop
Normal file
@ -0,0 +1,3 @@
|
||||
Name[it]=Sensori
|
||||
Comment[it]=Visualizza i valori rilevati dai sensori hardware (attualmente lm_sensors)
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtSensorsConfiguration</name>
|
||||
<message>
|
||||
@ -10,7 +10,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtsensorsconfiguration.ui" line="14"/>
|
||||
<source>Sensors Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Impostazioni sensori</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsensorsconfiguration.ui" line="30"/>
|
@ -1,10 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Sensors
|
||||
Comment=View readings from hardware sensors.
|
||||
|
||||
|
||||
# Translations
|
||||
Name[it_IT]=Sensori
|
||||
Comment[it_IT]=Visualizza i valori rilevati dai sensori hardware (attualmente lm_sensors)
|
2
plugin-showdesktop/translations/showdesktop_it.desktop
Normal file
2
plugin-showdesktop/translations/showdesktop_it.desktop
Normal file
@ -0,0 +1,2 @@
|
||||
Comment[it]=Minimizza tutte le finestre e mostra la scrivania
|
||||
Name[it]=Mostra scrivania
|
@ -1,22 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>ShowDesktop</name>
|
||||
<message>
|
||||
<location filename="../showdesktop.cpp" line="48"/>
|
||||
<source>Show desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Mostra scrivania</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../showdesktop.cpp" line="69"/>
|
||||
<source>Show Desktop: Global shortcut '%1' cannot be registered</source>
|
||||
<translation>Mostra desktop: la scorciatoia globale '%1' non può essere registrata</translation>
|
||||
<translation>Mostra scrivania: la scorciatoia globale '%1' non può essere registrata</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../showdesktop.cpp" line="55"/>
|
||||
<source>Show Desktop</source>
|
||||
<translation>Mostra desktop</translation>
|
||||
<translation>Mostra scrivania</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Show desktop
|
||||
Comment=Minimize all windows and show the desktop
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Minimizza tutte le finestre e mostra il desktop
|
||||
Name[it_IT]=Mostra desktop
|
2
plugin-spacer/translations/spacer_it.desktop
Normal file
2
plugin-spacer/translations/spacer_it.desktop
Normal file
@ -0,0 +1,2 @@
|
||||
Name[it]=Spaziatore
|
||||
Comment[it]=Aggiunge uno spazio fra gli elementi
|
22
plugin-spacer/translations/spacer_it.ts
Normal file
22
plugin-spacer/translations/spacer_it.ts
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it" sourcelanguage="it">
|
||||
<context>
|
||||
<name>SpacerConfiguration</name>
|
||||
<message>
|
||||
<location filename="../spacerconfiguration.ui" line="12"/>
|
||||
<source>Spacer Settings</source>
|
||||
<translation>Impostazioni spaziatore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../spacerconfiguration.ui" line="18"/>
|
||||
<source>Space width:</source>
|
||||
<translation>Larghezza:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../spacerconfiguration.ui" line="38"/>
|
||||
<source>Space type:</source>
|
||||
<translation>Tipo:</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -10,6 +10,7 @@ set(HEADERS
|
||||
statusnotifieriteminterface.h
|
||||
statusnotifierwatcher.h
|
||||
statusnotifierwidget.h
|
||||
sniasync.h
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
@ -19,6 +20,7 @@ set(SOURCES
|
||||
statusnotifieriteminterface.cpp
|
||||
statusnotifierwatcher.cpp
|
||||
statusnotifierwidget.cpp
|
||||
sniasync.cpp
|
||||
)
|
||||
|
||||
qt5_add_dbus_adaptor(SOURCES
|
||||
|
48
plugin-statusnotifier/sniasync.cpp
Normal file
48
plugin-statusnotifier/sniasync.cpp
Normal file
@ -0,0 +1,48 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://lxqt.org
|
||||
*
|
||||
* Copyright: 2015 LXQt team
|
||||
* Authors:
|
||||
* Palo Kisa <palo.kisa@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#include "sniasync.h"
|
||||
|
||||
SniAsync::SniAsync(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent/* = 0*/)
|
||||
: QObject(parent)
|
||||
, mSni{service, path, connection}
|
||||
{
|
||||
//forward StatusNotifierItem signals
|
||||
connect(&mSni, &org::kde::StatusNotifierItem::NewAttentionIcon, this, &SniAsync::NewAttentionIcon);
|
||||
connect(&mSni, &org::kde::StatusNotifierItem::NewIcon, this, &SniAsync::NewIcon);
|
||||
connect(&mSni, &org::kde::StatusNotifierItem::NewOverlayIcon, this, &SniAsync::NewOverlayIcon);
|
||||
connect(&mSni, &org::kde::StatusNotifierItem::NewStatus, this, &SniAsync::NewStatus);
|
||||
connect(&mSni, &org::kde::StatusNotifierItem::NewTitle, this, &SniAsync::NewTitle);
|
||||
connect(&mSni, &org::kde::StatusNotifierItem::NewToolTip, this, &SniAsync::NewToolTip);
|
||||
}
|
||||
|
||||
QDBusPendingReply<QDBusVariant> SniAsync::asyncPropGet(QString const & property)
|
||||
{
|
||||
QDBusMessage msg = QDBusMessage::createMethodCall(mSni.service(), mSni.path(), QStringLiteral("org.freedesktop.DBus.Properties"), QStringLiteral("Get"));
|
||||
msg << mSni.interface() << property;
|
||||
return mSni.connection().asyncCall(msg);
|
||||
}
|
116
plugin-statusnotifier/sniasync.h
Normal file
116
plugin-statusnotifier/sniasync.h
Normal file
@ -0,0 +1,116 @@
|
||||
/* BEGIN_COMMON_COPYRIGHT_HEADER
|
||||
* (c)LGPL2+
|
||||
*
|
||||
* LXQt - a lightweight, Qt based, desktop toolset
|
||||
* http://lxqt.org
|
||||
*
|
||||
* Copyright: 2015 LXQt team
|
||||
* Authors:
|
||||
* Palo Kisa <palo.kisa@gmail.com>
|
||||
*
|
||||
* This program or library is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General
|
||||
* Public License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02110-1301 USA
|
||||
*
|
||||
* END_COMMON_COPYRIGHT_HEADER */
|
||||
|
||||
#if !defined(SNIASYNC_H)
|
||||
#define SNIASYNC_H
|
||||
|
||||
#include <functional>
|
||||
#include "statusnotifieriteminterface.h"
|
||||
|
||||
template<typename>
|
||||
struct remove_class_type { using type = void; }; // bluff
|
||||
template<typename C, typename R, typename... ArgTypes>
|
||||
struct remove_class_type<R (C::*)(ArgTypes...)> { using type = R(ArgTypes...); };
|
||||
template<typename C, typename R, typename... ArgTypes>
|
||||
struct remove_class_type<R (C::*)(ArgTypes...) const> { using type = R(ArgTypes...); };
|
||||
|
||||
template <typename L>
|
||||
class call_sig_helper
|
||||
{
|
||||
template <typename L1>
|
||||
static decltype(&L1::operator()) test(int);
|
||||
template <typename L1>
|
||||
static void test(...); //bluff
|
||||
public:
|
||||
using type = decltype(test<L>(0));
|
||||
};
|
||||
template <typename L>
|
||||
struct call_signature : public remove_class_type<typename call_sig_helper<L>::type> {};
|
||||
template <typename R, typename... ArgTypes>
|
||||
struct call_signature<R (ArgTypes...)> { using type = R (ArgTypes...); };
|
||||
template <typename R, typename... ArgTypes>
|
||||
struct call_signature<R (*)(ArgTypes...)> { using type = R (ArgTypes...); };
|
||||
template <typename C, typename R, typename... ArgTypes>
|
||||
struct call_signature<R (C::*)(ArgTypes...)> { using type = R (ArgTypes...); };
|
||||
template<typename C, typename R, typename... ArgTypes>
|
||||
struct call_signature<R (C::*)(ArgTypes...) const> { using type = R(ArgTypes...); };
|
||||
|
||||
template <typename> struct is_valid_signature : public std::false_type {};
|
||||
template <typename Arg>
|
||||
struct is_valid_signature<void (Arg)> : public std::true_type {};
|
||||
|
||||
class SniAsync : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SniAsync(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
|
||||
|
||||
template <typename F>
|
||||
inline void propertyGetAsync(QString const &name, F finished)
|
||||
{
|
||||
static_assert(is_valid_signature<typename call_signature<F>::type>::value, "need callable (lambda, *function, callable obj) (Arg) -> void");
|
||||
connect(new QDBusPendingCallWatcher{asyncPropGet(name), this},
|
||||
&QDBusPendingCallWatcher::finished,
|
||||
[this, finished, name] (QDBusPendingCallWatcher * call)
|
||||
{
|
||||
QDBusPendingReply<QVariant> reply = *call;
|
||||
if (reply.isError())
|
||||
qDebug() << "Error on DBus request:" << reply.error();
|
||||
finished(qdbus_cast<typename std::function<typename call_signature<F>::type>::argument_type>(reply.value()));
|
||||
call->deleteLater();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
//exposed methods from org::kde::StatusNotifierItem
|
||||
inline QString service() const { return mSni.service(); }
|
||||
|
||||
public slots:
|
||||
//Forwarded slots from org::kde::StatusNotifierItem
|
||||
inline QDBusPendingReply<> Activate(int x, int y) { return mSni.Activate(x, y); }
|
||||
inline QDBusPendingReply<> ContextMenu(int x, int y) { return mSni.ContextMenu(x, y); }
|
||||
inline QDBusPendingReply<> Scroll(int delta, const QString &orientation) { return mSni.Scroll(delta, orientation); }
|
||||
inline QDBusPendingReply<> SecondaryActivate(int x, int y) { return mSni.SecondaryActivate(x, y); }
|
||||
|
||||
signals:
|
||||
//Forwarded signals from org::kde::StatusNotifierItem
|
||||
void NewAttentionIcon();
|
||||
void NewIcon();
|
||||
void NewOverlayIcon();
|
||||
void NewStatus(const QString &status);
|
||||
void NewTitle();
|
||||
void NewToolTip();
|
||||
|
||||
private:
|
||||
QDBusPendingReply<QDBusVariant> asyncPropGet(QString const & property);
|
||||
|
||||
private:
|
||||
org::kde::StatusNotifierItem mSni;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -32,164 +32,189 @@
|
||||
#include <QFile>
|
||||
#include <dbusmenu-qt5/dbusmenuimporter.h>
|
||||
#include "../panel/ilxqtpanelplugin.h"
|
||||
#include "sniasync.h"
|
||||
|
||||
|
||||
StatusNotifierButton::StatusNotifierButton(QString service, QString objectPath, ILXQtPanelPlugin* plugin, QWidget *parent)
|
||||
: QToolButton(parent),
|
||||
mMenu(NULL),
|
||||
mMenu(nullptr),
|
||||
mStatus(Passive),
|
||||
mValid(true),
|
||||
mFallbackIcon(QIcon::fromTheme("application-x-executable")),
|
||||
mPlugin(plugin)
|
||||
{
|
||||
interface = new org::kde::StatusNotifierItem(service, objectPath, QDBusConnection::sessionBus(), this);
|
||||
interface = new SniAsync(service, objectPath, QDBusConnection::sessionBus(), this);
|
||||
|
||||
QString menuPath = interface->menu().path();
|
||||
if (!menuPath.isEmpty())
|
||||
{
|
||||
mMenu = (new DBusMenuImporter(service, interface->menu().path(), this))->menu();
|
||||
dynamic_cast<QObject &>(*mMenu).setParent(this);
|
||||
mMenu->setObjectName(QStringLiteral("StatusNotifierMenu"));
|
||||
}
|
||||
connect(interface, &SniAsync::NewIcon, this, &StatusNotifierButton::newIcon);
|
||||
connect(interface, &SniAsync::NewOverlayIcon, this, &StatusNotifierButton::newOverlayIcon);
|
||||
connect(interface, &SniAsync::NewAttentionIcon, this, &StatusNotifierButton::newAttentionIcon);
|
||||
connect(interface, &SniAsync::NewToolTip, this, &StatusNotifierButton::newToolTip);
|
||||
connect(interface, &SniAsync::NewStatus, this, &StatusNotifierButton::newStatus);
|
||||
|
||||
// HACK: sni-qt creates some invalid items (like one for konversarion 1.5)
|
||||
if (interface->title().isEmpty() && interface->id().isEmpty())
|
||||
mValid = false;
|
||||
interface->propertyGetAsync(QStringLiteral("Menu"), [this] (QDBusObjectPath path) {
|
||||
if (!path.path().isEmpty())
|
||||
{
|
||||
mMenu = (new DBusMenuImporter(interface->service(), path.path(), this))->menu();
|
||||
dynamic_cast<QObject &>(*mMenu).setParent(this);
|
||||
mMenu->setObjectName(QStringLiteral("StatusNotifierMenu"));
|
||||
}
|
||||
});
|
||||
|
||||
if (mValid)
|
||||
{
|
||||
newToolTip();
|
||||
interface->propertyGetAsync(QStringLiteral("Status"), [this] (QString status) {
|
||||
newStatus(status);
|
||||
});
|
||||
|
||||
interface->propertyGetAsync(QStringLiteral("IconThemePath"), [this] (QString value) {
|
||||
mThemePath = value;
|
||||
//do the logic of icons after we've got the theme path
|
||||
refetchIcon(Active);
|
||||
refetchIcon(Passive);
|
||||
refetchIcon(NeedsAttention);
|
||||
newStatus(interface->status());
|
||||
resetIcon();
|
||||
});
|
||||
|
||||
connect(interface, SIGNAL(NewIcon()), this, SLOT(newIcon()));
|
||||
connect(interface, SIGNAL(NewOverlayIcon()), this, SLOT(newOverlayIcon()));
|
||||
connect(interface, SIGNAL(NewAttentionIcon()), this, SLOT(newAttentionIcon()));
|
||||
connect(interface, SIGNAL(NewToolTip()), this, SLOT(newToolTip()));
|
||||
connect(interface, SIGNAL(NewStatus(QString)), this, SLOT(newStatus(QString)));
|
||||
}
|
||||
newToolTip();
|
||||
}
|
||||
|
||||
StatusNotifierButton::~StatusNotifierButton()
|
||||
{
|
||||
delete interface;
|
||||
}
|
||||
|
||||
void StatusNotifierButton::newIcon()
|
||||
{
|
||||
refetchIcon(Passive);
|
||||
resetIcon();
|
||||
}
|
||||
|
||||
void StatusNotifierButton::newOverlayIcon()
|
||||
{
|
||||
refetchIcon(Active);
|
||||
resetIcon();
|
||||
}
|
||||
|
||||
void StatusNotifierButton::newAttentionIcon()
|
||||
{
|
||||
refetchIcon(NeedsAttention);
|
||||
resetIcon();
|
||||
}
|
||||
|
||||
void StatusNotifierButton::refetchIcon(Status status)
|
||||
{
|
||||
QString iconName;
|
||||
switch (status)
|
||||
QString nameProperty, pixmapProperty;
|
||||
if (status == Active)
|
||||
{
|
||||
case Active:
|
||||
iconName = interface->overlayIconName();
|
||||
break;
|
||||
case NeedsAttention:
|
||||
iconName = interface->attentionIconName();
|
||||
break;
|
||||
case Passive:
|
||||
iconName = interface->iconName();
|
||||
break;
|
||||
nameProperty = QStringLiteral("OverlayIconName");
|
||||
pixmapProperty = QStringLiteral("OverlayIconPixmap");
|
||||
}
|
||||
else if (status == NeedsAttention)
|
||||
{
|
||||
nameProperty = QStringLiteral("AttentionIconName");
|
||||
pixmapProperty = QStringLiteral("AttentionIconPixmap");
|
||||
}
|
||||
else // status == Passive
|
||||
{
|
||||
nameProperty = QStringLiteral("IconName");
|
||||
pixmapProperty = QStringLiteral("IconPixmap");
|
||||
}
|
||||
|
||||
QIcon nextIcon;
|
||||
if (!iconName.isEmpty())
|
||||
{
|
||||
if (QIcon::hasThemeIcon(iconName))
|
||||
nextIcon = QIcon::fromTheme(iconName);
|
||||
else
|
||||
interface->propertyGetAsync(nameProperty, [this, status, pixmapProperty] (QString iconName) {
|
||||
QIcon nextIcon;
|
||||
if (!iconName.isEmpty())
|
||||
{
|
||||
QDir themeDir(interface->iconThemePath());
|
||||
if (themeDir.exists())
|
||||
if (QIcon::hasThemeIcon(iconName))
|
||||
nextIcon = QIcon::fromTheme(iconName);
|
||||
else
|
||||
{
|
||||
if (themeDir.exists(iconName + ".png"))
|
||||
nextIcon.addFile(themeDir.filePath(iconName + ".png"));
|
||||
|
||||
if (themeDir.cd("hicolor") || (themeDir.cd("icons") && themeDir.cd("hicolor")))
|
||||
QDir themeDir(mThemePath);
|
||||
if (themeDir.exists())
|
||||
{
|
||||
QStringList sizes = themeDir.entryList(QDir::AllDirs | QDir::NoDotAndDotDot);
|
||||
foreach (QString dir, sizes)
|
||||
if (themeDir.exists(iconName + ".png"))
|
||||
nextIcon.addFile(themeDir.filePath(iconName + ".png"));
|
||||
|
||||
if (themeDir.cd("hicolor") || (themeDir.cd("icons") && themeDir.cd("hicolor")))
|
||||
{
|
||||
QStringList dirs = QDir(themeDir.filePath(dir)).entryList(QDir::AllDirs | QDir::NoDotAndDotDot);
|
||||
foreach (QString innerDir, dirs)
|
||||
QStringList sizes = themeDir.entryList(QDir::AllDirs | QDir::NoDotAndDotDot);
|
||||
foreach (QString dir, sizes)
|
||||
{
|
||||
QString file = themeDir.absolutePath() + "/" + dir + "/" + innerDir + "/" + iconName + ".png";
|
||||
if (QFile::exists(file))
|
||||
nextIcon.addFile(file);
|
||||
QStringList dirs = QDir(themeDir.filePath(dir)).entryList(QDir::AllDirs | QDir::NoDotAndDotDot);
|
||||
foreach (QString innerDir, dirs)
|
||||
{
|
||||
QString file = themeDir.absolutePath() + "/" + dir + "/" + innerDir + "/" + iconName + ".png";
|
||||
if (QFile::exists(file))
|
||||
nextIcon.addFile(file);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switch (status)
|
||||
{
|
||||
case Active:
|
||||
mOverlayIcon = nextIcon;
|
||||
break;
|
||||
case NeedsAttention:
|
||||
mAttentionIcon = nextIcon;
|
||||
break;
|
||||
case Passive:
|
||||
mIcon = nextIcon;
|
||||
break;
|
||||
}
|
||||
|
||||
resetIcon();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
IconPixmapList iconPixmaps;
|
||||
switch (status)
|
||||
else
|
||||
{
|
||||
case Active:
|
||||
iconPixmaps = interface->overlayIconPixmap();
|
||||
break;
|
||||
case NeedsAttention:
|
||||
iconPixmaps = interface->attentionIconPixmap();
|
||||
break;
|
||||
case Passive:
|
||||
iconPixmaps = interface->iconPixmap();
|
||||
break;
|
||||
interface->propertyGetAsync(pixmapProperty, [this, status, pixmapProperty] (IconPixmapList iconPixmaps) {
|
||||
if (iconPixmaps.empty())
|
||||
return;
|
||||
|
||||
QIcon nextIcon;
|
||||
|
||||
for (IconPixmap iconPixmap: iconPixmaps)
|
||||
{
|
||||
if (!iconPixmap.bytes.isNull())
|
||||
{
|
||||
QImage image((uchar*) iconPixmap.bytes.data(), iconPixmap.width,
|
||||
iconPixmap.height, QImage::Format_ARGB32);
|
||||
|
||||
const uchar *end = image.constBits() + image.byteCount();
|
||||
uchar *dest = reinterpret_cast<uchar*>(iconPixmap.bytes.data());
|
||||
for (const uchar *src = image.constBits(); src < end; src += 4, dest += 4)
|
||||
qToUnaligned(qToBigEndian<quint32>(qFromUnaligned<quint32>(src)), dest);
|
||||
|
||||
nextIcon.addPixmap(QPixmap::fromImage(image));
|
||||
}
|
||||
}
|
||||
|
||||
switch (status)
|
||||
{
|
||||
case Active:
|
||||
mOverlayIcon = nextIcon;
|
||||
break;
|
||||
case NeedsAttention:
|
||||
mAttentionIcon = nextIcon;
|
||||
break;
|
||||
case Passive:
|
||||
mIcon = nextIcon;
|
||||
break;
|
||||
}
|
||||
|
||||
resetIcon();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
if (!iconPixmaps.empty() && !iconPixmaps.first().bytes.isNull())
|
||||
{
|
||||
IconPixmap iconPixmap = iconPixmaps.first();
|
||||
QImage image((uchar*) iconPixmap.bytes.data(), iconPixmap.width, iconPixmap.height, QImage::Format_ARGB32);
|
||||
const uchar *end = image.constBits() + image.byteCount();
|
||||
uchar *dest = reinterpret_cast<uchar*>(iconPixmap.bytes.data());
|
||||
for (const uchar *src = image.constBits(); src < end; src += 4, dest += 4)
|
||||
qToUnaligned(qToBigEndian<quint32>(qFromUnaligned<quint32>(src)), dest);
|
||||
|
||||
QPixmap pixmap = QPixmap::fromImage(image);
|
||||
nextIcon = QIcon(pixmap);
|
||||
}
|
||||
}
|
||||
|
||||
switch (status)
|
||||
{
|
||||
case Active:
|
||||
mOverlayIcon = nextIcon;
|
||||
break;
|
||||
case NeedsAttention:
|
||||
mAttentionIcon = nextIcon;
|
||||
break;
|
||||
case Passive:
|
||||
mIcon = nextIcon;
|
||||
break;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void StatusNotifierButton::newToolTip()
|
||||
{
|
||||
QString toolTipTitle = interface->toolTip().title;
|
||||
setToolTip(toolTipTitle.isEmpty() ? interface->title() : toolTipTitle);
|
||||
interface->propertyGetAsync(QStringLiteral("ToolTip"), [this] (ToolTip tooltip) {
|
||||
QString toolTipTitle = tooltip.title;
|
||||
if (!toolTipTitle.isEmpty())
|
||||
setToolTip(toolTipTitle);
|
||||
else
|
||||
interface->propertyGetAsync(QStringLiteral("Title"), [this] (QString title) {
|
||||
// we should get here only in case the ToolTip.title was empty
|
||||
if (!title.isEmpty())
|
||||
setToolTip(title);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
void StatusNotifierButton::newStatus(QString status)
|
||||
@ -222,7 +247,13 @@ void StatusNotifierButton::mouseReleaseEvent(QMouseEvent *event)
|
||||
else if (event->button() == Qt::MidButton)
|
||||
interface->SecondaryActivate(QCursor::pos().x(), QCursor::pos().y());
|
||||
else if (Qt::RightButton == event->button())
|
||||
mMenu->popup(QCursor::pos());
|
||||
{
|
||||
if (mMenu)
|
||||
mMenu->popup(QCursor::pos());
|
||||
else
|
||||
interface->ContextMenu(QCursor::pos().x(), QCursor::pos().y());
|
||||
}
|
||||
|
||||
QToolButton::mouseReleaseEvent(event);
|
||||
}
|
||||
|
||||
|
@ -37,8 +37,6 @@
|
||||
#include <QWheelEvent>
|
||||
#include <QMenu>
|
||||
|
||||
#include "statusnotifieriteminterface.h"
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
|
||||
template <typename T> inline T qFromUnaligned(const uchar *src)
|
||||
{
|
||||
@ -50,6 +48,7 @@ template <typename T> inline T qFromUnaligned(const uchar *src)
|
||||
#endif
|
||||
|
||||
class ILXQtPanelPlugin;
|
||||
class SniAsync;
|
||||
|
||||
class StatusNotifierButton : public QToolButton
|
||||
{
|
||||
@ -59,8 +58,6 @@ public:
|
||||
StatusNotifierButton(QString service, QString objectPath, ILXQtPanelPlugin* plugin, QWidget *parent = 0);
|
||||
~StatusNotifierButton();
|
||||
|
||||
bool isValid() const { return mValid; }
|
||||
|
||||
enum Status
|
||||
{
|
||||
Passive, Active, NeedsAttention
|
||||
@ -74,11 +71,11 @@ public slots:
|
||||
void newStatus(QString status);
|
||||
|
||||
private:
|
||||
org::kde::StatusNotifierItem *interface;
|
||||
SniAsync *interface;
|
||||
QMenu *mMenu;
|
||||
Status mStatus;
|
||||
bool mValid;
|
||||
|
||||
QString mThemePath;
|
||||
QIcon mIcon, mOverlayIcon, mAttentionIcon, mFallbackIcon;
|
||||
|
||||
ILXQtPanelPlugin* mPlugin;
|
||||
|
@ -53,6 +53,11 @@ StatusNotifierWidget::StatusNotifierWidget(ILXQtPanelPlugin *plugin, QWidget *pa
|
||||
|
||||
}
|
||||
|
||||
StatusNotifierWidget::~StatusNotifierWidget()
|
||||
{
|
||||
delete mWatcher;
|
||||
}
|
||||
|
||||
void StatusNotifierWidget::itemAdded(QString serviceAndPath)
|
||||
{
|
||||
int slash = serviceAndPath.indexOf('/');
|
||||
@ -60,15 +65,10 @@ void StatusNotifierWidget::itemAdded(QString serviceAndPath)
|
||||
QString path = serviceAndPath.mid(slash);
|
||||
StatusNotifierButton *button = new StatusNotifierButton(serv, path, mPlugin, this);
|
||||
|
||||
if (!button->isValid())
|
||||
delete button;
|
||||
else
|
||||
{
|
||||
mServices.insert(serviceAndPath, button);
|
||||
layout()->addWidget(button);
|
||||
layout()->setAlignment(button, Qt::AlignCenter);
|
||||
button->show();
|
||||
}
|
||||
mServices.insert(serviceAndPath, button);
|
||||
layout()->addWidget(button);
|
||||
layout()->setAlignment(button, Qt::AlignCenter);
|
||||
button->show();
|
||||
}
|
||||
|
||||
void StatusNotifierWidget::itemRemoved(const QString &serviceAndPath)
|
||||
|
@ -42,6 +42,7 @@ class StatusNotifierWidget : public QWidget
|
||||
|
||||
public:
|
||||
StatusNotifierWidget(ILXQtPanelPlugin *plugin, QWidget *parent = 0);
|
||||
~StatusNotifierWidget();
|
||||
|
||||
signals:
|
||||
|
||||
|
@ -0,0 +1,2 @@
|
||||
Name[it]=Notificatore
|
||||
Comment[it]=Mostra lo status delle applicazioni
|
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="el">
|
||||
<context>
|
||||
<name>LxQtSysStatColours</name>
|
||||
<name>LXQtSysStatColours</name>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="14"/>
|
||||
<source>System Statistics Colors</source>
|
||||
@ -112,7 +112,7 @@
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtSysStatConfiguration</name>
|
||||
<name>LXQtSysStatConfiguration</name>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="22"/>
|
||||
<source>Graph</source>
|
||||
|
2
plugin-sysstat/translations/sysstat_it.desktop
Normal file
2
plugin-sysstat/translations/sysstat_it.desktop
Normal file
@ -0,0 +1,2 @@
|
||||
Name[it]=Statistiche del sistema
|
||||
Comment[it]=Mostra statistiche configurabili del sistema
|
237
plugin-sysstat/translations/sysstat_it.ts
Normal file
237
plugin-sysstat/translations/sysstat_it.ts
Normal file
@ -0,0 +1,237 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtSysStatColours</name>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="14"/>
|
||||
<source>System Statistics Colors</source>
|
||||
<translation>Colori delle statistiche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="24"/>
|
||||
<source>Graph</source>
|
||||
<translation>Grafico</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="30"/>
|
||||
<source>&Grid</source>
|
||||
<translation>&Griglia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="40"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="57"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="73"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="90"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="117"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="144"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="151"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="178"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="205"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="232"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="239"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="265"/>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="282"/>
|
||||
<source>Change ...</source>
|
||||
<translation>Cambia ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="47"/>
|
||||
<source>T&itle</source>
|
||||
<translation>&Titolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="67"/>
|
||||
<source>CPU</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="80"/>
|
||||
<source>&Nice</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="97"/>
|
||||
<source>Ot&her</source>
|
||||
<translation>&Altro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="107"/>
|
||||
<source>&Frequency</source>
|
||||
<translation>&Frequenza</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="124"/>
|
||||
<source>S&ystem</source>
|
||||
<translation>&Sistema</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="134"/>
|
||||
<source>&User</source>
|
||||
<translation>&Utente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="172"/>
|
||||
<source>Memory</source>
|
||||
<translation>Memoria</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="185"/>
|
||||
<source>Cache&d</source>
|
||||
<translation>&Cache</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="195"/>
|
||||
<source>S&wap</source>
|
||||
<translation>&Swap</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="212"/>
|
||||
<source>&Applications</source>
|
||||
<translation>&Applicazioni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="222"/>
|
||||
<source>&Buffers</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="249"/>
|
||||
<source>Network</source>
|
||||
<translation>Rete</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="255"/>
|
||||
<source>&Received</source>
|
||||
<translation>&Ricevuti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatcolours.ui" line="272"/>
|
||||
<source>&Transmitted</source>
|
||||
<translation>&Trasmessi</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LXQtSysStatConfiguration</name>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="22"/>
|
||||
<source>Graph</source>
|
||||
<translation>Grafico</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="83"/>
|
||||
<source> px</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="99"/>
|
||||
<source> s</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="124"/>
|
||||
<source>Data</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="14"/>
|
||||
<source>System Statistics Settings</source>
|
||||
<translation>Impostazioni statistiche del sistema</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="34"/>
|
||||
<source>&Minimal size</source>
|
||||
<translation>&Grandezza minimale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="44"/>
|
||||
<source>Update &interval</source>
|
||||
<translation>&Intervallo di aggiornamento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="54"/>
|
||||
<source>&Title</source>
|
||||
<translation>&Titolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="64"/>
|
||||
<source>&Grid lines</source>
|
||||
<translation>&Linee griglia</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="80"/>
|
||||
<source><html><head/><body><p>Minimal width if the panel is horizontal.</p><p>Minimal height is the panel is vertical.</p></body></html></source>
|
||||
<translation><html><head/><body><p>Larghezza minimale se il pannello è orizzontale.</p><p>Altezza minimale se il pannello è verticale.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="149"/>
|
||||
<source>Use &frequency</source>
|
||||
<translation>Usa &frequenza</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="207"/>
|
||||
<source>Ma&ximum</source>
|
||||
<translation>&Massimo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="241"/>
|
||||
<source>Lo&garithmic scale</source>
|
||||
<translation>Scala &logaritmica</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="290"/>
|
||||
<source>CPU</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="295"/>
|
||||
<source>Memory</source>
|
||||
<translation>Memoria</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="300"/>
|
||||
<source>Network</source>
|
||||
<translation>Rete</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="308"/>
|
||||
<source>&Source</source>
|
||||
<translation>&Sorgente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="318"/>
|
||||
<source>T&ype</source>
|
||||
<translation>&Tipo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="334"/>
|
||||
<source>Colours</source>
|
||||
<translation>Colori</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="349"/>
|
||||
<source>Use t&heme colours</source>
|
||||
<translation>Usa colori del &tema</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="359"/>
|
||||
<source>Use c&ustom colours</source>
|
||||
<translation>Colori &personalizzati</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="366"/>
|
||||
<source>Custom colour ...</source>
|
||||
<translation>Colore personalizzato ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="222"/>
|
||||
<source>XXX KBs</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtsysstatconfiguration.ui" line="248"/>
|
||||
<source> steps</source>
|
||||
<translation> intervalli</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
2
plugin-taskbar/translations/taskbar_it.desktop
Normal file
2
plugin-taskbar/translations/taskbar_it.desktop
Normal file
@ -0,0 +1,2 @@
|
||||
Name[it]=Barra delle applicazioni
|
||||
Comment[it]=Permette di spostarsi tra le applicazioni in esecuzione tramite pulsanti
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtTaskButton</name>
|
||||
<message>
|
||||
@ -94,12 +94,12 @@
|
||||
<message>
|
||||
<location filename="../lxqttaskgroup.cpp" line="81"/>
|
||||
<source>Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Gruppo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqttaskgroup.cpp" line="82"/>
|
||||
<source>Close group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Chiudi gruppo</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -120,42 +120,42 @@
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.ui" line="20"/>
|
||||
<source>General</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Generali</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.ui" line="26"/>
|
||||
<source>Show windows from c&urrent desktop</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Mostra finestre del &desktop attuale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.ui" line="36"/>
|
||||
<source>Show windows from all des&ktops</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Mostra finestre di &tutti desktop</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.ui" line="56"/>
|
||||
<source>Window &grouping</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>&Ragruppa finestre della stessa applicazione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.ui" line="65"/>
|
||||
<source>Show popup on mouse hover </source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Mostra popup al passaggio del mouse </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.ui" line="75"/>
|
||||
<source>Appearance</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Aspetto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.ui" line="94"/>
|
||||
<source>Maximum button width</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Larghezza massima del pulsante</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.ui" line="107"/>
|
||||
<source> px</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>px</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Taskbar Contents</source>
|
||||
@ -198,7 +198,7 @@
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.ui" line="46"/>
|
||||
<source>Close on middle-click</source>
|
||||
<translation>Chiudi con un clic del tasto centrale</translation>
|
||||
<translation>Chiudi con un click del tasto centrale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqttaskbarconfiguration.cpp" line="46"/>
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Task manager
|
||||
Comment=Switch between running applications
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Permette di accedere alle applicazioni in esecuzione
|
||||
Name[it_IT]=Gestore dei processi
|
2
plugin-tray/translations/tray_it.desktop
Normal file
2
plugin-tray/translations/tray_it.desktop
Normal file
@ -0,0 +1,2 @@
|
||||
Comment[it]=Accedi alle applicazioni minimizzate nel vassoio di sistema
|
||||
Name[it]=Vassoio di sistema
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=System tray
|
||||
Comment=Display applications minimized to the system tray.
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Accedi alle applicazioni nascoste minimizzate nel vassoio di sistema
|
||||
Name[it_IT]=Vassoio di sistema
|
@ -33,6 +33,7 @@
|
||||
#include <QPainter>
|
||||
#include <QBitmap>
|
||||
#include <QStyle>
|
||||
#include <QScreen>
|
||||
|
||||
#include "../panel/lxqtpanel.h"
|
||||
#include "trayicon.h"
|
||||
@ -311,8 +312,8 @@ void TrayIcon::draw(QPaintEvent* /*event*/)
|
||||
|
||||
XClearArea(mDisplay, (Window)winId(), 0, 0, attr.width, attr.height, False);
|
||||
// for some unknown reason, XGetImage failed. try another less efficient method.
|
||||
// QPixmap::grabWindow uses XCopyArea() internally.
|
||||
image = QPixmap::grabWindow(mIconId).toImage();
|
||||
// QScreen::grabWindow uses XCopyArea() internally.
|
||||
image = qApp->primaryScreen()->grabWindow(mIconId).toImage();
|
||||
}
|
||||
|
||||
// qDebug() << "Paint icon **************************************";
|
||||
|
3
plugin-volume/translations/volume_it.desktop
Normal file
3
plugin-volume/translations/volume_it.desktop
Normal file
@ -0,0 +1,3 @@
|
||||
Name[it]=Controllo del volume
|
||||
Comment[it]=Controlla il volume del sistema e avvia il mixer preferito
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it_IT">
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtVolume</name>
|
||||
<message>
|
||||
@ -10,28 +10,28 @@
|
||||
<message>
|
||||
<location filename="../lxqtvolume.cpp" line="63"/>
|
||||
<source>Increase sound volume</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Alza volume</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtvolume.cpp" line="69"/>
|
||||
<source>Decrease sound volume</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Abbassa volume</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtvolume.cpp" line="75"/>
|
||||
<source>Mute/unmute sound volume</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Muta/smuta audio</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtvolume.cpp" line="136"/>
|
||||
<source>Volume Control: The following shortcuts can not be registered: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Controllo volume: la scorciatoia globale '%1' non può essere registrata</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtvolume.cpp" line="219"/>
|
||||
<location filename="../lxqtvolume.cpp" line="229"/>
|
||||
<source>Volume: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Volume: %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -43,7 +43,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtvolumeconfiguration.ui" line="14"/>
|
||||
<source>Volume Control Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Impostazioni controllo volume</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtvolumeconfiguration.ui" line="20"/>
|
||||
@ -63,7 +63,7 @@
|
||||
<message>
|
||||
<location filename="../lxqtvolumeconfiguration.ui" line="42"/>
|
||||
<source>OSS</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>OSS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtvolumeconfiguration.ui" line="57"/>
|
||||
@ -73,12 +73,12 @@
|
||||
<message>
|
||||
<location filename="../lxqtvolumeconfiguration.ui" line="63"/>
|
||||
<source>Mute on middle click</source>
|
||||
<translation>Muto al clic centrale del mouse</translation>
|
||||
<translation>Muta al click centrale del mouse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtvolumeconfiguration.ui" line="70"/>
|
||||
<source>Show on mouse click</source>
|
||||
<translation>Mostra al clic del mouse</translation>
|
||||
<translation>Mostra al click del mouse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtvolumeconfiguration.ui" line="77"/>
|
||||
@ -101,12 +101,12 @@
|
||||
<message>
|
||||
<location filename="../volumepopup.cpp" line="54"/>
|
||||
<source>Launch mixer</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Avvia mixer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../volumepopup.cpp" line="55"/>
|
||||
<source>Mixer</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Mixer</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Service
|
||||
ServiceTypes=LXQtPanel/Plugin
|
||||
Name=Volume control
|
||||
Comment=Control the system's volume and launch your preferred mixer.
|
||||
|
||||
#TRANSLATIONS_DIR=../translations
|
||||
|
||||
|
||||
# Translations
|
||||
Comment[it_IT]=Controlla il volume del sistema e avvia il tuo mixer preferito.
|
||||
Name[it_IT]=Controllo del volume
|
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="el">
|
||||
<context>
|
||||
<name>LxQtWorldClock</name>
|
||||
<name>LXQtWorldClock</name>
|
||||
<message>
|
||||
<location filename="../lxqtworldclock.cpp" line="185"/>
|
||||
<source>'<b>'HH:mm:ss'</b><br/><font size="-2">'ddd, d MMM yyyy'<br/>'TT'</font>'</source>
|
||||
@ -10,7 +10,7 @@
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtWorldClockConfiguration</name>
|
||||
<name>LXQtWorldClockConfiguration</name>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="14"/>
|
||||
<source>World Clock Settings</source>
|
||||
@ -239,7 +239,7 @@
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtWorldClockConfigurationManualFormat</name>
|
||||
<name>LXQtWorldClockConfigurationManualFormat</name>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationmanualformat.ui" line="14"/>
|
||||
<source>World Clock Time Zones</source>
|
||||
@ -324,7 +324,7 @@
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LxQtWorldClockConfigurationTimeZones</name>
|
||||
<name>LXQtWorldClockConfigurationTimeZones</name>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationtimezones.ui" line="14"/>
|
||||
<source>World Clock Time Zones</source>
|
||||
|
3
plugin-worldclock/translations/worldclock_it.desktop
Normal file
3
plugin-worldclock/translations/worldclock_it.desktop
Normal file
@ -0,0 +1,3 @@
|
||||
#TRANSLATIONS
|
||||
Name[it]=Orologio mondiale
|
||||
Comment[it]=Mostra un orologio con un fuso orario diverso
|
328
plugin-worldclock/translations/worldclock_it.ts
Normal file
328
plugin-worldclock/translations/worldclock_it.ts
Normal file
@ -0,0 +1,328 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="it">
|
||||
<context>
|
||||
<name>LXQtWorldClock</name>
|
||||
<message>
|
||||
<location filename="../lxqtworldclock.cpp" line="187"/>
|
||||
<source>'<b>'HH:mm:ss'</b><br/><font size="-2">'ddd, d MMM yyyy'<br/>'TT'</font>'</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LXQtWorldClockConfiguration</name>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="14"/>
|
||||
<source>World Clock Settings</source>
|
||||
<translation>Impostazioni orologio mondiale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="24"/>
|
||||
<source>Display &format</source>
|
||||
<translation>&Aspetto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="30"/>
|
||||
<source>&Time</source>
|
||||
<translation>&Ora</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="39"/>
|
||||
<source>F&ormat:</source>
|
||||
<translation>F&ormato:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="50"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="176"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="272"/>
|
||||
<source>Short</source>
|
||||
<translation>Breve</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="55"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="181"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="277"/>
|
||||
<source>Long</source>
|
||||
<translation>Esteso</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="60"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="287"/>
|
||||
<source>Custom</source>
|
||||
<translation>Personalizzato</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="89"/>
|
||||
<source>Sho&w seconds</source>
|
||||
<translation>&Mostra secondi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="96"/>
|
||||
<source>Pad &hour with zero</source>
|
||||
<translation>Ora &senza zero iniziale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="116"/>
|
||||
<source>T&ime zone</source>
|
||||
<translation>&Fuso orario</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="128"/>
|
||||
<source>&Position:</source>
|
||||
<translation>&Posizione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="138"/>
|
||||
<source>For&mat:</source>
|
||||
<translation>F&ormato:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="149"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="238"/>
|
||||
<source>Below</source>
|
||||
<translation>Sotto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="154"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="243"/>
|
||||
<source>Above</source>
|
||||
<translation>Sopra</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="159"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="248"/>
|
||||
<source>Before</source>
|
||||
<translation>Prima</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="164"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="253"/>
|
||||
<source>After</source>
|
||||
<translation>Dopo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="186"/>
|
||||
<source>Offset from UTC</source>
|
||||
<translation>Differenza da UTC</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="191"/>
|
||||
<source>Abbreviation</source>
|
||||
<translation>Abbreviazione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="431"/>
|
||||
<source>IANA id</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="201"/>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="436"/>
|
||||
<location filename="../lxqtworldclockconfiguration.cpp" line="591"/>
|
||||
<source>Custom name</source>
|
||||
<translation>Nome personalizzato</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="103"/>
|
||||
<source>&Use 12-hour format</source>
|
||||
<translation>&Usa formato 12 ore</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="196"/>
|
||||
<source>Location identifier</source>
|
||||
<translation>Nome località</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="212"/>
|
||||
<source>&Date</source>
|
||||
<translation>&Data</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="227"/>
|
||||
<source>Po&sition:</source>
|
||||
<translation>&Posizione:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="261"/>
|
||||
<source>Fo&rmat:</source>
|
||||
<translation>F&ormato:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="282"/>
|
||||
<source>ISO 8601</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="316"/>
|
||||
<source>Show &year</source>
|
||||
<translation>Mostra l'&anno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="323"/>
|
||||
<source>Show day of wee&k</source>
|
||||
<translation>Mostra &giorno della settimana</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="330"/>
|
||||
<source>Pad d&ay with zero</source>
|
||||
<translation>Giorno &senza zero iniziale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="337"/>
|
||||
<source>&Long month and day of week names</source>
|
||||
<translation>Nome &esteso per mese e giorno della settimana</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="350"/>
|
||||
<source>Ad&vanced manual format</source>
|
||||
<translation>Formato avanzato &personalizzato</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="377"/>
|
||||
<source>&Customise ...</source>
|
||||
<translation>&Personalizza...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="403"/>
|
||||
<source>Time &zones</source>
|
||||
<translation>Fu&si orari</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="446"/>
|
||||
<source>&Add ...</source>
|
||||
<translation>&Aggiungi...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="456"/>
|
||||
<source>&Remove</source>
|
||||
<translation>&Rimuovi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="466"/>
|
||||
<source>Set as &default</source>
|
||||
<translation>&Imponi come predefinito</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="476"/>
|
||||
<source>&Edit custom name ...</source>
|
||||
<translation>&Personalizza nome...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="486"/>
|
||||
<source>Move &up</source>
|
||||
<translation>&Sù</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="496"/>
|
||||
<source>Move do&wn</source>
|
||||
<translation>&Giù</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="519"/>
|
||||
<source>&General</source>
|
||||
<translation>A&ltro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.ui" line="525"/>
|
||||
<source>Auto&rotate when the panel is vertical</source>
|
||||
<translation>&Ruota automaticamente se il panello è verticale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.cpp" line="105"/>
|
||||
<source>'<b>'HH:mm:ss'</b><br/><font size="-2">'ddd, d MMM yyyy'<br/>'TT'</font>'</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfiguration.cpp" line="591"/>
|
||||
<source>Input custom time zone name</source>
|
||||
<translation>Nome personalizzato</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LXQtWorldClockConfigurationManualFormat</name>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationmanualformat.ui" line="14"/>
|
||||
<source>World Clock Time Zones</source>
|
||||
<translation>Fusi orari orologio mondiale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationmanualformat.ui" line="83"/>
|
||||
<source><h1>Custom Date/Time Format Syntax</h1>
|
||||
<p>A date pattern is a string of characters, where specific strings of characters are replaced with date and time data from a calendar when formatting or used to generate data for a calendar when parsing.</p>
|
||||
<p>The Date Field Symbol Table below contains the characters used in patterns to show the appropriate formats for a given locale, such as yyyy for the year. Characters may be used multiple times. For example, if y is used for the year, 'yy' might produce '99', whereas 'yyyy' produces '1999'. For most numerical fields, the number of characters specifies the field width. For example, if h is the hour, 'h' might produce '5', but 'hh' produces '05'. For some characters, the count specifies whether an abbreviated or full form should be used, but may have other choices, as given below.</p>
|
||||
<p>Two single quotes represents a literal single quote, either inside or outside single quotes. Text within single quotes is not interpreted in any way (except for two adjacent single quotes). Otherwise all ASCII letter from a to z and A to Z are reserved as syntax characters, and require quoting if they are to represent literal characters. In addition, certain ASCII punctuation characters may become variable in the future (eg ":" being interpreted as the time separator and '/' as a date separator, and replaced by respective locale-sensitive characters in display).<br /></p>
|
||||
<table border="1" width="100%" cellpadding="4" cellspacing="0">
|
||||
<tr><th width="20%">Code</th><th>Meaning</th></tr>
|
||||
<tr><td>d</td><td>the day as number without a leading zero (1 to 31)</td></tr>
|
||||
<tr><td>dd</td><td>the day as number with a leading zero (01 to 31)</td></tr>
|
||||
<tr><td>ddd</td><td>the abbreviated localized day name (e.g. 'Mon' to 'Sun').</td></tr>
|
||||
<tr><td>dddd</td><td>the long localized day name (e.g. 'Monday' to 'Sunday</td></tr>
|
||||
<tr><td>M</td><td>the month as number without a leading zero (1-12)</td></tr>
|
||||
<tr><td>MM</td><td>the month as number with a leading zero (01-12)</td></tr>
|
||||
<tr><td>MMM</td><td>the abbreviated localized month name (e.g. 'Jan' to 'Dec').</td></tr>
|
||||
<tr><td>MMMM</td><td>the long localized month name (e.g. 'January' to 'December').</td></tr>
|
||||
<tr><td>yy</td><td>the year as two digit number (00-99)</td></tr>
|
||||
<tr><td>yyyy</td><td>the year as four digit number</td></tr>
|
||||
<tr><td>h</td><td>the hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display)</td></tr>
|
||||
<tr><td>hh</td><td>the hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display)</td></tr>
|
||||
<tr><td>H</td><td>the hour without a leading zero (0 to 23, even with AM/PM display)</td></tr>
|
||||
<tr><td>HH</td><td>the hour with a leading zero (00 to 23, even with AM/PM display)</td></tr>
|
||||
<tr><td>m</td><td>the minute without a leading zero (0 to 59)</td></tr>
|
||||
<tr><td>mm</td><td>the minute with a leading zero (00 to 59)</td></tr>
|
||||
<tr><td>s</td><td>the second without a leading zero (0 to 59)</td></tr>
|
||||
<tr><td>ss</td><td>the second with a leading zero (00 to 59)</td></tr>
|
||||
<tr><td>z</td><td>the milliseconds without leading zeroes (0 to 999)</td></tr>
|
||||
<tr><td>zzz</td><td>the milliseconds with leading zeroes (000 to 999)</td></tr>
|
||||
<tr><td>AP <i>or</i> A</td><td>use AM/PM display. <b>A/AP</b> will be replaced by either "AM" or "PM".<</td></tr>
|
||||
<tr><td>ap <i>or</i> a</td><td>use am/pm display. <b>a/ap</b> will be replaced by either "am" or "pm".<</td></tr>
|
||||
<tr><td>t</td><td>the timezone (for example "CEST")</td></tr>
|
||||
<tr><td>T</td><td>the offset from UTC</td></tr>
|
||||
<tr><td>TT</td><td>the timezone IANA id</td></tr>
|
||||
<tr><td>TTT</td><td>the timezone abbreviation</td></tr>
|
||||
<tr><td>TTTT</td><td>the timezone short display name</td></tr>
|
||||
<tr><td>TTTTT</td><td>the timezone long display name</td></tr>
|
||||
<tr><td>TTTTTT</td><td>the timezone custom name. You can change it the 'Time zones' tab of the configuration window</td></tr></table>
|
||||
<p><br /><b>Note:</b> Any characters in the pattern that are not in the ranges of ['a'..'z'] and ['A'..'Z'] will be treated as quoted text. For instance, characters like ':', '.', ' ', '#' and '@' will appear in the resulting time text even they are not enclosed within single quotes.The single quote is used to 'escape' letters. Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.</p>
|
||||
</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LXQtWorldClockConfigurationTimeZones</name>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationtimezones.ui" line="14"/>
|
||||
<source>World Clock Time Zones</source>
|
||||
<translation>Fusi orari orologio mondiale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationtimezones.ui" line="36"/>
|
||||
<source>Time zone</source>
|
||||
<translation>Fuso orario</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationtimezones.ui" line="41"/>
|
||||
<source>Name</source>
|
||||
<translation>Nome</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationtimezones.ui" line="46"/>
|
||||
<source>Comment</source>
|
||||
<translation>Commento</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationtimezones.ui" line="51"/>
|
||||
<source>Country</source>
|
||||
<translation>Paese</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationtimezones.cpp" line="115"/>
|
||||
<source>UTC</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../lxqtworldclockconfigurationtimezones.cpp" line="118"/>
|
||||
<source>Other</source>
|
||||
<translation>Altro</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
Loading…
x
Reference in New Issue
Block a user