diff --git a/data/com.github.GradienceTeam.Gradience.appdata.xml.in.in b/data/com.github.GradienceTeam.Gradience.appdata.xml.in.in index ee39c85a..87b0584a 100644 --- a/data/com.github.GradienceTeam.Gradience.appdata.xml.in.in +++ b/data/com.github.GradienceTeam.Gradience.appdata.xml.in.in @@ -38,11 +38,11 @@ -

Gradience 0.3.0 is a major update with many new features and improvements. here is some of them:

+

Gradience 0.3.0 is a major update with many new features and improvements. Here are some of them:

    -
  • Added plugins support, this allows creating plugins for customizing other apps
  • -
  • Added support for custom repos, this allows creating own selection of presets
  • -
  • Preset Manager performance are significantly enhanced, presets are downloading much faster and app don't freeze on preset removal
  • +
  • Added plugins support, this allows the creation of plugins to customize other apps
  • +
  • Added support for custom preset repos, this allows users to host a collection of presets on their own infrastructure
  • +
  • Preset Manager performance are significantly enhanced, it downloads presets faster and the app doesn't freeze on preset removal
  • Added search to Preset Manager
  • Preset Manager is attached to the main window
  • Added Quick Preset Switcher back, with it you can switch presets with less clicks
  • diff --git a/gradience/main.py b/gradience/main.py index 5d325808..b1b31658 100644 --- a/gradience/main.py +++ b/gradience/main.py @@ -190,6 +190,9 @@ class GradienceApplication(Adw.Application): buglog("file") # keep compatiblity with old presets if repo.name.endswith(".json"): + if not os.path.isdir(os.path.join(PRESET_DIR, "user")): + os.mkdir(os.path.join(PRESET_DIR, "user")) + os.rename(repo, os.path.join( PRESET_DIR, "user", repo.name)) diff --git a/gradience/presets_manager_window.py b/gradience/presets_manager_window.py index 99b7d39e..9816232c 100644 --- a/gradience/presets_manager_window.py +++ b/gradience/presets_manager_window.py @@ -62,12 +62,8 @@ class GradiencePresetWindow(Adw.Window): custom_presets = {} official_repositories = { - _( - "Official" - ): "https://github.com/GradienceTeam/Community/raw/next/official.json", - _( - "Curated" - ): "https://github.com/GradienceTeam/Community/raw/next/curated.json", + "Official": "https://github.com/GradienceTeam/Community/raw/next/official.json", + "Curated": "https://github.com/GradienceTeam/Community/raw/next/curated.json", } search_results_list = [] @@ -343,6 +339,9 @@ class GradiencePresetWindow(Adw.Window): buglog("file") # keep compatiblity with old presets if repo.name.endswith(".json"): + if not os.path.isdir(os.path.join(preset_directory, "user")): + os.mkdir(os.path.join(preset_directory, "user")) + os.rename(repo, os.path.join( preset_directory, "user", repo.name)) diff --git a/gradience/window.py b/gradience/window.py index 252739be..fbffaa24 100644 --- a/gradience/window.py +++ b/gradience/window.py @@ -132,8 +132,8 @@ class GradienceMainWindow(Adw.ApplicationWindow): self.monet_pref_group.set_title(_("Monet Engine")) self.monet_pref_group.set_description( _( - "Monet is an engine that generates a Material Design 3 \ - palette from an image's color." + "Monet is an engine that generates a Material Design 3 " + "palette from an image's color." ) ) @@ -269,10 +269,10 @@ class GradienceMainWindow(Adw.ApplicationWindow): palette_pref_group.set_title(_("Palette Colors")) palette_pref_group.set_description( _( - 'Named palette colors used by some applications. Default \ - colors follow the \ - \ - GNOME Human Interface Guidelines.' + "Named palette colors used by some applications. Default " + "colors follow the " + '' + "GNOME Human Interface Guidelines." ) ) for color in settings_schema["palette"]: diff --git a/po/ru.po b/po/ru.po index 4d064e09..137aba22 100644 --- a/po/ru.po +++ b/po/ru.po @@ -14,8 +14,8 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-09-23 17:01+0000\n" -"PO-Revision-Date: 2022-09-23 20:06+0300\n" -"Last-Translator: David Lapshin \n" +"PO-Revision-Date: 2022-09-23 19:19+0000\n" +"Last-Translator: Daudix UFO \n" "Language-Team: Russian \n" "Language: ru\n" @@ -25,7 +25,7 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" "%100>=11 && n%100<=14)? 2 : 3);\n" -"X-Generator: Poedit 3.1.1\n" +"X-Generator: Weblate 4.14.1\n" #: data/com.github.GradienceTeam.Gradience.desktop.in.in:3 #: data/com.github.GradienceTeam.Gradience.appdata.xml.in.in:5 @@ -409,7 +409,7 @@ msgstr "Кастомизация устаревших приложений" #: data/ui/welcome.blp:114 msgid "Install adw-gtk3 theme for legacy apps theming" -msgstr "Установить тему adw-gtk3 для кастомизации устаревших приложений." +msgstr "Установить тему adw-gtk3 для кастомизации устаревших приложений" #: data/ui/welcome.blp:119 msgid "System configuration" @@ -682,7 +682,7 @@ msgstr "" "
  • Ветка `Main` теперь защищена при помощи GitHub branch " "protection. Разработка будет идти в ветке `next`
  • \n" "
\n" -" " +" " #: gradience/main.py:990 msgid ""