Skip to content

Commit

Permalink
Merge branch 'master' into patch-7-pt
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix authored Jun 2, 2024
2 parents 83b1959 + e534a48 commit c645f0d
Show file tree
Hide file tree
Showing 13 changed files with 184 additions and 51 deletions.
80 changes: 77 additions & 3 deletions data/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,80 @@
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox" id="ui_box_warning_battery">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">8</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">dialog-warning-symbolic</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Your battery is dead.</property>
<property name="wrap">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkBox" id="ui_box_warning_deep">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">8</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">dialog-warning-symbolic</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Your device does not support S3 state sleep.</property>
<property name="wrap">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkBox" id="ui_box_warning_virtual">
<property name="visible">True</property>
Expand Down Expand Up @@ -557,7 +631,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
<property name="position">4</property>
</packing>
</child>
<child>
Expand Down Expand Up @@ -594,7 +668,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
<property name="position">5</property>
</packing>
</child>
<child>
Expand Down Expand Up @@ -631,7 +705,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
<property name="position">6</property>
</packing>
</child>
</object>
Expand Down
3 changes: 2 additions & 1 deletion data/ppm-client.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ Name[tr]=Pardus Güç Yöneticisi
Comment=Power management tools for pardus
Comment[pt]=Ferramenta de gestão de energia para o Pardus
Comment[tr]=Pardus için güç yönetim aracı
Exec=/usr/share/pardus/power-manager/client/main.py
Exec=pardus-power-manager
Icon=pardus-power-manager
Terminal=False
Type=Application
Categories=Application;System;X-Pardus-Apps;
StartupWMClass=pardus-power-manager
3 changes: 3 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ endforeach
install_data('data/pardus-power-manager.svg', install_dir: app_icon_dir)
# install desktop files
install_data('data/ppm-client.desktop', install_dir: application_dir, rename: 'tr.org.pardus.power-manager.desktop')
meson.add_install_script('sh', '-c',
'ln -s ../share/pardus/power-manager/client/main.py ' +
'${DESTDIR}/' + bin_dir + '/pardus-power-manager')
install_data('data/ppm-autostart.desktop', install_dir: autostart_dir)
# install policy file
install_data('data/ppm.policy', install_dir: policy_dir)
Expand Down
44 changes: 26 additions & 18 deletions pardus-power-manager.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-09 15:18+0300\n"
"POT-Creation-Date: 2024-05-27 06:56+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -49,8 +49,8 @@ msgstr ""
msgid "Screen Brightness:"
msgstr ""

#: src/data/MainWindow.ui:402 src/client/MainWindow.py:82
#: src/client/MainWindow.py:85
#: src/data/MainWindow.ui:402 src/client/MainWindow.py:84
#: src/client/MainWindow.py:87
msgid "Pardus Power Manager"
msgstr ""

Expand All @@ -63,22 +63,30 @@ msgid "Your device does not require power management."
msgstr ""

#: src/data/MainWindow.ui:547
msgid "You are using virtual machine."
msgid "Your battery is dead."
msgstr ""

#: src/data/MainWindow.ui:584
msgid "Windows OEM detected."
msgid "Your device does not support S3 state sleep."
msgstr ""

#: src/data/MainWindow.ui:621
msgid "You are using virtual machine."
msgstr ""

#: src/data/MainWindow.ui:658
msgid "Windows OEM detected."
msgstr ""

#: src/data/MainWindow.ui:695
msgid "Power management may not works good."
msgstr ""

#: src/data/MainWindow.ui:647
#: src/data/MainWindow.ui:721
msgid "Power manager"
msgstr ""

#: src/data/MainWindow.ui:649
#: src/data/MainWindow.ui:723
msgid ""
"This program comes with absolutely no warranty.\n"
"See the <a href=\"https://www.gnu.org/licenses/gpl-3.0.html\">GNU General "
Expand All @@ -93,43 +101,43 @@ msgstr ""
msgid "performance"
msgstr ""

#: src/client/MainWindow.py:66 src/client/MainWindow.py:279
#: src/client/MainWindow.py:289
#: src/client/MainWindow.py:68 src/client/MainWindow.py:294
#: src/client/MainWindow.py:304
msgid "Show"
msgstr ""

#: src/client/MainWindow.py:68 src/client/MainWindow.py:285
#: src/client/MainWindow.py:70 src/client/MainWindow.py:300
msgid "Hide"
msgstr ""

#: src/client/MainWindow.py:76
#: src/client/MainWindow.py:78
msgid "Exit"
msgstr ""

#: src/client/MainWindow.py:89
#: src/client/MainWindow.py:91
msgid "About Pardus Power Manager"
msgstr ""

#: src/client/MainWindow.py:127
#: src/client/MainWindow.py:129
msgid "Performance"
msgstr ""

#: src/client/MainWindow.py:128
#: src/client/MainWindow.py:130
msgid "Powersave"
msgstr ""

#: src/client/MainWindow.py:129
#: src/client/MainWindow.py:131
msgid "Do Noting"
msgstr ""

#: src/client/MainWindow.py:169
#: src/client/MainWindow.py:171
msgid "Power profile changed: "
msgstr ""

#: src/client/MainWindow.py:172
#: src/client/MainWindow.py:174
msgid "Disable Powersave"
msgstr ""

#: src/client/MainWindow.py:175
#: src/client/MainWindow.py:177
msgid "Enable Powersave"
msgstr ""
1 change: 1 addition & 0 deletions po/pt.po
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ msgstr "O seu dispositivo não necessita de gestão de energia."

#: src/data/MainWindow.ui:547
msgid "Your battery is dead."

msgstr "A sua bateria está descarregada."

#: src/data/MainWindow.ui:584
Expand Down
45 changes: 26 additions & 19 deletions po/tr.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-09 15:18+0300\n"
"POT-Creation-Date: 2024-05-27 06:56+0000\n"
"PO-Revision-Date: 2022-10-18 11:11+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -49,8 +49,8 @@ msgstr "Pil 80% olduğunda şarj etmeyi bırak"
msgid "Screen Brightness:"
msgstr "Ekran Parlaklığı:"

#: src/data/MainWindow.ui:402 src/client/MainWindow.py:82
#: src/client/MainWindow.py:85
#: src/data/MainWindow.ui:402 src/client/MainWindow.py:84
#: src/client/MainWindow.py:87
msgid "Pardus Power Manager"
msgstr "Pardus Güç Yöneticisi"

Expand All @@ -63,22 +63,30 @@ msgid "Your device does not require power management."
msgstr "Donanımınız güç yönetimine ihtiyaç duymuyor."

#: src/data/MainWindow.ui:547
msgid "Your battery is dead."
msgstr "Piliniz ölü."

#: src/data/MainWindow.ui:584
msgid "Your device does not support S3 state sleep."
msgstr "Donanımınız S3 uyku durumunu desteklemiyor."

#: src/data/MainWindow.ui:621
msgid "You are using virtual machine."
msgstr "Sanal makina kullanıyorsunuz."

#: src/data/MainWindow.ui:584
#: src/data/MainWindow.ui:658
msgid "Windows OEM detected."
msgstr "Windows OEM tespit edildi."

#: src/data/MainWindow.ui:621
#: src/data/MainWindow.ui:695
msgid "Power management may not works good."
msgstr "Güç yönetimi düzgün çalışmayabilir."

#: src/data/MainWindow.ui:647
#: src/data/MainWindow.ui:721
msgid "Power manager"
msgstr "Güç Yöneticisi"

#: src/data/MainWindow.ui:649
#: src/data/MainWindow.ui:723
msgid ""
"This program comes with absolutely no warranty.\n"
"See the <a href=\"https://www.gnu.org/licenses/gpl-3.0.html\">GNU General "
Expand All @@ -93,44 +101,43 @@ msgstr "güç tasarrufu"
msgid "performance"
msgstr "performans"

#: src/client/MainWindow.py:66 src/client/MainWindow.py:279
#: src/client/MainWindow.py:289
#: src/client/MainWindow.py:68 src/client/MainWindow.py:294
#: src/client/MainWindow.py:304
msgid "Show"
msgstr "Göster"

#: src/client/MainWindow.py:68 src/client/MainWindow.py:285
#: src/client/MainWindow.py:70 src/client/MainWindow.py:300
msgid "Hide"
msgstr "Gizle"

#: src/client/MainWindow.py:76
#: src/client/MainWindow.py:78
msgid "Exit"
msgstr "Çıkış"

#: src/client/MainWindow.py:89
#: src/client/MainWindow.py:91
msgid "About Pardus Power Manager"
msgstr "Pardus Güç Yöneticisi Hakkında"

#: src/client/MainWindow.py:127
#: src/client/MainWindow.py:129
msgid "Performance"
msgstr "Performans"

#: src/client/MainWindow.py:128
#: src/client/MainWindow.py:130
msgid "Powersave"
msgstr "Güç tasarrufu"

#: src/client/MainWindow.py:129
#: src/client/MainWindow.py:131
msgid "Do Noting"
msgstr "Hiçbir şey yapma"

#: src/client/MainWindow.py:169
#: src/client/MainWindow.py:171
msgid "Power profile changed: "
msgstr "Güç profili değişti: "

#: src/client/MainWindow.py:172
#: src/client/MainWindow.py:174
msgid "Disable Powersave"
msgstr "Güç tasarrufunu kapat"

#: src/client/MainWindow.py:175
#: src/client/MainWindow.py:177
msgid "Enable Powersave"
msgstr "Güç tasarrufunu aç"

Loading

0 comments on commit c645f0d

Please sign in to comment.