Update
This commit is contained in:
parent
53f81b05f8
commit
c8001313dc
|
@ -8,6 +8,9 @@
|
||||||
<entry name="title" type="string">
|
<entry name="title" type="string">
|
||||||
<default>Arch Updater</default>
|
<default>Arch Updater</default>
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry name="checkOnStart" type="bool">
|
||||||
|
<default>true</default>
|
||||||
|
</entry>
|
||||||
<entry name="showNotification" type="bool">
|
<entry name="showNotification" type="bool">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
Binary file not shown.
|
@ -35,7 +35,7 @@ Item {
|
||||||
Timer {
|
Timer {
|
||||||
id: startUpTimer
|
id: startUpTimer
|
||||||
interval: 10000
|
interval: 10000
|
||||||
running: true
|
running: Plasmoid.configuration.checkOnStart
|
||||||
repeat: false
|
repeat: false
|
||||||
triggeredOnStart: false
|
triggeredOnStart: false
|
||||||
onTriggered: checkUpdates()
|
onTriggered: checkUpdates()
|
||||||
|
|
|
@ -11,6 +11,7 @@ ColumnLayout {
|
||||||
property alias cfg_commandForCheckingUpdates: commandForCheckingUpdates.text
|
property alias cfg_commandForCheckingUpdates: commandForCheckingUpdates.text
|
||||||
property alias cfg_commandForUpgrade: commandForUpgrade.text
|
property alias cfg_commandForUpgrade: commandForUpgrade.text
|
||||||
property alias cfg_showNotification: showNotification.checked
|
property alias cfg_showNotification: showNotification.checked
|
||||||
|
property alias cfg_checkOnStart: checkOnStart.checked
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
@ -27,6 +28,19 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RowLayout {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
|
Label {
|
||||||
|
text: i18nc("@title:label", "Checking:")
|
||||||
|
}
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: checkOnStart
|
||||||
|
text: i18nc("@option:check", "Check on start")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ Item {
|
||||||
property bool badgeVisible: false
|
property bool badgeVisible: false
|
||||||
|
|
||||||
property bool showNotification: Plasmoid.configuration.showNotification
|
property bool showNotification: Plasmoid.configuration.showNotification
|
||||||
|
property bool checkOnStart: Plasmoid.configuration.checkOnStart
|
||||||
|
|
||||||
property string notifyText: ""
|
property string notifyText: ""
|
||||||
property string errorText: ""
|
property string errorText: ""
|
||||||
|
|
|
@ -27,5 +27,5 @@ Or if you know how to make a pull request
|
||||||
## Status
|
## Status
|
||||||
| Locale | Lines | % Done|
|
| Locale | Lines | % Done|
|
||||||
|----------|---------|-------|
|
|----------|---------|-------|
|
||||||
| Template | 16 | |
|
| Template | 18 | |
|
||||||
| ru_RU | 14/16 | 87% |
|
| ru_RU | 17/18 | 94% |
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: ArchUpdate\n"
|
"Project-Id-Version: ArchUpdate\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/Valeria-Fadeeva\n"
|
"Report-Msgid-Bugs-To: https://github.com/Valeria-Fadeeva\n"
|
||||||
"POT-Creation-Date: 2024-01-03 20:40+0500\n"
|
"POT-Creation-Date: 2024-01-14 02:31+0500\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -31,6 +31,16 @@ msgctxt "@title:label"
|
||||||
msgid "Update interval (minutes):"
|
msgid "Update interval (minutes):"
|
||||||
msgstr "Интервал проверки (минуты)"
|
msgstr "Интервал проверки (минуты)"
|
||||||
|
|
||||||
|
#: ../contents/ui/config/configGeneral.qml
|
||||||
|
msgctxt "@title:label"
|
||||||
|
msgid "Checking:"
|
||||||
|
msgstr "Проверка"
|
||||||
|
|
||||||
|
#: ../contents/ui/config/configGeneral.qml
|
||||||
|
msgctxt "@option:check"
|
||||||
|
msgid "Check on start"
|
||||||
|
msgstr "Проверять при запуске"
|
||||||
|
|
||||||
#: ../contents/ui/config/configGeneral.qml
|
#: ../contents/ui/config/configGeneral.qml
|
||||||
msgctxt "@title:label"
|
msgctxt "@title:label"
|
||||||
msgid "Notifications:"
|
msgid "Notifications:"
|
||||||
|
@ -48,7 +58,7 @@ msgstr "Команда для проверки обновлений"
|
||||||
|
|
||||||
#: ../contents/ui/config/configGeneral.qml
|
#: ../contents/ui/config/configGeneral.qml
|
||||||
msgid "Write command for cheching updates"
|
msgid "Write command for cheching updates"
|
||||||
msgstr ""
|
msgstr "Напишите команду для проверки обновлений"
|
||||||
|
|
||||||
#: ../contents/ui/config/configGeneral.qml
|
#: ../contents/ui/config/configGeneral.qml
|
||||||
msgctxt "@title:label"
|
msgctxt "@title:label"
|
||||||
|
@ -57,7 +67,7 @@ msgstr "Команда для обновления"
|
||||||
|
|
||||||
#: ../contents/ui/config/configGeneral.qml
|
#: ../contents/ui/config/configGeneral.qml
|
||||||
msgid "Write command for upgrade"
|
msgid "Write command for upgrade"
|
||||||
msgstr "Напишите команду для проверки обновлений"
|
msgstr "Напишите команду для установки обновлений"
|
||||||
|
|
||||||
#: ../contents/ui/Full.qml
|
#: ../contents/ui/Full.qml
|
||||||
msgid "Check updates"
|
msgid "Check updates"
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: ArchUpdate\n"
|
"Project-Id-Version: ArchUpdate\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/Valeria-Fadeeva\n"
|
"Report-Msgid-Bugs-To: https://github.com/Valeria-Fadeeva\n"
|
||||||
"POT-Creation-Date: 2024-01-03 20:40+0500\n"
|
"POT-Creation-Date: 2024-01-14 02:31+0500\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -31,6 +31,16 @@ msgctxt "@title:label"
|
||||||
msgid "Update interval (minutes):"
|
msgid "Update interval (minutes):"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../contents/ui/config/configGeneral.qml
|
||||||
|
msgctxt "@title:label"
|
||||||
|
msgid "Checking:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: ../contents/ui/config/configGeneral.qml
|
||||||
|
msgctxt "@option:check"
|
||||||
|
msgid "Check on start"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: ../contents/ui/config/configGeneral.qml
|
#: ../contents/ui/config/configGeneral.qml
|
||||||
msgctxt "@title:label"
|
msgctxt "@title:label"
|
||||||
msgid "Notifications:"
|
msgid "Notifications:"
|
||||||
|
|
|
@ -21,3 +21,5 @@ THEME_NAME="com.github.Melawy.ArchUpdate"
|
||||||
rm -rf $THEME_PATH/$THEME_NAME
|
rm -rf $THEME_PATH/$THEME_NAME
|
||||||
|
|
||||||
cp -vrf --remove-destination --no-dereference --preserve=links "$PWD/$THEME_NAME" "$THEME_PATH/"
|
cp -vrf --remove-destination --no-dereference --preserve=links "$PWD/$THEME_NAME" "$THEME_PATH/"
|
||||||
|
|
||||||
|
echo "Ready"
|
||||||
|
|
Loading…
Reference in New Issue