From e29ae4bb5806764d98cb68a28320187742d2e99f Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 27 Mar 2022 00:07:08 +1000 Subject: [PATCH 01/10] support alpha and beta gnome versions --- convenience.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convenience.js b/convenience.js index 8388672..3d17f01 100644 --- a/convenience.js +++ b/convenience.js @@ -63,7 +63,7 @@ function versionSmaller(a, b) { } function currentVersion() { - return Config.PACKAGE_VERSION; + return ''+Config.PACKAGE_VERSION.replace(/(alpha|beta)/,'0'); } function currentVersionEqual(v) { From defe825215ae9f234bfea84573a4105dd605c8d6 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 27 Mar 2022 00:08:28 +1000 Subject: [PATCH 02/10] fix changing wallpaper dir --- prefs.js | 35 +++++++++++++++++++---------------- utils.js | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 16 deletions(-) diff --git a/prefs.js b/prefs.js index e73547e..51fb3bc 100644 --- a/prefs.js +++ b/prefs.js @@ -20,6 +20,7 @@ const _ = Gettext.gettext; const Images = Me.imports.images; let settings; +let desktop_settings; let httpSession = null; const intervals = [ 300, 600, 1800, 3600, 4800, 86400 ]; @@ -34,6 +35,7 @@ function init() { function buildPrefsWidget(){ // Prepare labels and controls settings = ExtensionUtils.getSettings(Utils.schema); + desktop_settings = ExtensionUtils.getSettings(Utils.DESKTOP_SCHEMA); let buildable = new Gtk.Builder(); if (Gtk.get_major_version() == 4) { // GTK4 removes some properties, and builder breaks when it sees them buildable.add_from_file( Me.dir.get_path() + '/ui/Settings4.ui' ); @@ -49,8 +51,7 @@ function buildPrefsWidget(){ let hideSwitch = buildable.get_object('hide'); let iconEntry = buildable.get_object('icon'); let bgSwitch = buildable.get_object('background'); - let lsSwitch = buildable.get_object('lock_screen'); - let ldSwitch = buildable.get_object('lock_dialog'); + let styleEntry = buildable.get_object('background_style'); let fileChooser = buildable.get_object('download_folder'); let fileChooserBtn = buildable.get_object('download_folder_btn'); let deleteSwitch = buildable.get_object('delete_previous'); @@ -59,6 +60,7 @@ function buildPrefsWidget(){ let folderButton = buildable.get_object('button_open_download_folder'); let icon_image = buildable.get_object('icon_image'); let change_log = buildable.get_object('change_log'); + let notifySwitch = buildable.get_object('notify'); // enable change log access httpSession = new Soup.SessionAsync(); @@ -66,11 +68,8 @@ function buildPrefsWidget(){ // Indicator settings.bind('hide', hideSwitch, 'active', Gio.SettingsBindFlags.DEFAULT); - + settings.bind('notify', notifySwitch, 'active', Gio.SettingsBindFlags.DEFAULT); settings.bind('set-background', bgSwitch, 'active', Gio.SettingsBindFlags.DEFAULT); - settings.bind('set-lock-screen', lsSwitch, 'active', Gio.SettingsBindFlags.DEFAULT); - settings.bind('set-lock-screen-dialog', ldSwitch, 'active', Gio.SettingsBindFlags.DEFAULT); - //settings.bind('brightness', brightnessValue, 'value', Gio.SettingsBindFlags.DEFAULT); // adjustable indicator icons Utils.icon_list.forEach(function (iconname, index) { // add icons to dropdown list (aka a GtkComboText) @@ -87,16 +86,21 @@ function buildPrefsWidget(){ fileChooserBtn.connect('clicked', function(widget) { let parent = widget.get_root(); fileChooser.set_transient_for(parent); - /* fileChooser.set_filename(Gio.File.new_for_path(settings.get_string('download-folder')));*/ //FIXME: unsure why this doesn't work + fileChooser.set_current_folder(Gio.File.new_for_path(settings.get_string('download-folder')).get_parent()); + fileChooser.set_action(Gtk.FileChooserAction.SELECT_FOLDER); + fileChooser.set_transient_for(parent); + fileChooser.set_accept_label(_('Select folder')); fileChooser.show(); }); fileChooser.connect('response', function(widget, response) { if (response !== Gtk.ResponseType.ACCEPT) { return; } - let fileURI = widget.get_file(); + let fileURI = widget.get_file().get_uri().replace('file://', ''); log("fileChooser returned: "+fileURI); fileChooserBtn.set_label(fileURI); + let oldPath = settings.set_string('download-folder'); + Utils.moveImagesToNewFolder(settings, oldPath, fileURI); settings.set_string('download-folder', fileURI); }); folderButton.connect('clicked', function() { @@ -150,19 +154,18 @@ function buildPrefsWidget(){ }); if (Convenience.currentVersionGreaterEqual("40.0")) { - // GNOME 40 specific code - lsSwitch.set_sensitive(false); - ldSwitch.set_sensitive(false); + // GNOME 40+ specific code } else if (Convenience.currentVersionGreaterEqual("3.36")) { // GNOME 3.36 - 3.38 specific code - lsSwitch.set_sensitive(false); - ldSwitch.set_sensitive(false); - } - else { - // legacy GNOME versions less than 3.36 } + // background styles (e.g. zoom or span) + Utils.backgroundStyle.forEach((style) => { + styleEntry.append(style, style); + }); + desktop_settings.bind('picture-options', styleEntry, 'active_id', Gio.SettingsBindFlags.DEFAULT); + // not required in GTK4 as widgets are displayed by default if (Gtk.get_major_version() < 4) box.show_all(); diff --git a/utils.js b/utils.js index 5634ebc..294b339 100644 --- a/utils.js +++ b/utils.js @@ -16,9 +16,11 @@ const _ = Gettext.gettext; var icon_list = ['pin', 'globe','official']; var icon_list_filename = ['pin-symbolic', 'globe-symbolic', 'official']; +var backgroundStyle = ['none', 'wallpaper', 'centered', 'scaled', 'stretched', 'zoom', 'spanned']; var gitreleaseurl = 'https://api.github.com/repos/neffo/earth-view-wallpaper-gnome-extension/releases/tags/'; var schema = 'org.gnome.shell.extensions.googleearthwallpaper'; +var DESKTOP_SCHEMA = 'org.gnome.desktop.background'; function friendly_time_diff(time, short = true) { // short we want to keep ~4-5 characters @@ -98,3 +100,53 @@ function dump(object, level = 0) { log(output); return(output); } + +function moveImagesToNewFolder(settings, oldPath, newPath) { + let dir = Gio.file_new_for_path(oldPath); + let dirIter = dir.enumerate_children('', Gio.FileQueryInfoFlags.NONE, null ); + let newDir = Gio.file_new_for_path(newPath); + if (!newDir.query_exists(null)) { + newDir.make_directory_with_parents(null); + } + let file = null; + while (file = dirIter.next_file(null)) { + let filename = file.get_name(); // we only want to move files that we think we own + if (filename.match(/.+\.jpg/i)) { + log('file: ' + slash(oldPath) + filename + ' -> ' + slash(newPath) + filename); + let cur = Gio.file_new_for_path(slash(oldPath) + filename); + let dest = Gio.file_new_for_path(slash(newPath) + filename); + cur.move(dest, Gio.FileCopyFlags.OVERWRITE, null, function () { log ('...moved'); }); + } + } + // correct filenames for GNOME backgrounds + if (settings.get_boolean('set-background')) + moveBackground(oldPath, newPath, DESKTOP_SCHEMA); +} + +function dirname(path) { + return path.match(/.*\//); +} + +function slash(path) { + if (!path.endsWith('/')) + return path += '/'; + return path; +} + +function moveBackground(oldPath, newPath, schema) { + let gsettings = new Gio.Settings({schema: schema}); + let uri; + let dark_uri; + uri = gsettings.get_string('picture-uri'); + gsettings.set_string('picture-uri', uri.replace(oldPath, newPath)); + try { + dark_uri = gsettings.get_string('picture-uri-dark'); + gsettings.set_string('picture-uri-dark', dark_uri.replace(oldPath, newPath)); + } + catch (e) { + log('no dark background gsettings key found ('+e+')'); + } + + Gio.Settings.sync(); + gsettings.apply(); +} From 36022eb16abdba7c4b3b91d8a1b0c97c781331f2 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 27 Mar 2022 00:13:00 +1000 Subject: [PATCH 03/10] add new and remove unused gsettings keys --- locale/GoogleEarthWallpaper.pot | 104 +++++++++++++++++--------------- schemas/gschemas.compiled | Bin 1332 -> 1332 bytes 2 files changed, 54 insertions(+), 50 deletions(-) diff --git a/locale/GoogleEarthWallpaper.pot b/locale/GoogleEarthWallpaper.pot index 916c43e..b1f468a 100644 --- a/locale/GoogleEarthWallpaper.pot +++ b/locale/GoogleEarthWallpaper.pot @@ -23,190 +23,194 @@ msgid "Change effective from next refresh" msgstr "" #: ui/Settings.ui.h:7 ui/Settings4.ui.h:7 -msgid "Map Provider for external links" +msgid "Enable desktop notifications" msgstr "" #: ui/Settings.ui.h:8 ui/Settings4.ui.h:8 -msgid "Provider used to view wallpaper location and context" +msgid "Map Provider for external links" msgstr "" -#: ui/Settings.ui.h:9 ui/Settings4.ui.h:9 extension.js:105 -msgid "Set background image" +#: ui/Settings.ui.h:9 ui/Settings4.ui.h:9 +msgid "Provider used to view wallpaper location and context" msgstr "" -#: ui/Settings.ui.h:10 ui/Settings4.ui.h:10 -msgid "Set lock screen image" +#: ui/Settings.ui.h:10 ui/Settings4.ui.h:10 extension.js:113 +msgid "Set background image" msgstr "" #: ui/Settings.ui.h:11 ui/Settings4.ui.h:11 -msgid "Set lock screen password prompt image" +msgid "Background style option" msgstr "" #: ui/Settings.ui.h:12 ui/Settings4.ui.h:12 msgid "Download folder:" msgstr "" -#: ui/Settings.ui.h:13 ui/Settings4.ui.h:14 +#: ui/Settings.ui.h:13 ui/Settings4.ui.h:13 msgid "Wallpaper pictures folder" msgstr "" -#: ui/Settings.ui.h:14 ui/Settings4.ui.h:15 +#: ui/Settings.ui.h:14 ui/Settings4.ui.h:14 msgid "Open download folder" msgstr "" -#: ui/Settings.ui.h:15 ui/Settings4.ui.h:16 +#: ui/Settings.ui.h:15 ui/Settings4.ui.h:15 msgid "Delete previously downloaded wallpapers:" msgstr "" -#: ui/Settings.ui.h:16 ui/Settings4.ui.h:17 +#: ui/Settings.ui.h:16 ui/Settings4.ui.h:16 msgid "Background" msgstr "" -#: ui/Settings.ui.h:17 ui/Settings4.ui.h:18 +#: ui/Settings.ui.h:17 ui/Settings4.ui.h:17 msgid "Changes since last version" msgstr "" -#: ui/Settings.ui.h:18 ui/Settings4.ui.h:19 +#: ui/Settings.ui.h:18 ui/Settings4.ui.h:18 msgid "Change log" msgstr "" -#: ui/Settings.ui.h:19 ui/Settings4.ui.h:20 +#: ui/Settings.ui.h:19 ui/Settings4.ui.h:19 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General " "Public License, version 3 or later for details." msgstr "" -#: ui/Settings.ui.h:21 ui/Settings4.ui.h:22 +#: ui/Settings.ui.h:21 ui/Settings4.ui.h:21 msgid "https://github.com/neffo/earth-view-wallpaper-gnome-extension" msgstr "" -#: ui/Settings.ui.h:22 ui/Settings4.ui.h:23 +#: ui/Settings.ui.h:22 ui/Settings4.ui.h:22 msgid "Based on NASA APOD Wallpaper extension by Elia Argentieri" msgstr "" -#: ui/Settings.ui.h:23 ui/Settings4.ui.h:24 +#: ui/Settings.ui.h:23 ui/Settings4.ui.h:23 msgid "" "This GNOME shell extension sets your wallpaper to a random Google Earth " "photo from a selection of curated locations." msgstr "" -#: ui/Settings.ui.h:24 ui/Settings4.ui.h:25 extension.js:158 extension.js:303 +#: ui/Settings.ui.h:24 ui/Settings4.ui.h:24 extension.js:170 extension.js:343 msgid "Google Earth Wallpaper" msgstr "" -#: ui/Settings.ui.h:25 ui/Settings4.ui.h:26 +#: ui/Settings.ui.h:25 ui/Settings4.ui.h:25 msgid "Maintained by Michael Carroll" msgstr "" -#: ui/Settings.ui.h:26 ui/Settings4.ui.h:27 +#: ui/Settings.ui.h:26 ui/Settings4.ui.h:26 msgid "About" msgstr "" -#: ui/Settings4.ui.h:13 -msgid "Bing Wallpaper pictures folder" -msgstr "" - -#: extension.js:94 +#: extension.js:100 msgid "" msgstr "" -#: extension.js:95 +#: extension.js:101 msgid "Text Location" msgstr "" -#: extension.js:96 +#: extension.js:102 msgid "Geo Location" msgstr "" -#: extension.js:97 +#: extension.js:103 msgid "External Link" msgstr "" -#: extension.js:98 +#: extension.js:104 msgid "Copyright" msgstr "" -#: extension.js:99 +#: extension.js:105 msgid "Set background image now" msgstr "" -#: extension.js:100 +#: extension.js:106 msgid "Set lockscreen image now" msgstr "" -#: extension.js:101 +#: extension.js:107 msgid "Refresh Now" msgstr "" -#: extension.js:102 +#: extension.js:108 msgid "Extension settings" msgstr "" -#: extension.js:106 +#: extension.js:114 msgid "Set lockscreen image" msgstr "" -#: extension.js:130 +#: extension.js:141 msgid "On refresh:" msgstr "" -#: extension.js:187 +#: extension.js:199 msgid "Next refresh" msgstr "" -#: extension.js:214 +#: extension.js:219 +msgid "New wallpaper" +msgstr "" + +#: extension.js:254 msgid "View in " msgstr "" -#: extension.js:269 +#: extension.js:309 msgid "Fetching..." msgstr "" -#: extension.js:357 +#: extension.js:397 msgid "No wallpaper available" msgstr "" -#: extension.js:358 +#: extension.js:398 msgid "Something went wrong..." msgstr "" -#: prefs.js:26 +#: prefs.js:27 msgid "5 m" msgstr "" -#: prefs.js:26 +#: prefs.js:27 msgid "10 m" msgstr "" -#: prefs.js:26 +#: prefs.js:27 msgid "30 m" msgstr "" -#: prefs.js:26 +#: prefs.js:27 msgid "60 m" msgstr "" -#: prefs.js:26 +#: prefs.js:27 msgid "90 m" msgstr "" -#: prefs.js:26 +#: prefs.js:27 msgid "daily" msgstr "" -#: utils.js:33 utils.js:36 +#: prefs.js:92 +msgid "Select folder" +msgstr "" + +#: utils.js:35 utils.js:38 msgid "minutes" msgstr "" -#: utils.js:39 +#: utils.js:41 msgid "days" msgstr "" -#: utils.js:42 +#: utils.js:44 msgid "hours" msgstr "" -#: utils.js:69 +#: utils.js:71 msgid "No change log found for this release" msgstr "" diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled index 877515bbc85e8f1a2bc408a282bdf257c09a0dce..c278ba478b67a03e20785eb747cb1707a6558214 100644 GIT binary patch delta 20 XcmdnOwS{Yg1}hH(gGQ1j0|Wp7Ft`I5 delta 20 XcmdnOwS{Yg1}hIEgGQ1j0|Wp7FvJ5I From 5d906be86a9a2b9897aff1877df9938268087747 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 27 Mar 2022 00:33:46 +1000 Subject: [PATCH 04/10] fix hide icon, menus, notifications, set folder --- extension.js | 43 +++++++- locale/GoogleEarthWallpaper.pot | 42 ++++---- prefs.js | 3 +- schemas/gschemas.compiled | Bin 1332 -> 1332 bytes ...xtensions.googleearthwallpaper.gschema.xml | 4 +- ui/Settings.ui | 98 +++++++++--------- ui/Settings.ui.h | 4 +- ui/Settings4.ui | 89 ++++++++-------- ui/Settings4.ui.h | 5 +- 9 files changed, 163 insertions(+), 125 deletions(-) diff --git a/extension.js b/extension.js index 94f7a9e..ee317ef 100644 --- a/extension.js +++ b/extension.js @@ -10,7 +10,7 @@ /*eslint class-methods-use-this: "off"*/ const {St, Soup, Gio, GLib, Clutter, GObject} = imports.gi; -const {main, panelMenu, popupMenu} = imports.ui; +const {main, panelMenu, popupMenu, messageTray} = imports.ui; const Util = imports.misc.util; const ExtensionUtils = imports.misc.extensionUtils; @@ -48,6 +48,12 @@ function notifyError(msg) { function doSetBackground(uri, schema) { let gsettings = new Gio.Settings({schema: schema}); gsettings.set_string('picture-uri', 'file://' + uri); + try { + gsettings.set_string('picture-uri-dark', uri); + } + catch (e) { + log("unable to set dark background for : " + e); + } gsettings.set_string('picture-options', 'zoom'); Gio.Settings.sync(); gsettings.apply(); @@ -79,12 +85,13 @@ class GEWallpaperIndicator extends panelMenu.Button { this.httpSession = new Soup.SessionAsync(); Soup.Session.prototype.add_feature.call(this.httpSession, new Soup.ProxyResolverDefault()); - this._settings.connect('changed::hide', function() { + this._settings.connect('changed::hide', () => { getActorCompat(this).visible = !this._settings.get_boolean('hide'); }); getActorCompat(this).visible = !this._settings.get_boolean('hide'); this._settings.connect('changed::map-link-provider', this._updateProviderLink.bind(this)); + this._settings.connect('changed::notify', this._notifyCurrentImage.bind(this)); getActorCompat(this).add_child(this.icon); this._setIcon(); @@ -100,6 +107,8 @@ class GEWallpaperIndicator extends panelMenu.Button { this.swallpaperItem = new popupMenu.PopupMenuItem(_("Set lockscreen image now")); this.refreshItem = new popupMenu.PopupMenuItem(_("Refresh Now")); this.settingsItem = new popupMenu.PopupMenuItem(_("Extension settings")); + this._wrapLabelItem(this.descriptionItem); + this._wrapLabelItem(this.copyrightItem); // menu toggles for settings this.wallpaperToggle = this._newMenuSwitch(_("Set background image"), "set-background", this._settings.get_boolean('set-background'), true); @@ -107,7 +116,9 @@ class GEWallpaperIndicator extends panelMenu.Button { this.menu.addMenuItem(this.descriptionItem); this.menu.addMenuItem(this.locationItem); + this.menu.addMenuItem(this.copyrightItem); this.menu.addMenuItem(this.extLinkItem); + this.menu.addMenuItem(new popupMenu.PopupSeparatorMenuItem()); this.menu.addMenuItem(this.refreshDueItem); this.menu.addMenuItem(this.refreshItem); this.menu.addMenuItem(new popupMenu.PopupSeparatorMenuItem()); @@ -116,6 +127,7 @@ class GEWallpaperIndicator extends panelMenu.Button { // disable until fresh is done this.refreshDueItem.setSensitive(false); this.descriptionItem.setSensitive(false); + this.copyrightItem.setSensitive(false); this.locationItem.setSensitive(false); this.extLinkItem.connect('activate', this._open_link.bind(this)); @@ -132,6 +144,7 @@ class GEWallpaperIndicator extends panelMenu.Button { if (!Convenience.currentVersionGreaterEqual("3.36")) { // lockscreen and desktop wallpaper are the same in GNOME 3.36+ this.menu.addMenuItem(this.lockscreenToggle); } + this.menu.addMenuItem(new popupMenu.PopupSeparatorMenuItem()); this.menu.addMenuItem(this.settingsItem); getActorCompat(this).connect('button-press-event', this._updateMenu.bind(this)); @@ -189,6 +202,32 @@ class GEWallpaperIndicator extends panelMenu.Button { this.descriptionItem.label.set_text(this.explanation); this.copyrightItem.label.set_text(this.copyright); this.extLinkItem.label.set_text(this.provider_text); + this._notifyCurrentImage(); + } + + _notifyCurrentImage() { + if (this._settings.get_boolean('notify') && this.filename != "") { + this._createNotification(); + } + } + + _createNotification() { + // set notifications icon + let source = new messageTray.Source('Google Earth Wallpaper', 'preferences-desktop-wallpaper-symbolic'); + main.messageTray.add(source); + let msg = 'Google Earth Wallpaper'; + let details = this.explanation+'\n'+Utils.friendly_coordinates(this.lat, this.lon)+'\n'+this.copyright; + let notification = new messageTray.Notification(source, msg, details); + notification.setTransient(this._settings.get_boolean('transient')); + source.showNotification(notification); + } + + _wrapLabelItem(menuItem) { + let clutter_text = menuItem.label.get_clutter_text(); + clutter_text.set_line_wrap(true); + clutter_text.set_ellipsize(0); + clutter_text.set_max_length(0); + menuItem.label.set_style('max-width: 420px;'); } _getProviderLink(provider = this._settings.get_enum('map-link-provider')) { diff --git a/locale/GoogleEarthWallpaper.pot b/locale/GoogleEarthWallpaper.pot index b1f468a..20a9e96 100644 --- a/locale/GoogleEarthWallpaper.pot +++ b/locale/GoogleEarthWallpaper.pot @@ -34,7 +34,7 @@ msgstr "" msgid "Provider used to view wallpaper location and context" msgstr "" -#: ui/Settings.ui.h:10 ui/Settings4.ui.h:10 extension.js:113 +#: ui/Settings.ui.h:10 ui/Settings4.ui.h:10 extension.js:114 msgid "Set background image" msgstr "" @@ -91,7 +91,7 @@ msgid "" "photo from a selection of curated locations." msgstr "" -#: ui/Settings.ui.h:24 ui/Settings4.ui.h:24 extension.js:170 extension.js:343 +#: ui/Settings.ui.h:24 ui/Settings4.ui.h:24 extension.js:171 extension.js:342 msgid "Google Earth Wallpaper" msgstr "" @@ -103,71 +103,67 @@ msgstr "" msgid "About" msgstr "" -#: extension.js:100 +#: extension.js:101 msgid "" msgstr "" -#: extension.js:101 +#: extension.js:102 msgid "Text Location" msgstr "" -#: extension.js:102 +#: extension.js:103 msgid "Geo Location" msgstr "" -#: extension.js:103 +#: extension.js:104 msgid "External Link" msgstr "" -#: extension.js:104 +#: extension.js:105 msgid "Copyright" msgstr "" -#: extension.js:105 +#: extension.js:106 msgid "Set background image now" msgstr "" -#: extension.js:106 +#: extension.js:107 msgid "Set lockscreen image now" msgstr "" -#: extension.js:107 +#: extension.js:108 msgid "Refresh Now" msgstr "" -#: extension.js:108 +#: extension.js:109 msgid "Extension settings" msgstr "" -#: extension.js:114 +#: extension.js:115 msgid "Set lockscreen image" msgstr "" -#: extension.js:141 +#: extension.js:142 msgid "On refresh:" msgstr "" -#: extension.js:199 +#: extension.js:200 msgid "Next refresh" msgstr "" -#: extension.js:219 -msgid "New wallpaper" -msgstr "" - -#: extension.js:254 +#: extension.js:253 msgid "View in " msgstr "" -#: extension.js:309 +#: extension.js:308 msgid "Fetching..." msgstr "" -#: extension.js:397 +#: extension.js:396 msgid "No wallpaper available" msgstr "" -#: extension.js:398 +#: extension.js:397 msgid "Something went wrong..." msgstr "" @@ -195,7 +191,7 @@ msgstr "" msgid "daily" msgstr "" -#: prefs.js:92 +#: prefs.js:93 msgid "Select folder" msgstr "" diff --git a/prefs.js b/prefs.js index 51fb3bc..c770fe3 100644 --- a/prefs.js +++ b/prefs.js @@ -82,6 +82,7 @@ function buildPrefsWidget(){ iconEntry.set_active_id(settings.get_string('icon')); Utils.validate_icon(settings, icon_image); //download folder + fileChooserBtn.set_label(settings.get_string('download-folder')); if (Gtk.get_major_version() == 4) { fileChooserBtn.connect('clicked', function(widget) { let parent = widget.get_root(); @@ -99,7 +100,7 @@ function buildPrefsWidget(){ let fileURI = widget.get_file().get_uri().replace('file://', ''); log("fileChooser returned: "+fileURI); fileChooserBtn.set_label(fileURI); - let oldPath = settings.set_string('download-folder'); + let oldPath = settings.get_string('download-folder'); Utils.moveImagesToNewFolder(settings, oldPath, fileURI); settings.set_string('download-folder', fileURI); }); diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled index c278ba478b67a03e20785eb747cb1707a6558214..5891f59197d6bf5d426c845ff2f5a7e9ad3e9b76 100644 GIT binary patch delta 14 VcmdnOwS{ZL2WCcw%^#Va838JY1q=WH delta 14 VcmdnOwS{ZL2WCdb%^#Va838Je1q}cI diff --git a/schemas/org.gnome.shell.extensions.googleearthwallpaper.gschema.xml b/schemas/org.gnome.shell.extensions.googleearthwallpaper.gschema.xml index d593936..91de069 100644 --- a/schemas/org.gnome.shell.extensions.googleearthwallpaper.gschema.xml +++ b/schemas/org.gnome.shell.extensions.googleearthwallpaper.gschema.xml @@ -24,7 +24,7 @@ - true + false Send a notifications Send a notification with explanation when the picture of the day is downloaded @@ -60,7 +60,7 @@ - true + false Log messages to systemd journal Unlikely to be useful for ordinary users, but helpful for debugging diff --git a/ui/Settings.ui b/ui/Settings.ui index 3deae54..79f3e39 100644 --- a/ui/Settings.ui +++ b/ui/Settings.ui @@ -263,6 +263,47 @@ Author: Michael Carroll + + + True + False + + + True + False + 12 + 12 + 12 + 12 + 32 + + + True + False + Enable desktop notifications + True + + + 0 + 0 + + + + + True + True + end + True + + + 1 + 0 + + + + + + @@ -432,11 +473,11 @@ Author: Michael Carroll - + True True - + True False 12 @@ -445,51 +486,13 @@ Author: Michael Carroll 12 32 - + True False - Set lock screen image - - - 0 - 0 - - - - - True - True - end - center + start True - - - 1 - 0 - - - - - - - - - True - True - - - True - False - 12 - 12 - 12 - 12 - 32 - - - True - False - Set lock screen password prompt image + Background style option + True 0 @@ -497,12 +500,9 @@ Author: Michael Carroll - + True - True - end - center - True + False 1 diff --git a/ui/Settings.ui.h b/ui/Settings.ui.h index 2f465ae..e713037 100644 --- a/ui/Settings.ui.h +++ b/ui/Settings.ui.h @@ -4,11 +4,11 @@ char *s = N_("Indicator"); char *s = N_("Indicator icon"); char *s = N_("Refresh interval"); char *s = N_("Change effective from next refresh"); +char *s = N_("Enable desktop notifications"); char *s = N_("Map Provider for external links"); char *s = N_("Provider used to view wallpaper location and context"); char *s = N_("Set background image"); -char *s = N_("Set lock screen image"); -char *s = N_("Set lock screen password prompt image"); +char *s = N_("Background style option"); char *s = N_("Download folder:"); char *s = N_("Wallpaper pictures folder"); char *s = N_("Open download folder"); diff --git a/ui/Settings4.ui b/ui/Settings4.ui index 0628d62..f5e828b 100644 --- a/ui/Settings4.ui +++ b/ui/Settings4.ui @@ -214,6 +214,42 @@ + + + 0 + + + 0 + 12 + 12 + 12 + 12 + 32 + + + 0 + Enable desktop notifications + 1 + + 0 + 0 + + + + + + end + 1 + + 1 + 0 + + + + + + + @@ -355,9 +391,10 @@ - + + 0 - + 0 12 12 @@ -365,44 +402,12 @@ 12 32 - + 0 - Set lock screen image - - 0 - 0 - - - - - - end - center + start 1 - - 1 - 0 - - - - - - - - - - - - 0 - 12 - 12 - 12 - 12 - 32 - - - 0 - Set lock screen password prompt image + Background style option + 1 0 0 @@ -410,13 +415,11 @@ - - end - center - 1 + 1 0 + 1 @@ -446,7 +449,7 @@ False end True - Bing Wallpaper pictures folder + Wallpaper pictures folder 1 0 diff --git a/ui/Settings4.ui.h b/ui/Settings4.ui.h index fe12c77..e713037 100644 --- a/ui/Settings4.ui.h +++ b/ui/Settings4.ui.h @@ -4,13 +4,12 @@ char *s = N_("Indicator"); char *s = N_("Indicator icon"); char *s = N_("Refresh interval"); char *s = N_("Change effective from next refresh"); +char *s = N_("Enable desktop notifications"); char *s = N_("Map Provider for external links"); char *s = N_("Provider used to view wallpaper location and context"); char *s = N_("Set background image"); -char *s = N_("Set lock screen image"); -char *s = N_("Set lock screen password prompt image"); +char *s = N_("Background style option"); char *s = N_("Download folder:"); -char *s = N_("Bing Wallpaper pictures folder"); char *s = N_("Wallpaper pictures folder"); char *s = N_("Open download folder"); char *s = N_("Delete previously downloaded wallpapers:"); From ebad0d3acbb686073d24922cd1ec2dd469be8cf5 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 27 Mar 2022 01:34:01 +1000 Subject: [PATCH 05/10] unbreak gnome 36/38, don't force wallpaper style --- extension.js | 2 +- prefs.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extension.js b/extension.js index ee317ef..dcec65a 100644 --- a/extension.js +++ b/extension.js @@ -54,7 +54,7 @@ function doSetBackground(uri, schema) { catch (e) { log("unable to set dark background for : " + e); } - gsettings.set_string('picture-options', 'zoom'); + //gsettings.set_string('picture-options', 'zoom'); Gio.Settings.sync(); gsettings.apply(); } diff --git a/prefs.js b/prefs.js index c770fe3..2f11bc6 100644 --- a/prefs.js +++ b/prefs.js @@ -82,8 +82,9 @@ function buildPrefsWidget(){ iconEntry.set_active_id(settings.get_string('icon')); Utils.validate_icon(settings, icon_image); //download folder - fileChooserBtn.set_label(settings.get_string('download-folder')); + if (Gtk.get_major_version() == 4) { + fileChooserBtn.set_label(settings.get_string('download-folder')); fileChooserBtn.connect('clicked', function(widget) { let parent = widget.get_root(); fileChooser.set_transient_for(parent); From 24120f361713e006d52c6831c0ad6cfe6d8175ff Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 27 Mar 2022 14:26:20 +1000 Subject: [PATCH 06/10] better default prefs window size on gnome 40+ --- prefs.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/prefs.js b/prefs.js index 2f11bc6..c337d2d 100644 --- a/prefs.js +++ b/prefs.js @@ -28,6 +28,9 @@ const interval_names = [ _("5 m"), _("10 m"), _("30 m"), _("60 m"), _("90 m"), _ const providerNames = ['Google Earth', 'Google Maps', 'Bing Maps', 'OpenStreetMap' , 'GNOME Maps']; +var PREFS_DEFAULT_WIDTH = 800; +var PREFS_DEFAULT_HEIGHT = 500; + function init() { ExtensionUtils.initTranslations("GoogleEarthWallpaper"); } @@ -45,6 +48,14 @@ function buildPrefsWidget(){ } let box = buildable.get_object('prefs_widget'); + if (Convenience.currentVersionGreaterEqual('40')) { + box.connect('realize', () => { + let window = box.get_root(); + window.default_width = PREFS_DEFAULT_WIDTH; + window.default_height = PREFS_DEFAULT_HEIGHT; + }); + } + buildable.get_object('extension_version').set_text(' v'+Me.metadata.version.toString()); buildable.get_object('extension_name').set_text(Me.metadata.name.toString()); From 8d00e20aaad5a0557bba82ecfab8183d8fbdf59f Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 27 Mar 2022 14:26:53 +1000 Subject: [PATCH 07/10] clean up preferences in gtk4 --- locale/GoogleEarthWallpaper.pot | 58 ++++++++------- ui/Settings.ui | 2 +- ui/Settings.ui.h | 1 - ui/Settings4.ui | 126 +++++++++++++++----------------- ui/Settings4.ui.h | 5 +- 5 files changed, 91 insertions(+), 101 deletions(-) diff --git a/locale/GoogleEarthWallpaper.pot b/locale/GoogleEarthWallpaper.pot index 20a9e96..3234ade 100644 --- a/locale/GoogleEarthWallpaper.pot +++ b/locale/GoogleEarthWallpaper.pot @@ -2,39 +2,39 @@ msgid "Hide the indicator" msgstr "" -#: ui/Settings.ui.h:2 ui/Settings4.ui.h:2 +#: ui/Settings.ui.h:2 msgid "Indicator brightness" msgstr "" -#: ui/Settings.ui.h:3 ui/Settings4.ui.h:3 +#: ui/Settings.ui.h:3 ui/Settings4.ui.h:2 msgid "Indicator" msgstr "" -#: ui/Settings.ui.h:4 ui/Settings4.ui.h:4 +#: ui/Settings.ui.h:4 ui/Settings4.ui.h:3 msgid "Indicator icon" msgstr "" -#: ui/Settings.ui.h:5 ui/Settings4.ui.h:5 +#: ui/Settings.ui.h:5 ui/Settings4.ui.h:4 msgid "Refresh interval" msgstr "" -#: ui/Settings.ui.h:6 ui/Settings4.ui.h:6 +#: ui/Settings.ui.h:6 ui/Settings4.ui.h:5 msgid "Change effective from next refresh" msgstr "" -#: ui/Settings.ui.h:7 ui/Settings4.ui.h:7 +#: ui/Settings.ui.h:7 ui/Settings4.ui.h:6 msgid "Enable desktop notifications" msgstr "" -#: ui/Settings.ui.h:8 ui/Settings4.ui.h:8 +#: ui/Settings.ui.h:8 ui/Settings4.ui.h:7 msgid "Map Provider for external links" msgstr "" -#: ui/Settings.ui.h:9 ui/Settings4.ui.h:9 +#: ui/Settings.ui.h:9 ui/Settings4.ui.h:8 msgid "Provider used to view wallpaper location and context" msgstr "" -#: ui/Settings.ui.h:10 ui/Settings4.ui.h:10 extension.js:114 +#: ui/Settings.ui.h:10 ui/Settings4.ui.h:9 extension.js:114 msgid "Set background image" msgstr "" @@ -42,67 +42,71 @@ msgstr "" msgid "Background style option" msgstr "" -#: ui/Settings.ui.h:12 ui/Settings4.ui.h:12 +#: ui/Settings.ui.h:12 ui/Settings4.ui.h:13 msgid "Download folder:" msgstr "" -#: ui/Settings.ui.h:13 ui/Settings4.ui.h:13 +#: ui/Settings.ui.h:13 ui/Settings4.ui.h:14 msgid "Wallpaper pictures folder" msgstr "" -#: ui/Settings.ui.h:14 ui/Settings4.ui.h:14 +#: ui/Settings.ui.h:14 ui/Settings4.ui.h:15 msgid "Open download folder" msgstr "" -#: ui/Settings.ui.h:15 ui/Settings4.ui.h:15 +#: ui/Settings.ui.h:15 ui/Settings4.ui.h:16 msgid "Delete previously downloaded wallpapers:" msgstr "" -#: ui/Settings.ui.h:16 ui/Settings4.ui.h:16 +#: ui/Settings.ui.h:16 ui/Settings4.ui.h:17 msgid "Background" msgstr "" -#: ui/Settings.ui.h:17 ui/Settings4.ui.h:17 -msgid "Changes since last version" -msgstr "" - -#: ui/Settings.ui.h:18 ui/Settings4.ui.h:18 +#: ui/Settings.ui.h:17 msgid "Change log" msgstr "" -#: ui/Settings.ui.h:19 ui/Settings4.ui.h:19 +#: ui/Settings.ui.h:18 ui/Settings4.ui.h:18 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General " "Public License, version 3 or later for details." msgstr "" -#: ui/Settings.ui.h:21 ui/Settings4.ui.h:21 +#: ui/Settings.ui.h:20 ui/Settings4.ui.h:20 msgid "https://github.com/neffo/earth-view-wallpaper-gnome-extension" msgstr "" -#: ui/Settings.ui.h:22 ui/Settings4.ui.h:22 +#: ui/Settings.ui.h:21 ui/Settings4.ui.h:21 msgid "Based on NASA APOD Wallpaper extension by Elia Argentieri" msgstr "" -#: ui/Settings.ui.h:23 ui/Settings4.ui.h:23 +#: ui/Settings.ui.h:22 ui/Settings4.ui.h:22 msgid "" "This GNOME shell extension sets your wallpaper to a random Google Earth " "photo from a selection of curated locations." msgstr "" -#: ui/Settings.ui.h:24 ui/Settings4.ui.h:24 extension.js:171 extension.js:342 +#: ui/Settings.ui.h:23 ui/Settings4.ui.h:23 extension.js:171 extension.js:342 msgid "Google Earth Wallpaper" msgstr "" -#: ui/Settings.ui.h:25 ui/Settings4.ui.h:25 +#: ui/Settings.ui.h:24 ui/Settings4.ui.h:24 msgid "Maintained by Michael Carroll" msgstr "" -#: ui/Settings.ui.h:26 ui/Settings4.ui.h:26 +#: ui/Settings.ui.h:25 ui/Settings4.ui.h:25 msgid "About" msgstr "" +#: ui/Settings4.ui.h:10 +msgid "Sets background image for desktop and lockscreen" +msgstr "" + +#: ui/Settings4.ui.h:12 +msgid "Select how the image is rendered on desktop" +msgstr "" + #: extension.js:101 msgid "" msgstr "" @@ -191,7 +195,7 @@ msgstr "" msgid "daily" msgstr "" -#: prefs.js:93 +#: prefs.js:105 msgid "Select folder" msgstr "" diff --git a/ui/Settings.ui b/ui/Settings.ui index 79f3e39..9ba7796 100644 --- a/ui/Settings.ui +++ b/ui/Settings.ui @@ -656,7 +656,7 @@ Author: Michael Carroll 12 True True - Changes since last version + Changes since last version True diff --git a/ui/Settings.ui.h b/ui/Settings.ui.h index e713037..bb9a83d 100644 --- a/ui/Settings.ui.h +++ b/ui/Settings.ui.h @@ -14,7 +14,6 @@ char *s = N_("Wallpaper pictures folder"); char *s = N_("Open download folder"); char *s = N_("Delete previously downloaded wallpapers:"); char *s = N_("Background"); -char *s = N_("Changes since last version"); char *s = N_("Change log"); char *s = N_("This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General Public License, version 3 or later for details."); diff --git a/ui/Settings4.ui b/ui/Settings4.ui index f5e828b..e79096d 100644 --- a/ui/Settings4.ui +++ b/ui/Settings4.ui @@ -8,9 +8,9 @@ 0 - left + top 0 - 1 + 0 @@ -46,7 +46,7 @@ 0 start Hide the indicator - 1 + 0 @@ -68,39 +68,6 @@ - 0 @@ -120,7 +87,7 @@ 0 start Indicator icon - 1 + 0 @@ -368,6 +335,7 @@ 0 + start Set background image 0 @@ -386,6 +354,21 @@ + + + 0 + start + Sets background image for desktop and lockscreen + 0 + + + 0 + 1 + + + @@ -407,7 +390,7 @@ start 1 Background style option - 1 + 0 0 0 @@ -423,6 +406,21 @@ + + + 0 + start + Select how the image is rendered on desktop + 0 + + + 0 + 1 + + + @@ -529,37 +527,6 @@ - - - 3 - - - 0 - 12 - 12 - 12 - vertical - - - 0 - 12 - 12 - 1 - 1 - Changes since last version - 1 - - - - - - - 0 - Change log - - - - 2 @@ -642,6 +609,7 @@ See the <a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU 0 This GNOME shell extension sets your wallpaper to a random Google Earth photo from a selection of curated locations. + center 1 0 @@ -715,6 +683,26 @@ See the <a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU + + + 0 + 12 + 12 + 12 + vertical + + + 0 + 12 + 12 + 1 + 1 + Changes since last version + 1 + + + + diff --git a/ui/Settings4.ui.h b/ui/Settings4.ui.h index e713037..8f063e0 100644 --- a/ui/Settings4.ui.h +++ b/ui/Settings4.ui.h @@ -1,5 +1,4 @@ char *s = N_("Hide the indicator"); -char *s = N_("Indicator brightness"); char *s = N_("Indicator"); char *s = N_("Indicator icon"); char *s = N_("Refresh interval"); @@ -8,14 +7,14 @@ char *s = N_("Enable desktop notifications"); char *s = N_("Map Provider for external links"); char *s = N_("Provider used to view wallpaper location and context"); char *s = N_("Set background image"); +char *s = N_("Sets background image for desktop and lockscreen"); char *s = N_("Background style option"); +char *s = N_("Select how the image is rendered on desktop"); char *s = N_("Download folder:"); char *s = N_("Wallpaper pictures folder"); char *s = N_("Open download folder"); char *s = N_("Delete previously downloaded wallpapers:"); char *s = N_("Background"); -char *s = N_("Changes since last version"); -char *s = N_("Change log"); char *s = N_("This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General Public License, version 3 or later for details."); char *s = N_("https://github.com/neffo/earth-view-wallpaper-gnome-extension"); From 99af36cee8da1e0b8733d18ecdf2790a5bf969ac Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 27 Mar 2022 14:36:38 +1000 Subject: [PATCH 08/10] add notification toggle to menu --- extension.js | 4 +++- locale/GoogleEarthWallpaper.pot | 18 +++++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/extension.js b/extension.js index dcec65a..5d62c43 100644 --- a/extension.js +++ b/extension.js @@ -113,6 +113,7 @@ class GEWallpaperIndicator extends panelMenu.Button { // menu toggles for settings this.wallpaperToggle = this._newMenuSwitch(_("Set background image"), "set-background", this._settings.get_boolean('set-background'), true); this.lockscreenToggle = this._newMenuSwitch(_("Set lockscreen image"), "set-lock-screen", this._settings.get_boolean('set-lock-screen'), !Convenience.currentVersionGreaterEqual("3.36")); + this.notifyToggle = this._newMenuSwitch(_("Send notification"), "notify", this._settings.get_boolean('notify'), true); this.menu.addMenuItem(this.descriptionItem); this.menu.addMenuItem(this.locationItem); @@ -144,6 +145,7 @@ class GEWallpaperIndicator extends panelMenu.Button { if (!Convenience.currentVersionGreaterEqual("3.36")) { // lockscreen and desktop wallpaper are the same in GNOME 3.36+ this.menu.addMenuItem(this.lockscreenToggle); } + this.menu.addMenuItem(this.notifyToggle); this.menu.addMenuItem(new popupMenu.PopupSeparatorMenuItem()); this.menu.addMenuItem(this.settingsItem); @@ -202,7 +204,6 @@ class GEWallpaperIndicator extends panelMenu.Button { this.descriptionItem.label.set_text(this.explanation); this.copyrightItem.label.set_text(this.copyright); this.extLinkItem.label.set_text(this.provider_text); - this._notifyCurrentImage(); } _notifyCurrentImage() { @@ -399,6 +400,7 @@ class GEWallpaperIndicator extends panelMenu.Button { this._updatePending = false; } this._updateMenu(); + this._notifyCurrentImage(); this._restartTimeout(this._settings.get_int('refresh-interval')); } diff --git a/locale/GoogleEarthWallpaper.pot b/locale/GoogleEarthWallpaper.pot index 3234ade..933a2de 100644 --- a/locale/GoogleEarthWallpaper.pot +++ b/locale/GoogleEarthWallpaper.pot @@ -87,7 +87,7 @@ msgid "" "photo from a selection of curated locations." msgstr "" -#: ui/Settings.ui.h:23 ui/Settings4.ui.h:23 extension.js:171 extension.js:342 +#: ui/Settings.ui.h:23 ui/Settings4.ui.h:23 extension.js:173 extension.js:343 msgid "Google Earth Wallpaper" msgstr "" @@ -147,27 +147,31 @@ msgstr "" msgid "Set lockscreen image" msgstr "" -#: extension.js:142 +#: extension.js:116 +msgid "Send notification" +msgstr "" + +#: extension.js:143 msgid "On refresh:" msgstr "" -#: extension.js:200 +#: extension.js:202 msgid "Next refresh" msgstr "" -#: extension.js:253 +#: extension.js:254 msgid "View in " msgstr "" -#: extension.js:308 +#: extension.js:309 msgid "Fetching..." msgstr "" -#: extension.js:396 +#: extension.js:397 msgid "No wallpaper available" msgstr "" -#: extension.js:397 +#: extension.js:398 msgid "Something went wrong..." msgstr "" From 87546ad5406bab83c28ecab7ce93ad663dafe5c8 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 3 Apr 2022 10:35:29 +1000 Subject: [PATCH 09/10] fix Arabic translation, bump version --- buildzip.sh | 3 +- locale/ar/LC_MESSAGES/GoogleEarthWallpaper.mo | Bin 0 -> 4970 bytes locale/ar/LC_MESSAGES/GoogleEarthWallpaper.po | 239 ++++++++++++++++++ metadata.json | 4 +- 4 files changed, 243 insertions(+), 3 deletions(-) create mode 100644 locale/ar/LC_MESSAGES/GoogleEarthWallpaper.mo create mode 100644 locale/ar/LC_MESSAGES/GoogleEarthWallpaper.po diff --git a/buildzip.sh b/buildzip.sh index dd97028..00196b9 100755 --- a/buildzip.sh +++ b/buildzip.sh @@ -11,9 +11,10 @@ intltool-extract --type=gettext/glade ui/Settings.ui intltool-extract --type=gettext/glade ui/Settings4.ui xgettext -k -k_ -kN_ --omit-header -o locale/GoogleEarthWallpaper.pot ui/Settings.ui.h ui/Settings4.ui.h extension.js prefs.js utils.js --from-code=UTF-8 +rm translations.txt for D in locale/*; do if [ -d "${D}" ]; then - msgfmt --statistics --template=locale/GoogleEarthWallpaper.pot --verbose -o "${D}/LC_MESSAGES/GoogleEarthWallpaper.mo" "${D}/LC_MESSAGES/GoogleEarthWallpaper.po" 2> translations.txt # compile translations + msgfmt --statistics --template=locale/GoogleEarthWallpaper.pot --verbose -o "${D}/LC_MESSAGES/GoogleEarthWallpaper.mo" "${D}/LC_MESSAGES/GoogleEarthWallpaper.po" 2>> translations.txt # compile translations fi done diff --git a/locale/ar/LC_MESSAGES/GoogleEarthWallpaper.mo b/locale/ar/LC_MESSAGES/GoogleEarthWallpaper.mo new file mode 100644 index 0000000000000000000000000000000000000000..24bd4834f58134047ee5e03a86885bdea50025c2 GIT binary patch literal 4970 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 literal 0 HcmV?d00001 diff --git a/locale/ar/LC_MESSAGES/GoogleEarthWallpaper.po b/locale/ar/LC_MESSAGES/GoogleEarthWallpaper.po new file mode 100644 index 0000000..ca04241 --- /dev/null +++ b/locale/ar/LC_MESSAGES/GoogleEarthWallpaper.po @@ -0,0 +1,239 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Amro Soliman , 2021. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-10-19 21:56+1000\n" +"PO-Revision-Date: 2021-12-20 23:03+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n" +"%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n" +"X-Generator: Poedit 3.0.1\n" + +#: ui/Settings.ui.h:1 ui/Settings4.ui.h:1 +msgid "Hide the indicator" +msgstr "اخف المؤشر" + +#: ui/Settings.ui.h:2 ui/Settings4.ui.h:2 +msgid "Indicator brightness" +msgstr "سطوع المؤشر" + +#: ui/Settings.ui.h:3 ui/Settings4.ui.h:3 +msgid "Indicator" +msgstr "المؤشر" + +#: ui/Settings.ui.h:4 ui/Settings4.ui.h:4 +msgid "Indicator icon" +msgstr "رمز المؤشر" + +#: ui/Settings.ui.h:5 ui/Settings4.ui.h:5 +msgid "Refresh interval" +msgstr "حدث كل" + +#: ui/Settings.ui.h:6 ui/Settings4.ui.h:6 +msgid "Change effective from next refresh" +msgstr "التعديل سيكون فعال ابداءا من التحديث القادم" + +#: ui/Settings.ui.h:7 ui/Settings4.ui.h:7 +msgid "Map Provider for external links" +msgstr "منصة الخرائط للروابط الخارجية" + +#: ui/Settings.ui.h:8 ui/Settings4.ui.h:8 +msgid "Provider used to view wallpaper location and context" +msgstr "المنصة المستخدمة لعرض موقع الصورة وسياقها" + +#: ui/Settings.ui.h:9 ui/Settings4.ui.h:9 extension.js:105 +msgid "Set background image" +msgstr "ضبط كخلفية للشاشة" + +#: ui/Settings.ui.h:10 ui/Settings4.ui.h:10 +msgid "Set lock screen image" +msgstr "ضبط كخلفية لواجهة الشاشة المقفلة" + +#: ui/Settings.ui.h:11 ui/Settings4.ui.h:11 +msgid "Set lock screen password prompt image" +msgstr "ضبط كخلفية لواجهة الشاشة المقفلة (صفحة ادخال الرقم السري)" + +#: ui/Settings.ui.h:12 ui/Settings4.ui.h:12 +msgid "Download folder:" +msgstr "مجلد التحميل:" + +#: ui/Settings.ui.h:13 ui/Settings4.ui.h:14 +msgid "Wallpaper pictures folder" +msgstr "مجلد صور الخلفيات" + +#: ui/Settings.ui.h:14 ui/Settings4.ui.h:15 +msgid "Open download folder" +msgstr "فتح مجلد التحميل" + +#: ui/Settings.ui.h:15 ui/Settings4.ui.h:16 +msgid "Delete previously downloaded wallpapers:" +msgstr "حذف صور الخلفية المحملة سابقا:" + +#: ui/Settings.ui.h:16 ui/Settings4.ui.h:17 +msgid "Background" +msgstr "الخلفية" + +#: ui/Settings.ui.h:17 ui/Settings4.ui.h:18 +msgid "Changes since last version" +msgstr "التعديلات عن النسخة الاخيرة" + +#: ui/Settings.ui.h:18 ui/Settings4.ui.h:19 +msgid "Change log" +msgstr "سجل التغييرات" + +#: ui/Settings.ui.h:19 ui/Settings4.ui.h:20 +msgid "" +"This program comes with ABSOLUTELY NO WARRANTY.\n" +"See the GNU General Public License, version 3 or later for details." +msgstr "" +"يقدم هذا البرنامج دون أي ضمان على " +"الإطلاق.\n" +"راجع رخصة جنو العمومية ، الإصدار 3 أو أحدث لمزيد من التفاصيل." + +#: ui/Settings.ui.h:21 ui/Settings4.ui.h:22 +msgid "https://github.com/neffo/earth-view-wallpaper-gnome-extension" +msgstr "https://github.com/neffo/earth-view-wallpaper-gnome-extension" + +#: ui/Settings.ui.h:22 ui/Settings4.ui.h:23 +msgid "Based on NASA APOD Wallpaper extension by Elia Argentieri" +msgstr "يرتكز علي NASA APOD Gnome shell extension ل Elia Argentieri" + +#: ui/Settings.ui.h:23 ui/Settings4.ui.h:24 +msgid "" +"This GNOME shell extension sets your wallpaper to a random Google Earth " +"photo from a selection of curated locations." +msgstr "" +"هذا الامداد ل Gnome shell يقوم بضبط كخلفية بطريقة عشوائية صورة من Google " +"Earth من ضمن قائمة مواقع جغرافية." + +#: ui/Settings.ui.h:24 ui/Settings4.ui.h:25 extension.js:158 extension.js:303 +msgid "Google Earth Wallpaper" +msgstr "صور Google Earth" + +#: ui/Settings.ui.h:25 ui/Settings4.ui.h:26 +msgid "Maintained by Michael Carroll" +msgstr "بتطوير Michael Carroll" + +#: ui/Settings.ui.h:26 ui/Settings4.ui.h:27 +msgid "About" +msgstr "عن" + +#: ui/Settings4.ui.h:13 +msgid "Bing Wallpaper pictures folder" +msgstr "مجلد صور خلفيات Bing" + +#: extension.js:94 +msgid "" +msgstr "<لا يوجد تحديث مجدول>" + +#: extension.js:95 +msgid "Text Location" +msgstr "مكان النص" + +#: extension.js:96 +msgid "Geo Location" +msgstr "مكان الموقع" + +#: extension.js:97 +msgid "External Link" +msgstr "رابط خارجي" + +#: extension.js:98 +msgid "Copyright" +msgstr "حقوق الملكية" + +#: extension.js:99 +msgid "Set background image now" +msgstr "ضبط كخلفية للشاشة الان" + +#: extension.js:100 +msgid "Set lockscreen image now" +msgstr "ضبط كخلفية لواجهة الشاشة المقفلة الان" + +#: extension.js:101 +msgid "Refresh Now" +msgstr "حدث الآن" + +#: extension.js:102 +msgid "Extension settings" +msgstr "الإعدادات" + +#: extension.js:106 +msgid "Set lockscreen image" +msgstr "ضبط كخلفية لواجهة الشاشة المقفلة" + +#: extension.js:130 +msgid "On refresh:" +msgstr "عند التحديث:" + +#: extension.js:187 +msgid "Next refresh" +msgstr "التحديث التالي" + +#: extension.js:214 +msgid "View in " +msgstr "اعرض علي " + +#: extension.js:269 +msgid "Fetching..." +msgstr "تحميل البيانات..." + +#: extension.js:357 +msgid "No wallpaper available" +msgstr "ليست متاحة اي صور للخلفية" + +#: extension.js:358 +msgid "Something went wrong..." +msgstr "حدث خطأ ما..." + +#: prefs.js:24 +msgid "5 m" +msgstr "5 دقائق" + +#: prefs.js:24 +msgid "10 m" +msgstr "10 دقائق" + +#: prefs.js:24 +msgid "30 m" +msgstr "30 دقائق" + +#: prefs.js:24 +msgid "60 m" +msgstr "60 دقائق" + +#: prefs.js:24 +msgid "90 m" +msgstr "90 دقائق" + +#: prefs.js:24 +msgid "daily" +msgstr "يوميا" + +#: utils.js:62 utils.js:65 +msgid "minutes" +msgstr "دقائق" + +#: utils.js:68 +msgid "days" +msgstr "أيام" + +#: utils.js:71 +msgid "hours" +msgstr "ساعات" + +#: utils.js:98 +msgid "No change log found for this release" +msgstr "لم نعثر علي قائمة لتعديلات هذا الاصدار" diff --git a/metadata.json b/metadata.json index 8f94b9a..f666abc 100644 --- a/metadata.json +++ b/metadata.json @@ -3,8 +3,8 @@ "shell-version": ["3.36", "3.38", "40", "41", "42"], "name": "Google Earth Wallpaper", "settings-schema": "org.gnome.shell.extensions.googleearthwallpaper", - "description": "Lightweight GNOME shell extension to set your wallpaper to a random photo from the curated Google Earth collection (2604 photos).\n\n*Disclaimer*: this extension is unofficial and not affiliated with Google in any way. Images are protected by copyright and are licensed only for use as wallpapers.\n\nSee also my other extension, Bing Wallpaper Changer (https://github.com/neffo/bing-wallpaper-gnome-extension).\n\nFeatures:\n* Fetches a random Google Earth wallpaper and sets as both lock screen and desktop wallpaper\n* User selectable refresh intervals (default is once per day)\n* View location on Google Maps, Bing Maps, Gnome Maps, OpenStreetMaps\n* German, Dutch and Chinese translations\n\nPlease report any bugs or suggestions to extension GitHub page below.", - "version": "14", + "description": "Lightweight GNOME shell extension to sets your wallpaper to a random photo from the curated Google Earth collection (2604 photos).\n\n*Disclaimer*: this extension is unofficial and not affiliated with Google in any way. Images are protected by copyright and are licensed only for use as wallpapers.\n\nSee also my other extension, Bing Wallpaper Changer (https://github.com/neffo/bing-wallpaper-gnome-extension).\n\nFeatures:\n* Fetches a random Google Earth wallpaper and sets as both lock screen and desktop wallpaper\n* User selectable refresh intervals (default is once per day)\n* View location on Google Maps, Bing Maps, Gnome Maps, OpenStreetMaps\n* German, Dutch and Chinese translations\n\nPlease report any bugs or suggestions to extension GitHub page below.", + "version": "15", "url": "https://github.com/neffo/earth-view-wallpaper-gnome-extension", "gettext-domain": "GoogleEarthWallpaper" } From c3536316916e2c24548168d3f2739d5f0598f9b3 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sun, 3 Apr 2022 10:35:47 +1000 Subject: [PATCH 10/10] delete unneeded files --- locale/ar/LC_MESSAGES/ar.mo | Bin 4970 -> 0 bytes locale/ar/LC_MESSAGES/ar.po | 239 ------------------------------------ 2 files changed, 239 deletions(-) delete mode 100644 locale/ar/LC_MESSAGES/ar.mo delete mode 100644 locale/ar/LC_MESSAGES/ar.po diff --git a/locale/ar/LC_MESSAGES/ar.mo b/locale/ar/LC_MESSAGES/ar.mo deleted file mode 100644 index 24bd4834f58134047ee5e03a86885bdea50025c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4970 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 diff --git a/locale/ar/LC_MESSAGES/ar.po b/locale/ar/LC_MESSAGES/ar.po deleted file mode 100644 index ca04241..0000000 --- a/locale/ar/LC_MESSAGES/ar.po +++ /dev/null @@ -1,239 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Amro Soliman , 2021. -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-10-19 21:56+1000\n" -"PO-Revision-Date: 2021-12-20 23:03+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: ar\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n" -"%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n" -"X-Generator: Poedit 3.0.1\n" - -#: ui/Settings.ui.h:1 ui/Settings4.ui.h:1 -msgid "Hide the indicator" -msgstr "اخف المؤشر" - -#: ui/Settings.ui.h:2 ui/Settings4.ui.h:2 -msgid "Indicator brightness" -msgstr "سطوع المؤشر" - -#: ui/Settings.ui.h:3 ui/Settings4.ui.h:3 -msgid "Indicator" -msgstr "المؤشر" - -#: ui/Settings.ui.h:4 ui/Settings4.ui.h:4 -msgid "Indicator icon" -msgstr "رمز المؤشر" - -#: ui/Settings.ui.h:5 ui/Settings4.ui.h:5 -msgid "Refresh interval" -msgstr "حدث كل" - -#: ui/Settings.ui.h:6 ui/Settings4.ui.h:6 -msgid "Change effective from next refresh" -msgstr "التعديل سيكون فعال ابداءا من التحديث القادم" - -#: ui/Settings.ui.h:7 ui/Settings4.ui.h:7 -msgid "Map Provider for external links" -msgstr "منصة الخرائط للروابط الخارجية" - -#: ui/Settings.ui.h:8 ui/Settings4.ui.h:8 -msgid "Provider used to view wallpaper location and context" -msgstr "المنصة المستخدمة لعرض موقع الصورة وسياقها" - -#: ui/Settings.ui.h:9 ui/Settings4.ui.h:9 extension.js:105 -msgid "Set background image" -msgstr "ضبط كخلفية للشاشة" - -#: ui/Settings.ui.h:10 ui/Settings4.ui.h:10 -msgid "Set lock screen image" -msgstr "ضبط كخلفية لواجهة الشاشة المقفلة" - -#: ui/Settings.ui.h:11 ui/Settings4.ui.h:11 -msgid "Set lock screen password prompt image" -msgstr "ضبط كخلفية لواجهة الشاشة المقفلة (صفحة ادخال الرقم السري)" - -#: ui/Settings.ui.h:12 ui/Settings4.ui.h:12 -msgid "Download folder:" -msgstr "مجلد التحميل:" - -#: ui/Settings.ui.h:13 ui/Settings4.ui.h:14 -msgid "Wallpaper pictures folder" -msgstr "مجلد صور الخلفيات" - -#: ui/Settings.ui.h:14 ui/Settings4.ui.h:15 -msgid "Open download folder" -msgstr "فتح مجلد التحميل" - -#: ui/Settings.ui.h:15 ui/Settings4.ui.h:16 -msgid "Delete previously downloaded wallpapers:" -msgstr "حذف صور الخلفية المحملة سابقا:" - -#: ui/Settings.ui.h:16 ui/Settings4.ui.h:17 -msgid "Background" -msgstr "الخلفية" - -#: ui/Settings.ui.h:17 ui/Settings4.ui.h:18 -msgid "Changes since last version" -msgstr "التعديلات عن النسخة الاخيرة" - -#: ui/Settings.ui.h:18 ui/Settings4.ui.h:19 -msgid "Change log" -msgstr "سجل التغييرات" - -#: ui/Settings.ui.h:19 ui/Settings4.ui.h:20 -msgid "" -"This program comes with ABSOLUTELY NO WARRANTY.\n" -"See the GNU General Public License, version 3 or later for details." -msgstr "" -"يقدم هذا البرنامج دون أي ضمان على " -"الإطلاق.\n" -"راجع رخصة جنو العمومية ، الإصدار 3 أو أحدث لمزيد من التفاصيل." - -#: ui/Settings.ui.h:21 ui/Settings4.ui.h:22 -msgid "https://github.com/neffo/earth-view-wallpaper-gnome-extension" -msgstr "https://github.com/neffo/earth-view-wallpaper-gnome-extension" - -#: ui/Settings.ui.h:22 ui/Settings4.ui.h:23 -msgid "Based on NASA APOD Wallpaper extension by Elia Argentieri" -msgstr "يرتكز علي NASA APOD Gnome shell extension ل Elia Argentieri" - -#: ui/Settings.ui.h:23 ui/Settings4.ui.h:24 -msgid "" -"This GNOME shell extension sets your wallpaper to a random Google Earth " -"photo from a selection of curated locations." -msgstr "" -"هذا الامداد ل Gnome shell يقوم بضبط كخلفية بطريقة عشوائية صورة من Google " -"Earth من ضمن قائمة مواقع جغرافية." - -#: ui/Settings.ui.h:24 ui/Settings4.ui.h:25 extension.js:158 extension.js:303 -msgid "Google Earth Wallpaper" -msgstr "صور Google Earth" - -#: ui/Settings.ui.h:25 ui/Settings4.ui.h:26 -msgid "Maintained by Michael Carroll" -msgstr "بتطوير Michael Carroll" - -#: ui/Settings.ui.h:26 ui/Settings4.ui.h:27 -msgid "About" -msgstr "عن" - -#: ui/Settings4.ui.h:13 -msgid "Bing Wallpaper pictures folder" -msgstr "مجلد صور خلفيات Bing" - -#: extension.js:94 -msgid "" -msgstr "<لا يوجد تحديث مجدول>" - -#: extension.js:95 -msgid "Text Location" -msgstr "مكان النص" - -#: extension.js:96 -msgid "Geo Location" -msgstr "مكان الموقع" - -#: extension.js:97 -msgid "External Link" -msgstr "رابط خارجي" - -#: extension.js:98 -msgid "Copyright" -msgstr "حقوق الملكية" - -#: extension.js:99 -msgid "Set background image now" -msgstr "ضبط كخلفية للشاشة الان" - -#: extension.js:100 -msgid "Set lockscreen image now" -msgstr "ضبط كخلفية لواجهة الشاشة المقفلة الان" - -#: extension.js:101 -msgid "Refresh Now" -msgstr "حدث الآن" - -#: extension.js:102 -msgid "Extension settings" -msgstr "الإعدادات" - -#: extension.js:106 -msgid "Set lockscreen image" -msgstr "ضبط كخلفية لواجهة الشاشة المقفلة" - -#: extension.js:130 -msgid "On refresh:" -msgstr "عند التحديث:" - -#: extension.js:187 -msgid "Next refresh" -msgstr "التحديث التالي" - -#: extension.js:214 -msgid "View in " -msgstr "اعرض علي " - -#: extension.js:269 -msgid "Fetching..." -msgstr "تحميل البيانات..." - -#: extension.js:357 -msgid "No wallpaper available" -msgstr "ليست متاحة اي صور للخلفية" - -#: extension.js:358 -msgid "Something went wrong..." -msgstr "حدث خطأ ما..." - -#: prefs.js:24 -msgid "5 m" -msgstr "5 دقائق" - -#: prefs.js:24 -msgid "10 m" -msgstr "10 دقائق" - -#: prefs.js:24 -msgid "30 m" -msgstr "30 دقائق" - -#: prefs.js:24 -msgid "60 m" -msgstr "60 دقائق" - -#: prefs.js:24 -msgid "90 m" -msgstr "90 دقائق" - -#: prefs.js:24 -msgid "daily" -msgstr "يوميا" - -#: utils.js:62 utils.js:65 -msgid "minutes" -msgstr "دقائق" - -#: utils.js:68 -msgid "days" -msgstr "أيام" - -#: utils.js:71 -msgid "hours" -msgstr "ساعات" - -#: utils.js:98 -msgid "No change log found for this release" -msgstr "لم نعثر علي قائمة لتعديلات هذا الاصدار"