Update plasma

This commit is contained in:
BuyMyMojo 2025-04-22 01:30:36 +10:00
parent cf88cf4a7b
commit d83c5a0a54
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
160 changed files with 7837 additions and 0 deletions

View file

@ -0,0 +1,30 @@
/***************************************************************************
* Copyright (C) 2014 by Eike Hein <hein@kde.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program 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 General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
***************************************************************************/
import QtQuick 2.0
import org.kde.plasma.configuration 2.0
ConfigModel {
ConfigCategory {
name: i18n("General")
icon: "kde"
source: "ConfigGeneral.qml"
}
}

View file

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name=""/>
<group name="General">
<entry name="coordinatesIP" type="Bool">
<default>true</default>
</entry>
<entry name="displayWeatherInPanel" type="Bool">
<default>true</default>
</entry>
<entry name="manualLatitude" type="string">
<default>0</default>
</entry>
<entry name="manualLongitude" type="string">
<default>0</default>
</entry>
<entry name="temperatureUnit" type="Int">
<default>0</default>
</entry>
<entry name="sizeFontConfig" type="Int">
<default>11</default>
</entry>
<entry name="fontBoldWeather" type="Bool">
<default>true</default>
</entry>
</group>
</kcfg>

View file

@ -0,0 +1,81 @@
import QtQuick
import org.kde.ksvg 1.0 as KSvg
import Qt5Compat.GraphicalEffects
Item {
property int marginLeft: maskSvg2.marg
property color leftColor: "red"
Grid {
id: maskSvg2
width: parent.width
height: parent.height
//visible: false
columns: 2
property var marg: topleft2.implicitWidth
KSvg.SvgItem {
id: topleft2
imagePath: "dialogs/background"
elementId: "topleft"
}
KSvg.SvgItem {
id: top2
imagePath: "dialogs/background"
elementId: "top"
width: parent.width - topleft2.implicitWidth *1
}
KSvg.SvgItem {
id: left2
imagePath: "dialogs/background"
elementId: "left"
height: parent.height - topleft2.implicitHeight*2
}
KSvg.SvgItem {
imagePath: "dialogs/background"
elementId: "center"
height: parent.height - topleft2.implicitHeight*2
width: top2.width
}
KSvg.SvgItem {
id: bottomleft2
imagePath: "dialogs/background"
elementId: "bottomleft"
}
KSvg.SvgItem {
id: bottom2
imagePath: "dialogs/background"
elementId: "bottom"
width: parent.width - bottomleft2.implicitWidth
}
}
Rectangle {
color: leftColor //Kirigami.Theme.highlightColor
width: maskSvg2.width
height: maskSvg2.height
layer.enabled: true
layer.effect: OpacityMask {
maskSource: maskSvg2
}
}
Rectangle {
color: leftColor //Kirigami.Theme.highlightColor
width: maskSvg2.width
height: maskSvg2.height
layer.enabled: true
layer.effect: OpacityMask {
maskSource: maskSvg2
}
}
KSvg.SvgItem {
anchors.right: maskSvg2.right
imagePath: "widgets/line"
elementId: "vertical-line"
height: parent.height
}
}

View file

@ -0,0 +1,159 @@
import QtQuick
import QtQuick.Layouts 1.1
import QtQuick.Controls
import org.kde.plasma.plasmoid
import org.kde.kirigami as Kirigami
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents3
//import org.kde.plasma.plasma5support as Plasma5Support
Item {
id: iconAndTem
Layout.minimumWidth: widthReal
Layout.minimumHeight: heightReal
property QtObject dashWindow: null
readonly property bool isVertical: Plasmoid.formFactor === PlasmaCore.Types.Vertical
property string undefanchors: activeweathershottext ? undefined : parent.verticalCenter
property bool textweather: Plasmoid.configuration.displayWeatherInPanel
property bool activeweathershottext: heightH > 34
property int fonssizes: Plasmoid.configuration.sizeFontConfig
property int heightH: wrapper.height
property var widthWidget: activeweathershottext ? temOfCo.implicitWidth : temOfCo.implicitWidth + wrapper_weathertext.width
property var widthReal: isVertical ? wrapper.width : initial.implicitWidth
property var hVerti: wrapper_vertical.implicitHeight
property var heightReal: isVertical ? hVerti : wrapper.height
MouseArea {
id: compactMouseArea
anchors.fill: parent
hoverEnabled: true
onClicked: {
dashWindow.visible = !dashWindow.visible;
}
}
RowLayout {
id: initial
width: icon.width + columntemandweathertext.width + icon.width * 0.3
height: parent.height
spacing: icon.width / 5
visible: !isVertical
Kirigami.Icon {
id: icon
width: root.height < 17 ? 16 : root.height < 24 ? 22 : 24
height: width
source: wrapper.currentIcon
anchors.top: parent.top
anchors.bottom: parent.bottom
roundToIconSize: false
}
Column {
id: columntemandweathertext
width: widthWidget
height: temOfCo.implicitHeight
anchors.verticalCenter: parent.verticalCenter
Row {
id: temOfCo
width: textGrados.implicitWidth + subtextGrados.implicitWidth
height: textGrados.implicitHeight
anchors.verticalCenter: undefanchors
Label {
id: textGrados
height: parent.height
width: parent.width - subtextGrados.implicitWidth
text: wrapper.currentTemp
font.bold: boldfonts
font.pixelSize: fonssizes
color: PlasmaCore.Theme.textColor
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
Label {
id: subtextGrados
height: parent.height
width: parent.width - textGrados.implicitWidth
text: (wrapper.unitsTemperature === "0") ? " °C " : " °F "
horizontalAlignment: Text.AlignLeft
font.bold: boldfonts
font.pixelSize: fonssizes
color: PlasmaCore.Theme.textColor
verticalAlignment: Text.AlignVCenter
}
}
Item {
id: wrapper_weathertext
height: shortweathertext.implicitHeight
width: shortweathertext.implicitWidth
visible: activeweathershottext & textweather
Label {
id: shortweathertext
text: wrapper.weather
font.pixelSize: fonssizes
font.bold: true
verticalAlignment: Text.AlignVCenter
}
}
}
}
ColumnLayout {
id: wrapper_vertical
width: root.width
height: icon_vertical.height + textGrados_vertical.implicitHeight
spacing: 2
visible: isVertical
Kirigami.Icon {
id: icon_vertical
width: wrapper.width < 17 ? 16 : wrapper.width < 24 ? 22 : 24
height: wrapper.width < 17 ? 16 : wrapper.width < 24 ? 22 : 24
source: wrapper.currentIcon
anchors.left: parent.left
anchors.right: parent.right
roundToIconSize: false
}
Row {
id: temOfCo_vertical
width: textGrados_vertical.implicitWidth + subtextGrados_vertical.implicitWidth
height: textGrados_vertical.implicitHeight
Layout.alignment: Qt.AlignHCenter
Label {
id: textGrados_vertical
height: parent.height
text: wrapper.currentTemp
font.bold: boldfonts
font.pixelSize: fonssizes
color: PlasmaCore.Theme.textColor
horizontalAlignment: Text.AlignHCenter
}
Label {
id: subtextGrados_vertical
height: parent.height
text: (wrapper.unitsTemperature === "0") ? " °C" : " °F"
font.bold: boldfonts
font.pixelSize: fonssizes
color: PlasmaCore.Theme.textColor
horizontalAlignment: Text.AlignHCenter
}
}
}
Component.onCompleted: {
dashWindow = Qt.createQmlObject("Representation {}", wrapper);
plasmoid.activated.connect(function() {
dashWindow.plasmoidWidV = widthReal
dashWindow.plasmoidWidH = heightReal
dashWindow.visible = !dashWindow.visible;
});
}
}

View file

@ -0,0 +1,150 @@
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import org.kde.kirigami as Kirigami
import org.kde.plasma.core 2.0 as PlasmaCore
Item {
id: root
signal configurationChanged
//QtObject {
// id: toCurrency
//property var value
//}
QtObject {
id: fontsizeValue
property var value
}
QtObject {
id: unidWeatherValue
property var value
}
property alias cfg_coordinatesIP: coordinatesIP.checked
property alias cfg_displayWeatherInPanel: displayWeather.checked
property alias cfg_manualLatitude: latitude.text
property alias cfg_manualLongitude: longitude.text
property alias cfg_temperatureUnit: unidWeatherValue.value
property alias cfg_sizeFontConfig: fontsizeValue.value
property alias cfg_fontBoldWeather: boldWeather.checked
ColumnLayout {
id:mainColumn
spacing: Kirigami.Units.largeSpacing
Layout.fillWidth: true
GridLayout{
id: firslayout
columns: 2
Label {
id: refrestitle
Layout.minimumWidth: root.width/2
text: i18n("Use geographical coordinates from the IP") + ":"
horizontalAlignment: Label.AlignRight
}
CheckBox {
id: coordinatesIP
}
}
GridLayout{
columns: 2
Label {
Layout.minimumWidth: root.width/2
text: i18n("Latitude") + ":"
visible: !coordinatesIP.checked
horizontalAlignment: Label.AlignRight
}
TextField {
id: latitude
visible: !coordinatesIP.checked
width: 110
}
Label {
Layout.minimumWidth: root.width/2
text: i18n("Longitude") + ":"
visible: !coordinatesIP.checked
horizontalAlignment: Label.AlignRight
}
TextField {
id: longitude
visible: !coordinatesIP.checked
width: 110
}
Label {
Layout.minimumWidth: root.width/2
text: i18n("Display weather conditions on the panel") + ":"
horizontalAlignment: Label.AlignRight
}
CheckBox {
id: displayWeather
}
Label {
Layout.minimumWidth: root.width/2
text: i18n("Bold Weather Conditions") + ":"
horizontalAlignment: Label.AlignRight
}
CheckBox {
id: boldWeather
}
Label {
Layout.minimumWidth: root.width/2
text: i18n("Temperature unit") + ":"
horizontalAlignment: Label.AlignRight
}
ComboBox {
textRole: "text"
valueRole: "value"
id: positionComboBox
model: [
{text: i18n("Celsius (°C)"), value: 0},
{text: i18n("Fahrenheit (°F)"), value: 1},
]
onActivated: unidWeatherValue.value = currentValue
Component.onCompleted: currentIndex = indexOfValue(unidWeatherValue.value)
}
Label {
Layout.minimumWidth: root.width/2
text: i18n("Font Size") + ":"
horizontalAlignment: Label.AlignRight
}
ComboBox {
textRole: "text"
valueRole: "value"
width: 32
id: valueForSizeFont
model: [
{text: i18n("8"), value: 8},
{text: i18n("9"), value: 9},
{text: i18n("10"), value: 10},
{text: i18n("11"), value: 11},
{text: i18n("12"), value: 12},
{text: i18n("13"), value: 13},
{text: i18n("14"), value: 14},
{text: i18n("15"), value: 15},
{text: i18n("16"), value: 16},
{text: i18n("17"), value: 17},
{text: i18n("18"), value: 18},
]
onActivated: fontsizeValue.value = currentValue
Component.onCompleted: currentIndex = indexOfValue(fontsizeValue.value)
}
}
}
}

View file

@ -0,0 +1,113 @@
import QtQuick
import org.kde.kirigami as Kirigami
import QtQuick.Controls as Controls
Item {
property int leftPanelMargin: 0
property int topPanelMargin: 0
property int exedentHight: 0
property int widthOfLeftPanel: 130
property int spacingElements: 5
property string currentWatherTemp: "?"
LeftPanel {
id: leftPanel
anchors.left: parent.left
anchors.leftMargin: - leftPanelMargin
anchors.top: parent.top
anchors.topMargin: - topPanelMargin
leftPanelColor: Kirigami.Theme.highlightColor
width: widthOfLeftPanel
height: parent.height + exedentHight
}
Item {
width: leftPanel.width
anchors.top: parent.top
Kirigami.Heading {
id: city
width: parent.width - leftPanel.marginLeftReal
text: wrapper.location //"Ciudad"
color: Kirigami.Theme.highlightedTextColor
level: 3
font.weight: Font.DemiBold
elide: Text.ElideRight
}
Row {
id: current
width: parent.width - leftPanel.marginLeftReal
anchors.top: city.bottom
anchors.topMargin: spacingElements
height: text.implicitHeight
spacing: 5
Kirigami.Icon {
id: logo
source: wrapper.currentIcon
width: Kirigami.Units.iconSizes.medium
height: width
color: Kirigami.Theme.highlightedTextColor
anchors.verticalCenter: parent.verticalCenter
}
Controls.Label {
id: text
width: parent.width - logo.width
text: wrapper.currentTemp
color: Kirigami.Theme.highlightedTextColor
font.weight: Font.DemiBold
font.pixelSize: logo.height
anchors.verticalCenter: parent.verticalCenter
}
}
Column {
anchors.top: current.bottom
width: current.width
height: textDo.implicitHeight * 2
anchors.topMargin: spacingElements
opacity: 0.7
Kirigami.Heading {
id: textDo
width: parent.width - leftPanel.marginLeftReal
text: wrapper.weather //"Summy"
color: Kirigami.Theme.highlightedTextColor
level: 5
//font.weight: Font.DemiBold
elide: Text.ElideRight
}
Kirigami.Heading {
width: parent.width - leftPanel.marginLeftReal
text: wrapper.currentMaxMin
color: Kirigami.Theme.highlightedTextColor
level: 5
//font.weight: Font.DemiBold
elide: Text.ElideRight
}
}
}
Item {
width: link.implicitWidth
height: link.implicitHeight
anchors.bottom: parent.bottom
//anchors.bottomMargin: height
Kirigami.Heading {
id: link
width: parent.width
text: "open-meteo.com"
color: Kirigami.Theme.highlightedTextColor
level: 5
font.underline: true
opacity: 0.4
elide: Text.ElideRight
}
MouseArea {
anchors.fill: parent
onClicked: {
Qt.openUrlExternally("https://open-meteo.com")
}
}
}
}

View file

@ -0,0 +1,93 @@
import QtQuick
import org.kde.kirigami as Kirigami
Item {
property int widthTxt: 0
Row {
id: hourlyForecast
width: parent.width
height: parent.height /2
Repeater {
model: forecastHours
delegate: Item {
width: parent.width/5
height: parent.height
Column {
width: text.implicitWidth
spacing: Kirigami.Units.iconSizes.small/3
anchors.horizontalCenter: parent.horizontalCenter
Kirigami.Heading {
id: text
width: parent.width
text: model.hours % 24
color: Kirigami.Theme.textColor
level: 5
}
Kirigami.Icon {
width: Kirigami.Units.iconSizes.smallMedium
height: width
anchors.horizontalCenter: parent.horizontalCenter
source: model.icon
}
Kirigami.Heading {
width: parent.width
text: model.temp
color: Kirigami.Theme.textColor
horizontalAlignment: Text.AlignHCenter
level: 5
}
}
}
}
}
Column {
width: parent.width
height: parent.height/2
anchors.top: hourlyForecast.bottom
Repeater {
model: forecastFullModel
delegate: Row {
height: parent.height/3
width: parent.width
spacing: 8
Kirigami.Heading {
id: day
width: parent.width - logo.width - widthTxt - 16
height: parent.height
text: model.date
color: Kirigami.Theme.textColor
verticalAlignment: Text.AlignVCenter
level: 5
}
Kirigami.Icon {
id: logo
width: Kirigami.Units.iconSizes.smallMedium
height: width
source: model.icon
anchors.verticalCenter: parent.verticalCenter
}
Kirigami.Heading {
id: forecastText
width: widthTxt
height: parent.height
text: model.maxTemp + "°/" + model.minTemp + "°"
color: Kirigami.Theme.textColor
verticalAlignment: Text.AlignVCenter
level: 5
}
Component.onCompleted: {
if (forecastText.implicitWidth > widthTxt) {
widthTxt = forecastText.implicitWidth
}
}
}
}
}
}

View file

@ -0,0 +1,12 @@
import QtQuick
Item {
property color leftPanelColor: "red"
property int marginLeftReal: card.marginLeft
Card {
id: card
leftColor: leftPanelColor
width: parent.width
height: parent.height
}
}

View file

@ -0,0 +1,133 @@
/*
* SPDX-FileCopyrightText: zayronxio
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import QtQuick 2.4
import QtQuick.Layouts 1.1
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import Qt5Compat.GraphicalEffects
import org.kde.kirigami as Kirigami
import org.kde.ksvg 1.0 as KSvg
//import QtQuick.Controls 2.15
//import QtQuick.Effects
Item {
id: main
property int plasmoidWidV: 0
property int plasmoidWidH: 0
onVisibleChanged: {
root.visible = !root.visible
}
KSvg.FrameSvgItem {
id : backgroundSvg
visible: false
imagePath: "dialogs/background"
}
Plasmoid.status: root.visible ? PlasmaCore.Types.RequiresAttentionStatus : PlasmaCore.Types.PassiveStatus
PlasmaCore.Dialog {
id: root
objectName: "popupWindow"
flags: Qt.WindowStaysOnTopHint
location: PlasmaCore.Types.Floating
hideOnWindowDeactivate: true
onHeightChanged: {
var pos = popupPosition(width, height);
x = pos.x;
y = pos.y;
}
onWidthChanged: {
var pos = popupPosition(width, height);
x = pos.x;
y = pos.y;
}
function toggle() {
main.visible = !main.visible;
}
onVisibleChanged: {
if (visible) {
var pos = popupPosition(width, height);
x = pos.x;
y = pos.y;
//animation1.start()
}
}
function popupPosition(width, height) {
var screenAvail = wrapper.availableScreenRect;
var screen = wrapper.screenGeometry;
var panelH = wrapper.height
var panelW = wrapper.width
var horizMidPoint = screen.x + (screen.width / 2);
var vertMidPoint = screen.y + (screen.height / 2);
var appletTopLeft = parent.mapToGlobal(0, 0);
function calculatePosition(x, y) {
return Qt.point(x, y);
}
switch (plasmoid.location) {
case PlasmaCore.Types.BottomEdge:
var x = appletTopLeft.x < (screen.width - width/2 + backgroundSvg.margins.left + Kirigami.Units.gridUnit) ? appletTopLeft.x < ((width/2) + backgroundSvg.margins.left) ? Kirigami.Units.gridUnit - backgroundSvg.margins.left : appletTopLeft.x - width/2 : screen.width - (width - backgroundSvg.margins.left*2) - Kirigami.Units.gridUnit ;
var y = appletTopLeft.y - height - Kirigami.Units.gridUnit
return calculatePosition(x, y);
case PlasmaCore.Types.TopEdge:
x = appletTopLeft.x < (width/2 + backgroundSvg.margins.left + Kirigami.Units.gridUnit) ? backgroundSvg.margins.left : appletTopLeft.x > (screen.width - (width/2) - backgroundSvg.margins.left - Kirigami.Units.gridUnit) ? screen.width - width - backgroundSvg.margins.left : appletTopLeft.x - width/2 - backgroundSvg.margins.left
y = appletTopLeft.y + panelH + Kirigami.Units.gridUnit
return calculatePosition(x, y);
case PlasmaCore.Types.LeftEdge:
x = appletTopLeft.x + panelW + Kirigami.Units.gridUnit / 2;
y = appletTopLeft.y < screen.height - height ? appletTopLeft.y : appletTopLeft.y - height + iconUser.height / 2;
return calculatePosition(x, y);
case PlasmaCore.Types.RightEdge:
x = appletTopLeft.x - width - Kirigami.Units.gridUnit / 2;
y = appletTopLeft.y < screen.height - height ? appletTopLeft.y : screen.height - height - Kirigami.Units.gridUnit / 5;
return calculatePosition(x, y);
default:
return;
}
}
FocusScope {
id: rootItem
Layout.minimumWidth: Kirigami.Units.gridUnit * 20
Layout.maximumWidth: minimumWidth
Layout.minimumHeight: Kirigami.Units.gridUnit * 9 // 170
Layout.maximumHeight: minimumHeight
focus: true
FullContainer {
id: fullContainer
leftPanelMargin: backgroundSvg.margins.left
topPanelMargin: backgroundSvg.margins.top
exedentHight: backgroundSvg.margins.top + backgroundSvg.margins.bottom
widthOfLeftPanel: 130
width: widthOfLeftPanel
height: parent.height
}
ItemForecasts {
width: parent.width - fullContainer.width
height: parent.height
anchors.left: fullContainer.right
}
}
}
}

View file

@ -0,0 +1,418 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
import "../js/traductor.js" as Traduc
import "../js/GetInfoApi.js" as GetInfoApi
import "../js/geoCoordinates.js" as GeoCoordinates
import "../js/GetCity.js" as GetCity
import "../js/GetModelWeather.js" as GetModelWeather
Item {
signal dataChanged // Definir el signal aquí
signal simpleDataReady // Definir el signal aquí
function obtener(texto, indice) {
var palabras = texto.split(/\s+/); // Divide el texto en palabras utilizando el espacio como separador
return palabras[indice - 1]; // El índice - 1 porque los índices comienzan desde 0 en JavaScript
}
function fahrenheit(temp) {
if (temperatureUnit == 0) {
return temp;
} else {
return Math.round((temp * 9 / 5) + 32);
}
}
property bool isUpdate: false
property string lastUpdate: "0"
property int hoursC: 0
property string newValuesWeather: "0"
property string newValuesForeWeather: "0"
property bool active: plasmoid.configuration.weatheCardActive
property bool isInExecution: false
property string useCoordinatesIp: plasmoid.configuration.coordinatesIP
property string latitudeC: plasmoid.configuration.manualLatitude
property string longitudeC: plasmoid.configuration.manualLongitude
property string temperatureUnit: plasmoid.configuration.temperatureUnit
property string latitude: (useCoordinatesIp === "true") ? latitudeIP : (latitudeC === "0") ? latitudeIP : latitudeC
property string longitud: (useCoordinatesIp === "true") ? longitudIP : (longitudeC === "0") ? longitudIP : longitudeC
property var observerCoordenates: latitude + longitud
property int currentTime: Number(Qt.formatDateTime(new Date(), "h"))
property string datosweather: "0"
property string forecastWeather: "0"
property string observer: datosweather + forecastWeather
property int retrysCity: 0
property string oneIcon: asingicon(obtener(forecastWeather, 1))
property string twoIcon: asingicon(obtener(forecastWeather, 2))
property string threeIcon: asingicon(obtener(forecastWeather, 3))
property string fourIcon: asingicon(obtener(forecastWeather, 4))
property string fiveIcon: asingicon(obtener(forecastWeather, 5))
property string sixIcon: asingicon(obtener(forecastWeather, 6))
property string sevenIcon: asingicon(obtener(forecastWeather, 7))
property int oneMax: fahrenheit(obtener(forecastWeather, 8))
property int twoMax: fahrenheit(obtener(forecastWeather, 9))
property int threeMax: fahrenheit(obtener(forecastWeather, 10))
property int fourMax: fahrenheit(obtener(forecastWeather, 11))
property int fiveMax: fahrenheit(obtener(forecastWeather, 12))
property int sixMax: fahrenheit(obtener(forecastWeather, 13))
property int sevenMax: fahrenheit(obtener(forecastWeather, 14))
property int oneMin: fahrenheit(obtener(forecastWeather, 15))
property int twoMin: fahrenheit(obtener(forecastWeather, 16))
property int threeMin: fahrenheit(obtener(forecastWeather, 17))
property int fourMin: fahrenheit(obtener(forecastWeather, 18))
property int fiveMin: fahrenheit(obtener(forecastWeather, 19))
property int sixMin: fahrenheit(obtener(forecastWeather, 20))
property int sevenMin: fahrenheit(obtener(forecastWeather, 21))
property string day: (Qt.formatDateTime(new Date(), "yyyy-MM-dd"))
property string therday: Qt.formatDateTime(new Date(new Date().getTime() + (numberOfDays * 24 * 60 * 60 * 1000)), "yyyy-MM-dd")
property string finDay: Qt.formatDateTime(new Date(new Date().getTime() + (1 * 24 * 60 * 60 * 1000)), "yyyy-MM-dd")
property int numberOfDays: 6
property string currentTemperature: datosweather !== "0" ? fahrenheit(obtener(datosweather, 1)) : "?"
property string codeleng: ((Qt.locale().name)[0] + (Qt.locale().name)[1])
property string codeweather: obtener(datosweather, 4)
property string codeweatherTomorrow: obtener(forecastWeather, 2)
property string codeweatherDayAftertomorrow: obtener(forecastWeather, 3)
property string codeweatherTwoDaysAfterTomorrow: obtener(forecastWeather, 4)
property string minweatherCurrent: fahrenheit(obtener(datosweather, 2))
property string maxweatherCurrent: fahrenheit(obtener(datosweather, 3))
property var tempHours: [fahrenheit(obtener(datosweather, 9)), fahrenheit(obtener(datosweather, 10)), fahrenheit(obtener(datosweather, 11)), fahrenheit(obtener(datosweather, 12)), fahrenheit(obtener(datosweather, 13))]
property var iconHours: [asingicon(obtener(datosweather, 14)), asingicon(obtener(datosweather, 15)), asingicon(obtener(datosweather, 16)), asingicon(obtener(datosweather, 17)), asingicon(obtener(datosweather, 18)) ]
property string minweatherTomorrow: twoMin
property string maxweatherTomorrow: twoMax
property string minweatherDayAftertomorrow: threeMin
property string maxweatherDayAftertomorrow: threeMax
property string minweatherTwoDaysAfterTomorrow: fourMax
property string maxweatherTwoDaysAfterTomorrow: fourMax
property string iconWeatherCurrent: asingicon(codeweather)
property string uvindex: uvIndexLevelAssignment(obtener(datosweather, 7))
property string windSpeed: obtener(datosweather, 6)
property string weatherLongtext: i18n(textWeather(codeweather))
property string weatherShottext: i18n(shortTextWeather(codeweather))
property string probabilidadDeLLuvia: obtener(datosweather, 5)
property string textProbability: Traduc.rainProbabilityText(codeleng)
property string completeCoordinates: ""
property string oldCompleteCoordinates: "1"
property string latitudeIP: completeCoordinates.substring(0, (completeCoordinates.indexOf(' ')) - 1)
property string longitudIP: completeCoordinates.substring(completeCoordinates.indexOf(' ') + 1)
property string uvtext: Traduc.uvRadiationText(codeleng)
property string windSpeedText: Traduc.windSpeedText(codeleng)
property int isDay: obtener(datosweather, 8)
property string city: "unk"
property string prefixIcon: isDay === 1 ? "" : "-night"
Component.onCompleted: {
updateWeather(1);
}
function uvIndexLevelAssignment(nivel) {
if (nivel < 3) {
return nivel + " " + Traduc.lavelUV(codeleng, 0);
} else {
if (nivel < 6) {
return nivel + " " + Traduc.lavelUV(codeleng, 1);
} else {
if (nivel < 8) {
return nivel + " " + Traduc.lavelUV(codeleng, 2);
} else {
if (nivel < 11) {
return nivel + " " + Traduc.lavelUV(codeleng, 3);
} else {
return nivel + " " + Traduc.lavelUV(codeleng, 4);
}
}
}
}
}
function getCoordinatesWithIp() {
GeoCoordinates.obtenerCoordenadas(function(result) {
completeCoordinates = result;
retryCoordinate.start()
});
}
onObserverCoordenatesChanged: {
console.log("Coordenadas cambiaron, actualizando clima");
if (latitude && longitud && latitude !== "0" && longitud !== "0") {
updateWeather(2);
getCityFuncion();
} else {
console.warn("Coordenadas inválidas, reintentando...");
retryCoordinate.start();
}
}
function getCityFuncion() {
if (!latitude || !longitud || latitude === "0" || longitud === "0") {
console.error("Coordenadas inválidas para la solicitud de ciudad");
return;
}
GetCity.getNameCity(latitude, longitud, codeleng, function(result) {
city = result;
retrycity.start()
});
}
function getWeatherApi() {
GetInfoApi.obtenerDatosClimaticos(latitude, longitud, day, finDay, currentTime, function(result) {
if (isUpdate) {
newValuesWeather = result;
} else {
datosweather = result;
}
getForecastWeather()
retry.start()
});
}
function getForecastWeather() {
GetModelWeather.GetForecastWeather(latitude, longitud, day, therday, function(result) {
if (isUpdate) {
newValuesForeWeather = result
} else {
forecastWeather = result
};
});
}
function asingicon(x, b) {
let wmocodes = {
0: "clear",
1: "few-clouds",
2: "few-clouds",
3: "clouds",
51: "showers-scattered",
53: "showers-scattered",
55: "showers-scattered",
56: "showers-scattered",
57: "showers-scattered",
61: "showers",
63: "showers",
65: "showers",
66: "showers-scattered",
67: "showers",
71: "snow-scattered",
73: "snow",
75: "snow",
77: "hail",
80: "showers",
81: "showers",
82: "showers",
85: "snow-scattered",
86: "snow",
95: "storm",
96: "storm",
99: "storm",
};
var iconName = "weather-" + (wmocodes[x] || "unknown");
var iconNamePresicion = iconName + prefixIcon
return b === "preciso" ? iconNamePresicion : iconName;
}
function textWeather(x) {
let text = {
0: "Clear",
1: "Mainly clear",
2: "Partly cloudy",
3: "Overcast",
51: "Drizzle light intensity",
53: "Drizzle moderate intensity",
55: "Drizzle dense intensity",
56: "Freezing Drizzle light intensity",
57: "Freezing Drizzle dense intensity",
61: "Rain slight intensity",
63: "Rain moderate intensity",
65: "Rain heavy intensity",
66: "Freezing Rain light intensity",
67: "Freezing Rain heavy intensity",
71: "Snowfall slight intensity",
73: "Snowfall moderate intensity",
75: "Snowfall heavy intensity",
77: "Snow grains",
80: "Rain showers slight",
81: "Rain showers moderate",
82: "Rain showers violent",
85: "Snow showers slight",
86: "Snow showers heavy",
95: "Thunderstorm",
96: "Thunderstorm with slight hail"
};
return text[x]
}
function shortTextWeather(x) {
let text = {
0: "Clear",
1: "Clear",
2: "Cloudy",
3: "Cloudy",
51: "Drizzle",
53: "Drizzle",
55: "Drizzle",
56: "Drizzle",
57: "Drizzle",
61: "Rain",
63: "Rain",
65: "Rain",
66: "Rain",
67: "Rain",
71: "Snow",
73: "Snow",
75: "Snow",
77: "Hail",
80: "Showers",
81: "Showers",
82: "Showers",
85: "Showers",
86: "Showers",
95: "Storm",
96: "Storm",
99: "Storm"
};
return text[x]
}
function updateWeather(x) {
if (x === 1) {
if (useCoordinatesIp === "true") {
getCoordinatesWithIp();
} else {
if (latitudeC === "0" || longitudC === "0") {
getCoordinatesWithIp();
} else {
getWeatherApi()
}
}
}
///
if (x === 2) {
getWeatherApi();
}
}
onObserverChanged: {
if (forecastWeather.length > 3) {
lastUpdate = new Date()
dataChanged();
}
}
onNewValuesForeWeatherChanged: {
if (newValuesForeWeather.length > 3) {
datosweather = newValuesWeather;
forecastWeather = newValuesForeWeather;
newValuesWeather = "0";
newValuesForeWeather= "0";
}
}
Timer {
id: retryCoordinate
interval: 5000
running: false
repeat: false
onTriggered: {
if (completeCoordinates === "") {
getCoordinatesWithIp();
} else {
if (isUpdate) {
veri.start()
}
}
}
}
Timer {
id: retrycity
interval: 6000
running: false
repeat: false
onTriggered: {
if (city === "unk" && retrysCity < 5) {
retrysCity = retrysCity + 1
getCityFuncion();
}
}
}
Timer {
id: retry
interval: 5000
running: false
repeat: false
onTriggered: {
if (datosweather === "0") {
getWeatherApi();
}
}
}
Timer {
id: weatherupdate
interval: 900000
running: true
repeat: true
onTriggered: {
isUpdate = true
oldCompleteCoordinates = completeCoordinates
getCoordinatesWithIp()
//updateWeather(1);
//veri.start()
}
}
Timer {
id: observateHours
interval: 1000
running: true
repeat: true
onTriggered: {
hoursC = Qt.formatDateTime(new Date(), "h")
}
}
Timer {
id: veri
interval: 4000
running: false
repeat: false
onTriggered: {
//newValuesWeather = "0"
if (oldCompleteCoordinates === completeCoordinates) {
updateWeather(2)
}
}
}
onUseCoordinatesIpChanged: {
if (active) {
updateWeather(1);
isInExecution = true
}
}
}

View file

@ -0,0 +1,39 @@
function getNameCity(latitude, longitud, leng, callback) {
let url = `https://nominatim.openstreetmap.org/reverse?format=json&lat=${latitude}&lon=${longitud}&accept-language=${leng}`;
console.log("Generated URL: ", url); // Para verificar la URL generada
let req = new XMLHttpRequest();
req.open("GET", url, true);
req.onreadystatechange = function () {
if (req.readyState === 4) {
if (req.status === 200) {
try {
let datos = JSON.parse(req.responseText);
let address = datos.address;
let city = address.city;
let county = address.county;
let state = address.state;
let full = city ? city : state ? state : county;
console.log(full);
callback(full);
} catch (e) {
console.error("Error al analizar la respuesta JSON: ", e);
}
} else {
console.error(`city failed`);
}
}
};
req.onerror = function () {
console.error("La solicitud falló");
};
req.ontimeout = function () {
console.error("La solicitud excedió el tiempo de espera");
};
req.send();
}

View file

@ -0,0 +1,61 @@
function obtenerDatosClimaticos(latitud, longitud, fechaInicio, fechaFin, hours, callback) {
let url = `https://api.open-meteo.com/v1/forecast?latitude=${latitud}&longitude=${longitud}&hourly=temperature_2m,weather_code&current=temperature_2m,is_day,weather_code,wind_speed_10m&hourly=uv_index&daily=temperature_2m_max,temperature_2m_min,precipitation_probability_max&timezone=auto&start_date=${fechaInicio}&end_date=${(fechaFin)}`;
const now = new Date();
const hoursC = now.getHours(); // Horas (0-23)
const minutes = now.getMinutes(); // Minutos (0-59)
const currentTime = minutes > 44 ? hoursC + 2 : hoursC + 1;
let req = new XMLHttpRequest();
req.open("GET", url, true);
req.onreadystatechange = function () {
if (req.readyState === 4) {
if (req.status === 200) {
let datos = JSON.parse(req.responseText);
let currents = datos.current;
let isday = currents.is_day;
let temperaturaActual = currents.temperature_2m;
let windSpeed = currents.wind_speed_10m;
let codeCurrentWeather = currents.weather_code;
let datosDiarios = datos.daily;
let propabilityPrecipitationCurrent = datosDiarios.precipitation_probability_max[0];
let hourly = datos.hourly
let propabilityUVindex = hourly.uv_index[hours];
let tempForecastHorylOne = hourly.temperature_2m[currentTime];
let tempForecastHorylTwo = hourly.temperature_2m[currentTime + 1];
let tempForecastHorylThree = hourly.temperature_2m[currentTime + 2];
let tempForecastHorylFour = hourly.temperature_2m[currentTime + 3];
let tempForecastHorylFive = hourly.temperature_2m[currentTime + 4];
let hoursWether = tempForecastHorylOne + " " + tempForecastHorylTwo + " " + tempForecastHorylThree + " " + tempForecastHorylFour + " " + tempForecastHorylFive
let codeForecastHorylOne = hourly.weather_code[currentTime];
let codeForecastHorylTwo = hourly.weather_code[currentTime + 1];
let codeForecastHorylThree = hourly.weather_code[currentTime + 2];
let codeForecastHorylFour = hourly.weather_code[currentTime + 3];
let codeForecastHorylFive = hourly.weather_code[currentTime + 4];
let weather_codeWether = codeForecastHorylOne + " " + codeForecastHorylTwo + " " + codeForecastHorylThree + " " + codeForecastHorylFour + " " + codeForecastHorylFive
let tempMin = datosDiarios.temperature_2m_min[0];
let tempMax = datosDiarios.temperature_2m_max[0];
let full = temperaturaActual + " " + tempMin + " " + tempMax + " " + codeCurrentWeather + " " + propabilityPrecipitationCurrent + " " + windSpeed + " " + propabilityUVindex + " " + isday + " " + hoursWether + " " + weather_codeWether
console.log(`${full}`);
callback(full);
console.log(`https://api.open-meteo.com/v1/forecast?latitude=${latitud}&longitude=${longitud}&hourly=temperature_2m,weather_code&current=temperature_2m,is_day,weather_code,wind_speed_10m&hourly=uv_index&daily=temperature_2m_max,temperature_2m_min,precipitation_probability_max&timezone=auto&start_date=${fechaInicio}&end_date=${fechaInicio}`)
} else {
console.error(`Error en la solicitud: weathergeneral ${req.status}`);
//callback(`failed ${req.status}`)
}
}
};
req.send();
}

View file

@ -0,0 +1,27 @@
function GetForecastWeather(latitud, longitud, fechaInicio, fechaFin, callback) {
let url = `https://api.open-meteo.com/v1/forecast?latitude=${latitud}&longitude=${longitud}&daily=weather_code,temperature_2m_max,temperature_2m_min&timezone=auto&start_date=${fechaInicio}&end_date=${fechaFin}`;
let req = new XMLHttpRequest();
req.open("GET", url, true);
req.onreadystatechange = function () {
if (req.readyState === 4) {
if (req.status === 200) {
let datos = JSON.parse(req.responseText);
let daily = datos.daily;
let codes = daily.weather_code.join(' ');
let max = daily.temperature_2m_max.join(' ');
let min = daily.temperature_2m_min.join(' ');
let full = codes + " " + max + " " + min
console.log(`${full}`);
callback(full);
} else {
console.error(`Error en la solicitud: ${req.status}`);
}
}
};
req.send();
}

View file

@ -0,0 +1,145 @@
function getBtDevice() {
var connectedDevices = [];
for (var i = 0; i < btManager.devices.length; ++i) {
var device = btManager.devices[i];
if (device.connected) {
connectedDevices.push(device);
}
}
if (btManager.bluetoothBlocked) {
return i18n("Disabled");
} else if (!btManager.bluetoothOperational) {
if (!btManager.adapters.length) {
return i18n("Unavailable");
} else {
return i18n("Offline");
}
} else if (connectedDevices.length >= 1) {
return i18n(connectedDevices[0].name)
} else {
return i18n("Not Connected");
}
}
function toggleBluetooth()
{
var enable = !btManager.bluetoothOperational;
btManager.bluetoothBlocked = !enable;
for (var i = 0; i < btManager.adapters.length; ++i) {
var adapter = btManager.adapters[i];
adapter.powered = enable;
}
}
function checkInhibition() {
var inhibited = false;
if (!NotificationManager.Server.valid) {
return false;
}
console.log("pass")
var inhibitedUntil = notificationSettings.notificationsInhibitedUntil;
if (!isNaN(inhibitedUntil.getTime())) {
inhibited |= (Date.now() < inhibitedUntil.getTime());
}
if (notificationSettings.notificationsInhibitedByApplication) {
inhibited |= true;
}
if (notificationSettings.inhibitNotificationsWhenScreensMirrored) {
inhibited |= notificationSettings.screensMirrored;
}
return inhibited;
}
function toggleDnd() {
if (Funcs.checkInhibition()) {
notificationSettings.notificationsInhibitedUntil = undefined;
notificationSettings.revokeApplicationInhibitions();
// overrules current mirrored screen setup, updates again when screen configuration
notificationSettings.screensMirrored = false;
notificationSettings.save();
return;
}
var d = new Date();
d.setYear(d.getFullYear()+1)
notificationSettings.notificationsInhibitedUntil = d
notificationSettings.save()
}
function revokeInhibitions() {
notificationSettings.notificationsInhibitedUntil = undefined;
notificationSettings.revokeApplicationInhibitions();
// overrules current mirrored screen setup, updates again when screen configuration changes
notificationSettings.screensMirrored = false;
notificationSettings.save();
}
function toggleRedshiftInhibition() {
if (!monitor.available) {
return;
}
switch (inhibitor.state) {
case Redshift.Inhibitor.Inhibiting:
case Redshift.Inhibitor.Inhibited:
inhibitor.uninhibit();
break;
case Redshift.Inhibitor.Uninhibiting:
case Redshift.Inhibitor.Uninhibited:
inhibitor.inhibit();
break;
}
}
function volumePercent(volume) {
return volume / PulseAudio.NormalVolume * 100
}
function boundVolume(volume) {
return Math.max(PulseAudio.MinimalVolume, Math.min(volume, PulseAudio.NormalVolume));
}
function changeVolumeByPercent(volumeObject, deltaPercent) {
const oldVolume = volumeObject.volume;
const oldPercent = volumePercent(oldVolume);
const targetPercent = oldPercent + deltaPercent;
const newVolume = boundVolume(Math.round(PulseAudio.NormalVolume * (targetPercent/100)));
const newPercent = volumePercent(newVolume);
volumeObject.muted = newPercent == 0;
volumeObject.volume = newVolume;
return newPercent;
}
function volIconName(volume, muted, prefix) {
console.log(volume, muted, prefix)
if (!prefix) {
prefix = "audio-volume";
}
var icon = null;
var percent = volume / PulseAudio.NormalVolume
if (percent <= 0.0 || muted) {
icon = prefix + "-muted";
} else if (percent <= 0.25) {
icon = prefix + "-low";
} else if (percent <= 0.75) {
icon = prefix + "-medium";
} else {
icon = prefix + "-high";
}
return icon;
}
function sumarDia(a) {
var fechaActual = new Date();
fechaActual.setDate(fechaActual.getDate() + a);
var fechaFormateada = Qt.formatDateTime(fechaActual, "dddd");
console.log("Fecha con un día añadido:", fechaFormateada);
return fechaFormateada
}

View file

@ -0,0 +1,34 @@
function obtenerCoordenadas(callback) {
let url = "http://ip-api.com/json/?fields=lat,lon";
let req = new XMLHttpRequest();
req.open("GET", url, true);
req.onreadystatechange = function () {
if (req.readyState === 4) {
if (req.status === 200) {
try {
let datos = JSON.parse(req.responseText);
let latitud = datos.lat;
let longitud = datos.lon;
let full = `${latitud}, ${longitud}`;
console.log(`Coordenadas obtenidas: ${full}`);
callback(full); // Devolver coordenadas completas
} catch (error) {
console.error("Error procesando la respuesta JSON:", error);
callback(null); // Devolver null en caso de error de parsing
}
} else {
console.error(`Error en la solicitud: ${req.status}`);
callback(null); // Devolver null en caso de error de solicitud
}
}
};
req.onerror = function () {
console.error("Error de red al intentar obtener coordenadas.");
callback(null); // Devolver null en caso de error de red
};
req.send();
}

View file

@ -0,0 +1,866 @@
function weatherShortText(languageCode, code) {
let descriptions = {
en: {
0: "Clear",
1: "Clear",
2: "Cloudy",
3: "Cloudy",
51: "Drizzle",
53: "Drizzle",
55: "Drizzle",
56: "Drizzle",
57: "Drizzle",
61: "Rain",
63: "Rain",
65: "Rain",
66: "Rain",
67: "Rain",
71: "Snow",
73: "Snow",
75: "Snow",
77: "Hail",
80: "Showers",
81: "Showers",
82: "Showers",
85: "Showers",
86: "Showers",
95: "Storm",
96: "Storm",
99: "Storm"
},
es: {
0: "Despejado",
1: "Despejado",
2: "Nublado",
3: "Nublado",
51: "Llovizna",
53: "Llovizna",
55: "Llovizna",
56: "Llovizna",
57: "Llovizna",
61: "Lluvia",
63: "Lluvia",
65: "Lluvia",
66: "Lluvia",
67: "Lluvia",
71: "Nieve",
73: "Nieve",
75: "Nieve",
77: "Granizo",
80: "Aguaceros",
81: "Aguaceros",
82: "Aguaceros",
85: "Aguaceros",
86: "Aguaceros",
95: "Tormenta",
96: "Tormenta",
99: "Tormenta"
},
hi: {
0: "साफ",
1: "साफ",
2: "बादल",
3: "बादल",
51: "बूँदा बाँदी",
53: "बूँदा बाँदी",
55: "बूँदा बाँदी",
56: "बूँदा बाँदी",
57: "बूँदा बाँदी",
61: "वर्षा",
63: "वर्षा",
65: "वर्षा",
66: "वर्षा",
67: "वर्षा",
71: "बर्फ",
73: "बर्फ",
75: "बर्फ",
77: "ओला",
80: "झरी",
81: "झरी",
82: "झरी",
85: "झरी",
86: "झरी",
95: "तूफान",
96: "तूफान",
99: "तूफान"
},
fr: {
0: "Clair",
1: "Clair",
2: "Nuageux",
3: "Nuageux",
51: "Bruine",
53: "Bruine",
55: "Bruine",
56: "Bruine",
57: "Bruine",
61: "Pluie",
63: "Pluie",
65: "Pluie",
66: "Pluie",
67: "Pluie",
71: "Neige",
73: "Neige",
75: "Neige",
77: "Grêle",
80: "Averses",
81: "Averses",
82: "Averses",
85: "Averses",
86: "Averses",
95: "Tempête",
96: "Tempête",
99: "Tempête"
},
ru: {
0: "Ясно",
1: "Ясно",
2: "Облачно",
3: "Облачно",
51: "Морось",
53: "Морось",
55: "Морось",
56: "Морось",
57: "Морось",
61: "Дождь",
63: "Дождь",
65: "Дождь",
66: "Дождь",
67: "Дождь",
71: "Снег",
73: "Снег",
75: "Снег",
77: "Град",
80: "Ливни",
81: "Ливни",
82: "Ливни",
85: "Ливни",
86: "Ливни",
95: "Буря",
96: "Буря",
99: "Буря"
},
zh: {
0: "晴朗",
1: "晴朗",
2: "多云",
3: "多云",
51: "小雨",
53: "小雨",
55: "小雨",
56: "小雨",
57: "小雨",
61: "雨",
63: "雨",
65: "雨",
66: "雨",
67: "雨",
71: "雪",
73: "雪",
75: "雪",
77: "冰雹",
80: "阵雨",
81: "阵雨",
82: "阵雨",
85: "阵雨",
86: "阵雨",
95: "暴风",
96: "暴风",
99: "暴风"
},
pt: {
0: "Claro",
1: "Claro",
2: "Nublado",
3: "Nublado",
51: "Garoa",
53: "Garoa",
55: "Garoa",
56: "Garoa",
57: "Garoa",
61: "Chuva",
63: "Chuva",
65: "Chuva",
66: "Chuva",
67: "Chuva",
71: "Neve",
73: "Neve",
75: "Neve",
77: "Granizo",
80: "Chuvas",
81: "Chuvas",
82: "Chuvas",
85: "Chuvas",
86: "Chuvas",
95: "Tempestade",
96: "Tempestade",
99: "Tempestade"
},
ar: {
0: "صافي",
1: "صافي",
2: "غائم",
3: "غائم",
51: "رذاذ",
53: "رذاذ",
55: "رذاذ",
56: "رذاذ",
57: "رذاذ",
61: "مطر",
63: "مطر",
65: "مطر",
66: "مطر",
67: "مطر",
71: "ثلج",
73: "ثلج",
75: "ثلج",
77: "بَرَد",
80: "زخات",
81: "زخات",
82: "زخات",
85: "زخات",
86: "زخات",
95: "عاصفة",
96: "عاصفة",
99: "عاصفة"
},
bn: {
0: "পরিষ্কার",
1: "পরিষ্কার",
2: "মেঘলা",
3: "মেঘলা",
51: "ঝিরঝিরি",
53: "ঝিরঝিরি",
55: "ঝিরঝিরি",
56: "ঝিরঝিরি",
57: "ঝিরঝিরি",
61: "বৃষ্টি",
63: "বৃষ্টি",
65: "বৃষ্টি",
66: "বৃষ্টি",
67: "বৃষ্টি",
71: "তুষার",
73: "তুষার",
75: "তুষার",
77: "শিলা",
80: "ঝরণা",
81: "ঝরণা",
82: "ঝরণা",
85: "ঝরণা",
86: "ঝরণা",
95: "ঝড়",
96: "ঝড়",
99: "ঝড়"
},
de: {
0: "Klar",
1: "Klar",
2: "Bewölkt",
3: "Bewölkt",
51: "Niesel",
53: "Niesel",
55: "Niesel",
56: "Niesel",
57: "Niesel",
61: "Regen",
63: "Regen",
65: "Regen",
66: "Regen",
67: "Regen",
71: "Schnee",
73: "Schnee",
75: "Schnee",
77: "Hagel",
80: "Schauer",
81: "Schauer",
82: "Schauer",
85: "Schauer",
86: "Schauer",
95: "Sturm",
96: "Sturm",
99: "Sturm"
},
ja: {
0: "晴れ",
1: "晴れ",
2: "曇り",
3: "曇り",
51: "霧雨",
53: "霧雨",
55: "霧雨",
56: "霧雨",
57: "霧雨",
61: "雨",
63: "雨",
65: "雨",
66: "雨",
67: "雨",
71: "雪",
73: "雪",
75: "雪",
77: "ひょう",
80: "にわか雨",
81: "にわか雨",
82: "にわか雨",
85: "にわか雨",
86: "にわか雨",
95: "嵐",
96: "嵐",
99: "嵐"
},
ko: {
0: "맑음",
1: "맑음",
2: "흐림",
3: "흐림",
51: "이슬비",
53: "이슬비",
55: "이슬비",
56: "이슬비",
57: "이슬비",
61: "비",
63: "비",
65: "비",
66: "비",
67: "비",
71: "눈",
73: "눈",
75: "눈",
77: "우박",
80: "소나기",
81: "소나기",
82: "소나기",
85: "소나기",
86: "소나기",
95: "폭풍",
96: "폭풍",
99: "폭풍"
},
it: {
0: "Sereno",
1: "Sereno",
2: "Nuvoloso",
3: "Nuvoloso",
51: "Pioggerella",
53: "Pioggerella",
55: "Pioggerella",
56: "Pioggerella",
57: "Pioggerella",
61: "Pioggia",
63: "Pioggia",
65: "Pioggia",
66: "Pioggia",
67: "Pioggia",
71: "Neve",
73: "Neve",
75: "Neve",
77: "Grandine",
80: "Rovesci",
81: "Rovesci",
82: "Rovesci",
85: "Rovesci",
86: "Rovesci",
95: "Tempesta",
96: "Tempesta",
99: "Tempesta"
}
};
if (descriptions[languageCode]) {
return descriptions[languageCode][code] || "Unknown";
} else {
return "Language not supported";
}
}
function weatherLongText(languageCode, code) {
let descriptions = {
en: {
0: "Clear",
1: "Mainly clear",
2: "Partly cloudy",
3: "Overcast",
51: "Drizzle light intensity",
53: "Drizzle moderate intensity",
55: "Drizzle dense intensity",
56: "Freezing Drizzle light intensity",
57: "Freezing Drizzle dense intensity",
61: "Rain slight intensity",
63: "Rain moderate intensity",
65: "Rain heavy intensity",
66: "Freezing Rain light intensity",
67: "Freezing Rain heavy intensity",
71: "Snowfall slight intensity",
73: "Snowfall moderate intensity",
75: "Snowfall heavy intensity",
77: "Snow grains",
80: "Rain showers slight",
81: "Rain showers moderate",
82: "Rain showers violent",
85: "Snow showers slight",
86: "Snow showers heavy",
95: "Thunderstorm",
96: "Thunderstorm with slight hail",
99: "Thunderstorm with heavy hail"
},
es: {
0: "Despejado",
1: "Mayormente despejado",
2: "Parcialmente nublado",
3: "Nublado",
51: "Llovizna de baja intensidad",
53: "Llovizna de intensidad moderada",
55: "Llovizna de intensidad densa",
56: "Llovizna helada de baja intensidad",
57: "Llovizna helada de intensidad densa",
61: "Lluvia de ligera intensidad",
63: "Lluvia de intensidad moderada",
65: "Lluvia de intensidad fuerte",
66: "Lluvia helada de baja intensidad",
67: "Lluvia helada de alta intensidad",
71: "Nieve de ligera intensidad",
73: "Nieve de intensidad moderada",
75: "Nieve de intensidad fuerte",
77: "Granizo",
80: "Aguaceros de lluvia de ligera intensidad",
81: "Aguaceros de lluvia de intensidad moderada",
82: "Aguaceros de lluvia de intensidad violenta",
85: "Aguaceros de nieve de ligera intensidad",
86: "Aguaceros de nieve de intensidad fuerte",
95: "Tormenta",
96: "Tormenta con granizo ligero",
99: "Tormenta con granizo fuerte"
},
fr: {
0: "Clair",
1: "Partiellement clair",
2: "Partiellement nuageux",
3: "Couvert",
51: "Bruine légère",
53: "Bruine modérée",
55: "Bruine dense",
56: "Bruine verglaçante légère",
57: "Bruine verglaçante dense",
61: "Pluie légère",
63: "Pluie modérée",
65: "Pluie forte",
66: "Pluie verglaçante légère",
67: "Pluie verglaçante forte",
71: "Légère chute de neige",
73: "Chute de neige modérée",
75: "Chute de neige forte",
77: "Grains de neige",
80: "Averses de pluie légères",
81: "Averses de pluie modérées",
82: "Averses de pluie violentes",
85: "Averses de neige légères",
86: "Averses de neige fortes",
95: "Orage",
96: "Orage avec grêle légère",
99: "Orage avec grêle forte"
},
de: {
0: "Klar",
1: "Überwiegend klar",
2: "Teilweise bewölkt",
3: "Bedeckt",
51: "Leichter Nieselregen",
53: "Mäßiger Nieselregen",
55: "Dichter Nieselregen",
56: "Leichter Gefrierender Nieselregen",
57: "Dichter Gefrierender Nieselregen",
61: "Leichter Regen",
63: "Mäßiger Regen",
65: "Starker Regen",
66: "Leichter Gefrierender Regen",
67: "Starker Gefrierender Regen",
71: "Leichter Schneefall",
73: "Mäßiger Schneefall",
75: "Starker Schneefall",
77: "Schneekörner",
80: "Leichte Regenschauer",
81: "Mäßige Regenschauer",
82: "Starker Regenschauer",
85: "Leichte Schneeschauer",
86: "Starke Schneeschauer",
95: "Gewitter",
96: "Gewitter mit leichtem Hagel",
99: "Gewitter mit starkem Hagel"
},
it: {
0: "Sereno",
1: "Prevalentemente sereno",
2: "Parzialmente nuvoloso",
3: "Nuvoloso",
51: "Pioviggine debole",
53: "Pioviggine moderata",
55: "Pioviggine intensa",
56: "Pioviggine ghiacciata debole",
57: "Pioviggine ghiacciata intensa",
61: "Pioggia debole",
63: "Pioggia moderata",
65: "Pioggia intensa",
66: "Pioggia ghiacciata debole",
67: "Pioggia ghiacciata intensa",
71: "Nevicata debole",
73: "Nevicata moderata",
75: "Nevicata intensa",
77: "Granuli di neve",
80: "Pioggia debole con rovesci",
81: "Pioggia moderata con rovesci",
82: "Pioggia intensa con rovesci",
85: "Nevicata debole con rovesci",
86: "Nevicata intensa con rovesci",
95: "Temporale",
96: "Temporale con grandine leggera",
99: "Temporale con grandine forte"
},
pt: {
0: "Céu limpo",
1: "Céu pouco nublado",
2: "Parcialmente nublado",
3: "Céu nublado",
51: "Chuviscos de fraca intensidade",
53: "Chuviscos de intensidade moderada",
55: "Chuviscos de intensidade forte",
56: "Chuviscos congelantes de fraca intensidade",
57: "Chuviscos congelantes de intensidade forte",
61: "Chuva de fraca intensidade",
63: "Chuva de intensidade moderada",
65: "Chuva de intensidade forte",
66: "Chuva congelante de fraca intensidade",
67: "Chuva congelante de intensidade forte",
71: "Queda de neve de fraca intensidade",
73: "Queda de neve de intensidade moderada",
75: "Queda de neve de intensidade forte",
77: "Granulado de neve",
80: "Aguaceiros de chuva fracos",
81: "Aguaceiros de chuva moderados",
82: "Aguaceiros de chuva fortes",
85: "Aguaceiros de neve fracos",
86: "Aguaceiros de neve fortes",
95: "Trovoada",
96: "Trovoada com granizo fraco",
99: "Trovoada com granizo forte"
},
ja: {
0: "晴れ",
1: "大部分晴れ",
2: "一部曇り",
3: "曇り",
51: "わずかな霧雨",
53: "穏やかな霧雨",
55: "濃い霧雨",
56: "軽い凍雨",
57: "濃い凍雨",
61: "弱い雨",
63: "穏やかな雨",
65: "激しい雨",
66: "軽い着氷性の雨",
67: "激しい着氷性の雨",
71: "弱い雪",
73: "穏やかな雪",
75: "激しい雪",
77: "雪の粒",
80: "弱いにわか雨",
81: "穏やかなにわか雨",
82: "激しいにわか雨",
85: "弱いにわか雪",
86: "激しいにわか雪",
95: "雷雨",
96: "軽い雹を伴う雷雨",
99: "激しい雹を伴う雷雨"
},
ru: {
0: "Ясно",
1: "В основном ясно",
2: "Частично облачно",
3: "Пасмурно",
51: "Морось слабая интенсивность",
53: "Морось умеренная интенсивность",
55: "Морось плотная интенсивность",
56: "Ледяной дождь слабой интенсивности",
57: "Ледяной дождь сильной интенсивности",
61: "Дождь слабой интенсивности",
63: "Дождь умеренной интенсивности",
65: "Дождь сильной интенсивности",
66: "Ледяной дождь слабой интенсивности",
67: "Ледяной дождь сильной интенсивности",
71: "Снег слабой интенсивности",
73: "Снег умеренной интенсивности",
75: "Снег сильной интенсивности",
77: "Снежные зерна",
80: "Дождь с прояснениями слабый",
81: "Дождь с прояснениями умеренный",
82: "Дождь с прояснениями сильный",
85: "Снег с прояснениями слабый",
86: "Снег с прояснениями сильный",
95: "Гроза",
96: "Гроза с небольшим градом",
99: "Гроза с сильным градом"
},
zh: {
0: "晴",
1: "晴间多云",
2: "局部多云",
3: "阴天",
51: "小雨",
53: "中雨",
55: "大雨",
56: "小冻雨",
57: "大冻雨",
61: "小雨夹雪",
63: "中雨夹雪",
65: "大雨夹雪",
66: "小冰雨",
67: "大冰雨",
71: "小雪",
73: "中雪",
75: "大雪",
77: "雪粒",
80: "小雨 showers",
81: "中雨 showers",
82: "大雨 showers",
85: "小雪 showers",
86: "大雪 showers",
95: "雷暴",
96: "雷暴并伴有小冰雹",
99: "雷暴并伴有大冰雹"
},
ko: {
0: "맑음",
1: "구름 조금",
2: "부분적으로 흐림",
3: "흐림",
51: "약한 이슬비",
53: "중간 강도의 이슬비",
55: "짙은 이슬비",
56: "약한 동결 이슬비",
57: "강한 동결 이슬비",
61: "약한 비",
63: "중간 강도의 비",
65: "강한 비",
66: "약한 동결 비",
67: "강한 동결 비",
71: "약한 눈",
73: "중간 강도의 눈",
75: "강한 눈",
77: "눈송이",
80: "약한 비 샤워",
81: "중간 강도의 비 샤워",
82: "강한 비 샤워",
85: "약한 눈 샤워",
86: "강한 눈 샤워",
95: "천둥 번개",
96: "약한 우박을 동반한 천둥 번개",
99: "강한 우박을 동반한 천둥 번개"
},
// Agrega más idiomas aquí según sea necesario
};
if (descriptions[languageCode]) {
return descriptions[languageCode][code] || "Unknown";
} else {
return "Language not supported";
}
}
function rainProbabilityText(languageCode) {
const translations = {
es: "Probabilidad de lluvia", // Spanish
"en": "Probability of rain", // English
"hi": "बारिश की संभावना", // Hindi
"fr": "Probabilité de pluie", // French
"de": "Regenwahrscheinlichkeit", // German
"it": "Probabilità di pioggia", // Italian
"pt": "Probabilidade de chuva", // Portuguese
"ru": "Вероятность дождя", // Russian
"zh-cn": "降雨概率", // Simplified Chinese (Mainland China)
"zh-tw": "降雨機率", // Traditional Chinese (Taiwan)
"ja": "降雨確率", // Japanese
"ko": "비 올 확률", // Korean
"nl": "Regenkans", // Dutch
"ny": "Mwayi wamagulu" // Chichewa
};
// Return the translation for the language code or default to English if not found
return translations[languageCode] || translations["en"];
}
function lavelUV(languageCode, lavel) {
const translations = {
es: {
0: "Bajo",
1: "Moderado",
2: "Alto",
3: "Muy Alto",
4: "Extremo"
},
en: {
0: "Low",
1: "Moderate",
2: "High",
3: "Very High",
4: "Extreme"
},
hi: {
0: "कम",
1: "मध्यम",
2: "उच्च",
3: "बहुत उच्च",
4: "अत्यधिक"
},
fr: {
0: "Faible",
1: "Modéré",
2: "Élevé",
3: "Très Élevé",
4: "Extrême"
},
de: {
0: "Niedrig",
1: "Mäßig",
2: "Hoch",
3: "Sehr Hoch",
4: "Extrem"
},
it: {
0: "Basso",
1: "Moderato",
2: "Alto",
3: "Molto Alto",
4: "Estremo"
},
pt: {
0: "Baixo",
1: "Moderado",
2: "Alto",
3: "Muito Alto",
4: "Extremo"
},
ru: {
0: "Низкий",
1: "Умеренный",
2: "Высокий",
3: "Очень Высокий",
4: "Экстремальный"
},
"zh-cn": {
0: "低",
1: "中等",
2: "高",
3: "很高",
4: "极高"
},
"zh-tw": {
0: "低",
1: "中等",
2: "高",
3: "很高",
4: "極高"
},
ja: {
0: "低い",
1: "中程度",
2: "高い",
3: "非常に高い",
4: "極端"
},
ko: {
0: "낮음",
1: "보통",
2: "높음",
3: "매우 높음",
4: "극심함"
},
nl: {
0: "Laag",
1: "Matig",
2: "Hoog",
3: "Zeer Hoog",
4: "Extreem"
},
ny: {
0: "Zochepa",
1: "Apakatikati",
2: "Wapamwamba",
3: "Wapamwamba Kwambiri",
4: "Mowopsa"
}
};
// Return the translation for the language code or default to English if not found
if (translations[languageCode]) {
return translations[languageCode][lavel] || "Unknown";
} else {
return "Language not supported";
}
}
function windSpeedText(languageCode) {
const translations = {
"es": "Velocidad del viento",
"en": "Wind Speed",
"hi": "हवा की गति",
"fr": "Vitesse du vent",
"de": "Windgeschwindigkeit",
"it": "Velocità del vento",
"pt": "Velocidade do vento",
"ru": "Скорость ветра",
"zh-cn": "风速",
"zh-tw": "風速",
"ja": "風速",
"ko": "풍속",
"nl": "Windsnelheid",
"ny": "Zachitentha"
};
const shortTranslations = {
"es": "Viento",
"en": "Wind",
"hi": "हवा",
"fr": "Vent",
"de": "Wind",
"it": "Vento",
"pt": "Vento",
"ru": "Ветер",
"zh-cn": "风",
"zh-tw": "風",
"ja": "風",
"ko": "바람",
"nl": "Wind",
"ny": "Mphepo"
};
// Get the full translation or default to English if not found
const fullTranslation = translations[languageCode] || translations["en"];
// Return the short translation if the full one is longer than 15 characters
if (fullTranslation.length > 15) {
return shortTranslations[languageCode] || shortTranslations["en"];
}
return fullTranslation;
}
function uvRadiationText(languageCode) {
const translations = {
"es": "UV",
"en": "UV",
"hi": "यूवी विकिरण",
"fr": "UV",
"de": "UV",
"it": "UV",
"pt": "UV",
"ru": "УФ-излучение",
"zh-cn": "紫外线辐射",
"zh-tw": "紫外線輻射",
"ja": "UV",
"ko": "자외선 방사",
"nl": "UV",
"ny": "UV"
};
// Return the translation for the language code or default to "UV" if not found
return translations[languageCode] || "UV";
}

View file

@ -0,0 +1,41 @@
function capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
function getTranslateInJs(language, word) {
const translatesUi = {
cs: ["síť", "bluetooth", "offline", "nastavení", "nastavení systému", "vypnuto", "nerušit", "hlasitost", "předpověď počasí"],
da: ["netværk", "bluetooth", "offline", "indstillinger", "systemindstillinger", "fra", "forstyr ikke", "lydstyrke", "vejrudsigten"],
de: ["Netzwerk", "Bluetooth", "offline", "Einstellungen", "Systemeinstellungen", "aus", "nicht stören", "Lautstärke", "Wettervorhersage"],
en: ["network", "bluetooth", "offline", "settings", "system settings", "off", "don't disturb", "volume", "weather forecast"],
es: ["red", "bluetooth", "sin conexión", "configuración", "configuración del sistema", "apagado", "no molestar", "volumen", "pronóstico del tiempo"],
et: ["võrk", "bluetooth", "ühenduseta", "seaded", "süsteemi seaded", "väljas", "mitte segada", "helitugevus", "ilmaprognoos"],
fi: ["verkko", "bluetooth", "offline", "asetukset", "järjestelmäasetukset", "pois", "älä häiritse", "äänenvoimakkuus", "sääennuste"],
fr: ["réseau", "bluetooth", "hors ligne", "paramètres", "paramètres du système", "éteindre", "ne pas déranger", "volume", "prévisions météorologiques"],
hr: ["mreža", "bluetooth", "offline", "postavke", "postavke sustava", "isključeno", "ne ometaj", "glasnoća", "vremenska prognoza"],
hu: ["hálózat", "bluetooth", "offline", "beállítások", "rendszerbeállítások", "kikapcsolva", "ne zavarjanak", "hangerő", "időjárás előrejelzés"],
is: ["net", "bluetooth", "ótengdur", "stillingar", "kerfisstillingar", "af", "trufla ekki", "hljóðstyrkur", "veðurspá"],
it: ["rete", "bluetooth", "offline", "impostazioni", "impostazioni di sistema", "spento", "non disturbare", "volume", "previsioni del tempo"],
lt: ["tinklas", "bluetooth", "neprisijungęs", "nustatymai", "sistemos nustatymai", "išjungta", "netrukdyti", "garsas", "orų prognozė"],
lv: ["tīkls", "bluetooth", "bezsaistē", "iestatījumi", "sistēmas iestatījumi", "izslēgts", "netraucēt", "skaļums", "laika prognoze"],
nl: ["netwerk", "bluetooth", "offline", "instellingen", "systeeminstellingen", "uit", "niet storen", "volume", "weersvoorspelling"],
no: ["nettverk", "bluetooth", "offline", "innstillinger", "systeminnstillinger", "av", "ikke forstyrr", "volum", "værmelding"],
pl: ["sieć", "bluetooth", "offline", "ustawienia", "ustawienia systemowe", "wyłączony", "nie przeszkadzać", "głośność", "prognoza pogody"],
pt: ["rede", "bluetooth", "offline", "configurações", "configurações do sistema", "desligado", "não incomodar", "volume", "previsão do tempo"],
ro: ["rețea", "bluetooth", "offline", "setări", "setări de sistem", "oprit", "nu deranjați", "volum", "prognoza meteo"],
sk: ["sieť", "bluetooth", "offline", "nastavenia", "nastavenia systému", "vypnuté", "nerušiť", "hlasitosť", "predpoveď počasia"],
sl: ["omrežje", "bluetooth", "offline", "nastavitve", "sistemske nastavitve", "izklopljeno", "ne moti", "glasnost", "vremenska napoved"],
sq: ["rrjet", "bluetooth", "offline", "cilësimet", "cilësimet e sistemit", "fikur", "mos shqetësoni", "vëllimi", "parashikimi i motit"],
sv: ["nätverk", "bluetooth", "offline", "inställningar", "systeminställningar", "av", "stör ej", "volym", "väderprognos"]
};
const index = translatesUi['en'].indexOf(word.toLowerCase());
if (index !== -1) {
const translatedWord = translatesUi[language] ? translatesUi[language][index] : translatesUi["en"][index];
return capitalizeFirstLetter(translatedWord);
} else {
return capitalizeFirstLetter(word);
}
}

View file

@ -0,0 +1,209 @@
import QtQuick
import QtQuick.Layouts 1.1
import org.kde.plasma.plasmoid
import org.kde.plasma.core 2.0 as PlasmaCore
import "components" as Components
import org.kde.kirigami as Kirigami
import org.kde.ksvg as KSvg
PlasmoidItem {
id: wrapper
anchors.fill: parent
Components.WeatherData {
id: weatherData
}
signal reset
//property bool dashWindowIsFocus: true
property string currentTemp: weatherData.currentTemperature
property string unitsTemperature: plasmoid.configuration.temperatureUnit
//property string textUnitsTemper: ? "C" : "F"
property string location: weatherData.city
property string weather: weatherData.weatherShottext
property string currentIcon: weatherData.iconWeatherCurrent
property string currentMaxMin: weatherData.maxweatherCurrent + "°/" + weatherData.minweatherCurrent + "°"
property var temps: weatherData.tempHours
property var icons: weatherData.iconHours
property alias forecastHours: hoursWeatherModel
property alias forecastFullModel: forecastModel
property bool isUpdate: false
property date currentDateTime: new Date()
readonly property int currentDayOfWeek: currentDateTime.getDay()
ListModel {
id: hoursWeatherModel
}
ListModel {
id: forecastModel
}
function getTranslatedDayInitial(dayIndex) {
var tempDate = new Date(currentDateTime);
tempDate.setDate(tempDate.getDate() + dayIndex);
return tempDate.toLocaleString(Qt.locale(), "dddd");
}
function hoursForModel(v) {
const now = new Date();
const hoursC = now.getHours(); // Horas (0-23)
const minutes = now.getMinutes(); // Minutos (0-59)
const currentTime = minutes > 44 ? hoursC + 2 : hoursC + 1;
var hoursForecast = [currentTime, currentTime + 1, currentTime + 2, currentTime + 3, currentTime + 4]
return hoursForecast[v]
}
function hoursForecast() {
hoursWeatherModel.clear()
for (var i = 0; i < 5; i++) {
hoursWeatherModel.append({
icon: icons[i],
temp: temps[i],
hours: hoursForModel(i)
});
}
}
function hoursForecastUpdate() {
for (var o = 0; o < hoursWeatherModel.count; o++) {
hoursWeatherModel.set(o, { "icon": icons[o] });
hoursWeatherModel.set(o, { "temp": String(parseFloat(temps[o])) });
hoursWeatherModel.set(o, { "hours": hoursForModel(o) });
}
}
function updateUnitsTempe() {
let Maxs = {
0: weatherData.oneMax,
1: weatherData.twoMax,
2: weatherData.threeMax,
3: weatherData.fourMax,
4: weatherData.fiveMax,
}
let Mins = {
0: weatherData.oneMin,
1: weatherData.twoMin,
2: weatherData.threeMin,
3: weatherData.fourMin,
4: weatherData.fiveMin,
}
for (var z = 0; z < forecastModel.count; z++) {
forecastModel.set(z, { "maxTemp": Maxs[z], "minTemp": Mins[z] })
}
for (var e = 0; e < hoursWeatherModel.count; e++) {
var roles = hoursWeatherModel.get(e);
console.log("Roles for index " + e + ":", JSON.stringify(roles));
// Convierte temps[e] a cadena antes de asignarlo
var gy = String(parseFloat(temps[e]));
hoursWeatherModel.set(e, { "temp": gy });
}
}
Timer {
id: checkUpdateTimer
interval: 5000 // 20 segundos
repeat: true
running: true
onTriggered: {
if (weatherData.lastUpdate !== "") {
let now = new Date()
let lastUpdateDate = new Date(weatherData.lastUpdate) // Crear objeto Date desde la cadena almacenada
let diffMinutes = (now - lastUpdateDate) / 60000 // Convertir la diferencia a minutos
if (diffMinutes > 17) {
forms()
}
}
}
}
function updateForecastModel() {
let icons = {
0: weatherData.oneIcon,
1: weatherData.twoIcon,
2: weatherData.threeIcon,
3: weatherData.fourIcon,
4: weatherData.fiveIcon,
}
let Maxs = {
0: weatherData.oneMax,
1: weatherData.twoMax,
2: weatherData.threeMax,
3: weatherData.fourMax,
4: weatherData.fiveMax,
}
let Mins = {
0: weatherData.oneMin,
1: weatherData.twoMin,
2: weatherData.threeMin,
3: weatherData.fourMin,
4: weatherData.fiveMin,
}
forecastModel.clear();
for (var i = 1; i < 4; i++) {
var icon = icons[i]
var maxTemp = Maxs[i]
var minTemp = Mins[i]
var date = getTranslatedDayInitial(i)
forecastModel.append({
date: date,
icon: icon,
maxTemp: maxTemp,
minTemp: minTemp
});
}
}
function forms() {
if (isUpdate) {
currentDateTime = new Date()
hoursForecastUpdate()
updateForecastModel()
} else {
currentDateTime = new Date()
hoursForecast()
updateForecastModel()
isUpdate = true
}
}
onUnitsTemperatureChanged: {
//hoursForecast()
updateUnitsTempe()
}
Component.onCompleted: {
weatherData.dataChanged.connect(() => {
Qt.callLater(forms); // Asegura que la función se ejecute al final del ciclo de eventos
});
}
preferredRepresentation: compactRepresentation
compactRepresentation: compactRepresentation
fullRepresentation: compactRepresentation
Component {
id: compactRepresentation
CompactRepresentation {}
}
}

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=Nori Weather
Type=Service
Icon=weather
X-KDE-ServiceTypes=Plasma/Applet
X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/main.qml
X-KDE-PluginInfo-Name=Nori.Weather

View file

@ -0,0 +1,21 @@
{
"KPackageStructure": "Plasma/Applet",
"KPlugin": {
"Authors": [
{
"Email": "adolfo@librepixels.com",
"Name": "zayronxio"
}
],
"BugReportUrl": "",
"Category": "Environment and Weather",
"Description": "",
"EnabledByDefault": true,
"Icon": "weather",
"Id": "Nori.Weather",
"License": "GPL-2.0+",
"Name": "Nori Weather",
"Website": "https://store.kde.org/p/2230382"
},
"X-Plasma-API-Minimum-Version": "6.0"
}

View file

@ -0,0 +1,45 @@
> Version 7 of Zren's i18n scripts. [link](https://github.com/Zren/plasma-applet-tiledmenu)
With KDE Frameworks v5.37 and above, translations are bundled with the `*.plasmoid` file downloaded from the store.
## Install Translations
Go to `~/.local/share/plasma/plasmoids/org.kde.plasma.dittomenu/translate/` and run `sh ./build --restartplasma`.
## New Translations
1. Fill out [`template.pot`](template.pot) with your translations then open a [new issue](https://github.com/Zren/plasma-applet-tiledmenu/issues/new), name the file `spanish.txt`, attach the txt file to the issue (drag and drop).
Or if you know how to make a pull request
1. Copy the `template.pot` file and name it your locale's code (Eg: `en`/`de`/`fr`) with the extension `.po`. Then fill out all the `msgstr ""`.
## Scripts
* `sh ./merge` will parse the `i18n()` calls in the `*.qml` files and write it to the `template.pot` file. Then it will merge any changes into the `*.po` language files.
* `sh ./build` will convert the `*.po` files to it's binary `*.mo` version and move it to `contents/locale/...` which will bundle the translations in the `*.plasmoid` without needing the user to manually install them.
* `sh ./plasmoidlocaletest` will run `./build` then `plasmoidviewer` (part of `plasma-sdk`).
## Links
* https://zren.github.io/kde/docs/widget/#translations-i18n
* https://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems
* https://api.kde.org/frameworks/ki18n/html/prg_guide.html
## Examples
* https://l10n.kde.org/stats/gui/trunk-kf5/team/fr/plasma-desktop/
* https://github.com/psifidotos/nowdock-plasmoid/tree/master/po
* https://github.com/kotelnik/plasma-applet-redshift-control/tree/master/translations
## Status
| Locale | Lines | % Done|
|----------|---------|-------|
| Template | 30 | |
| fr | 29/30 | 96% |
| ko | 27/30 | 90% |
| nl | 20/30 | 66% |
| pl | 22/30 | 73% |
| pt_BR | 30/30 | 100% |
| ru | 30/30 | 100% |
| tr | 23/30 | 76% |

View file

@ -0,0 +1,53 @@
#!/bin/sh
# Version: 6
# This script will convert the *.po files to *.mo files, rebuilding the package/contents/locale folder.
# Feature discussion: https://phabricator.kde.org/D5209
# Eg: contents/locale/fr_CA/LC_MESSAGES/plasma_applet_org.kde.plasma.eventcalendar.mo
DIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd`
plasmoidName=`kreadconfig5 --file="$DIR/../metadata.desktop" --group="Desktop Entry" --key="X-KDE-PluginInfo-Name"`
website=`kreadconfig5 --file="$DIR/../metadata.desktop" --group="Desktop Entry" --key="X-KDE-PluginInfo-Website"`
bugAddress="$website"
packageRoot=".." # Root of translatable sources
projectName="plasma_applet_${plasmoidName}" # project name
#---
if [ -z "$plasmoidName" ]; then
echo "[build] Error: Couldn't read plasmoidName."
exit
fi
if [ -z "$(which msgfmt)" ]; then
echo "[build] Error: msgfmt command not found. Need to install gettext"
echo "[build] Running 'sudo apt install gettext'"
sudo apt install gettext
echo "[build] gettext installation should be finished. Going back to installing translations."
fi
#---
echo "[build] Compiling messages"
catalogs=`find . -name '*.po' | sort`
for cat in $catalogs; do
echo "$cat"
catLocale=`basename ${cat%.*}`
msgfmt -o "${catLocale}.mo" "$cat"
installPath="$DIR/../contents/locale/${catLocale}/LC_MESSAGES/${projectName}.mo"
echo "[build] Install to ${installPath}"
mkdir -p "$(dirname "$installPath")"
mv "${catLocale}.mo" "${installPath}"
done
echo "[build] Done building messages"
if [ "$1" = "--restartplasma" ]; then
echo "[build] Restarting plasmashell"
killall plasmashell
kstart5 plasmashell
echo "[build] Done restarting plasmashell"
else
echo "[build] (re)install the plasmoid and restart plasmashell to test."
fi

View file

@ -0,0 +1,176 @@
# Translation of Nori.Weather in LANGUAGE
# Copyright (C) 2023
# This file is distributed under the same license as the Nori.Weather package.
# zayronxio, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Nori.Weather\n"
"Report-Msgid-Bugs-To: https://store.kde.org/p/1312669/\n"
"POT-Creation-Date: 2023-05-01 16:59-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: zayronxio <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/ui/components/WeatherData.qml
msgid "Clear"
msgstr "Despejado"
#: ../contents/ui/components/WeatherData.qml
msgid "Mainly clear"
msgstr "Principalmente despejado"
#: ../contents/ui/components/WeatherData.qml
msgid "Partly cloudy"
msgstr "Parcialmente nublado"
#: ../contents/ui/components/WeatherData.qml
msgid "Overcast"
msgstr "Nublado"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle light intensity"
msgstr "Llovizna de intensidad ligera"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle moderate intensity"
msgstr "Llovizna de intensidad moderada"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle dense intensity"
msgstr "Llovizna de intensidad densa"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle light intensity"
msgstr "Llovizna helada de intensidad ligera"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle dense intensity"
msgstr "Llovizna helada de intensidad densa"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain slight intensity"
msgstr "Lluvia de intensidad ligera"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain moderate intensity"
msgstr "Lluvia de intensidad moderada"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain heavy intensity"
msgstr "Lluvia de intensidad fuerte"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain light intensity"
msgstr "Lluvia helada de intensidad ligera"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain heavy intensity"
msgstr "Lluvia helada de intensidad fuerte"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall slight intensity"
msgstr "Nevada de intensidad ligera"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall moderate intensity"
msgstr "Nevada de intensidad moderada"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall heavy intensity"
msgstr "Nevada de intensidad fuerte"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow grains"
msgstr "Granizos de nieve"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers slight"
msgstr "Chubascos de intensidad ligera"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers moderate"
msgstr "Chubascos de intensidad moderada"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers violent"
msgstr "Chubascos de intensidad violenta"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers slight"
msgstr "Chubascos de nieve ligeros"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers heavy"
msgstr "Chubascos de nieve fuertes"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm"
msgstr "Tormenta eléctrica"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with slight hail"
msgstr "Tormenta eléctrica con granizo ligero"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with heavy hail"
msgstr "Tormenta eléctrica con granizo fuerte"
#: ../contents/ui/components/WeatherData.qml
msgid "Cloudy"
msgstr "Nublado"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle"
msgstr "Llovizna"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain"
msgstr "Lluvia"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow"
msgstr "Nieve"
#: ../contents/ui/components/WeatherData.qml
msgid "Showers"
msgstr "Chubascos"
#: ../contents/ui/components/WeatherData.qml
msgid "Storm"
msgstr "Tormenta"
#: ../contents/ui/ItemForecasts.qml
msgid "Monday"
msgstr "Lunes"
#: ../contents/ui/ItemForecasts.qml
msgid "Tuesday"
msgstr "Martes"
#: ../contents/ui/ItemForecasts.qml
msgid "Wednesday"
msgstr "Miércoles"
#: ../contents/ui/ItemForecasts.qml
msgid "Thursday"
msgstr "Jueves"
#: ../contents/ui/ItemForecasts.qml
msgid "Friday"
msgstr "Viernes"
#: ../contents/ui/ItemForecasts.qml
msgid "Saturday"
msgstr "Sábado"
#: ../contents/ui/ItemForecasts.qml
msgid "Sunday"
msgstr "Domingo"

View file

@ -0,0 +1,174 @@
# Translation of Nori Weather in Indonesian
# Copyright (C) 2023
# This file is distributed under the same license as the Nori.Weather package.
# zayronxio, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Nori.Weather\n"
"Report-Msgid-Bugs-To: https://store.kde.org/p/1312669/\n"
"POT-Creation-Date: 2023-05-01 16:59-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: zayronxio <EMAIL@ADDRESS>\n"
"Language-Team: Indonesian <LL@li.org>\n"
"Language: id\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/ui/components/WeatherData.qml
msgid "Clear"
msgstr "Cerah"
#: ../contents/ui/components/WeatherData.qml
msgid "Mainly clear"
msgstr "Sebagian besar cerah"
#: ../contents/ui/components/WeatherData.qml
msgid "Partly cloudy"
msgstr "Sebagian berawan"
#: ../contents/ui/components/WeatherData.qml
msgid "Overcast"
msgstr "Mendung"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle light intensity"
msgstr "Gerimis intensitas ringan"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle moderate intensity"
msgstr "Gerimis intensitas sedang"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle dense intensity"
msgstr "Gerimis intensitas berat"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle light intensity"
msgstr "Gerimis beku intensitas ringan"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle dense intensity"
msgstr "Gerimis beku intensitas berat"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain slight intensity"
msgstr "Hujan intensitas ringan"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain moderate intensity"
msgstr "Hujan intensitas sedang"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain heavy intensity"
msgstr "Hujan intensitas berat"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain light intensity"
msgstr "Hujan beku intensitas ringan"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain heavy intensity"
msgstr "Hujan beku intensitas berat"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall slight intensity"
msgstr "Salju intensitas ringan"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall moderate intensity"
msgstr "Salju intensitas sedang"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall heavy intensity"
msgstr "Salju intensitas berat"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow grains"
msgstr "Butir salju"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers slight"
msgstr "Hujan rintik ringan"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers moderate"
msgstr "Hujan rintik sedang"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers violent"
msgstr "Hujan rintik lebat"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers slight"
msgstr "Hujan salju ringan"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers heavy"
msgstr "Hujan salju berat"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm"
msgstr "Badai petir"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with slight hail"
msgstr "Badai petir dengan hujan es ringan"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with heavy hail"
msgstr "Badai petir dengan hujan es lebat"
#: ../contents/ui/components/WeatherData.qml
msgid "Cloudy"
msgstr "Berawan"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle"
msgstr "Gerimis"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain"
msgstr "Hujan"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow"
msgstr "Salju"
#: ../contents/ui/components/WeatherData.qml
msgid "Showers"
msgstr "Hujan rintik"
#: ../contents/ui/components/WeatherData.qml
msgid "Storm"
msgstr "Badai"
#: ../contents/ui/ItemForecasts.qml
msgid "Monday"
msgstr "Senin"
#: ../contents/ui/ItemForecasts.qml
msgid "Tuesday"
msgstr "Selasa"
#: ../contents/ui/ItemForecasts.qml
msgid "Wednesday"
msgstr "Rabu"
#: ../contents/ui/ItemForecasts.qml
msgid "Thursday"
msgstr "Kamis"
#: ../contents/ui/ItemForecasts.qml
msgid "Friday"
msgstr "Jumat"
#: ../contents/ui/ItemForecasts.qml
msgid "Saturday"
msgstr "Sabtu"
#: ../contents/ui/ItemForecasts.qml
msgid "Sunday"
msgstr "Minggu"

View file

@ -0,0 +1,223 @@
#!/bin/sh
# Version: 20
# https://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems
# https://techbase.kde.org/Development/Tutorials/Localization/i18n_Build_Systems/Outside_KDE_repositories
# https://invent.kde.org/sysadmin/l10n-scripty/-/blob/master/extract-messages.sh
DIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd`
plasmoidName=`kreadconfig5 --file="$DIR/../metadata.desktop" --group="Desktop Entry" --key="X-KDE-PluginInfo-Name"`
widgetName="${plasmoidName##*.}" # Strip namespace
website=`kreadconfig5 --file="$DIR/../metadata.desktop" --group="Desktop Entry" --key="X-KDE-PluginInfo-Website"`
bugAddress="$website"
packageRoot=".." # Root of translatable sources
projectName="plasma_applet_${plasmoidName}" # project name
#---
if [ -z "$plasmoidName" ]; then
echo "[merge] Error: Couldn't read plasmoidName."
exit
fi
if [ -z "$(which xgettext)" ]; then
echo "[merge] Error: xgettext command not found. Need to install gettext"
echo "[merge] Running 'sudo apt install gettext'"
sudo apt install gettext
echo "[merge] gettext installation should be finished. Going back to merging translations."
fi
#---
echo "[merge] Extracting messages"
potArgs="--from-code=UTF-8 --width=200 --add-location=file"
find "${packageRoot}" -name '*.desktop' | sort > "${DIR}/infiles.list"
xgettext \
${potArgs} \
--files-from="${DIR}/infiles.list" \
--language=Desktop \
-D "${packageRoot}" \
-D "${DIR}" \
-o "template.pot.new" \
|| \
{ echo "[merge] error while calling xgettext. aborting."; exit 1; }
sed -i 's/"Content-Type: text\/plain; charset=CHARSET\\n"/"Content-Type: text\/plain; charset=UTF-8\\n"/' "template.pot.new"
# See Ki18n's extract-messages.sh for a full example:
# https://invent.kde.org/sysadmin/l10n-scripty/-/blob/master/extract-messages.sh#L25
# The -kN_ and -kaliasLocale keywords are mentioned in the Outside_KDE_repositories wiki.
# We don't need -kN_ since we don't use intltool-extract but might as well keep it.
# I have no idea what -kaliasLocale is used for. Googling aliasLocale found only listed kde1 code.
# We don't need to parse -ki18nd since that'll extract messages from other domains.
find "${packageRoot}" -name '*.cpp' -o -name '*.h' -o -name '*.c' -o -name '*.qml' -o -name '*.js' | sort > "${DIR}/infiles.list"
xgettext \
${potArgs} \
--files-from="${DIR}/infiles.list" \
-C -kde \
-ci18n \
-ki18n:1 -ki18nc:1c,2 -ki18np:1,2 -ki18ncp:1c,2,3 \
-kki18n:1 -kki18nc:1c,2 -kki18np:1,2 -kki18ncp:1c,2,3 \
-kxi18n:1 -kxi18nc:1c,2 -kxi18np:1,2 -kxi18ncp:1c,2,3 \
-kkxi18n:1 -kkxi18nc:1c,2 -kkxi18np:1,2 -kkxi18ncp:1c,2,3 \
-kI18N_NOOP:1 -kI18NC_NOOP:1c,2 \
-kI18N_NOOP2:1c,2 -kI18N_NOOP2_NOSTRIP:1c,2 \
-ktr2i18n:1 -ktr2xi18n:1 \
-kN_:1 \
-kaliasLocale \
--package-name="${widgetName}" \
--msgid-bugs-address="${bugAddress}" \
-D "${packageRoot}" \
-D "${DIR}" \
--join-existing \
-o "template.pot.new" \
|| \
{ echo "[merge] error while calling xgettext. aborting."; exit 1; }
sed -i 's/# SOME DESCRIPTIVE TITLE./'"# Translation of ${widgetName} in LANGUAGE"'/' "template.pot.new"
sed -i 's/# Copyright (C) YEAR THE PACKAGE'"'"'S COPYRIGHT HOLDER/'"# Copyright (C) $(date +%Y)"'/' "template.pot.new"
if [ -f "template.pot" ]; then
newPotDate=`grep "POT-Creation-Date:" template.pot.new | sed 's/.\{3\}$//'`
oldPotDate=`grep "POT-Creation-Date:" template.pot | sed 's/.\{3\}$//'`
sed -i 's/'"${newPotDate}"'/'"${oldPotDate}"'/' "template.pot.new"
changes=`diff "template.pot" "template.pot.new"`
if [ ! -z "$changes" ]; then
# There's been changes
sed -i 's/'"${oldPotDate}"'/'"${newPotDate}"'/' "template.pot.new"
mv "template.pot.new" "template.pot"
addedKeys=`echo "$changes" | grep "> msgid" | cut -c 9- | sort`
removedKeys=`echo "$changes" | grep "< msgid" | cut -c 9- | sort`
echo ""
echo "Added Keys:"
echo "$addedKeys"
echo ""
echo "Removed Keys:"
echo "$removedKeys"
echo ""
else
# No changes
rm "template.pot.new"
fi
else
# template.pot didn't already exist
mv "template.pot.new" "template.pot"
fi
potMessageCount=`expr $(grep -Pzo 'msgstr ""\n(\n|$)' "template.pot" | grep -c 'msgstr ""')`
echo "| Locale | Lines | % Done|" > "./Status.md"
echo "|----------|---------|-------|" >> "./Status.md"
entryFormat="| %-8s | %7s | %5s |"
templateLine=`perl -e "printf(\"$entryFormat\", \"Template\", \"${potMessageCount}\", \"\")"`
echo "$templateLine" >> "./Status.md"
rm "${DIR}/infiles.list"
echo "[merge] Done extracting messages"
#---
echo "[merge] Merging messages"
catalogs=`find . -name '*.po' | sort`
for cat in $catalogs; do
echo "[merge] $cat"
catLocale=`basename ${cat%.*}`
widthArg=""
catUsesGenerator=`grep "X-Generator:" "$cat"`
if [ -z "$catUsesGenerator" ]; then
widthArg="--width=400"
fi
cp "$cat" "$cat.new"
sed -i 's/"Content-Type: text\/plain; charset=CHARSET\\n"/"Content-Type: text\/plain; charset=UTF-8\\n"/' "$cat.new"
msgmerge \
${widthArg} \
--add-location=file \
--no-fuzzy-matching \
-o "$cat.new" \
"$cat.new" "${DIR}/template.pot"
sed -i 's/# SOME DESCRIPTIVE TITLE./'"# Translation of ${widgetName} in ${catLocale}"'/' "$cat.new"
sed -i 's/# Translation of '"${widgetName}"' in LANGUAGE/'"# Translation of ${widgetName} in ${catLocale}"'/' "$cat.new"
sed -i 's/# Copyright (C) YEAR THE PACKAGE'"'"'S COPYRIGHT HOLDER/'"# Copyright (C) $(date +%Y)"'/' "$cat.new"
poEmptyMessageCount=`expr $(grep -Pzo 'msgstr ""\n(\n|$)' "$cat.new" | grep -c 'msgstr ""')`
poMessagesDoneCount=`expr $potMessageCount - $poEmptyMessageCount`
poCompletion=`perl -e "printf(\"%d\", $poMessagesDoneCount * 100 / $potMessageCount)"`
poLine=`perl -e "printf(\"$entryFormat\", \"$catLocale\", \"${poMessagesDoneCount}/${potMessageCount}\", \"${poCompletion}%\")"`
echo "$poLine" >> "./Status.md"
# mv "$cat" "$cat.old"
mv "$cat.new" "$cat"
done
echo "[merge] Done merging messages"
#---
echo "[merge] Updating .desktop file"
# Generate LINGUAS for msgfmt
if [ -f "$DIR/LINGUAS" ]; then
rm "$DIR/LINGUAS"
fi
touch "$DIR/LINGUAS"
for cat in $catalogs; do
catLocale=`basename ${cat%.*}`
echo "${catLocale}" >> "$DIR/LINGUAS"
done
cp -f "$DIR/../metadata.desktop" "$DIR/template.desktop"
sed -i '/^Name\[/ d; /^GenericName\[/ d; /^Comment\[/ d; /^Keywords\[/ d' "$DIR/template.desktop"
msgfmt \
--desktop \
--template="$DIR/template.desktop" \
-d "$DIR/" \
-o "$DIR/new.desktop"
# Delete empty msgid messages that used the po header
if [ ! -z "$(grep '^Name=$' "$DIR/new.desktop")" ]; then
echo "[merge] Name in metadata.desktop is empty!"
sed -i '/^Name\[/ d' "$DIR/new.desktop"
fi
if [ ! -z "$(grep '^GenericName=$' "$DIR/new.desktop")" ]; then
echo "[merge] GenericName in metadata.desktop is empty!"
sed -i '/^GenericName\[/ d' "$DIR/new.desktop"
fi
if [ ! -z "$(grep '^Comment=$' "$DIR/new.desktop")" ]; then
echo "[merge] Comment in metadata.desktop is empty!"
sed -i '/^Comment\[/ d' "$DIR/new.desktop"
fi
if [ ! -z "$(grep '^Keywords=$' "$DIR/new.desktop")" ]; then
echo "[merge] Keywords in metadata.desktop is empty!"
sed -i '/^Keywords\[/ d' "$DIR/new.desktop"
fi
# Place translations at the bottom of the desktop file.
translatedLines=`cat "$DIR/new.desktop" | grep "]="`
if [ ! -z "${translatedLines}" ]; then
sed -i '/^Name\[/ d; /^GenericName\[/ d; /^Comment\[/ d; /^Keywords\[/ d' "$DIR/new.desktop"
if [ "$(tail -c 2 "$DIR/new.desktop" | wc -l)" != "2" ]; then
# Does not end with 2 empty lines, so add an empty line.
echo "" >> "$DIR/new.desktop"
fi
echo "${translatedLines}" >> "$DIR/new.desktop"
fi
# Cleanup
mv "$DIR/new.desktop" "$DIR/../metadata.desktop"
rm "$DIR/template.desktop"
rm "$DIR/LINGUAS"
#---
# Populate ReadMe.md
echo "[merge] Updating translate/ReadMe.md"
sed -i -E 's`share\/plasma\/plasmoids\/(.+)\/translate`share/plasma/plasmoids/'"${plasmoidName}"'/translate`' ./ReadMe.md
if [[ "$website" == *"github.com"* ]]; then
sed -i -E 's`\[new issue\]\(https:\/\/github\.com\/(.+)\/(.+)\/issues\/new\)`[new issue]('"${website}"'/issues/new)`' ./ReadMe.md
fi
sed -i '/^|/ d' ./ReadMe.md # Remove status table from ReadMe
cat ./Status.md >> ./ReadMe.md
rm ./Status.md
echo "[merge] Done"

View file

@ -0,0 +1,181 @@
#!/bin/bash
# Version 9
# Requires plasmoidviewer v5.13.0
function checkIfLangInstalled {
if [ -x "$(command -v dpkg)" ]; then
dpkg -l ${1} >/dev/null 2>&1 || ( \
echo -e "${1} not installed.\nInstalling now before continuing.\n" \
; sudo apt install ${1} \
) || ( \
echo -e "\nError trying to install ${1}\nPlease run 'sudo apt install ${1}'\n" \
; exit 1 \
)
elif [ -x "$(command -v pacman)" ]; then
# TODO: run `locale -a` and check if the locale is enabled.
if false; then
# https://wiki.archlinux.org/index.php/Locale
# Uncomment the locale in /etc/locale.gen
# Then run `locale-gen`
echo -e "\nPlease install this locale in System Settings first.\n"
exit 1
else
echo ""
fi
else
echo -e "\nPackage manager not recognized. If the widget is not translated, please install the package '${1}'\n"
fi
}
langInput="${1}"
lang=""
languagePack=""
if [[ "$langInput" =~ ":" ]]; then # String contains a colon so assume it's a locale code.
lang="${langInput}"
IFS=: read -r l1 l2 <<< "${lang}"
languagePack="language-pack-${l2}"
fi
# https://stackoverflow.com/questions/3191664/list-of-all-locales-and-their-short-codes/28357857#28357857
declare -a langArr=(
"af_ZA:af:Afrikaans (South Africa)"
"ak_GH:ak:Akan (Ghana)"
"am_ET:am:Amharic (Ethiopia)"
"ar_EG:ar:Arabic (Egypt)"
"as_IN:as:Assamese (India)"
"az_AZ:az:Azerbaijani (Azerbaijan)"
"be_BY:be:Belarusian (Belarus)"
"bem_ZM:bem:Bemba (Zambia)"
"bg_BG:bg:Bulgarian (Bulgaria)"
"bo_IN:bo:Tibetan (India)"
"bs_BA:bs:Bosnian (Bosnia and Herzegovina)"
"ca_ES:ca:Catalan (Spain)"
"chr_US:ch:Cherokee (United States)"
"cs_CZ:cs:Czech (Czech Republic)"
"cy_GB:cy:Welsh (United Kingdom)"
"da_DK:da:Danish (Denmark)"
"de_DE:de:German (Germany)"
"el_GR:el:Greek (Greece)"
"es_MX:es:Spanish (Mexico)"
"et_EE:et:Estonian (Estonia)"
"eu_ES:eu:Basque (Spain)"
"fa_IR:fa:Persian (Iran)"
"ff_SN:ff:Fulah (Senegal)"
"fi_FI:fi:Finnish (Finland)"
"fo_FO:fo:Faroese (Faroe Islands)"
"fr_CA:fr:French (Canada)"
"ga_IE:ga:Irish (Ireland)"
"gl_ES:gl:Galician (Spain)"
"gu_IN:gu:Gujarati (India)"
"gv_GB:gv:Manx (United Kingdom)"
"ha_NG:ha:Hausa (Nigeria)"
"he_IL:he:Hebrew (Israel)"
"hi_IN:hi:Hindi (India)"
"hr_HR:hr:Croatian (Croatia)"
"hu_HU:hu:Hungarian (Hungary)"
"hy_AM:hy:Armenian (Armenia)"
"id_ID:id:Indonesian (Indonesia)"
"ig_NG:ig:Igbo (Nigeria)"
"is_IS:is:Icelandic (Iceland)"
"it_IT:it:Italian (Italy)"
"ja_JP:ja:Japanese (Japan)"
"ka_GE:ka:Georgian (Georgia)"
"kk_KZ:kk:Kazakh (Kazakhstan)"
"kl_GL:kl:Kalaallisut (Greenland)"
"km_KH:km:Khmer (Cambodia)"
"kn_IN:kn:Kannada (India)"
"ko_KR:ko:Korean (South Korea)"
"ko_KR:ko:Korean (South Korea)"
"lg_UG:lg:Ganda (Uganda)"
"lt_LT:lt:Lithuanian (Lithuania)"
"lv_LV:lv:Latvian (Latvia)"
"mg_MG:mg:Malagasy (Madagascar)"
"mk_MK:mk:Macedonian (Macedonia)"
"ml_IN:ml:Malayalam (India)"
"mr_IN:mr:Marathi (India)"
"ms_MY:ms:Malay (Malaysia)"
"mt_MT:mt:Maltese (Malta)"
"my_MM:my:Burmese (Myanmar [Burma])"
"nb_NO:nb:Norwegian Bokmål (Norway)"
"ne_NP:ne:Nepali (Nepal)"
"nl_NL:nl:Dutch (Netherlands)"
"nn_NO:nn:Norwegian Nynorsk (Norway)"
"om_ET:om:Oromo (Ethiopia)"
"or_IN:or:Oriya (India)"
"pa_PK:pa:Punjabi (Pakistan)"
"pl_PL:pl:Polish (Poland)"
"ps_AF:ps:Pashto (Afghanistan)"
"pt_BR:pt:Portuguese (Brazil)"
"ro_RO:ro:Romanian (Romania)"
"ru_RU:ru:Russian (Russia)"
"rw_RW:rw:Kinyarwanda (Rwanda)"
"si_LK:si:Sinhala (Sri Lanka)"
"sk_SK:sk:Slovak (Slovakia)"
"sl_SI:sl:Slovenian (Slovenia)"
"so_SO:so:Somali (Somalia)"
"sq_AL:sq:Albanian (Albania)"
"sr_RS:sr:Serbian (Serbia)"
"sv_SE:sv:Swedish (Sweden)"
"sw_KE:sw:Swahili (Kenya)"
"ta_IN:ta:Tamil (India)"
"te_IN:te:Telugu (India)"
"th_TH:th:Thai (Thailand)"
"ti_ER:ti:Tigrinya (Eritrea)"
"to_TO:to:Tonga (Tonga)"
"tr_TR:tr:Turkish (Turkey)"
"uk_UA:uk:Ukrainian (Ukraine)"
"ur_IN:ur:Urdu (India)"
"uz_UZ:uz:Uzbek (Uzbekistan)"
"vi_VN:vi:Vietnamese (Vietnam)"
"yo_NG:yo:Yoruba (Nigeria)"
"yo_NG:yo:Yoruba (Nigeria)"
"yue_HK:yu:Cantonese (Hong Kong)"
"zh_CN:zh:Chinese (China)"
"zu_ZA:zu:Zulu (South Africa)"
)
for i in "${langArr[@]}"; do
IFS=: read -r l1 l2 l3 <<< "$i"
if [ "$langInput" == "$l2" ]; then
lang="${l1}:${l2}"
languagePack="language-pack-${l2}"
fi
done
if [ -z "$lang" ]; then
echo "plasmoidlocaletest doesn't recognize the language '$lang'"
echo "Eg:"
scriptcmd='sh ./plasmoidlocaletest'
for i in "${langArr[@]}"; do
IFS=: read -r l1 l2 l3 <<< "$i"
echo " ${scriptcmd} ${l2} | ${l3}"
done
echo ""
echo "Or use a the full locale code:"
echo " ${scriptcmd} ar_EG:ar"
exit 1
fi
IFS=: read -r l1 l2 <<< "${lang}"
l1="${l1}.UTF-8"
# Check if language is installed
if [ ! -z "$languagePack" ]; then
if [ "$lang" == "zh_CN:zh" ]; then languagePack="language-pack-zh-hans"
fi
checkIfLangInstalled "$languagePack" || exit 1
fi
echo "LANGUAGE=\"${lang}\""
echo "LANG=\"${l1}\""
scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
packageDir="${scriptDir}/.."
# Build local translations for plasmoidviewer
sh "${scriptDir}/build"
LANGUAGE="${lang}" LANG="${l1}" LC_TIME="${l1}" QML_DISABLE_DISK_CACHE=true plasmoidviewer -a "$packageDir" -l topedge -f horizontal -x 0 -y 0

View file

@ -0,0 +1,175 @@
# Translation of nori weather in Portuguese
# Copyright (C) 2023
# This file is distributed under the same license as the Nori.Weather package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Nori.Weather\n"
"Report-Msgid-Bugs-To: https://store.kde.org/p/2230382/\n"
"POT-Creation-Date: 2023-05-01 16:59-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Portuguese <LL@li.org>\n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/ui/components/WeatherData.qml
msgid "Clear"
msgstr "Céu limpo"
#: ../contents/ui/components/WeatherData.qml
msgid "Mainly clear"
msgstr "Predominantemente limpo"
#: ../contents/ui/components/WeatherData.qml
msgid "Partly cloudy"
msgstr "Parcialmente nublado"
#: ../contents/ui/components/WeatherData.qml
msgid "Overcast"
msgstr "Encoberto"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle light intensity"
msgstr "Garoa de baixa intensidade"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle moderate intensity"
msgstr "Garoa de intensidade moderada"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle dense intensity"
msgstr "Garoa de alta intensidade"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle light intensity"
msgstr "Garoa congelante de baixa intensidade"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle dense intensity"
msgstr "Garoa congelante de alta intensidade"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain slight intensity"
msgstr "Chuva leve"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain moderate intensity"
msgstr "Chuva moderada"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain heavy intensity"
msgstr "Chuva forte"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain light intensity"
msgstr "Chuva congelante leve"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain heavy intensity"
msgstr "Chuva congelante forte"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall slight intensity"
msgstr "Neve de baixa intensidade"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall moderate intensity"
msgstr "Neve de intensidade moderada"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall heavy intensity"
msgstr "Neve de alta intensidade"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow grains"
msgstr "Grãos de neve"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers slight"
msgstr "Aguaceiros leves"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers moderate"
msgstr "Aguaceiros moderados"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers violent"
msgstr "Aguaceiros violentos"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers slight"
msgstr "Aguaceiros de neve leves"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers heavy"
msgstr "Aguaceiros de neve intensos"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm"
msgstr "Trovoada"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with slight hail"
msgstr "Trovoada com granizo leve"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with heavy hail"
msgstr "Trovoada com granizo forte"
#: ../contents/ui/components/WeatherData.qml
msgid "Cloudy"
msgstr "Nublado"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle"
msgstr "Garoa"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain"
msgstr "Chuva"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow"
msgstr "Neve"
#: ../contents/ui/components/WeatherData.qml
msgid "Showers"
msgstr "Aguaceiros"
#: ../contents/ui/components/WeatherData.qml
msgid "Storm"
msgstr "Tempestade"
#: ../contents/ui/ItemForecasts.qml
msgid "Monday"
msgstr "Segunda-feira"
#: ../contents/ui/ItemForecasts.qml
msgid "Tuesday"
msgstr "Terça-feira"
#: ../contents/ui/ItemForecasts.qml
msgid "Wednesday"
msgstr "Quarta-feira"
#: ../contents/ui/ItemForecasts.qml
msgid "Thursday"
msgstr "Quinta-feira"
#: ../contents/ui/ItemForecasts.qml
msgid "Friday"
msgstr "Sexta-feira"
#: ../contents/ui/ItemForecasts.qml
msgid "Saturday"
msgstr "Sábado"
#: ../contents/ui/ItemForecasts.qml
msgid "Sunday"
msgstr "Domingo"

View file

@ -0,0 +1,174 @@
# Translation of nori weather in Russian
# Copyright (C) 2023
# This file is distributed under the same license as the Nori.Weather package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Nori.Weather\n"
"Report-Msgid-Bugs-To: https://store.kde.org/p/2230382/\n"
"POT-Creation-Date: 2023-05-01 16:59-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Russian <LL@li.org>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/ui/components/WeatherData.qml
msgid "Clear"
msgstr "Ясно"
#: ../contents/ui/components/WeatherData.qml
msgid "Mainly clear"
msgstr "Преимущественно ясно"
#: ../contents/ui/components/WeatherData.qml
msgid "Partly cloudy"
msgstr "Переменная облачность"
#: ../contents/ui/components/WeatherData.qml
msgid "Overcast"
msgstr "Пасмурно"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle light intensity"
msgstr "Морось слабой интенсивности"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle moderate intensity"
msgstr "Морось умеренной интенсивности"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle dense intensity"
msgstr "Морось сильной интенсивности"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle light intensity"
msgstr "Морось слабой интенсивности с заморозками"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle dense intensity"
msgstr "Морось сильной интенсивности с заморозками"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain slight intensity"
msgstr "Слабый дождь"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain moderate intensity"
msgstr "Умеренный дождь"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain heavy intensity"
msgstr "Сильный дождь"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain light intensity"
msgstr "Слабый дождь с заморозками"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain heavy intensity"
msgstr "Сильный дождь с заморозками"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall slight intensity"
msgstr "Слабый снегопад"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall moderate intensity"
msgstr "Умеренный снегопад"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall heavy intensity"
msgstr "Сильный снегопад"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow grains"
msgstr "Снежная крупа"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers slight"
msgstr "Слабые ливни"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers moderate"
msgstr "Умеренные ливни"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers violent"
msgstr "Сильные ливни"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers slight"
msgstr "Слабые снежные ливни"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers heavy"
msgstr "Сильные снежные ливни"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm"
msgstr "Гроза"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with slight hail"
msgstr "Гроза с небольшим градом"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with heavy hail"
msgstr "Гроза с сильным градом"
#: ../contents/ui/components/WeatherData.qml
msgid "Cloudy"
msgstr "Облачно"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle"
msgstr "Морось"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain"
msgstr "Дождь"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow"
msgstr "Снег"
#: ../contents/ui/components/WeatherData.qml
msgid "Showers"
msgstr "Ливни"
#: ../contents/ui/components/WeatherData.qml
msgid "Storm"
msgstr "Шторм"
#: ../contents/ui/ItemForecasts.qml
msgid "Monday"
msgstr "Понедельник"
#: ../contents/ui/ItemForecasts.qml
msgid "Tuesday"
msgstr "Вторник"
#: ../contents/ui/ItemForecasts.qml
msgid "Wednesday"
msgstr "Среда"
#: ../contents/ui/ItemForecasts.qml
msgid "Thursday"
msgstr "Четверг"
#: ../contents/ui/ItemForecasts.qml
msgid "Friday"
msgstr "Пятница"
#: ../contents/ui/ItemForecasts.qml
msgid "Saturday"
msgstr "Суббота"
#: ../contents/ui/ItemForecasts.qml
msgid "Sunday"
msgstr "Воскресенье"

View file

@ -0,0 +1,175 @@
# Translation of nori weather in LANGUAGE
# Copyright (C) 2023
# This file is distributed under the same license as the Nori.Weather package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Nori.Weather\n"
"Report-Msgid-Bugs-To: https://store.kde.org/p/2230382/\n"
"POT-Creation-Date: 2023-05-01 16:59-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/ui/components/WeatherData.qml
msgid "Clear"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Mainly clear"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Partly cloudy"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Overcast"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle light intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle moderate intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle dense intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle light intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle dense intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Rain slight intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Rain moderate intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Rain heavy intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain light intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain heavy intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall slight intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall moderate intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall heavy intensity"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Snow grains"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers slight"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers moderate"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers violent"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers slight"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers heavy"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with slight hail"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with heavy hail"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Cloudy"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Rain"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Snow"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Showers"
msgstr ""
#: ../contents/ui/components/WeatherData.qml
msgid "Storm"
msgstr ""
#: ../contents/ui/ItemForecasts.qml
msgid "Monday"
msgstr ""
#: ../contents/ui/ItemForecasts.qml
msgid "Tuesday"
msgstr ""
#: ../contents/ui/ItemForecasts.qml
msgid "Wednesday"
msgstr ""
#: ../contents/ui/ItemForecasts.qml
msgid "Thursday"
msgstr ""
#: ../contents/ui/ItemForecasts.qml
msgid "Friday"
msgstr ""
#: ../contents/ui/ItemForecasts.qml
msgid "Saturday"
msgstr ""
#: ../contents/ui/ItemForecasts.qml
msgid "Sunday"
msgstr ""

View file

@ -0,0 +1,175 @@
# Translation of nori weather in zh_CN
# Copyright (C) 2023
# This file is distributed under the same license as the Nori.Weather package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Nori.Weather\n"
"Report-Msgid-Bugs-To: https://store.kde.org/p/2230382/\n"
"POT-Creation-Date: 2023-05-01 16:59-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese (Simplified) <zh_CN@li.org>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../contents/ui/components/WeatherData.qml
msgid "Clear"
msgstr "晴朗"
#: ../contents/ui/components/WeatherData.qml
msgid "Mainly clear"
msgstr "大致晴朗"
#: ../contents/ui/components/WeatherData.qml
msgid "Partly cloudy"
msgstr "局部多云"
#: ../contents/ui/components/WeatherData.qml
msgid "Overcast"
msgstr "阴天"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle light intensity"
msgstr "毛毛雨(小雨)"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle moderate intensity"
msgstr "毛毛雨(中等强度)"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle dense intensity"
msgstr "毛毛雨(大雨)"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle light intensity"
msgstr "冻毛毛雨(小雨)"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Drizzle dense intensity"
msgstr "冻毛毛雨(大雨)"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain slight intensity"
msgstr "小雨"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain moderate intensity"
msgstr "中雨"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain heavy intensity"
msgstr "大雨"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain light intensity"
msgstr "冻雨(小雨)"
#: ../contents/ui/components/WeatherData.qml
msgid "Freezing Rain heavy intensity"
msgstr "冻雨(大雨)"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall slight intensity"
msgstr "小雪"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall moderate intensity"
msgstr "中雪"
#: ../contents/ui/components/WeatherData.qml
msgid "Snowfall heavy intensity"
msgstr "大雪"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow grains"
msgstr "雪粒"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers slight"
msgstr "小阵雨"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers moderate"
msgstr "中阵雨"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain showers violent"
msgstr "大阵雨"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers slight"
msgstr "小阵雪"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow showers heavy"
msgstr "大阵雪"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm"
msgstr "雷暴"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with slight hail"
msgstr "雷暴伴小冰雹"
#: ../contents/ui/components/WeatherData.qml
msgid "Thunderstorm with heavy hail"
msgstr "雷暴伴大冰雹"
#: ../contents/ui/components/WeatherData.qml
msgid "Cloudy"
msgstr "多云"
#: ../contents/ui/components/WeatherData.qml
msgid "Drizzle"
msgstr "毛毛雨"
#: ../contents/ui/components/WeatherData.qml
msgid "Rain"
msgstr "雨"
#: ../contents/ui/components/WeatherData.qml
msgid "Snow"
msgstr "雪"
#: ../contents/ui/components/WeatherData.qml
msgid "Showers"
msgstr "阵雨"
#: ../contents/ui/components/WeatherData.qml
msgid "Storm"
msgstr "暴风雨"
#: ../contents/ui/ItemForecasts.qml
msgid "Monday"
msgstr "星期一"
#: ../contents/ui/ItemForecasts.qml
msgid "Tuesday"
msgstr "星期二"
#: ../contents/ui/ItemForecasts.qml
msgid "Wednesday"
msgstr "星期三"
#: ../contents/ui/ItemForecasts.qml
msgid "Thursday"
msgstr "星期四"
#: ../contents/ui/ItemForecasts.qml
msgid "Friday"
msgstr "星期五"
#: ../contents/ui/ItemForecasts.qml
msgid "Saturday"
msgstr "星期六"
#: ../contents/ui/ItemForecasts.qml
msgid "Sunday"
msgstr "星期日"

View file

@ -0,0 +1,10 @@
import QtQuick 2.12
import org.kde.plasma.configuration 2.0
ConfigModel {
ConfigCategory {
name: i18n("General")
icon: "preferences-desktop"
source: "GeneralConfig.qml"
}
}

View file

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name=""/>
<group name="General">
<entry name="useCoordinatesIp" type="bool">
<default>true</default>
</entry>
<entry name="latitudeC" type="string">
<default>0</default>
</entry>
<entry name="longitudeC" type="string">
<default>0</default>
</entry>
<entry name="temperatureUnit" type="int">
<default>0</default>
</entry>
<entry name="sunColor" type="color">
<default>#ebcb8b</default>
</entry>
<entry name="moonColor" type="color">
<default>#c3e0f0</default>
</entry>
<entry name="cloudColor" type="color">
<default>#dfdfdd</default>
</entry>
<entry name="bigCloudColor" type="color">
<default>#d0d0cd</default>
</entry>
<entry name="lightningColor" type="color">
<default>#7aa9f3</default>
</entry>
<entry name="generalColor" type="color">
<default>#fff</default>
</entry>
</group>
</kcfg>

View file

@ -0,0 +1,95 @@
import QtQuick
import QtQuick.Controls
import Qt.labs.platform
import org.kde.kirigami as Kirigami
import org.kde.kquickcontrols as KQControls
Item {
id: configRoot
QtObject {
id: unidWeatherValue
property var value
}
signal configurationChanged
property alias cfg_temperatureUnit: unidWeatherValue.value
property alias cfg_latitudeC: latitude.text
property alias cfg_longitudeC: longitude.text
property alias cfg_useCoordinatesIp: autamateCoorde.checked
property alias cfg_generalColor: colorhex.color
property alias cfg_sunColor: sunColorButton.color
property alias cfg_moonColor: moonColorButton.color
property alias cfg_cloudColor: cloudColorButton.color
property alias cfg_bigCloudColor: bigCloudColorButton.color
property alias cfg_lightningColor: lightningColorButton.color
Kirigami.FormLayout {
width: parent.width
ComboBox {
textRole: "text"
valueRole: "value"
id: positionComboBox
Kirigami.FormData.label: i18n("Temperature Unit:")
model: [
{text: i18n("Celsius (°C)"), value: 0},
{text: i18n("Fahrenheit (°F)"), value: 1},
]
onActivated: unidWeatherValue.value = currentValue
Component.onCompleted: currentIndex = indexOfValue(unidWeatherValue.value)
}
CheckBox {
id: autamateCoorde
Kirigami.FormData.label: i18n('Use IP location')
}
TextField {
id: latitude
visible: !autamateCoorde.checked
Kirigami.FormData.label: i18n("Latitude:")
width: 200
}
TextField {
id: longitude
visible: !autamateCoorde.checked
Kirigami.FormData.label: i18n("Longitude:")
width: 200
}
KQControls.ColorButton {
id: colorhex
Kirigami.FormData.label: i18n('General Color:')
showAlphaChannel: true
}
KQControls.ColorButton {
id: sunColorButton
Kirigami.FormData.label: i18n('Sun Color:')
showAlphaChannel: true
}
KQControls.ColorButton {
id: moonColorButton
Kirigami.FormData.label: i18n('moon Color:')
showAlphaChannel: true
}
KQControls.ColorButton {
id: cloudColorButton
Kirigami.FormData.label: i18n('Cloud/Rain Color:')
showAlphaChannel: true
}
KQControls.ColorButton {
id: bigCloudColorButton
Kirigami.FormData.label: i18n('Deepin Cloud Color:')
showAlphaChannel: true
}
KQControls.ColorButton {
id: lightningColorButton
Kirigami.FormData.label: i18n('Lightning Color:')
showAlphaChannel: true
}
}
}

View file

@ -0,0 +1,71 @@
import QtQuick
import "lib" as Lib
import org.kde.kirigami as Kirigami
Item {
property int widthTxt: 0
Row {
id: dayForecast
width: parent.width
height: parent.height
Repeater {
model: forecastModel
delegate: Item {
width: parent.width/3
height: parent.height
Column {
width: text.implicitWidth
height: parent.height
spacing: Kirigami.Units.iconSizes.small/3
anchors.horizontalCenter: parent.horizontalCenter
Kirigami.Heading {
id: text
height: parent.height/4
width: parent.width
text: model.date
color: txtColor
level: 5
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
font.capitalization: Font.Capitalize
font.pointSize: height*.5
}
Lib.Icon {
id: logo
width: parent.height/4
height: width
anchors.horizontalCenter: parent.horizontalCenter
name: model.icon
}
Column {
width: parent.width
height: parent.height - text.height - logo.height
spacing: 2
Kirigami.Heading {
width: parent.width
text: model.maxTemp
color: txtColor
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
font.pointSize: parent.height*.25
}
Kirigami.Heading {
width: parent.width
text: model.minTemp
color: txtColor
opacity: 0.7
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
font.pointSize: parent.height*.25
}
}
}
}
}
}
}

View file

@ -0,0 +1,419 @@
import QtQuick 2.15
import QtQuick.Controls 2.15
import org.kde.plasma.plasmoid
import "../js/traductor.js" as Traduc
import "../js/GetInfoApi.js" as GetInfoApi
import "../js/geoCoordinates.js" as GeoCoordinates
import "../js/GetCity.js" as GetCity
import "../js/GetModelWeather.js" as GetModelWeather
Item {
signal dataChanged // Definir el signal aquí
signal simpleDataReady // Definir el signal aquí
function obtener(texto, indice) {
var palabras = texto.split(/\s+/); // Divide el texto en palabras utilizando el espacio como separador
return palabras[indice - 1]; // El índice - 1 porque los índices comienzan desde 0 en JavaScript
}
function fahrenheit(temp) {
if (temperatureUnit == 0) {
return temp;
} else {
return Math.round((temp * 9 / 5) + 32);
}
}
property bool isUpdate: false
property string lastUpdate: "0"
property int hoursC: 0
property string newValuesWeather: "0"
property string newValuesForeWeather: "0"
property bool active: true// Plasmoid.configuration.weatheCardActive
property bool isInExecution: false
property string useCoordinatesIp: Plasmoid.configuration.useCoordinatesIp//"true"
property string latitudeC: Plasmoid.configuration.manualLatitude
property string longitudeC: Plasmoid.configuration.manualLongitude
property string temperatureUnit: Plasmoid.configuration.temperatureUnit
property string latitude: (useCoordinatesIp === "true") ? latitudeIP : (latitudeC === "0") ? latitudeIP : latitudeC
property string longitud: (useCoordinatesIp === "true") ? longitudIP : (longitudeC === "0") ? longitudIP : longitudeC
property var observerCoordenates: latitude + longitud
property int currentTime: Number(Qt.formatDateTime(new Date(), "h"))
property string datosweather: "0"
property string forecastWeather: "0"
property string observer: datosweather + forecastWeather
property int retrysCity: 0
property string oneIcon: asingicon(obtener(forecastWeather, 1))
property string twoIcon: asingicon(obtener(forecastWeather, 2))
property string threeIcon: asingicon(obtener(forecastWeather, 3))
property string fourIcon: asingicon(obtener(forecastWeather, 4))
property string fiveIcon: asingicon(obtener(forecastWeather, 5))
property string sixIcon: asingicon(obtener(forecastWeather, 6))
property string sevenIcon: asingicon(obtener(forecastWeather, 7))
property int oneMax: fahrenheit(obtener(forecastWeather, 8))
property int twoMax: fahrenheit(obtener(forecastWeather, 9))
property int threeMax: fahrenheit(obtener(forecastWeather, 10))
property int fourMax: fahrenheit(obtener(forecastWeather, 11))
property int fiveMax: fahrenheit(obtener(forecastWeather, 12))
property int sixMax: fahrenheit(obtener(forecastWeather, 13))
property int sevenMax: fahrenheit(obtener(forecastWeather, 14))
property int oneMin: fahrenheit(obtener(forecastWeather, 15))
property int twoMin: fahrenheit(obtener(forecastWeather, 16))
property int threeMin: fahrenheit(obtener(forecastWeather, 17))
property int fourMin: fahrenheit(obtener(forecastWeather, 18))
property int fiveMin: fahrenheit(obtener(forecastWeather, 19))
property int sixMin: fahrenheit(obtener(forecastWeather, 20))
property int sevenMin: fahrenheit(obtener(forecastWeather, 21))
property string day: (Qt.formatDateTime(new Date(), "yyyy-MM-dd"))
property string therday: Qt.formatDateTime(new Date(new Date().getTime() + (numberOfDays * 24 * 60 * 60 * 1000)), "yyyy-MM-dd")
property string finDay: Qt.formatDateTime(new Date(new Date().getTime() + (1 * 24 * 60 * 60 * 1000)), "yyyy-MM-dd")
property int numberOfDays: 6
property string currentTemperature: datosweather !== "0" ? fahrenheit(obtener(datosweather, 1)) : "?"
property string codeleng: ((Qt.locale().name)[0] + (Qt.locale().name)[1])
property string codeweather: obtener(datosweather, 4)
property string codeweatherTomorrow: obtener(forecastWeather, 2)
property string codeweatherDayAftertomorrow: obtener(forecastWeather, 3)
property string codeweatherTwoDaysAfterTomorrow: obtener(forecastWeather, 4)
property string minweatherCurrent: fahrenheit(obtener(datosweather, 2))
property string maxweatherCurrent: fahrenheit(obtener(datosweather, 3))
property var tempHours: [fahrenheit(obtener(datosweather, 9)), fahrenheit(obtener(datosweather, 10)), fahrenheit(obtener(datosweather, 11)), fahrenheit(obtener(datosweather, 12)), fahrenheit(obtener(datosweather, 13))]
property var iconHours: [asingicon(obtener(datosweather, 14)), asingicon(obtener(datosweather, 15)), asingicon(obtener(datosweather, 16)), asingicon(obtener(datosweather, 17)), asingicon(obtener(datosweather, 18)) ]
property string minweatherTomorrow: twoMin
property string maxweatherTomorrow: twoMax
property string minweatherDayAftertomorrow: threeMin
property string maxweatherDayAftertomorrow: threeMax
property string minweatherTwoDaysAfterTomorrow: fourMax
property string maxweatherTwoDaysAfterTomorrow: fourMax
property string iconWeatherCurrent: asingicon(codeweather)
property string uvindex: uvIndexLevelAssignment(obtener(datosweather, 7))
property string windSpeed: obtener(datosweather, 6)
property string weatherLongtext: i18n(textWeather(codeweather))
property string weatherShottext: i18n(shortTextWeather(codeweather))
property string probabilidadDeLLuvia: obtener(datosweather, 5)
property string textProbability: Traduc.rainProbabilityText(codeleng)
property string completeCoordinates: ""
property string oldCompleteCoordinates: "1"
property string latitudeIP: completeCoordinates.substring(0, (completeCoordinates.indexOf(' ')) - 1)
property string longitudIP: completeCoordinates.substring(completeCoordinates.indexOf(' ') + 1)
property string uvtext: Traduc.uvRadiationText(codeleng)
property string windSpeedText: Traduc.windSpeedText(codeleng)
property int isDay: obtener(datosweather, 8)
property string city: "unk"
property string prefixIcon: isDay === 1 ? "" : "-night"
Component.onCompleted: {
updateWeather(1);
}
function uvIndexLevelAssignment(nivel) {
if (nivel < 3) {
return nivel + " " + Traduc.lavelUV(codeleng, 0);
} else {
if (nivel < 6) {
return nivel + " " + Traduc.lavelUV(codeleng, 1);
} else {
if (nivel < 8) {
return nivel + " " + Traduc.lavelUV(codeleng, 2);
} else {
if (nivel < 11) {
return nivel + " " + Traduc.lavelUV(codeleng, 3);
} else {
return nivel + " " + Traduc.lavelUV(codeleng, 4);
}
}
}
}
}
function getCoordinatesWithIp() {
GeoCoordinates.obtenerCoordenadas(function(result) {
completeCoordinates = result;
retryCoordinate.start()
});
}
onObserverCoordenatesChanged: {
console.log("Coordenadas cambiaron, actualizando clima");
if (latitude && longitud && latitude !== "0" && longitud !== "0") {
updateWeather(2);
getCityFuncion();
} else {
console.warn("Coordenadas inválidas, reintentando...");
retryCoordinate.start();
}
}
function getCityFuncion() {
if (!latitude || !longitud || latitude === "0" || longitud === "0") {
console.error("Coordenadas inválidas para la solicitud de ciudad");
return;
}
GetCity.getNameCity(latitude, longitud, codeleng, function(result) {
city = result;
retrycity.start()
});
}
function getWeatherApi() {
GetInfoApi.obtenerDatosClimaticos(latitude, longitud, day, finDay, currentTime, function(result) {
if (isUpdate) {
newValuesWeather = result;
} else {
datosweather = result;
}
getForecastWeather()
retry.start()
});
}
function getForecastWeather() {
GetModelWeather.GetForecastWeather(latitude, longitud, day, therday, function(result) {
if (isUpdate) {
newValuesForeWeather = result
} else {
forecastWeather = result
};
});
}
function asingicon(x, b) {
let wmocodes = {
0: "clear",
1: "few-clouds",
2: "few-clouds",
3: "clouds",
51: "showers-scattered",
53: "showers-scattered",
55: "showers-scattered",
56: "showers-scattered",
57: "showers-scattered",
61: "showers",
63: "showers",
65: "showers",
66: "showers-scattered",
67: "showers",
71: "snow-scattered",
73: "snow",
75: "snow",
77: "hail",
80: "showers",
81: "showers",
82: "showers",
85: "snow-scattered",
86: "snow",
95: "storm",
96: "storm",
99: "storm",
};
var iconName = "weather-" + (wmocodes[x] || "unknown");
var iconNamePresicion = iconName + prefixIcon
return b === "preciso" ? iconNamePresicion : iconName;
}
function textWeather(x) {
let text = {
0: "Clear",
1: "Mainly clear",
2: "Partly cloudy",
3: "Overcast",
51: "Drizzle light intensity",
53: "Drizzle moderate intensity",
55: "Drizzle dense intensity",
56: "Freezing Drizzle light intensity",
57: "Freezing Drizzle dense intensity",
61: "Rain slight intensity",
63: "Rain moderate intensity",
65: "Rain heavy intensity",
66: "Freezing Rain light intensity",
67: "Freezing Rain heavy intensity",
71: "Snowfall slight intensity",
73: "Snowfall moderate intensity",
75: "Snowfall heavy intensity",
77: "Snow grains",
80: "Rain showers slight",
81: "Rain showers moderate",
82: "Rain showers violent",
85: "Snow showers slight",
86: "Snow showers heavy",
95: "Thunderstorm",
96: "Thunderstorm with slight hail"
};
return text[x]
}
function shortTextWeather(x) {
let text = {
0: "Clear",
1: "Clear",
2: "Cloudy",
3: "Cloudy",
51: "Drizzle",
53: "Drizzle",
55: "Drizzle",
56: "Drizzle",
57: "Drizzle",
61: "Rain",
63: "Rain",
65: "Rain",
66: "Rain",
67: "Rain",
71: "Snow",
73: "Snow",
75: "Snow",
77: "Hail",
80: "Showers",
81: "Showers",
82: "Showers",
85: "Showers",
86: "Showers",
95: "Storm",
96: "Storm",
99: "Storm"
};
return text[x]
}
function updateWeather(x) {
if (x === 1) {
if (useCoordinatesIp === "true") {
getCoordinatesWithIp();
} else {
if (latitudeC === "0" || longitudC === "0") {
getCoordinatesWithIp();
} else {
getWeatherApi()
}
}
}
///
if (x === 2) {
getWeatherApi();
}
}
onObserverChanged: {
if (forecastWeather.length > 3) {
lastUpdate = new Date()
dataChanged();
}
}
onNewValuesForeWeatherChanged: {
if (newValuesForeWeather.length > 3) {
datosweather = newValuesWeather;
forecastWeather = newValuesForeWeather;
newValuesWeather = "0";
newValuesForeWeather= "0";
}
}
Timer {
id: retryCoordinate
interval: 5000
running: false
repeat: false
onTriggered: {
if (completeCoordinates === "") {
getCoordinatesWithIp();
} else {
if (isUpdate) {
veri.start()
}
}
}
}
Timer {
id: retrycity
interval: 6000
running: false
repeat: false
onTriggered: {
if (city === "unk" && retrysCity < 5) {
retrysCity = retrysCity + 1
getCityFuncion();
}
}
}
Timer {
id: retry
interval: 5000
running: false
repeat: false
onTriggered: {
if (datosweather === "0") {
getWeatherApi();
}
}
}
Timer {
id: weatherupdate
interval: 900000
running: true
repeat: true
onTriggered: {
isUpdate = true
oldCompleteCoordinates = completeCoordinates
getCoordinatesWithIp()
//updateWeather(1);
//veri.start()
}
}
Timer {
id: observateHours
interval: 1000
running: true
repeat: true
onTriggered: {
hoursC = Qt.formatDateTime(new Date(), "h")
}
}
Timer {
id: veri
interval: 4000
running: false
repeat: false
onTriggered: {
//newValuesWeather = "0"
if (oldCompleteCoordinates === completeCoordinates) {
updateWeather(2)
}
}
}
onUseCoordinatesIpChanged: {
if (active) {
updateWeather(1);
isInExecution = true
}
}
}

View file

@ -0,0 +1,15 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<circle cx="24" cy="24" r="15" fill="#ebcb8b"/>
<g fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
<g transform="matrix(.70711 .70711 -.70711 .70711 24 -9.9411)" fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 493 B

View file

@ -0,0 +1,3 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
</svg>

After

Width:  |  Height:  |  Size: 315 B

View file

@ -0,0 +1,3 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
</svg>

After

Width:  |  Height:  |  Size: 315 B

View file

@ -0,0 +1,3 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
</svg>

After

Width:  |  Height:  |  Size: 315 B

View file

@ -0,0 +1,15 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<circle cx="24" cy="24" r="15" fill="#ebcb8b"/>
<g fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
<g transform="matrix(.70711 .70711 -.70711 .70711 24 -9.9411)" fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 493 B

View file

@ -0,0 +1,15 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<circle cx="24" cy="24" r="15" fill="#ebcb8b"/>
<g fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
<g transform="matrix(.70711 .70711 -.70711 .70711 24 -9.9411)" fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 493 B

View file

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
enable-background="new"
viewBox="0 0 48 48"
version="1.1"
id="svg2"
sodipodi:docname="weather-clouds-bg.svg"
inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="13.395833"
inkscape:cx="24"
inkscape:cy="24"
inkscape:window-width="1920"
inkscape:window-height="1024"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
d="m24.926 22c-0.272 0-0.562 0.013-0.857 0.051-4.712 0.607-4.569 4.65-4.569 4.65-1.93 0.328-3.501 2.01-3.501 3.773 0 1.761 2.01 3.32 3.7 3.773 1 0.27 2.322 0 2.322 0 0.597 1.052 2.564 1.753 3.936 1.753 2.237 0 4.536-0.742 5.065-1.753 0 0 9.263 0.741 11.186 0 2.799-1.079 1.924-4.45 0.062-5.59s-4.296-0.343-4.296-0.343-0.011-2.321-2.644-3.43c-2.634-1.109-4.854 1.347-4.854 1.347s-1.476-4.205-5.549-4.23z"
fill="#eceff4"
id="path2" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
enable-background="new"
viewBox="0 0 48 48"
version="1.1"
id="svg2"
sodipodi:docname="weather-clouds-night-bg.svg"
inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="13.395833"
inkscape:cx="24"
inkscape:cy="24"
inkscape:window-width="1920"
inkscape:window-height="1024"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
d="m24.926 22c-0.272 0-0.562 0.013-0.857 0.051-4.712 0.607-4.569 4.65-4.569 4.65-1.93 0.328-3.501 2.01-3.501 3.773 0 1.761 2.01 3.32 3.7 3.773 1 0.27 2.322 0 2.322 0 0.597 1.052 2.564 1.753 3.936 1.753 2.237 0 4.536-0.742 5.065-1.753 0 0 9.263 0.741 11.186 0 2.799-1.079 1.924-4.45 0.062-5.59s-4.296-0.343-4.296-0.343-0.011-2.321-2.644-3.43c-2.634-1.109-4.854 1.347-4.854 1.347s-1.476-4.205-5.549-4.23z"
fill="#eceff4"
id="path2" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
enable-background="new"
viewBox="0 0 48 48"
version="1.1"
id="svg2"
sodipodi:docname="weather-clouds-night-pf.svg"
inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="13.395833"
inkscape:cx="24"
inkscape:cy="24"
inkscape:window-width="1920"
inkscape:window-height="1024"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
d="m14.202 12c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z"
fill="#d8d8d8"
id="path1" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
enable-background="new"
viewBox="0 0 48 48"
version="1.1"
id="svg2"
sodipodi:docname="weather-clouds-night.svg"
inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="6.0472361"
inkscape:cx="23.895214"
inkscape:cy="19.099635"
inkscape:window-width="1920"
inkscape:window-height="1024"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607"
fill="#eceff4"
id="path1" />
<path
d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z"
fill="#d8d8d8"
id="path2" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
enable-background="new"
viewBox="0 0 48 48"
version="1.1"
id="svg2"
sodipodi:docname="weather-clouds-night.svg"
inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="6.0472361"
inkscape:cx="23.895214"
inkscape:cy="19.099635"
inkscape:window-width="1920"
inkscape:window-height="1024"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607"
fill="#eceff4"
id="path1" />
<path
d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z"
fill="#d8d8d8"
id="path2" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
enable-background="new"
viewBox="0 0 48 48"
version="1.1"
id="svg2"
sodipodi:docname="weather-clouds-pf.svg"
inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="13.395833"
inkscape:cx="24"
inkscape:cy="24"
inkscape:window-width="1920"
inkscape:window-height="1024"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<path
d="m14.202 12c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z"
fill="#d8d8d8"
id="path1" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
enable-background="new"
viewBox="0 0 48 48"
version="1.1"
id="svg9"
sodipodi:docname="weather-few-clouds-bg.svg"
inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs9" />
<sodipodi:namedview
id="namedview9"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="13.395833"
inkscape:cx="24"
inkscape:cy="24"
inkscape:window-width="1920"
inkscape:window-height="1024"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg9" />
<circle
cx="24"
cy="24"
r="15"
fill="#ebcb8b"
id="circle1" />
<g
fill="#ebcb8b"
id="g4">
<path
d="m24 3 1.5 4h-3z"
id="path1" />
<path
d="m24 45-1.5-4h3z"
id="path2" />
<path
d="m45 24-4 1.5v-3z"
id="path3" />
<path
d="m3 24 4-1.5v3z"
id="path4" />
</g>
<g
transform="matrix(.70711 .70711 -.70711 .70711 24 -9.9411)"
fill="#ebcb8b"
id="g8">
<path
d="m24 3 1.5 4h-3z"
id="path5" />
<path
d="m24 45-1.5-4h3z"
id="path6" />
<path
d="m45 24-4 1.5v-3z"
id="path7" />
<path
d="m3 24 4-1.5v3z"
id="path8" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m23.413 7c-9.06 0-16.413 7.611-16.413 17s7.348 17 16.413 17c2.49 0 4.848-0.579 6.962-1.607-5.582-2.714-9.45-8.583-9.45-15.393 0-6.809 3.868-12.679 9.45-15.393-2.114-1.028-4.472-1.607-6.962-1.607" fill="#eceff4"/>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
</svg>

After

Width:  |  Height:  |  Size: 733 B

View file

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
enable-background="new"
viewBox="0 0 48 48"
version="1.1"
id="svg9"
sodipodi:docname="weather-few-clouds-pf.svg"
inkscape:version="1.4 (1:1.4+202410161351+e7c3feb100)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs9" />
<sodipodi:namedview
id="namedview9"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="13.395833"
inkscape:cx="24"
inkscape:cy="24"
inkscape:window-width="1920"
inkscape:window-height="1024"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg9" />
<path
d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z"
fill="#eceff4"
id="path9" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -0,0 +1,16 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<circle cx="24" cy="24" r="15" fill="#ebcb8b"/>
<g fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
<g transform="matrix(.70711 .70711 -.70711 .70711 24 -9.9411)" fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#eceff4"/>
</svg>

After

Width:  |  Height:  |  Size: 911 B

View file

@ -0,0 +1,16 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<circle cx="24" cy="24" r="15" fill="#ebcb8b"/>
<g fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
<g transform="matrix(.70711 .70711 -.70711 .70711 24 -9.9411)" fill="#ebcb8b">
<path d="m24 3 1.5 4h-3z"/>
<path d="m24 45-1.5-4h3z"/>
<path d="m45 24-4 1.5v-3z"/>
<path d="m3 24 4-1.5v3z"/>
</g>
<path d="m23.2 25c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#eceff4"/>
</svg>

After

Width:  |  Height:  |  Size: 911 B

View file

@ -0,0 +1,6 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1.003 0 0 .97867 .88 .31279)" fill="#eceff4">
<path d="m27.18 9.898c-6.03 0-10.919 1.01-10.919 2.265s4.889 2.265 10.919 2.265 10.919-1.01 10.919-2.265-4.889-2.265-10.919-2.265zm-8.474 6.442c-6.964 0-12.607 0.955-12.607 2.161s5.643 2.203 12.607 2.203 12.616-0.997 12.616-2.203-5.653-2.161-12.616-2.161z"/>
<path d="m29.08 22.508c-6.03 0-10.919 1.01-10.919 2.265s4.889 2.265 10.919 2.265 10.919-1.01 10.919-2.265-4.889-2.265-10.919-2.265zm-8.474 6.442c-6.964 0-12.607 0.955-12.607 2.161s5.643 2.203 12.607 2.203 12.616-0.997 12.616-2.203-5.653-2.161-12.616-2.161zm7.346 6.213c-4.649 0-8.417 0.738-8.417 1.662 0 0.925 3.768 1.683 8.417 1.683s8.417-0.758 8.417-1.683-3.768-1.662-8.417-1.662z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 815 B

View file

@ -0,0 +1,6 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1.003 0 0 .97867 .88 .31279)" fill="#eceff4">
<path d="m27.18 9.898c-6.03 0-10.919 1.01-10.919 2.265s4.889 2.265 10.919 2.265 10.919-1.01 10.919-2.265-4.889-2.265-10.919-2.265zm-8.474 6.442c-6.964 0-12.607 0.955-12.607 2.161s5.643 2.203 12.607 2.203 12.616-0.997 12.616-2.203-5.653-2.161-12.616-2.161z"/>
<path d="m29.08 22.508c-6.03 0-10.919 1.01-10.919 2.265s4.889 2.265 10.919 2.265 10.919-1.01 10.919-2.265-4.889-2.265-10.919-2.265zm-8.474 6.442c-6.964 0-12.607 0.955-12.607 2.161s5.643 2.203 12.607 2.203 12.616-0.997 12.616-2.203-5.653-2.161-12.616-2.161zm7.346 6.213c-4.649 0-8.417 0.738-8.417 1.662 0 0.925 3.768 1.683 8.417 1.683s8.417-0.758 8.417-1.683-3.768-1.662-8.417-1.662z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 815 B

View file

@ -0,0 +1,17 @@
<svg enable-background="new" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="m5.905 2.386c-0.112-1e-3 -0.226 5e-3 -0.348 0.022-1.942 0.26-1.882 1.996-1.882 1.996-0.795 0.141-1.446 0.864-1.446 1.62s0.831 1.425 1.528 1.62c0.414 0.116 0.955 0 0.955 0 0.246 0.452 1.058 0.752 1.623 0.752 0.922 0 1.865-0.318 2.083-0.752 0 0 3.821 0.318 4.613 0 1.154-0.463 0.795-1.912 0.027-2.401s-1.773-0.145-1.773-0.145-6e-3 -0.996-1.091-1.472-2 0.575-2 0.575-0.609-1.804-2.288-1.815z" fill="#2e3440"/>
<circle cx="7.823" cy="12.932" r=".364" fill="#2e3440"/>
<circle cx="4.094" cy="10.393" r=".364" fill="#2e3440"/>
<circle cx="7.077" cy="10.02" r=".364" fill="#2e3440"/>
<circle cx="9.641" cy="10.516" r=".364" fill="#2e3440"/>
<circle cx="5.697" cy="11.527" r=".364" fill="#2e3440"/>
<circle cx="5.647" cy="9.06" r=".364" fill="#2e3440"/>
<circle cx="8.556" cy="8.889" r=".364" fill="#2e3440"/>
<circle cx="10.775" cy="8.963" r=".364" fill="#2e3440"/>
<circle cx="4.045" cy="8.544" r=".364" fill="#2e3440"/>
<circle cx="3.379" cy="12.07" r=".364" fill="#2e3440"/>
<circle cx="12.03" cy="10.22" r=".364" fill="#2e3440"/>
<circle cx="11.02" cy="12.143" r=".364" fill="#2e3440"/>
<circle cx="8.162" cy="11.305" r=".364" fill="#2e3440"/>
<circle cx="12.55" cy="8.593" r=".364" fill="#2e3440"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,17 @@
<svg enable-background="new" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="m5.905 2.386c-0.112-1e-3 -0.226 5e-3 -0.348 0.022-1.942 0.26-1.882 1.996-1.882 1.996-0.795 0.141-1.446 0.864-1.446 1.62s0.831 1.425 1.528 1.62c0.414 0.116 0.955 0 0.955 0 0.246 0.452 1.058 0.752 1.623 0.752 0.922 0 1.865-0.318 2.083-0.752 0 0 3.821 0.318 4.613 0 1.154-0.463 0.795-1.912 0.027-2.401s-1.773-0.145-1.773-0.145-6e-3 -0.996-1.091-1.472-2 0.575-2 0.575-0.609-1.804-2.288-1.815z" fill="#2e3440"/>
<circle cx="7.823" cy="12.932" r=".364" fill="#2e3440"/>
<circle cx="4.094" cy="10.393" r=".364" fill="#2e3440"/>
<circle cx="7.077" cy="10.02" r=".364" fill="#2e3440"/>
<circle cx="9.641" cy="10.516" r=".364" fill="#2e3440"/>
<circle cx="5.697" cy="11.527" r=".364" fill="#2e3440"/>
<circle cx="5.647" cy="9.06" r=".364" fill="#2e3440"/>
<circle cx="8.556" cy="8.889" r=".364" fill="#2e3440"/>
<circle cx="10.775" cy="8.963" r=".364" fill="#2e3440"/>
<circle cx="4.045" cy="8.544" r=".364" fill="#2e3440"/>
<circle cx="3.379" cy="12.07" r=".364" fill="#2e3440"/>
<circle cx="12.03" cy="10.22" r=".364" fill="#2e3440"/>
<circle cx="11.02" cy="12.143" r=".364" fill="#2e3440"/>
<circle cx="8.162" cy="11.305" r=".364" fill="#2e3440"/>
<circle cx="12.55" cy="8.593" r=".364" fill="#2e3440"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,10 @@
<svg enable-background="new" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="m5.905 2.546c-0.112-1e-3 -0.226 5e-3 -0.348 0.022-1.942 0.26-1.882 1.996-1.882 1.996-0.795 0.141-1.446 0.864-1.446 1.62s0.831 1.425 1.528 1.62c0.414 0.116 0.955 0 0.955 0 0.246 0.452 1.058 0.752 1.623 0.752 0.922 0 1.865-0.318 2.083-0.752 0 0 3.821 0.318 4.613 0 1.154-0.463 0.795-1.912 0.027-2.401s-1.773-0.145-1.773-0.145-6e-3 -0.996-1.091-1.472-2 0.575-2 0.575-0.609-1.804-2.288-1.815z" fill="#2e3440"/>
<circle cx="11.478" cy="9.04" r=".727" fill="#2e3440"/>
<circle cx="8.187" cy="12.727" r=".727" fill="#2e3440"/>
<circle cx="12.03" cy="12.08" r=".727" fill="#2e3440"/>
<circle cx="7.274" cy="10.01" r=".727" fill="#2e3440"/>
<circle cx="4.193" cy="9.122" r=".727" fill="#2e3440"/>
<circle cx="5.08" cy="11.464" r=".727" fill="#2e3440"/>
<circle cx="9.863" cy="10.773" r=".727" fill="#2e3440"/>
</svg>

After

Width:  |  Height:  |  Size: 910 B

View file

@ -0,0 +1,10 @@
<svg enable-background="new" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="m5.905 2.546c-0.112-1e-3 -0.226 5e-3 -0.348 0.022-1.942 0.26-1.882 1.996-1.882 1.996-0.795 0.141-1.446 0.864-1.446 1.62s0.831 1.425 1.528 1.62c0.414 0.116 0.955 0 0.955 0 0.246 0.452 1.058 0.752 1.623 0.752 0.922 0 1.865-0.318 2.083-0.752 0 0 3.821 0.318 4.613 0 1.154-0.463 0.795-1.912 0.027-2.401s-1.773-0.145-1.773-0.145-6e-3 -0.996-1.091-1.472-2 0.575-2 0.575-0.609-1.804-2.288-1.815z" fill="#2e3440"/>
<circle cx="11.478" cy="9.04" r=".727" fill="#2e3440"/>
<circle cx="8.187" cy="12.727" r=".727" fill="#2e3440"/>
<circle cx="12.03" cy="12.08" r=".727" fill="#2e3440"/>
<circle cx="7.274" cy="10.01" r=".727" fill="#2e3440"/>
<circle cx="4.193" cy="9.122" r=".727" fill="#2e3440"/>
<circle cx="5.08" cy="11.464" r=".727" fill="#2e3440"/>
<circle cx="9.863" cy="10.773" r=".727" fill="#2e3440"/>
</svg>

After

Width:  |  Height:  |  Size: 910 B

View file

@ -0,0 +1,4 @@
<svg enable-background="new" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
<path d="m14.202 12c-0.31 0-0.642 0.015-0.979 0.058-5.385 0.693-5.221 5.314-5.221 5.314-2.206 0.375-4 2.299-4 4.312 0 2.01 2.297 3.794 4.228 4.312 1.149 0.308 2.653 0 2.653 0 0.682 1.202 2.93 2 4.498 2 2.556 0 5.184-0.848 5.789-2 0 0 10.587 0.847 12.784 0 3.199-1.233 2.199-5.085 0.071-6.388s-4.909-0.392-4.909-0.392-0.012-2.653-3.02-3.92c-3.01-1.268-5.548 1.539-5.548 1.539s-1.686-4.806-6.342-4.835z" fill="#d8d8d8"/>
<path d="m24.926 22c-0.272 0-0.562 0.013-0.857 0.051-4.712 0.607-4.569 4.65-4.569 4.65-1.93 0.328-3.501 2.01-3.501 3.773 0 1.761 2.01 3.32 3.7 3.773 1 0.27 2.322 0 2.322 0 0.597 1.052 2.564 1.753 3.936 1.753 2.237 0 4.536-0.742 5.065-1.753 0 0 9.263 0.741 11.186 0 2.799-1.079 1.924-4.45 0.062-5.59s-4.296-0.343-4.296-0.343-0.011-2.321-2.644-3.43c-2.634-1.109-4.854 1.347-4.854 1.347s-1.476-4.205-5.549-4.23z" fill="#eceff4"/>
</svg>

After

Width:  |  Height:  |  Size: 940 B

Some files were not shown because too many files have changed in this diff Show more