mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-11-15 20:03:41 +00:00
Compare commits
10 Commits
82cbb82cb1
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 3abcd8d6ae | |||
| 0725288595 | |||
| 8342d65ffa | |||
| 571417f786 | |||
| e3d24d1890 | |||
| ee7bd90aae | |||
| f79c94e9e2 | |||
| 66baa78cda | |||
| 79a148a21a | |||
| 64b4618904 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -48,3 +48,6 @@ pkg
|
||||
# clion settings
|
||||
.idea
|
||||
cmake-build*
|
||||
|
||||
# clang
|
||||
.cache
|
||||
|
||||
1
AUTHORS
1
AUTHORS
@ -13,3 +13,4 @@ Steve Lemuel (Chinese)
|
||||
Mariusz Kocoń (Polish)
|
||||
Ibnu Daru Aji (Indonesian)
|
||||
Antonio Vivace (Italian)
|
||||
@daveedmee (German)
|
||||
|
||||
11
CHANGELOG
11
CHANGELOG
@ -1,5 +1,16 @@
|
||||
Ver.4.0.2:
|
||||
+ German translation (#172, thanks to daveedmee)
|
||||
|
||||
Ver.4.0.1:
|
||||
- temporary disable tooltip painting in main widget
|
||||
|
||||
Ver.4.0.0:
|
||||
* migration to plasma 6
|
||||
* dialog windows have been replaced by notifications
|
||||
+ $gpuN keys have been added
|
||||
+ new key $ssid
|
||||
- $cuptime key has been removed in favour of $uptime
|
||||
- $gputemp key has been replaced by $gpuN
|
||||
|
||||
Ver.3.5.0:
|
||||
+ wayland support
|
||||
|
||||
@ -75,5 +75,5 @@ Links
|
||||
* [Scripts and bars](https://arcanis.me/en/2014/12/19/aw-v21-bells-and-whistles/)
|
||||
* Plasmoid on [kde-look](http://kde-look.org/content/show.php/Awesome+Widgets?content=157124)
|
||||
* DataEngine on [kde-look](http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773)
|
||||
* Archlinux [AUR](https://aur.archlinux.org/packages/plasma5-applet-awesome-widgets/) package
|
||||
* Archlinux [AUR](https://aur.archlinux.org/packages/plasma6-applets-awesome-widgets) package
|
||||
* [OpenSuse](http://software.opensuse.org/search?q=awesome-widgets) packages, [KF5 OpenSuse](http://software.opensuse.org/package/plasma5-awesome-widgets) package
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=plasma6-applet-awesome-widgets
|
||||
_pkgname=awesome-widgets
|
||||
pkgver=4.0.0alpha2
|
||||
pkgver=4.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor)"
|
||||
arch=('x86_64')
|
||||
|
||||
@ -19,7 +19,7 @@ set(PROJECT_CONTACT "esalexeev@gmail.com")
|
||||
set(PROJECT_LICENSE "GPL3")
|
||||
set(PROJECT_VERSION_MAJOR "4")
|
||||
set(PROJECT_VERSION_MINOR "0")
|
||||
set(PROJECT_VERSION_PATCH "0")
|
||||
set(PROJECT_VERSION_PATCH "2")
|
||||
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
|
||||
# append git version if any
|
||||
set(PROJECT_COMMIT_SHA "Commit hash" CACHE INTERNAL "")
|
||||
|
||||
@ -15,7 +15,9 @@
|
||||
* along with awesome-widgets. If not, see http://www.gnu.org/licenses/ *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define NDEBUG
|
||||
#endif /* NDEBUG */
|
||||
#include <KI18n/KLocalizedString>
|
||||
|
||||
#include "awdebug.h"
|
||||
|
||||
@ -130,7 +130,7 @@ PlasmoidItem {
|
||||
Plasmoid.userConfiguringChanged(false)
|
||||
// connect data
|
||||
awKeys.needTextToBeUpdated.connect(needTextUpdate)
|
||||
awKeys.needToolTipToBeUpdated.connect(needToolTipUpdate)
|
||||
//awKeys.needToolTipToBeUpdated.connect(needToolTipUpdate)
|
||||
// check updates if required
|
||||
if (plasmoid.configuration.checkUpdates) return awActions.checkUpdates(false)
|
||||
}
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
"Id": "org.kde.plasma.awesomewidget",
|
||||
"License": "GPLv3",
|
||||
"Name": "Awesome Widget",
|
||||
"Version": "4.0.0",
|
||||
"Version": "4.0.2",
|
||||
"Website": "https://arcanis.me/projects/awesome-widgets/"
|
||||
},
|
||||
"X-Plasma-API-Minimum-Version": "6.0"
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QVariant>
|
||||
|
||||
|
||||
|
||||
@ -17,6 +17,9 @@
|
||||
|
||||
#include "awupdatehelper.h"
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define NDEBUG
|
||||
#endif /* NDEBUG */
|
||||
#include <KI18n/KLocalizedString>
|
||||
#include <KNotifications/KNotification>
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@ configure_file(${SUBPROJECT_WEATHER_JSON_IN} ${CMAKE_CURRENT_BINARY_DIR}/${SUBPR
|
||||
|
||||
qt6_wrap_ui(SUBPROJECT_UI_HEADER ${SUBPROJECT_UI} OPTIONS --translate ui_i18n)
|
||||
add_library(${SUBPROJECT} STATIC ${SUBPROJECT_SOURCE} ${SUBPROJECT_HEADER} ${SUBPROJECT_UI_HEADER})
|
||||
set_property(TARGET ${SUBPROJECT} PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
target_link_libraries(${SUBPROJECT} ${Qt_LIBRARIES} ${Kf6_LIBRARIES})
|
||||
|
||||
# install
|
||||
|
||||
@ -436,7 +436,7 @@ int GraphicalItem::showConfiguration(QWidget *_parent, const QVariant &_args)
|
||||
auto ui = new Ui::GraphicalItem();
|
||||
ui->setupUi(dialog);
|
||||
|
||||
connect(ui->checkBox_custom, &QCheckBox::stateChanged, [ui](const int state) { changeValue(ui, state); });
|
||||
connect(ui->checkBox_custom, &QCheckBox::checkStateChanged, [ui](const int state) { changeValue(ui, state); });
|
||||
connect(ui->comboBox_type, &QComboBox::currentIndexChanged, [ui](const int state) { changeCountState(ui, state); });
|
||||
connect(ui->toolButton_activeColor, &QToolButton::clicked, [this, ui]() { changeColor(ui); });
|
||||
connect(ui->toolButton_inactiveColor, &QToolButton::clicked, [this, ui]() { changeColor(ui); });
|
||||
@ -472,7 +472,7 @@ int GraphicalItem::showConfiguration(QWidget *_parent, const QVariant &_args)
|
||||
|
||||
// update UI
|
||||
emit(ui->comboBox_type->currentIndexChanged(ui->comboBox_type->currentIndex()));
|
||||
emit(ui->checkBox_custom->stateChanged(ui->checkBox_custom->checkState()));
|
||||
emit(ui->checkBox_custom->checkStateChanged(ui->checkBox_custom->checkState()));
|
||||
|
||||
int ret = dialog->exec();
|
||||
if (ret == 1) {
|
||||
|
||||
@ -21,4 +21,5 @@
|
||||
|
||||
#ifndef ui_i18n
|
||||
#define ui_i18n(text, parent) i18n(text)
|
||||
#endif
|
||||
#endif /* ui_i18n */
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
"Id": "org.kde.plasma.desktoppanel",
|
||||
"License": "GPLv3",
|
||||
"Name": "Desktop Panel",
|
||||
"Version": "4.0.0",
|
||||
"Version": "4.0.2",
|
||||
"Website": "https://arcanis.me/projects/awesome-widgets/"
|
||||
},
|
||||
"X-Plasma-API-Minimum-Version": "6.0"
|
||||
|
||||
@ -15,4 +15,5 @@ file(GLOB SUBPROJECT_SOURCE *.cpp)
|
||||
file(GLOB SUBPROJECT_HEADER *.h)
|
||||
|
||||
add_library(${SUBPROJECT} STATIC ${SUBPROJECT_SOURCE} ${SUBPROJECT_HEADER})
|
||||
set_property(TARGET ${SUBPROJECT} PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
target_link_libraries(${SUBPROJECT} ${PROJECT_LIBRARY} ${Qt_LIBRARIES} ${Kf6_LIBRARIES})
|
||||
|
||||
@ -38,6 +38,7 @@ Item {
|
||||
|
||||
Dialog {
|
||||
id: importSelection
|
||||
standardButtons: Dialog.Ok | Dialog.Cancel
|
||||
|
||||
Column {
|
||||
CheckBox {
|
||||
|
||||
@ -45,7 +45,7 @@ void TestAWBugReporter::test_generateText()
|
||||
|
||||
void TestAWBugReporter::test_sendBugReport()
|
||||
{
|
||||
QSignalSpy spy(plugin, SIGNAL(replyReceived(int, QString &)));
|
||||
QSignalSpy spy(plugin, SIGNAL(replyReceived(int, const QString &)));
|
||||
plugin->sendBugReport(AWTestLibrary::randomString(),
|
||||
plugin->generateText(data.at(0), data.at(1), data.at(2), data.at(3)));
|
||||
|
||||
|
||||
1249
sources/translations/de.po
Normal file
1249
sources/translations/de.po
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,22 +1,25 @@
|
||||
# Copyright (C) 2014
|
||||
# This file is distributed under the same license as the PyTextMonitor package.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2014, 2015, 2016, 2017, 2020, 2024 Evgeniy Alekseev <esalexeev@gmail.com>
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the awesome-widgets package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Evgeniy Alekseev <darkarcanis@mail.ru>, 2024
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Project-Id-Version: awesome-widgets\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||
"POT-Creation-Date: 2024-04-22 14:53+0300\n"
|
||||
"PO-Revision-Date: 2024-04-19 20:17+0300\n"
|
||||
"Last-Translator: Evgenii Alekseev <esalexeev@gmail.com>\n"
|
||||
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
|
||||
"Language: ru\n"
|
||||
"PO-Revision-Date: 2024-04-21 13:49+0000\n"
|
||||
"Last-Translator: Evgeniy Alekseev <darkarcanis@mail.ru>, 2024\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/arcanis/teams/20130/ru/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
"X-Generator: Lokalize 24.02.1\n"
|
||||
"Language: ru\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../awdebug.cpp
|
||||
#, kde-format
|
||||
@ -436,7 +439,7 @@ msgstr "Погода"
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../awesome-widget/package/contents/ui/main.qml
|
||||
#, kde-format
|
||||
msgid "Run monitor"
|
||||
msgstr "Запустить монитор"
|
||||
msgstr "Запустить системный монитор"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../awesome-widget/package/contents/ui/main.qml
|
||||
#, kde-format
|
||||
@ -795,7 +798,7 @@ msgstr "Котировки"
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../qml/General.qml
|
||||
#, kde-format
|
||||
msgid "System"
|
||||
msgstr "Системные"
|
||||
msgstr "Система"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../extsysmon/extsysmonaggregator.cpp
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../qml/General.qml
|
||||
@ -837,11 +840,12 @@ msgstr "Предварительный просмотр"
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../qml/AWInfoLabel.qml
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Detailed information may be found on <a href=\"https://arcanis.me/projects/"
|
||||
"awesome-widgets/\">project homepage</a>"
|
||||
"Detailed information may be found on <a "
|
||||
"href=\"https://arcanis.me/projects/awesome-widgets/\">project homepage</a>"
|
||||
msgstr ""
|
||||
"Подробная информация может быть найдена на <a href=\"https://arcanis.me/ru/"
|
||||
"projects/awesome-widgets/\">домашней странице проекта</a>"
|
||||
"Подробная информация может быть найдена на <a "
|
||||
"href=\"https://arcanis.me/ru/projects/awesome-widgets/\">домашней странице "
|
||||
"проекта</a>"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../qml/AWTagSelector.qml
|
||||
#, kde-format
|
||||
@ -932,7 +936,7 @@ msgstr "HDD"
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../qml/General.qml
|
||||
#, kde-format
|
||||
msgid "Network request"
|
||||
msgstr "Веб-запрос"
|
||||
msgstr "Сетевой запрос"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../qml/General.qml
|
||||
#, kde-format
|
||||
@ -947,7 +951,7 @@ msgstr "Функции"
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../qml/General.qml
|
||||
#, kde-format
|
||||
msgid "User defined"
|
||||
msgstr "Пользовательские ключи"
|
||||
msgstr "Пользовательские определения"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/sources/translations/../qml/General.qml
|
||||
#, kde-format
|
||||
@ -1037,9 +1041,8 @@ msgstr "Импорт дополнительных файлов"
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_extupgrade.h
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_extweather.h
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_graphicalitem.h
|
||||
#, fuzzy
|
||||
msgid "Configuration"
|
||||
msgstr "Экспорт настроек"
|
||||
msgstr "Настройки"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_awdatetimeformatter.h
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_awfloatformatter.h
|
||||
@ -1173,7 +1176,7 @@ msgstr "Активен"
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_extupgrade.h
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_extweather.h
|
||||
msgid "Update"
|
||||
msgstr ""
|
||||
msgstr "Обновление"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_extnetworkrequest.h
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_extquotes.h
|
||||
@ -1205,10 +1208,10 @@ msgid ""
|
||||
"Refer to <a href=\"https://stooq.com/\"><span style=\" text-decoration: "
|
||||
"underline; color:#0057ae;\">https://stooq.com/</span></a></p></body></html>"
|
||||
msgstr ""
|
||||
"<html><head/><body><p>Используйте тикеры Stooq, чтобы получить котировки по "
|
||||
"инструменту. См. <a href=\"https://stooq.com/\"><span style=\" text-"
|
||||
"decoration: underline; color:#0057ae;\">https://stooq.com/</span></a></p></"
|
||||
"body></html>"
|
||||
"<html><head/><body><p>Используйте Stooq тикер для получения котировок по "
|
||||
"финансовому инструменту, используя сайт <a "
|
||||
"href=\"https\\://stooq.com/\"><span style=\" text-decoration\\: underline; "
|
||||
"color\\:#0057ae;\">https\\://stooq.com/</span></a></p></body></html> "
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_extquotes.h
|
||||
msgid "Ticker"
|
||||
@ -1281,12 +1284,11 @@ msgstr "Тип активного наполнения"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_graphicalitem.h
|
||||
msgid "..."
|
||||
msgstr ""
|
||||
msgstr "..."
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_graphicalitem.h
|
||||
#, fuzzy
|
||||
msgid "Inactive filling type"
|
||||
msgstr "Тип неактивного наполнения"
|
||||
msgstr "Цвет неактивного наполнения"
|
||||
|
||||
#: /home/arcanis/documents/github/awesome-widgets/build/awesomewidgets/ui_graphicalitem.h
|
||||
msgid "Direction"
|
||||
|
||||
Reference in New Issue
Block a user