5 Commits

Author SHA1 Message Date
1c6060d8d5 Small fixes, changlelog 2024-02-15 17:34:07 +01:00
TobiZog
8da056350a Merge pull request #16 from blogdron/main
Add Russian translation
2024-02-15 17:24:25 +01:00
0ab3297054 Adding support for Login screen wallpaper 2024-02-15 17:04:20 +01:00
blogdron
6ac34770ff Add Russian translation 2024-02-15 16:46:46 +03:00
45e95d0e2b Readme 2024-02-15 13:20:59 +01:00
14 changed files with 521 additions and 81 deletions

1
.gitignore vendored
View File

@@ -2,6 +2,7 @@
*.glade# *.glade#
*.txt *.txt
*.json *.json
*.tar.gz
extracted_images/ extracted_images/
selected/ selected/
__pycache__ __pycache__

View File

@@ -1,3 +1,7 @@
# Version 2.4
- Adding Login window support
- Adding Russian translation (Thanks to blogdron)
# Version 2.3 # Version 2.3
- Adding Dutch translation - Adding Dutch translation
- Adding German translation - Adding German translation

View File

@@ -59,6 +59,17 @@ Because of the lack of configuration options in the standard Cinnamon configurat
All configuration will be handled there. You can choose between included image sets, a HEIC file or a folder source and set the image to ten different daytime periods. Time periods will be estimated via network, custom coordinations or custom time periods. Some behaviour preferences (strech image, fill empty background with gradient color) are also here. All configuration will be handled there. You can choose between included image sets, a HEIC file or a folder source and set the image to ten different daytime periods. Time periods will be estimated via network, custom coordinations or custom time periods. Some behaviour preferences (strech image, fill empty background with gradient color) are also here.
![](res/image_configurator.png) ![](res/image_configurator.png)
---
## Contribute
### Translation
You want to contribute a language which isn't supported yet? Here is how to do:
1. Fork the cinnamon-spices-extensions project: https://github.com/linuxmint/cinnamon-spices-extensions
2. Pull the repository
3. Open `cinnamon-dynamic-wallpaper@TobiZog/files/cinnamon-dynamic-wallpaper@TobiZog/po/cinnamon-dynamic-wallpaper@TobiZog.pot` with a po-tool like poedit (https://poedit.net/).
4. Create a new translation in your language
5. Push the changes to your repository
6. Create a pull request
--- ---
## Included image sets ## Included image sets

View File

@@ -77,7 +77,7 @@ CinnamonDynamicWallpaperExtension.prototype = {
// Hide the notification on system restart // Hide the notification on system restart
this.settings.setValue("first_start", false) this.settings.setValue("first_start", false)
this.settings.setValue("source_folder", DIRECTORY["path"] + "/images/included_image_sets/lakeside/") this.settings.setValue("source_folder", DIRECTORY["path"] + "/res/images/included_image_sets/lakeside/")
} }
// Start the main loop, checks in fixed time periods the // Start the main loop, checks in fixed time periods the

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

View File

@@ -461,7 +461,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="margin-top">16</property> <property name="margin-top">16</property>
<property name="label" translatable="no">label</property> <property name="label">label</property>
<attributes> <attributes>
<attribute name="style" value="italic"/> <attribute name="style" value="italic"/>
</attributes> </attributes>
@@ -517,7 +517,7 @@
<object class="GtkLabel" id="etr_period_1"> <object class="GtkLabel" id="etr_period_1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">00:00 - 00:59</property> <property name="label">00:00 - 00:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -531,7 +531,7 @@
<object class="GtkLabel" id="etr_period_3"> <object class="GtkLabel" id="etr_period_3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">02:00 - 02:59</property> <property name="label">02:00 - 02:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -545,7 +545,7 @@
<object class="GtkLabel" id="etr_period_5"> <object class="GtkLabel" id="etr_period_5">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">04:00 - 04:59</property> <property name="label">04:00 - 04:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -559,7 +559,7 @@
<object class="GtkLabel" id="etr_period_7"> <object class="GtkLabel" id="etr_period_7">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">06:00 - 06:59</property> <property name="label">06:00 - 06:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -573,7 +573,7 @@
<object class="GtkLabel" id="etr_period_9"> <object class="GtkLabel" id="etr_period_9">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">08:00 - 08:59</property> <property name="label">08:00 - 08:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -789,7 +789,7 @@
<object class="GtkLabel" id="etr_period_2"> <object class="GtkLabel" id="etr_period_2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">01:00 - 01:59</property> <property name="label">01:00 - 01:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -803,7 +803,7 @@
<object class="GtkLabel" id="etr_period_4"> <object class="GtkLabel" id="etr_period_4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">03:00 - 03:59</property> <property name="label">03:00 - 03:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -817,7 +817,7 @@
<object class="GtkLabel" id="etr_period_6"> <object class="GtkLabel" id="etr_period_6">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">05:00 - 05:59</property> <property name="label">05:00 - 05:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -831,7 +831,7 @@
<object class="GtkLabel" id="etr_period_8"> <object class="GtkLabel" id="etr_period_8">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">07:00 - 07:59</property> <property name="label">07:00 - 07:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -845,7 +845,7 @@
<object class="GtkLabel" id="etr_period_10"> <object class="GtkLabel" id="etr_period_10">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">09:00 - 09:59</property> <property name="label">09:00 - 09:59</property>
<attributes> <attributes>
<attribute name="size" value="15360"/> <attribute name="size" value="15360"/>
</attributes> </attributes>
@@ -1245,7 +1245,7 @@
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="margin-top">8</property> <property name="margin-top">8</property>
<property name="margin-bottom">8</property> <property name="margin-bottom">8</property>
<property name="label" translatable="no">label</property> <property name="label">label</property>
<attributes> <attributes>
<attribute name="style" value="italic"/> <attribute name="style" value="italic"/>
</attributes> </attributes>
@@ -1432,7 +1432,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="text" translatable="no">23</property> <property name="text">23</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_hours5</property> <property name="adjustment">adjustment_hours5</property>
<property name="value">23</property> <property name="value">23</property>
@@ -1452,7 +1452,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">:</property> <property name="label">:</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1467,7 +1467,7 @@
<object class="GtkSpinButton" id="spb_period_5_minute"> <object class="GtkSpinButton" id="spb_period_5_minute">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">59</property> <property name="text">59</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_minutes5</property> <property name="adjustment">adjustment_minutes5</property>
<property name="value">59</property> <property name="value">59</property>
@@ -1483,7 +1483,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1502,7 +1502,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1529,7 +1529,7 @@
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="text" translatable="no">23</property> <property name="text">23</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_hours6</property> <property name="adjustment">adjustment_hours6</property>
<property name="value">23</property> <property name="value">23</property>
@@ -1549,7 +1549,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">:</property> <property name="label">:</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1564,7 +1564,7 @@
<object class="GtkSpinButton" id="spb_period_6_minute"> <object class="GtkSpinButton" id="spb_period_6_minute">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">59</property> <property name="text">59</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_minutes6</property> <property name="adjustment">adjustment_minutes6</property>
<property name="value">59</property> <property name="value">59</property>
@@ -1580,7 +1580,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1599,7 +1599,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1626,7 +1626,7 @@
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="text" translatable="no">23</property> <property name="text">23</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_hours7</property> <property name="adjustment">adjustment_hours7</property>
<property name="value">23</property> <property name="value">23</property>
@@ -1646,7 +1646,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">:</property> <property name="label">:</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1661,7 +1661,7 @@
<object class="GtkSpinButton" id="spb_period_7_minute"> <object class="GtkSpinButton" id="spb_period_7_minute">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">59</property> <property name="text">59</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_minutes7</property> <property name="adjustment">adjustment_minutes7</property>
<property name="value">59</property> <property name="value">59</property>
@@ -1677,7 +1677,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1696,7 +1696,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1721,7 +1721,7 @@
<object class="GtkSpinButton" id="spb_period_8_hour"> <object class="GtkSpinButton" id="spb_period_8_hour">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">23</property> <property name="text">23</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_hours8</property> <property name="adjustment">adjustment_hours8</property>
<property name="value">23</property> <property name="value">23</property>
@@ -1741,7 +1741,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">:</property> <property name="label">:</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1756,7 +1756,7 @@
<object class="GtkSpinButton" id="spb_period_8_minute"> <object class="GtkSpinButton" id="spb_period_8_minute">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">59</property> <property name="text">59</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_minutes8</property> <property name="adjustment">adjustment_minutes8</property>
<property name="value">59</property> <property name="value">59</property>
@@ -1772,7 +1772,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1791,7 +1791,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1820,7 +1820,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="text" translatable="no">23</property> <property name="text">23</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_hours9</property> <property name="adjustment">adjustment_hours9</property>
<property name="value">23</property> <property name="value">23</property>
@@ -1840,7 +1840,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">:</property> <property name="label">:</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1855,7 +1855,7 @@
<object class="GtkSpinButton" id="spb_period_9_minute"> <object class="GtkSpinButton" id="spb_period_9_minute">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">57</property> <property name="text">57</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_minutes9</property> <property name="adjustment">adjustment_minutes9</property>
<property name="value">57</property> <property name="value">57</property>
@@ -1871,7 +1871,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1890,7 +1890,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">23:59</property> <property name="label">23:59</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -1989,7 +1989,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2004,7 +2004,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2023,7 +2023,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2052,7 +2052,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="text" translatable="no">23</property> <property name="text">23</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_hours2</property> <property name="adjustment">adjustment_hours2</property>
<property name="value">23</property> <property name="value">23</property>
@@ -2072,7 +2072,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">:</property> <property name="label">:</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2087,7 +2087,7 @@
<object class="GtkSpinButton" id="spb_period_2_minute"> <object class="GtkSpinButton" id="spb_period_2_minute">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">59</property> <property name="text">59</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_minutes2</property> <property name="adjustment">adjustment_minutes2</property>
<property name="value">59</property> <property name="value">59</property>
@@ -2103,7 +2103,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2122,7 +2122,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2151,7 +2151,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="text" translatable="no">23</property> <property name="text">23</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_hours3</property> <property name="adjustment">adjustment_hours3</property>
<property name="value">23</property> <property name="value">23</property>
@@ -2171,7 +2171,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">:</property> <property name="label">:</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2186,7 +2186,7 @@
<object class="GtkSpinButton" id="spb_period_3_minute"> <object class="GtkSpinButton" id="spb_period_3_minute">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">59</property> <property name="text">59</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_minutes3</property> <property name="adjustment">adjustment_minutes3</property>
<property name="value">59</property> <property name="value">59</property>
@@ -2202,7 +2202,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2221,7 +2221,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2250,7 +2250,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="text" translatable="no">23</property> <property name="text">23</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_hours4</property> <property name="adjustment">adjustment_hours4</property>
<property name="value">23</property> <property name="value">23</property>
@@ -2270,7 +2270,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">:</property> <property name="label">:</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2285,7 +2285,7 @@
<object class="GtkSpinButton" id="spb_period_4_minute"> <object class="GtkSpinButton" id="spb_period_4_minute">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">59</property> <property name="text">59</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_minutes4</property> <property name="adjustment">adjustment_minutes4</property>
<property name="value">59</property> <property name="value">59</property>
@@ -2301,7 +2301,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2320,7 +2320,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2345,7 +2345,7 @@
<object class="GtkSpinButton" id="spb_period_1_hour"> <object class="GtkSpinButton" id="spb_period_1_hour">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">23</property> <property name="text">23</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_hours1</property> <property name="adjustment">adjustment_hours1</property>
<property name="value">23</property> <property name="value">23</property>
@@ -2365,7 +2365,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">:</property> <property name="label">:</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2380,7 +2380,7 @@
<object class="GtkSpinButton" id="spb_period_1_minute"> <object class="GtkSpinButton" id="spb_period_1_minute">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="text" translatable="no">59</property> <property name="text">59</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="adjustment">adjustment_minutes1</property> <property name="adjustment">adjustment_minutes1</property>
<property name="value">59</property> <property name="value">59</property>
@@ -2396,7 +2396,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="no">-</property> <property name="label">-</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2415,7 +2415,7 @@
<property name="margin-right">8</property> <property name="margin-right">8</property>
<property name="margin-start">8</property> <property name="margin-start">8</property>
<property name="margin-end">8</property> <property name="margin-end">8</property>
<property name="label" translatable="no">00:00</property> <property name="label">00:00</property>
<attributes> <attributes>
<attribute name="size" value="20480"/> <attribute name="size" value="20480"/>
</attributes> </attributes>
@@ -2553,7 +2553,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="label" translatable="yes">Dynamic Background color</property> <property name="label" translatable="yes">Login Screen</property>
<attributes> <attributes>
<attribute name="weight" value="bold"/> <attribute name="weight" value="bold"/>
</attributes> </attributes>
@@ -2564,6 +2564,80 @@
<property name="position">2</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkListBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="selection-mode">none</property>
<property name="activate-on-single-click">False</property>
<child>
<object class="GtkListBoxRow">
<property name="visible">True</property>
<property name="can-focus">True</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-left">12</property>
<property name="margin-right">12</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">Set the background image as Login Screen background</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="sw_login_image">
<property name="visible">True</property>
<property name="can-focus">True</property>
<signal name="state-set" handler="on_sw_login_image_state_set" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">3</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Dynamic Background color</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">4</property>
</packing>
</child>
<child> <child>
<object class="GtkListBox"> <object class="GtkListBox">
<property name="visible">True</property> <property name="visible">True</property>
@@ -2602,6 +2676,7 @@
<object class="GtkSwitch" id="sw_dynamic_background_color"> <object class="GtkSwitch" id="sw_dynamic_background_color">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<signal name="state-set" handler="on_sw_dynamic_background_color_state_set" swapped="no"/>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@@ -2618,7 +2693,7 @@
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="padding">3</property> <property name="padding">3</property>
<property name="position">3</property> <property name="position">5</property>
</packing> </packing>
</child> </child>
<child> <child>
@@ -2630,7 +2705,7 @@
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">4</property> <property name="position">6</property>
</packing> </packing>
</child> </child>
</object> </object>

View File

@@ -5,7 +5,7 @@
}, },
"picture_aspect": { "picture_aspect": {
"type": "generic", "type": "generic",
"default": "scaled" "default": "zoom"
}, },
"dynamic_background_color": { "dynamic_background_color": {
"type": "generic", "type": "generic",
@@ -130,5 +130,9 @@
"period_9_custom_start_time": { "period_9_custom_start_time": {
"type": "generic", "type": "generic",
"default": "21:00" "default": "21:00"
},
"login_image": {
"type": "generic",
"default": false
} }
} }

View File

@@ -13,5 +13,6 @@ if __name__ == "__main__":
elif sys.argv[1] == "loop": elif sys.argv[1] == "loop":
# Run the methods which updates the data # Run the methods which updates the data
view_model = Main_View_Model() view_model = Main_View_Model()
view_model.set_login_image()
view_model.refresh_image() view_model.refresh_image()
view_model.set_background_gradient() view_model.set_background_gradient()

View File

@@ -2,7 +2,7 @@
from gi.repository import Gio, Gdk from gi.repository import Gio, Gdk
# Packages # Packages
import os, time, gi, locale import os, time, locale, subprocess, sys
from PIL import Image from PIL import Image
# Local scripts # Local scripts
@@ -121,8 +121,6 @@ class Main_View_Model:
hour = raw_str[0:raw_str.find(":")] hour = raw_str[0:raw_str.find(":")]
minute = raw_str[raw_str.find(":") + 1:] minute = raw_str[raw_str.find(":") + 1:]
time(1, 2)
return time(hour=int(hour), minute=int(minute)) return time(hour=int(hour), minute=int(minute))
@@ -183,9 +181,20 @@ class Main_View_Model:
self.current_image_uri = self.cinnamon_prefs.source_folder + self.cinnamon_prefs.period_images[i] self.current_image_uri = self.cinnamon_prefs.source_folder + self.cinnamon_prefs.period_images[i]
break break
# Set the background # Update the background
self.background_settings['picture-uri'] = "file://" + self.current_image_uri self.background_settings['picture-uri'] = "file://" + self.current_image_uri
# Update the login_image
if self.cinnamon_prefs.login_image:
# Create the folder in /tmp
try:
os.mkdir("/tmp/cinnamon_dynamic_wallpaper")
except:
print("Folder already exists")
# Copy the current image to the temp folder for the login screen
os.system("cp " + self.current_image_uri + " " + "/tmp/cinnamon_dynamic_wallpaper/login_image.jpg")
# Set background stretching # Set background stretching
self.background_settings['picture-options'] = self.cinnamon_prefs.picture_aspect self.background_settings['picture-options'] = self.cinnamon_prefs.picture_aspect
@@ -269,3 +278,51 @@ class Main_View_Model:
except: except:
self.background_settings['primary-color'] = "#000000" self.background_settings['primary-color'] = "#000000"
self.background_settings['secondary-color'] = "#000000" self.background_settings['secondary-color'] = "#000000"
def set_login_image(self):
""" Writes a path to file in /tmp/cinnamon_dynamic_wallpaper to display the wallpaper on the login screen
"""
# New config file content
file_content = ""
# Location of the config file
file_location = self.WORKING_DIR + "/slick-greeter.conf"
if os.path.isfile("/etc/lightdm/slick-greeter.conf"):
# File already exists, make a copy of the config
with open("/etc/lightdm/slick-greeter.conf", "r") as conf_file:
for line in conf_file.readlines():
if line.startswith("background"):
# Case 1: Preference is already set as expected -> leave function
if line.find("cinnamon_dynamic_wallpaper/login_image.jpg") != -1 and self.cinnamon_prefs.login_image or \
line.find("cinnamon_dynamic_wallpaper/login_image.jpg") == -1 and not self.cinnamon_prefs.login_image:
return
# Case 2: Function enabled -> Set the path to the login image
elif self.cinnamon_prefs.login_image:
file_content += "background=/tmp/cinnamon_dynamic_wallpaper/login_image.jpg\n"
# Case 3: Function disabled -> Remove the custom login image
elif not self.cinnamon_prefs.login_image:
break
# Other config lines will be simply copied
else:
file_content += line
else:
# File doesn't exists
file_content = "[Greeter]\n"
file_content += "background=/tmp/cinnamon_dynamic_wallpaper/login_image.jpg"
# Create the file
with open(file_location, "w") as conf_file:
conf_file.write(file_content)
conf_file.close()
# Move it to /etc/lightdm
if os.path.isfile("/etc/lightdm/slick-greeter.conf"):
subprocess.call(['pkexec', 'rm', '/etc/lightdm/slick-greeter.conf', 'mv', file_location, '/etc/lightdm/'])
else:
subprocess.call(['pkexec', 'mv', file_location, '/etc/lightdm/'])

View File

@@ -11,7 +11,7 @@ class Cinnamon_Pref_Handler:
self.load_preferences() self.load_preferences()
def extract_json(self, parameter: str) -> str: def extract_json(self, parameter: str) -> any:
""" Get a parameter from the json dictionary safely """ Get a parameter from the json dictionary safely
Args: Args:
@@ -73,6 +73,8 @@ class Cinnamon_Pref_Handler:
self.extract_json('period_9_custom_start_time') self.extract_json('period_9_custom_start_time')
] ]
self.login_image = self.extract_json('login_image')
def value_to_json(self, parameter: str, value: str): def value_to_json(self, parameter: str, value: str):
""" Storing safely a value to the dictionary """ Storing safely a value to the dictionary
@@ -127,6 +129,7 @@ class Cinnamon_Pref_Handler:
self.value_to_json('period_7_custom_start_time', self.period_custom_start_time[7]) self.value_to_json('period_7_custom_start_time', self.period_custom_start_time[7])
self.value_to_json('period_8_custom_start_time', self.period_custom_start_time[8]) self.value_to_json('period_8_custom_start_time', self.period_custom_start_time[8])
self.value_to_json('period_9_custom_start_time', self.period_custom_start_time[9]) self.value_to_json('period_9_custom_start_time', self.period_custom_start_time[9])
self.value_to_json('login_image', self.login_image)
# Write to file # Write to file

View File

@@ -150,6 +150,7 @@ class Main_Window:
# Page 3: Behaviour # Page 3: Behaviour
self.cb_picture_aspect: Gtk.ComboBox = self.builder.get_object("cb_picture_aspect") self.cb_picture_aspect: Gtk.ComboBox = self.builder.get_object("cb_picture_aspect")
self.sw_dynamic_background_color: Gtk.Switch = self.builder.get_object("sw_dynamic_background_color") self.sw_dynamic_background_color: Gtk.Switch = self.builder.get_object("sw_dynamic_background_color")
self.sw_login_image: Gtk.Switch = self.builder.get_object("sw_login_image")
def show(self): def show(self):
@@ -178,6 +179,7 @@ class Main_Window:
self.add_items_to_combo_box(self.cb_picture_aspect, self.view_model.picture_aspects) self.add_items_to_combo_box(self.cb_picture_aspect, self.view_model.picture_aspects)
self.set_active_combobox_item(self.cb_picture_aspect, self.view_model.cinnamon_prefs.picture_aspect) self.set_active_combobox_item(self.cb_picture_aspect, self.view_model.cinnamon_prefs.picture_aspect)
self.sw_dynamic_background_color.set_active(self.view_model.cinnamon_prefs.dynamic_background_color) self.sw_dynamic_background_color.set_active(self.view_model.cinnamon_prefs.dynamic_background_color)
self.sw_login_image.set_active(self.view_model.cinnamon_prefs.login_image)
# Show the main window # Show the main window
@@ -694,6 +696,16 @@ class Main_Window:
self.view_model.cinnamon_prefs.dynamic_background_color = state self.view_model.cinnamon_prefs.dynamic_background_color = state
def on_sw_login_image_state_set(self, _: Gtk.Switch, state: bool):
""" User switches login background image on or off
Args:
_ (Gtk.Switch): Used Switch
state (bool): Current state
"""
self.view_model.cinnamon_prefs.login_image = state
# About # About
def on_cinnamon_spices_website_button_clicked(self, _: Gtk.Button): def on_cinnamon_spices_website_button_clicked(self, _: Gtk.Button):
@@ -747,6 +759,7 @@ class Main_Window:
# Use the new settings # Use the new settings
self.view_model.refresh_image() self.view_model.refresh_image()
self.view_model.set_background_gradient() self.view_model.set_background_gradient()
self.view_model.set_login_image()
def on_destroy(self, *args): def on_destroy(self, *args):

View File

@@ -3,7 +3,7 @@
"uuid": "cinnamon-dynamic-wallpaper@TobiZog", "uuid": "cinnamon-dynamic-wallpaper@TobiZog",
"name": "Cinnamon Dynamic Wallpaper", "name": "Cinnamon Dynamic Wallpaper",
"description": "Cinnamon extension for dynamic desktop backgrounds based on time and location", "description": "Cinnamon extension for dynamic desktop backgrounds based on time and location",
"version": "2.3", "version": "2.4",
"multiversion": true, "multiversion": true,
"cinnamon-version": [ "cinnamon-version": [
"5.4", "5.4",

View File

@@ -0,0 +1,271 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# blogdron <EMAIL@ADDRESS>, 2024.
#
msgid ""
msgstr ""
"Project-Id-Version: cinnamon-dynamic-wallpaper@TobiZog 2.3\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-"
"extensions/issues\n"
"POT-Creation-Date: 2024-02-12 12:12+0100\n"
"PO-Revision-Date: 2024-02-15 16:46+0300\n"
"Last-Translator: blogdron\n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.4.2\n"
#: 5.4/extension.js:75
msgid "Welcome to Cinnamon Dynamic Wallpaper"
msgstr "Добро пожаловать в Динамические обои"
#: 5.4/extension.js:76
msgid "Check the preferences to choose a dynamic wallpaper"
msgstr "Проверьте настройки, чтобы выбрать динамические обои"
#: 5.4/extension.js:113
msgid "Error!"
msgstr "Ошибка!"
#: 5.4/extension.js:114
msgid ""
"Cinnamon Dynamic Wallpaper got an error while running the loop script. "
"Please create an issue on GitHub."
msgstr ""
"В Динамических Обоях Cinnamon возникла ошибка при запуске сценария цикла. "
"Создайте сообщение на GitHub."
#: 5.4/extension.js:139
msgid "Open settings"
msgstr "Открыть настройки"
#. metadata.json->name
msgid "Cinnamon Dynamic Wallpaper"
msgstr "Динамические Обои (Cinnamon Dynamic Wallpaper)"
#. metadata.json->description
msgid ""
"Cinnamon extension for dynamic desktop backgrounds based on time and location"
msgstr ""
"Расширение Cinnamon для динамических обоев рабочего стола в зависимости от "
"времени суток и местоположения"
#: 5.4/res/preferences.glade:135
msgid "Image Source"
msgstr "Источник изображений"
#: 5.4/res/preferences.glade:186
msgid "Image Set"
msgstr "Установить изображение"
#: 5.4/res/preferences.glade:236
msgid "HEIC file"
msgstr "HEIC файл"
#: 5.4/res/preferences.glade:286
msgid "Source Folder"
msgstr "Каталог изображений"
#: 5.4/res/preferences.glade:336
msgid "Select an image set"
msgstr "Выберите набор изображений"
#: 5.4/res/preferences.glade:379
msgid "Select a heic file to import"
msgstr "Выберите файл heic для импорта"
#: 5.4/res/preferences.glade:430
msgid "Select a source folder"
msgstr "Выберите каталог изображений"
#: 5.4/res/preferences.glade:440
msgid "Open file selection dialog"
msgstr "Открыть диалог выбора файла"
#: 5.4/res/preferences.glade:492
msgid "Image Selection"
msgstr "Выбор изображений"
#: 5.4/res/preferences.glade:930
msgid "Image Configuration"
msgstr "Настройки Изображений"
#: 5.4/res/preferences.glade:948
msgid "Period estimation"
msgstr "Периодичность"
#: 5.4/res/preferences.glade:1001
msgid "Use Network Location"
msgstr "Определить местоположение по сети"
#: 5.4/res/preferences.glade:1051
msgid "Custom Location"
msgstr "Задать местоположение"
#: 5.4/res/preferences.glade:1103
msgid "Custom Time Periods"
msgstr "Задать периодичность"
#: 5.4/res/preferences.glade:1132
msgid "Location estimation"
msgstr "Расчёт местоположения"
#: 5.4/res/preferences.glade:1167
msgid "Interval time to refresh location via network (min)"
msgstr "Интервал обновления местоположения через сеть (мин)."
#: 5.4/res/preferences.glade:1212
msgid "Location provider"
msgstr "Источник определяющий местоположения"
#: 5.4/res/preferences.glade:1274
msgid "Latitude"
msgstr "Широта"
#: 5.4/res/preferences.glade:1317
msgid "Longitude"
msgstr "Долгота"
#: 5.4/res/preferences.glade:1357
msgid "Period 1"
msgstr "Период 1"
#: 5.4/res/preferences.glade:1371
msgid "Period 2"
msgstr "Период 2"
#: 5.4/res/preferences.glade:1385
msgid "Period 3"
msgstr "Период 3"
#: 5.4/res/preferences.glade:1399
msgid "Period 4"
msgstr "Период 4"
#: 5.4/res/preferences.glade:1413
msgid "Period 5"
msgstr "Период 5"
#: 5.4/res/preferences.glade:1914
msgid "Period 6"
msgstr "Период 6"
#: 5.4/res/preferences.glade:1928
msgid "Period 7"
msgstr "Период 7"
#: 5.4/res/preferences.glade:1942
msgid "Period 9"
msgstr "Период 9"
#: 5.4/res/preferences.glade:1956
msgid "Period 8"
msgstr "Период 8"
#: 5.4/res/preferences.glade:1970
msgid "Period 10"
msgstr "Период 10"
#: 5.4/res/preferences.glade:2461
msgid "Location & Times"
msgstr "Местоположение и Время"
#: 5.4/res/preferences.glade:2480
msgid "Scaling"
msgstr "Масштабирование"
#: 5.4/res/preferences.glade:2519
msgid "Picture aspect"
msgstr "Соотношение сторон"
#: 5.4/res/preferences.glade:2556
msgid "Dynamic Background color"
msgstr "Динамический Фоновый цвет"
#: 5.4/res/preferences.glade:2593
msgid "Use dynamic Background color to create a gradient"
msgstr "Используйте динамический цвет фона для создания градиента"
#: 5.4/res/preferences.glade:2639
msgid "Behaviour"
msgstr "Поведение"
#: 5.4/res/preferences.glade:2658
msgid "About the project"
msgstr "О проекте"
#: 5.4/res/preferences.glade:2687
msgid ""
"Based on a location or by user choice, this extensions calculates the "
"periods of a day and switches the background image of your Cinnamon desktop. "
"The extension offers as image sources a set of preconfigured wallpapers, a "
"heic image import by the user or a custom folder with single images."
msgstr ""
"В зависимости от местоположения или по выбору пользователя это расширение "
"рассчитывает периоды дня и переключает фоновое изображение рабочего стола "
"Cinnamon. Расширение предлагает в качестве источников изображений набор "
"предварительно настроенных обоев, импорт изображений Heic пользователем или "
"пользовательский каталог с отдельными изображениями."
#: 5.4/res/preferences.glade:2706
msgid "Developed by TobiZog"
msgstr "Разработано TobiZog"
#: 5.4/res/preferences.glade:2723
msgid ""
"If you need more information or want to rate the extension, you can visit "
"the Cinnamon Spices Website."
msgstr ""
"Если вам нужна дополнительная информация или вы хотите оценить расширение, "
"посетите веб-сайт Cinnamon Spices."
#: 5.4/res/preferences.glade:2734
msgid "Cinnamon Dynamic Wallpaper at Cinnamon Spices Website"
msgstr "Cinnamon Dynamic Wallpaper в Cinnamon Spices Веб-сайт"
#: 5.4/res/preferences.glade:2759
msgid "Source Code"
msgstr "Исходный код"
#: 5.4/res/preferences.glade:2788
msgid ""
"This project is Open Source. You can take a look inside the whole source "
"code of this extension on GitHub."
msgstr ""
"Этот проект с открытым исходным кодом. Вы можете просмотреть весь исходный "
"код этого расширения на GitHub."
#: 5.4/res/preferences.glade:2799
msgid "Source Code on GitHub"
msgstr "Исходный код на GitHub"
#: 5.4/res/preferences.glade:2824
msgid "Issues and Enhancements"
msgstr "Проблемы и улучшения"
#: 5.4/res/preferences.glade:2853
msgid ""
"Do you find an issue? Or want a new feature? Go to the GitHub repository and "
"create a new issue."
msgstr ""
"Вы обнаружили проблему или хотите новую функцию? Перейдите в репозиторий "
"GitHub и создайте новую задачу (issue). Если вы обнаружите сообщение об "
"ошибке в журналах выше, добавьте его в отчет о проблеме."
#: 5.4/res/preferences.glade:2864
msgid "Create a new issue on GitHub"
msgstr "Создайте новую задачу (issue) на GitHub"
#: 5.4/res/preferences.glade:2889
msgid "About"
msgstr "О проекте"
#: 5.4/res/preferences.glade:2917
msgid "Apply and close this window"
msgstr "Применить и закрыть это окно"
#: 5.4/res/preferences.glade:2929
msgid "Apply the settings without closing this window"
msgstr "Применить настройки, не закрывая это окно"