diff --git a/README.md b/README.md index 9ac517ad..fb547b33 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Bring some color to your GNOME desktop by syncing your desktop and lockscreen wa [![Get it on GNOME extensions](/screenshot/get_it_on_gnome_extensions.png)](https://extensions.gnome.org/extension/1262/bing-wallpaper-changer/) [![<3 Sponsor this project on GitHub <3](/screenshot/sponsor.png)](https://github.com/sponsors/neffo) -![Screenshot](/screenshot/notification.png) +![Screenshot](/screenshot/overview.jpg) As featured on [OMG! Ubuntu](https://www.omgubuntu.co.uk/2017/07/bing-wallpaper-changer-gnome-extension). @@ -18,10 +18,44 @@ Also, check out my related [Google Earth View wallpaper extension](https://githu * Image gallery to view, select and curate stored images * Optionally delete old images after a week, or you can keep (and curate) them forever * Override the lockscreen blur (NEW: lockscreen blur is now dynamic!) -* Language support: English (en), German (de), Dutch (nl), Italian (it), Polish (pl), Chinese (zh_CN, zh_TW), French (fr_FR), Portuguese (pt, pt_BR), Ukrainian (uk), Russian (ru_RU), Spanish (es), Korean (ko), Indonesian (id), Catalan (ca), Norwegian Bokmål (nb) & Nynorsk (nn), Swedish (sv), Arabic (ar), Hungarian (hu), Japanese (ja), Czech (cs_CZ), Finnish (fi_FI) and Turkish (tr) - a HUGE thanks to the translators +* Language support: English (en), German (de), Dutch (nl), Italian (it), Polish (pl), Chinese (zh_CN, zh_TW), French (fr_FR), Portuguese (pt, pt_BR), Ukrainian (uk), Russian (ru_RU), Spanish (es), Korean (ko), Indonesian (id), Catalan (ca), Norwegian Bokmål (nb) & Nynorsk (nn), Swedish (sv), Arabic (ar), Hungarian (hu), Japanese (ja), Czech (cs_CZ), Finnish (fi_FI) and Turkish (tr), Persian (fa_ir) - a HUGE thanks to the translators * Image preview in menus & ability to manually set wallpapers individually or copy image to clipboard * A selection of different theme-aware indicator (tray) icons to choose (or hide it completely) +## Quickstart guide + +* Install from [GNOME extensions](https://extensions.gnome.org/extension/1262/bing-wallpaper-changer/), by default your wallpaper will be synced to the current Bing image of the day - if that's all you want you don't have to do anymore, everything is automatic +* Bing Wallpaper (by default) builds a collection of images over time (this can be disabled if required) + +### Control bar +![Bing Wallpaper menu control bar](/screenshot/controlbar.png) + +* 🤍 - Favorite/unfavorite current image (can be used to shuffle only favorite images and favorites are never deleted automatically) +* 🗑️ - Trash/untrash current image (exclude from shuffle selection or optionally deleted from disk) +* ⏪ - select previous day's image (in date order) +* ⏩ - select next day's image (in date order) +* ⏭️ - select today's image (skip to current) +* 🎲 - I'm feeling lucky, show me a random image (by default you should have at least 8 images available, curated with favorite and trash buttons) + +### Quick settings +![Bing Wallpaper menu control bar](/screenshot/quicksettings.png) + +* Always show new images - when a new Bing wallpaper is available switch to it immediately +* Image shuffle mode - switch to a random image at user defined intervals (default once per day or once per startup) +* Image shuffle only favorites - only select favorite images (🤍), by default 'trashed' images are always excluded +* Image shuffle only UHD resolution - occasionally some images are not UHD, exclude these from selection + +### Gallery + +![Gallery item](/screenshot/gallery.png) + +The 4 buttons in the gallery (3rd page in the preferences) do have tool-tips but these do the following: +- Favorite - favorite this image (equivalent to doing this via the control bar) +- Apply - set this image as wallpaper +- View - open image in image viewer +- Info - open the Bing description of the image +- Trash - trash the image + ## TODO * add more languages (#14) - [please help if you can](https://github.com/neffo/bing-wallpaper-gnome-extension/issues/14) @@ -33,10 +67,25 @@ Also, check out my related [Google Earth View wallpaper extension](https://githu * Bing may detect your location incorrectly (and force a locale as above) - if you see this, please let me know what Bing.com itself does * GNOME Shell themes can break some GNOME popup menu elements (toggle switches for example). This impacts GNOME more generally, not just this extension. Double check you are running latest versions of your themes (or disable them). -## Requirements +## System Requirements GNOME 3.36+ or 40+ (Ubuntu 20.04 LTS or later, older versions of the extension work with 3.18+, but are no longer supported). +## Package dependencies + +Below packages are required to build the extension + +``` +npm +gettext +intltool +zip +``` +For Ubuntu you can hit below command to install +``` +sudo apt install npm gettext intltool zip -y +``` + ## Install [Install from extensions.gnome.org](https://extensions.gnome.org/extension/1262/bing-wallpaper-changer/) @@ -53,7 +102,7 @@ sh install.sh ## Enable debug logging -Enable debug logging through the exptension preferences 'Debug options' tab or if unable to open preferences you can enable debugging using dconf-editor with this command: +Enable debug logging through the extension preferences 'Debug options' tab or if unable to open preferences you can enable debugging using dconf-editor with this command: ``` GSETTINGS_SCHEMA_DIR=$HOME/.local/share/gnome-shell/extensions/BingWallpaper@ineffable-gmail.com/schemas dconf-editor /org/gnome/shell/extensions/bingwallpaper/ ``` diff --git a/blur.js b/blur.js index 95c7b774..b6111bf2 100644 --- a/blur.js +++ b/blur.js @@ -20,6 +20,7 @@ var shellVersionMajor = parseInt(Config.PACKAGE_VERSION.split('.')[0]); var shellVersionMinor = parseInt(Config.PACKAGE_VERSION.split('.')[1]); var shellVersionPoint = parseInt(Config.PACKAGE_VERSION.split('.')[2]); +var blurField = shellVersionMajor >= 46 ? "radius" : "sigma"; // default BWP mild blur var BWP_BLUR_SIGMA = 2; var BWP_BLUR_BRIGHTNESS = 55; @@ -50,7 +51,7 @@ export function _updateBackgroundEffects_BWP(monitorIndex) { if (effect) { effect.set({ // GNOME defaults when login prompt is visible brightness: BLUR_BRIGHTNESS, - sigma: BLUR_SIGMA * themeContext.scale_factor, + [blurField]: BLUR_SIGMA * themeContext.scale_factor, }); } } @@ -59,7 +60,7 @@ export function _updateBackgroundEffects_BWP(monitorIndex) { if (effect) { effect.set({ // adjustable blur when clock is visible brightness: BWP_BLUR_BRIGHTNESS * 0.01, // we use 0-100 rather than 0-1, so divide by 100 - sigma: BWP_BLUR_SIGMA * themeContext.scale_factor, + [blurField]: BWP_BLUR_SIGMA * themeContext.scale_factor, }); } } @@ -91,7 +92,7 @@ export function _clampValue(value) { export default class Blur { constructor() { this.enabled = false; - log('Bing Wallpaper adjustable blur is '+supportedVersion()?'available':'not available'); + log('Bing Wallpaper adjustable blur is '+(supportedVersion()?'available':'not available')); } set_blur_strength(value) { diff --git a/buildzip.sh b/buildzip.sh index a3903fca..bd80d760 100755 --- a/buildzip.sh +++ b/buildzip.sh @@ -14,8 +14,12 @@ echo "# Translation status of statements as at $DATE:" > translations.txt MSGCOUNT=`cat locale/BingWallpaper.pot | grep -c -e msgid` for D in locale/*; do if [ -d "${D}" ]; then - msgfmt --template=BingWallpaper.pot --statistics --verbose -o "${D}/LC_MESSAGES/BingWallpaper.mo" "${D}/LC_MESSAGES/BingWallpaper.po" 2>&1 | cat >> translations.txt + msgfmt --template=BingWallpaper.pot --statistics --verbose -o "${D}/LC_MESSAGES/BingWallpaper.mo" "${D}/LC_MESSAGES/BingWallpaper.po" 2>&1 | cat >> translations.txt # your processing here + if [ $? -ne 0 ]; then + echo "ERROR processing $D translations:" + msgfmt --template=BingWallpaper.pot -o "${D}/LC_MESSAGES/BingWallpaper.mo" "${D}/LC_MESSAGES/BingWallpaper.po" + fi fi done diff --git a/carousel.js b/carousel.js index f522ee78..6b0c2943 100644 --- a/carousel.js +++ b/carousel.js @@ -108,7 +108,7 @@ export default class Carousel { this.log('Delete requested for '+filename); Utils.deleteImage(filename); Utils.setImageHiddenStatus(this.settings, image.urlbase, true); - Utils.cleanupImageList(this.settings); // hide image instead + Utils.purgeImages(this.settings); // hide image instead widget.get_parent().get_parent().set_visible(false); // bit of a hack if (this.callbackfunc) this.callbackfunc(); diff --git a/extension.js b/extension.js index 493e2c84..c520b319 100644 --- a/extension.js +++ b/extension.js @@ -55,10 +55,16 @@ const newMenuSwitchItem = (label, state) => { } function log(msg) { - if (bingWallpaperIndicator && bingWallpaperIndicator._settings.get_boolean('debug-logging')) + if (BingDebug()) console.log('BingWallpaper extension: ' + msg); // disable to keep the noise down in journal } +function BingDebug() { + if (bingWallpaperIndicator && bingWallpaperIndicator._settings.get_boolean('debug-logging')) + return true; + return false; +} + function notifyError(msg) { Main.notifyError("BingWallpaper extension error", msg); } @@ -152,12 +158,12 @@ class BingWallpaperIndicator extends Button { this.toggleSetBackground = newMenuSwitchItem(_("Set background image"), this._settings.get_boolean('set-background')); this.toggleSelectNew = newMenuSwitchItem(_("Always show new images"), this._settings.get_boolean('revert-to-current-image')); this.toggleShuffle = newMenuSwitchItem(_("Image shuffle mode"), true); - this.toggleShuffleOnlyFaves = newMenuSwitchItem(_("Image shuffle only favourites"), this._settings.get_boolean('random-mode-include-only-favourites')); - this.toggleNotifications = newMenuSwitchItem(_("Enable desktop notifications"), this._settings.get_boolean('notify')); + this.toggleShuffleOnlyFaves = newMenuSwitchItem(_("Image shuffle only favorites"), this._settings.get_boolean('random-mode-include-only-favourites')); + /*this.toggleNotifications = newMenuSwitchItem(_("Enable desktop notifications"), this._settings.get_boolean('notify'));*/ this.toggleImageCount = newMenuSwitchItem(_("Show image count"), this._settings.get_boolean('show-count-in-image-title')); this.toggleShuffleOnlyUHD = newMenuSwitchItem(_("Image shuffle only UHD resolutions"), this._settings.get_boolean('random-mode-include-only-uhd')); - [this.toggleNotifications, /*this.toggleImageCount, this.toggleSetBackground,*/ this.toggleSelectNew, + [/*this.toggleNotifications, this.toggleImageCount, this.toggleSetBackground,*/ this.toggleSelectNew, this.toggleShuffle, this.toggleShuffleOnlyFaves, this.toggleShuffleOnlyUHD] .forEach(e => this.settingsSubMenu.menu.addMenuItem(e)); @@ -220,15 +226,21 @@ class BingWallpaperIndicator extends Button { // listen for configuration changes _setConnections() { - this._settings.connect('changed::hide', () => { - this.visible = !this._settings.get_boolean('hide'); - }); + this.settings_connections = []; + + this.settings_connections.push( + this._settings.connect('changed::hide', () => { + this.visible = !this._settings.get_boolean('hide'); + }) + ); let settingConnections = [ {signal: 'changed::icon-name', call: this._setIcon}, {signal: 'changed::market', call: this._refresh}, {signal: 'changed::set-background', call: this._setBackground}, {signal: 'changed::override-lockscreen-blur', call: this._setBlur}, + {signal: 'changed::lockscreen-blur-strength', call: this._setBlur}, + {signal: 'changed::lockscreen-blur-brightness', call: this._setBlur}, {signal: 'changed::selected-image', call: this._setImage}, {signal: 'changed::delete-previous', call: this._cleanUpImages}, {signal: 'changed::notify', call: this._notifyCurrentImage}, @@ -244,11 +256,10 @@ class BingWallpaperIndicator extends Button { // _setShuffleToggleState settingConnections.forEach((e) => { - this._settings.connect(e.signal, e.call.bind(this)); + this.settings_connections.push( + this._settings.connect(e.signal, e.call.bind(this)) + ); }); - - this._settings.connect('changed::lockscreen-blur-strength', blur.set_blur_strength.bind(this, this._settings.get_int('lockscreen-blur-strength'))); - this._settings.connect('changed::lockscreen-blur-brightness', blur.set_blur_brightness.bind(this, this._settings.get_int('lockscreen-blur-brightness'))); // ensure we're in a sensible initial state this._setIcon(); @@ -275,19 +286,23 @@ class BingWallpaperIndicator extends Button { let toggles = [ /*{key: 'set-background', toggle: this.toggleSetBackground},*/ {key: 'revert-to-current-image', toggle: this.toggleSelectNew}, - {key: 'notify', toggle: this.toggleNotifications}, - /*{key: 'show-count-in-image-title', toggle: this.toggleImageCount},*/ + /*{key: 'notify', toggle: this.toggleNotifications}, + {key: 'show-count-in-image-title', toggle: this.toggleImageCount},*/ {key: 'random-mode-enabled', toggle: this.toggleShuffle}, {key: 'random-mode-include-only-favourites', toggle: this.toggleShuffleOnlyFaves}, /*{key: 'random-mode-include-only-unhidden', toggle: this.toggleShuffleOnlyUnhidden},*/ {key: 'random-mode-include-only-uhd', toggle: this.toggleShuffleOnlyUHD}]; - toggles.forEach( (e) => { - this._settings.connect('changed::'+e.key, () => { - e.toggle.setToggleState(this._settings.get_boolean(e.key)); - }); + toggles.forEach( (e) => { + this.settings_connections.push( + this._settings.connect('changed::'+e.key, () => { + log(e.key+' setting changed to '+ (this._settings.get_boolean(e.key)?'true':'false')); + e.toggle.setToggleState(this._settings.get_boolean(e.key)); + }) + ); e.toggle.connect('toggled', (item, state) => { - this._settings.set_boolean(e.key, state); + log(e.key+' switch toggled to '+ (state?'true':'false')); + this._setBooleanSetting(e.key, state); }); }); @@ -300,7 +315,32 @@ class BingWallpaperIndicator extends Button { [this.clipboardImageItem, this.clipboardURLItem]. forEach(e => e.setSensitive(false)); } - } + } + + _setBooleanSetting(key, state) { + let success = this._settings.set_boolean(key, state); + log('key '+key+' set to ' + (state?'true':'false') + ' (returned ' + (success?'true':'false')+')'); + } + + _setStringSetting(key, value) { + let success = this._settings.set_string(key, value); + log('key '+key+' set to ' + value + ' (returned ' + (success?'true':'false')+')'); + } + + _setIntSetting(key, value) { + let success = this._settings.set_int(key, value); + log('key '+key+' set to ' + value + ' (returned ' + (success?'true':'false')+')'); + } + + _onDestroy() { + this._unsetConnections(); + } + + _unsetConnections() { + this.settings_connections.forEach((e) => { + this._settings.disconnect(e); + }); + } _openPrefs() { this._extension.openPreferences(); @@ -312,7 +352,6 @@ class BingWallpaperIndicator extends Button { this.clipboardImageItem.setSensitive(!this._updatePending && this.imageURL != ""); this.clipboardURLItem.setSensitive(!this._updatePending && this.imageURL != ""); this.thumbnailItem.setSensitive(!this._updatePending && this.imageURL != ""); - //this.showItem.setSensitive(!this._updatePending && this.title != "" && this.explanation != ""); this.dwallpaperItem.setSensitive(!this._updatePending && this.filename != ""); this.swallpaperItem.setSensitive(!this._updatePending && this.filename != ""); this.titleItem.setSensitive(!this._updatePending && this.imageinfolink != ""); @@ -348,7 +387,7 @@ class BingWallpaperIndicator extends Button { if (this._settings.get_boolean('notify')) { let image = this._getCurrentImage(); if (image) { - this._createNotification(image); + this._createImageNotification(image); } } } @@ -555,7 +594,7 @@ class BingWallpaperIndicator extends Button { } _curImage() { - this._settings.set_string('selected-image', 'current'); + this._setStringSetting('selected-image', 'current'); this._gotoImage(0); } @@ -569,13 +608,13 @@ class BingWallpaperIndicator extends Button { if (randomEnabled) { log('enabled shuffle mode, by setting a shuffe timer (5 seconds)'); this._restartShuffleTimeout(5); - this._settings.set_boolean('revert-to-current-image', false); + this._setBooleanSetting('revert-to-current-image', false); } else { // clear shuffle timer if (this._shuffleTimeout) GLib.source_remove(this._shuffleTimeout); - this._settings.set_boolean('revert-to-current-image', true); + this._setBooleanSetting('revert-to-current-image', true); } } @@ -627,7 +666,7 @@ class BingWallpaperIndicator extends Button { let newImage = Utils.getImageByIndex(imageList, curIndex + relativePos); if (newImage) - this._settings.set_string('selected-image', newImage.urlbase.replace('/th?id=OHR.', '')); + this._setStringSetting('selected-image', newImage.urlbase.replace('/th?id=OHR.', '')); } _getCurrentImage() { @@ -645,10 +684,17 @@ class BingWallpaperIndicator extends Button { this._restartTimeout(); let market = this._settings.get_string('market'); + // Soup3 should be the version used, but in the past some distros have packaged older versions only if (Soup.MAJOR_VERSION >= 3) { let url = BingImageURL; let params = Utils.BingParams; params['mkt'] = ( market != 'auto' ? market : '' ); + + // if we've set previous days to be something less than 8 and + // delete previous is active we want to just request a subset of wallpapers + if (this._settings.get_boolean('delete-previous') == true && this._settings.get_int('previous-days')<8) { + params['n'] = ""+this._settings.get_int('previous-days'); + } let request = Soup.Message.new_from_encoded_form('GET', url, Soup.form_encode_hash(params)); request.request_headers.append('Accept', 'application/json'); @@ -660,6 +706,7 @@ class BingWallpaperIndicator extends Button { } catch(error) { log('unable to send libsoup json message '+error); + notifyError('Unable to fetch Bing metadata\n'+error); } } else { @@ -675,6 +722,7 @@ class BingWallpaperIndicator extends Button { } catch (error) { log('unable to send libsoup json message '+error); + notifyError('Unable to fetch Bing metadata\n'+error); } } } @@ -694,6 +742,7 @@ class BingWallpaperIndicator extends Button { } catch (error) { log('Network error occured: ' + error); + notifyError('network error occured\n'+error); this._updatePending = false; this._restartTimeout(TIMEOUT_SECONDS_ON_HTTP_ERROR); } @@ -759,13 +808,13 @@ class BingWallpaperIndicator extends Button { log('WARNING: Bing returning market data for ' + datamarket + ' rather than selected ' + prefmarket); Utils.purgeImages(this._settings); // delete older images if enabled - //Utils.cleanupImageList(this._settings); // disabled, as old images should still be downloadble in theory + //Utils.cleanupImageList(this._settings); // merged into purgeImages this._downloadAllImages(); // fetch missing images that are still available Utils.populateImageListResolutions(this._settings); if (newImages.length > 0 && this._settings.get_boolean('revert-to-current-image')) { // user wants to switch to the new image when it arrives - this._settings.set_string('selected-image', 'current'); + this._setStringSetting('selected-image', 'current'); } if (this._settings.get_boolean('notify')) { @@ -773,7 +822,7 @@ class BingWallpaperIndicator extends Button { // notify all new images newImages.forEach((image) => { log('New image to notify: ' + Utils.getImageTitle(image)); - this._createNotification(image); + this._createImageNotification(image); }); } else { @@ -781,7 +830,7 @@ class BingWallpaperIndicator extends Button { let last = newImages.pop(); if (last) { log('New image to notify: ' + Utils.getImageTitle(last)); - this._createNotification(last); + this._createImageNotification(last); } } } @@ -791,6 +840,7 @@ class BingWallpaperIndicator extends Button { } catch (error) { log('_parseData() failed with error ' + error + ' @ '+error.lineNumber); + notifyError('Bing metadata parsing error check ' + error + ' @ '+error.lineNumber); log(error.stack); } } @@ -801,15 +851,25 @@ class BingWallpaperIndicator extends Button { } } - _createNotification(image) { - // set notifications icon - let source = new MessageTray.Source('Bing Wallpaper', 'preferences-desktop-wallpaper-symbolic'); - Main.messageTray.add(source); + _createImageNotification(image) { let msg = _('Bing Wallpaper of the Day for') + ' ' + this._localeDate(image.fullstartdate); let details = Utils.getImageTitle(image); - let notification = new MessageTray.Notification(source, msg, details); - notification.setTransient(this._settings.get_boolean('transient')); - source.showNotification(notification); + this._createNotification(msg, details); + log('_createImageNotification: '+msg+' details: '+details); + } + + _createNotification(msg, details) { + const systemSource = MessageTray.getSystemSource(); + const bingNotify = new MessageTray.Notification({ + source: systemSource, + title: msg, + body: details, + gicon: new Gio.ThemedIcon({name: 'image-x-generic'}), + iconName: 'image-x-generic', + }); + systemSource.addNotification(bingNotify); + //Main.notify(msg, details); + log('_createNotification: '+msg+' details: '+details); } _shuffleImage() { @@ -889,7 +949,7 @@ class BingWallpaperIndicator extends Button { this.dimensions.width = image.width?image.width:null; this.dimensions.height = image.height?image.height:null; this.selected_image = Utils.getImageUrlBase(image); - this._settings.set_string('selected-image', this.selected_image); + this._setStringSetting('selected-image', this.selected_image); if (("favourite" in image) && image.favourite === true ) { this.favourite_status = true; @@ -944,14 +1004,14 @@ class BingWallpaperIndicator extends Button { let stateJSON = JSON.stringify(state); log('Storing state as JSON: ' + stateJSON); - this._settings.set_string('state', stateJSON); + this._setStringSetting('state', stateJSON); } } _reStoreState() { try { // patch for relative paths, ensures that users running git version don't end up with broken state - see EGO review for version 38 https://extensions.gnome.org/review/30299 - this._settings.set_string('download-folder', this._settings.get_string('download-folder').replace('$HOME', '~')); + this._setStringSetting('download-folder', this._settings.get_string('download-folder').replace('$HOME', '~')); let stateJSON = this._settings.get_string('state'); let state = JSON.parse(stateJSON); let maxLongDate = null; @@ -1015,7 +1075,9 @@ class BingWallpaperIndicator extends Button { let BingWallpaperDir = Utils.getWallpaperDir(this._settings); let dir = Gio.file_new_for_path(BingWallpaperDir); if (!dir.query_exists(null)) { - dir.make_directory_with_parents(null); + //dir.make_directory_with_parents(null); + notifyError('Download folder '+BingWallpaperDir+' does not exist or is not writable'); + return; } log("Downloading " + url + " to " + file.get_uri()); let request = Soup.Message.new('GET', url); @@ -1035,6 +1097,7 @@ class BingWallpaperIndicator extends Button { } catch (error) { log('error sending libsoup message '+error); + notifyError('Network error '+error); } } @@ -1059,12 +1122,14 @@ class BingWallpaperIndicator extends Button { } catch(e) { log('Error writing file: ' + e); + notifyError('Image '+file.get_path()+' is not writable, check folder permissions or select a different folder\n'+e); } } ); } catch (error) { log('Unable download image '+error); + notifyError('Image '+file.get_path()+' file error, check folder permissions, disk space or select a different folder\n'+e); } } diff --git a/install.sh b/install.sh index 8a90ef41..c8dde92a 100755 --- a/install.sh +++ b/install.sh @@ -2,6 +2,7 @@ EXTENSION_NAME=BingWallpaper@ineffable-gmail.com INSTALL_PATH=~/.local/share/gnome-shell/extensions +mkdir -p $INSTALL_PATH ZIP_NAME=BingWallpaper@ineffable-gmail.com.zip ./buildzip.sh @@ -10,4 +11,4 @@ mkdir -p $INSTALL_PATH/$EXTENSION_NAME unzip -o $ZIP_NAME -d $INSTALL_PATH/$EXTENSION_NAME/ -gnome-extensions enable $EXTENSION_NAME \ No newline at end of file +gnome-extensions enable $EXTENSION_NAME diff --git a/locale/BingWallpaper.pot b/locale/BingWallpaper.pot index ab4eb258..ac5e6329 100644 --- a/locale/BingWallpaper.pot +++ b/locale/BingWallpaper.pot @@ -1,4 +1,4 @@ -#: ui/prefsadw.ui.h:1 extension.js:139 +#: ui/prefsadw.ui.h:1 extension.js:145 msgid "Settings" msgstr "" @@ -126,99 +126,119 @@ msgstr "" msgid "Enable logging to system journal" msgstr "" -#: ui/prefsadw.ui.h:33 extension.js:153 -msgid "Always show new images" +#: ui/prefsadw.ui.h:33 +msgid "Advanced options" msgstr "" -#: ui/prefsadw.ui.h:34 -msgid "Switch to new images when available (unless on random mode)" +#: ui/prefsadw.ui.h:34 extension.js:159 +msgid "Always show new images" msgstr "" #: ui/prefsadw.ui.h:35 -msgid "Purge on trash" +msgid "Switch to new images when available (unless on random mode)" msgstr "" #: ui/prefsadw.ui.h:36 -msgid "Trashing an image will remove it from database" +msgid "Purge on trash" msgstr "" #: ui/prefsadw.ui.h:37 -msgid "Screen resolution" +msgid "Trashing an image will remove it from database and disk" msgstr "" #: ui/prefsadw.ui.h:38 -msgid "Override automatic resolution selection" +msgid "Screen resolution" msgstr "" #: ui/prefsadw.ui.h:39 -msgid "Random interval" +msgid "Override automatic resolution selection" msgstr "" #: ui/prefsadw.ui.h:40 -msgid "Custom shuffle interval when enabled" +msgid "Random interval" msgstr "" #: ui/prefsadw.ui.h:41 -msgid "Always export Bing data" +msgid "Custom shuffle interval when enabled" msgstr "" #: ui/prefsadw.ui.h:42 -msgid "Export Bing JSON when image data changes" +msgid "Delete older images" msgstr "" #: ui/prefsadw.ui.h:43 -msgid "Bing JSON data" +msgid "Automatically delete older images (excludes favourites)" msgstr "" #: ui/prefsadw.ui.h:44 -msgid "About" +msgid "Number of days to keep images" msgstr "" #: ui/prefsadw.ui.h:45 -msgid "Bing Wallpaper" +msgid "Keep images for this number of days (favourites are kept forever)" msgstr "" #: ui/prefsadw.ui.h:46 -msgid "New wallpaper images everyday from Bing" +msgid "Always export Bing data" msgstr "" #: ui/prefsadw.ui.h:47 -msgid "Maintained by Michael Carroll" +msgid "Export Bing JSON when image data changes" msgstr "" #: ui/prefsadw.ui.h:48 -msgid "Version" +msgid "Bing JSON data" msgstr "" #: ui/prefsadw.ui.h:49 -msgid "Release notes" +msgid "About" msgstr "" #: ui/prefsadw.ui.h:50 -msgid "GNOME extensions page" +msgid "Bing Wallpaper" msgstr "" #: ui/prefsadw.ui.h:51 -msgid "Source code" +msgid "New wallpaper images everyday from Bing" msgstr "" #: ui/prefsadw.ui.h:52 -msgid "Report an issue" +msgid "Maintained by Michael Carroll" msgstr "" #: ui/prefsadw.ui.h:53 -msgid "Contributors" +msgid "Version" msgstr "" #: ui/prefsadw.ui.h:54 +msgid "Release notes" +msgstr "" + +#: ui/prefsadw.ui.h:55 +msgid "GNOME extensions page" +msgstr "" + +#: ui/prefsadw.ui.h:56 +msgid "Source code" +msgstr "" + +#: ui/prefsadw.ui.h:57 +msgid "Report an issue" +msgstr "" + +#: ui/prefsadw.ui.h:58 +msgid "Contributors" +msgstr "" + +#: ui/prefsadw.ui.h:59 msgid "License" msgstr "" -#: ui/prefsadw.ui.h:55 prefs.js:115 +#: ui/prefsadw.ui.h:60 prefs.js:117 msgid "Change folder" msgstr "" -#: ui/prefsadw.ui.h:56 +#: ui/prefsadw.ui.h:61 msgid "Select new wallpaper download folder" msgstr "" @@ -246,8 +266,8 @@ msgstr "" msgid "" msgstr "" -#: ui/carousel4.ui.h:7 -msgid "Set random mode" +#: ui/carousel4.ui.h:7 extension.js:160 +msgid "Image shuffle mode" msgstr "" #: ui/carousel4.ui.h:8 @@ -263,122 +283,118 @@ msgid "every day at midnight" msgstr "" #: ui/intervals.utils.js.h:8 -msgid "every Sunday at midnight" +msgid "Sunday at midnight" +msgstr "" + +#: ui/intervals.utils.js.h:11 +msgid "User defined interval" msgstr "" -#: extension.js:130 +#: extension.js:136 msgid "" msgstr "" -#: extension.js:131 extension.js:132 extension.js:142 extension.js:144 +#: extension.js:137 extension.js:138 extension.js:148 extension.js:150 msgid "Awaiting refresh..." msgstr "" -#: extension.js:133 +#: extension.js:139 msgid "Copy image to clipboard" msgstr "" -#: extension.js:134 +#: extension.js:140 msgid "Copy image URL to clipboard" msgstr "" -#: extension.js:135 +#: extension.js:141 msgid "Open image folder" msgstr "" -#: extension.js:136 extension.js:152 +#: extension.js:142 extension.js:158 msgid "Set background image" msgstr "" -#: extension.js:137 +#: extension.js:143 msgid "Set lock screen image" msgstr "" -#: extension.js:138 +#: extension.js:144 msgid "Refresh Now" msgstr "" -#: extension.js:140 +#: extension.js:146 msgid "Open in image viewer" msgstr "" -#: extension.js:141 +#: extension.js:147 msgid "Open Bing image information page" msgstr "" -#: extension.js:150 +#: extension.js:156 msgid "Quick settings" msgstr "" -#: extension.js:154 -msgid "Image shuffle mode" -msgstr "" - -#: extension.js:155 -msgid "Image shuffle only favourites" -msgstr "" - -#: extension.js:156 -msgid "Enable desktop notifications" +#: extension.js:161 +msgid "Image shuffle only favorites" msgstr "" -#: extension.js:157 +#: extension.js:163 msgid "Show image count" msgstr "" -#: extension.js:158 +#: extension.js:164 msgid "Image shuffle only UHD resolutions" msgstr "" -#: extension.js:321 +#: extension.js:361 msgid "Next refresh" msgstr "" -#: extension.js:323 +#: extension.js:363 msgid "Last refresh" msgstr "" -#: extension.js:326 +#: extension.js:366 msgid "Next shuffle" msgstr "" -#: extension.js:808 extension.js:883 +#: extension.js:856 extension.js:944 msgid "Bing Wallpaper of the Day for" msgstr "" -#: extension.js:921 +#: extension.js:982 msgid "No wallpaper available" msgstr "" -#: extension.js:922 +#: extension.js:983 msgid "No picture for today." msgstr "" -#: prefs.js:107 +#: prefs.js:109 msgid "Open folder" msgstr "" -#: prefs.js:130 +#: prefs.js:132 msgid "Default" msgstr "" -#: prefs.js:138 +#: prefs.js:140 msgid "No blur, slight dim" msgstr "" -#: prefs.js:146 +#: prefs.js:148 msgid "Slight blur & dim" msgstr "" -#: prefs.js:163 +#: prefs.js:165 msgid "Import" msgstr "" -#: prefs.js:171 +#: prefs.js:173 msgid "Export" msgstr "" -#: prefs.js:238 +#: prefs.js:241 msgid "Select wallpaper download folder" msgstr "" @@ -386,14 +402,14 @@ msgstr "" msgid "Error fetching change log: " msgstr "" -#: utils.js:413 utils.js:416 +#: utils.js:400 utils.js:403 msgid "minutes" msgstr "" -#: utils.js:419 +#: utils.js:406 msgid "days" msgstr "" -#: utils.js:422 +#: utils.js:409 msgid "hours" msgstr "" diff --git a/locale/cs/LC_MESSAGES/BingWallpaper.mo b/locale/cs/LC_MESSAGES/BingWallpaper.mo index 7a93e54c..27c1a6fc 100644 Binary files a/locale/cs/LC_MESSAGES/BingWallpaper.mo and b/locale/cs/LC_MESSAGES/BingWallpaper.mo differ diff --git a/locale/cs/LC_MESSAGES/BingWallpaper.po b/locale/cs/LC_MESSAGES/BingWallpaper.po index 788a3710..54b82a7d 100644 --- a/locale/cs/LC_MESSAGES/BingWallpaper.po +++ b/locale/cs/LC_MESSAGES/BingWallpaper.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: bing-wallpaper-gnome-extension\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2023-11-01 11:48+0100\n" +"PO-Revision-Date: 2024-08-05 00:27+1000\n" "Last-Translator: Ludek Vydra \n" "Language-Team: \n" "Language: cs_CZ\n" @@ -16,233 +16,231 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n>=2 && n<=4 ? 1 : 2);\n" -"X-Generator: Poedit 3.4\n" +"X-Generator: Poedit 3.4.2\n" -#: ui/Settings4.ui.h:1 -msgid "Bing Wallpaper pictures folder" -msgstr "Složka tapet z Bing" +#: ui/prefsadw.ui.h:1 extension.js:139 +msgid "Settings" +msgstr "Nastavení" + +#: ui/prefsadw.ui.h:2 +msgid "Indicator" +msgstr "Ikona indikátoru" -#: ui/Settings4.ui.h:2 -msgid "Hide the indicator" +#: ui/prefsadw.ui.h:3 +msgid "Hide Indicator" msgstr "Skryj ikonu" -#: ui/Settings4.ui.h:3 -msgid "Indicator icon" -msgstr "Ikona indikátoru" +#: ui/prefsadw.ui.h:4 +msgid "Whether to hide the panel indicator" +msgstr "Zda má být indikátor panelu skrytý" -#: ui/Settings4.ui.h:4 extension.js:166 -msgid "Enable desktop notifications" +#: ui/prefsadw.ui.h:5 +msgid "Desktop notifications" msgstr "Povolit oznámení na ploše" -#: ui/Settings4.ui.h:5 extension.js:148 extension.js:162 -msgid "Set background image" -msgstr "Nastav obrázek pozadí" +#: ui/prefsadw.ui.h:6 +msgid "Enable notifications on new images" +msgstr "Povolí oznámení nových tapet" + +#: ui/prefsadw.ui.h:7 +msgid "Indicator icon" +msgstr "Ikona indikátoru" -#: ui/Settings4.ui.h:6 -msgid "Background style option" -msgstr "Možnost stylu pozadí" +#: ui/prefsadw.ui.h:8 +msgid "Select from alternate tray icons" +msgstr "Vyber ikonu panelu" -#: ui/Settings4.ui.h:7 +#: ui/prefsadw.ui.h:9 msgid "Download folder" msgstr "Složka pro stažení souborů" -#: ui/Settings4.ui.h:8 -msgid "Open folder" -msgstr "Otevři složku" +#: ui/prefsadw.ui.h:10 +msgid "Open or change wallpaper downloads folder" +msgstr "Otevři nebo změň složku stažených tapet" -#: ui/Settings4.ui.h:9 -msgid "Delete previously downloaded wallpapers" -msgstr "Smaž tapety, které jste dříve stáhli" +#: ui/prefsadw.ui.h:11 +msgid "Wallpaper" +msgstr "Tapeta" -#: ui/Settings4.ui.h:10 -msgid "Selected image" -msgstr "Vybraný obrázek" +#: ui/prefsadw.ui.h:12 +msgid "Set wallpaper" +msgstr "Nastav tapetu" -#: ui/Settings4.ui.h:11 -msgid "Shuffle enabled" -msgstr "Náhodně povoleno" +#: ui/prefsadw.ui.h:13 +msgid "Whether to set wallpaper automatically" +msgstr "Automatické nastavení tapety" -#: ui/Settings4.ui.h:12 -msgid "Shuffle mode" -msgstr "Náhodný mód" +#: ui/prefsadw.ui.h:14 +msgid "Shuffle wallpaper" +msgstr "Přepni tapetu" -#: ui/Settings4.ui.h:13 -msgid "Bing locale" -msgstr "Národní nastavení Bing" +#: ui/prefsadw.ui.h:15 +msgid "Randomly select wallpaper from collection" +msgstr "Náhodně vyber tapetu z kolekce" -#: ui/Settings4.ui.h:14 extension.js:151 -msgid "Settings" -msgstr "Nastavení" +#: ui/prefsadw.ui.h:16 +msgid "Shuffle interval" +msgstr "Interval přepnutí" -#: ui/Settings4.ui.h:15 -msgid "Dynamically switches blur on GDM3 lock screen" -msgstr "Dynamicky přepíná rozostření na zamykací obrazovce GDM3" +#: ui/prefsadw.ui.h:17 +msgid "How frequently to shuffle wallpapers" +msgstr "Jak často náhodně přepínat tapety" -#: ui/Settings4.ui.h:16 -msgid "Enable dynamic lockscreen blur" -msgstr "Povolit dynamické rozostření na zamykací obrazovce" +#: ui/prefsadw.ui.h:18 +msgid "Downloads" +msgstr "Složka pro stažení souborů" -#: ui/Settings4.ui.h:17 -msgid "Blur can improve readability" -msgstr "Rozostření může zlepšit čitelnost výzvy k přihlášení" +#: ui/prefsadw.ui.h:19 +msgid "Lock screen" +msgstr "Uzamykací obrazovka" -#: ui/Settings4.ui.h:18 -msgid "Background blur intensity" -msgstr "Intenzita rozostření pozadí" +#: ui/prefsadw.ui.h:20 +msgid "Lockscreen blur" +msgstr "Rozostření uzamykací obrazovky" -#: ui/Settings4.ui.h:19 -msgid "Can improve contrast of login prompt" -msgstr "Může zlepšit kontrast výzvy k přihlášení" +#: ui/prefsadw.ui.h:21 +msgid "Dynamic lockscreen blur" +msgstr "Dynamické rozostření zamykací obrazovky" -#: ui/Settings4.ui.h:20 -msgid "Background brightness" -msgstr "Jas pozadí" +#: ui/prefsadw.ui.h:22 +msgid "Whether to enable dynamic blur mode on lock screen" +msgstr "Povolení režimu dynamického rozostření na uzamčené obrazovce" -#: ui/Settings4.ui.h:21 -msgid "Presets" -msgstr "Předvolby" +#: ui/prefsadw.ui.h:23 +msgid "Blur strength" +msgstr "Síla rozostření" -#: ui/Settings4.ui.h:22 -msgid "No blur, slight dim" -msgstr "Žádné rozostření, mírné ztmavení" +#: ui/prefsadw.ui.h:24 +msgid "Blur strength when login prompt is not visible" +msgstr "Síla rozmazání, když není vidět výzva k přihlášení" -#: ui/Settings4.ui.h:23 -msgid "GNOME default" -msgstr "Výchozí GNOME" +#: ui/prefsadw.ui.h:25 +msgid "Wallpaper brightness" +msgstr "Jas tapety" -#: ui/Settings4.ui.h:24 -msgid "Slight blur, slight dim" -msgstr "Mírné rozostření, mírné ztmavení" +#: ui/prefsadw.ui.h:26 +msgid "Dim wallpaper when login prompt is not visible" +msgstr "Setmění tapety, když není vidět výzva k přihlášení" -#: ui/Settings4.ui.h:25 -msgid "Lock Screen" -msgstr "Uzamčení obrazovky" +#: ui/prefsadw.ui.h:27 +msgid "Presets" +msgstr "Předvolby" -#: ui/Settings4.ui.h:26 -msgid "Enable logging to system journal" -msgstr "Povolit logování do systémového žurnálu" +#: ui/prefsadw.ui.h:28 +msgid "Gallery" +msgstr "Galerie" + +#: ui/prefsadw.ui.h:29 +msgid "Debug" +msgstr "Debug" + +#: ui/prefsadw.ui.h:30 +msgid "Debug options" +msgstr "Ladicí možnosti" -#: ui/Settings4.ui.h:27 +#: ui/prefsadw.ui.h:31 msgid "Debug logging" msgstr "Debug logging" -#: ui/Settings4.ui.h:28 -msgid "Switch to new images when available (unless on random mode)" -msgstr "" -"Přepínání na nové obrázky, jakmile jsou k dispozici (pokud není zapnutý " -"náhodný režim)." +#: ui/prefsadw.ui.h:32 +msgid "Enable logging to system journal" +msgstr "Povolit logování do systémového žurnálu" -#: ui/Settings4.ui.h:29 extension.js:163 +#: ui/prefsadw.ui.h:33 extension.js:153 msgid "Always show new images" msgstr "Vždy zobrazit nové obrázky" -#: ui/Settings4.ui.h:30 -msgid "Some newer features may be unstable on Wayland" -msgstr "Některé novější funkce mohou být na systému Wayland nestabilní" +#: ui/prefsadw.ui.h:34 +msgid "Switch to new images when available (unless on random mode)" +msgstr "Přepne na nové tapety, jakmile jsou k dispozici (ne při náhodném režimu)." + +#: ui/prefsadw.ui.h:35 +msgid "Purge on trash" +msgstr "Vysypat do koše" -#: ui/Settings4.ui.h:31 -msgid "Enable all features on Wayland" -msgstr "Povolení všech funkcí v systému Wayland" +#: ui/prefsadw.ui.h:36 +msgid "Trashing an image will remove it from database" +msgstr "Vymazání obrázku jej odstraní z databáze" -#: ui/Settings4.ui.h:32 +#: ui/prefsadw.ui.h:37 msgid "Screen resolution" msgstr "Rozlišení obrazovky" -#: ui/Settings4.ui.h:33 +#: ui/prefsadw.ui.h:38 msgid "Override automatic resolution selection" msgstr "Přebít automatický výběr rozlišení obrazovky" -#: ui/Settings4.ui.h:34 -msgid "Manually adjust random interval (seconds)" -msgstr "Nastav ručně náhodný interval (sekundy)" - -#: ui/Settings4.ui.h:35 +#: ui/prefsadw.ui.h:39 msgid "Random interval" msgstr "Náhodný interval" -#: ui/Settings4.ui.h:36 -msgid "Import Bing Wallpaper data" -msgstr "Importuj data Bing Wallpaper" - -#: ui/Settings4.ui.h:37 -msgid "Import previously exported JSON data from wallpaper directory" -msgstr "Importuj předtím exportovaná data JSON z adresáře tapet" - -#: ui/Settings4.ui.h:38 -msgid "Import" -msgstr "Import" - -#: ui/Settings4.ui.h:39 -msgid "Export Bing Wallpaper data" -msgstr "Exmportuj data Bing Wallpaper" - -#: ui/Settings4.ui.h:40 -msgid "Export JSON data to wallpaper dir for backup or data migration" -msgstr "Exportuj JSON data do adresáře tapet pro zálohování nebo migraci" - -#: ui/Settings4.ui.h:41 -msgid "Export" -msgstr "Export" +#: ui/prefsadw.ui.h:40 +msgid "Custom shuffle interval when enabled" +msgstr "Vlastní interval náhodného přepnutí, pokud je povolen" -#: ui/Settings4.ui.h:42 +#: ui/prefsadw.ui.h:41 msgid "Always export Bing data" msgstr "Vždy exportuj Bing data" -#: ui/Settings4.ui.h:43 -msgid "Export Bing JSON whenever data changes" -msgstr "Exportuj Bing JSON kdykoli se data změní" +#: ui/prefsadw.ui.h:42 +msgid "Export Bing JSON when image data changes" +msgstr "Exportuj Bing JSON když se data změní" -#: ui/Settings4.ui.h:44 -msgid "Debug options" -msgstr "Ladicí možnosti" +#: ui/prefsadw.ui.h:43 +msgid "Bing JSON data" +msgstr "Bing JSON data" -#: ui/Settings4.ui.h:45 -msgid "Gallery" -msgstr "Galerie" +#: ui/prefsadw.ui.h:44 +msgid "About" +msgstr "O rozšíření" + +#: ui/prefsadw.ui.h:45 +msgid "Bing Wallpaper" +msgstr "Bing Wallpaper" -#: ui/Settings4.ui.h:46 +#: ui/prefsadw.ui.h:46 msgid "New wallpaper images everyday from Bing" msgstr "Nové Bing obrázky tapet každý den" -#: ui/Settings4.ui.h:47 -msgid "GNOME shell extension version " -msgstr "Verze rozšíření Gnome Shell " - -#: ui/Settings4.ui.h:48 +#: ui/prefsadw.ui.h:47 msgid "Maintained by Michael Carroll" msgstr "Správcem je Michael Carroll" -#: ui/Settings4.ui.h:49 -msgid "" -"Show your support to the author on Flattr or Github " -"Sponsors." -msgstr "" -"Podpořte autora na Flattr nebo Github Sponsors." +#: ui/prefsadw.ui.h:48 +msgid "Version" +msgstr "Verze" -#: ui/Settings4.ui.h:50 -msgid "Changes since last version" -msgstr "Změny od poslední verze" +#: ui/prefsadw.ui.h:49 +msgid "Release notes" +msgstr "Poznámky k vydání" -#: ui/Settings4.ui.h:51 -msgid "Based on NASA APOD GNOME shell extension by Elia Argentieri" -msgstr "Založeno na rozšíření NASA APOD GNOME od Elia Argentieriho" +#: ui/prefsadw.ui.h:50 +msgid "GNOME extensions page" +msgstr "Stránka rozšíření GNOME" -#: ui/Settings4.ui.h:52 -msgid "" -"This program comes with ABSOLUTELY NO WARRANTY.\n" -"See the GNU General " -"Public License, version 3 or later for details." -msgstr "" -"Tento program je ABSOLUTNĚ BEZ ZÁRUKY.\n" -"Podrobnosti se dozvíte na Obecná veřejná licence GNU v.3 nebo pozdější." +#: ui/prefsadw.ui.h:51 +msgid "Source code" +msgstr "Zdrojový kód" -#: ui/Settings4.ui.h:54 -msgid "About" -msgstr "O rozšíření" +#: ui/prefsadw.ui.h:52 +msgid "Report an issue" +msgstr "Nahlas problém" + +#: ui/prefsadw.ui.h:53 +msgid "Contributors" +msgstr "Přispěvatelé" + +#: ui/prefsadw.ui.h:54 +msgid "License" +msgstr "License" + +#: ui/prefsadw.ui.h:55 prefs.js:115 +msgid "Change folder" +msgstr "Změň adresář" + +#: ui/prefsadw.ui.h:56 +msgid "Select new wallpaper download folder" +msgstr "Zvolte novou složku pro stahování tapet" #: ui/carousel4.ui.h:1 msgid "Favorite" @@ -268,9 +266,9 @@ msgstr "Vymaž" msgid "" msgstr "" -#: ui/carousel4.ui.h:7 -msgid "Set random mode" -msgstr "Nastav náhodný mód" +#: ui/carousel4.ui.h:7 extension.js:154 +msgid "Image shuffle mode" +msgstr "Mód náhodného přepnutí obrázků" #: ui/carousel4.ui.h:8 msgid "Load image gallery" @@ -285,86 +283,128 @@ msgid "every day at midnight" msgstr "každý den o půlnoci" #: ui/intervals.utils.js.h:8 -msgid "every Sunday at midnight" +msgid "Sunday at midnight" msgstr "každou neděli o půlnoci" -#: extension.js:141 +#: ui/intervals.utils.js.h:11 +#, fuzzy +#| msgid "Random interval" +msgid "User defined interval" +msgstr "Náhodný interval" + +#: extension.js:130 msgid "" msgstr "" -#: extension.js:142 extension.js:143 extension.js:144 +#: extension.js:131 extension.js:132 extension.js:142 extension.js:144 msgid "Awaiting refresh..." msgstr "Čekám na obnovu..." -#: extension.js:145 +#: extension.js:133 msgid "Copy image to clipboard" msgstr "Kopíruj obrázek do schránky" -#: extension.js:146 +#: extension.js:134 msgid "Copy image URL to clipboard" msgstr "Kopíruj URL obrázku do schránky" -#: extension.js:147 +#: extension.js:135 msgid "Open image folder" msgstr "Otevři adresář s obrázky" -#: extension.js:149 +#: extension.js:136 extension.js:152 +msgid "Set background image" +msgstr "Nastav obrázek pozadí" + +#: extension.js:137 msgid "Set lock screen image" msgstr "Nastav obrázek při uzamčení obrazovky" -#: extension.js:150 +#: extension.js:138 msgid "Refresh Now" msgstr "Obnov teď" -#: extension.js:152 +#: extension.js:140 msgid "Open in image viewer" msgstr "Otevři v prohlížeči" -#: extension.js:153 +#: extension.js:141 msgid "Open Bing image information page" msgstr "Otevři Bing image informační stránku" -#: extension.js:160 +#: extension.js:150 msgid "Quick settings" msgstr "Rychlé nastavení" -#: extension.js:164 -msgid "Image shuffle mode" -msgstr "Mód náhodného přehrávání obrázků" +#: extension.js:155 +msgid "Image shuffle only favorites" +msgstr "Mód náhodného přepnutí jen favoritů" -#: extension.js:165 -msgid "Image shuffle only favourites" -msgstr "Mód náhodného přehrávání jen favoritů" +#: extension.js:156 +msgid "Enable desktop notifications" +msgstr "Povolit oznámení na ploše" -#: extension.js:167 +#: extension.js:157 msgid "Show image count" msgstr "Zobrazit počet obrázků" -#: extension.js:335 +#: extension.js:158 +msgid "Image shuffle only UHD resolutions" +msgstr "Přepínej jen obrázky vysokého rozlišení" + +#: extension.js:321 msgid "Next refresh" msgstr "Příští obnova" -#: extension.js:336 +#: extension.js:323 msgid "Last refresh" msgstr "Poslední obnova" -#: extension.js:783 extension.js:826 +#: extension.js:326 +msgid "Next shuffle" +msgstr "Další přepnutí" + +#: extension.js:808 extension.js:883 msgid "Bing Wallpaper of the Day for" msgstr "Tapeta z Bing pro den" -#: extension.js:857 +#: extension.js:921 msgid "No wallpaper available" msgstr "Žádná tapeta není dostupná" -#: extension.js:858 +#: extension.js:922 msgid "No picture for today." msgstr "Dnes není dostupný žádný obrázek." -#: prefs.js:160 -msgid "Select folder" -msgstr "Vyber adresář" +#: prefs.js:107 +msgid "Open folder" +msgstr "Otevři složku" + +#: prefs.js:130 +msgid "Default" +msgstr "Výchozí" -#: utils.js:130 +#: prefs.js:138 +msgid "No blur, slight dim" +msgstr "Lehké" + +#: prefs.js:146 +msgid "Slight blur & dim" +msgstr "Mírné" + +#: prefs.js:163 +msgid "Import" +msgstr "Import" + +#: prefs.js:171 +msgid "Export" +msgstr "Export" + +#: prefs.js:238 +msgid "Select wallpaper download folder" +msgstr "Zvolte složku pro stažení tapety" + +#: utils.js:134 msgid "Error fetching change log: " msgstr "Chyba stahování protokolu změn: " @@ -380,8 +420,72 @@ msgstr "dnů" msgid "hours" msgstr "hodin" -#~ msgid "Select from image gallery" -#~ msgstr "Vyber z galerie obrázků" +#~ msgid "Bing Wallpaper pictures folder" +#~ msgstr "Složka tapet z Bing" + +#~ msgid "Background style option" +#~ msgstr "Možnost stylu pozadí" + +#~ msgid "Delete previously downloaded wallpapers" +#~ msgstr "Smaž tapety, které jste dříve stáhli" + +#~ msgid "Selected image" +#~ msgstr "Vybraný obrázek" + +#~ msgid "Shuffle mode" +#~ msgstr "Náhodný mód" + +#~ msgid "Bing locale" +#~ msgstr "Národní nastavení Bing" + +#~ msgid "Dynamically switches blur on GDM3 lock screen" +#~ msgstr "Dynamicky přepíná rozostření na zamykací obrazovce GDM3" + +#~ msgid "Blur can improve readability" +#~ msgstr "Rozostření může zlepšit čitelnost výzvy k přihlášení" + +#~ msgid "Background blur intensity" +#~ msgstr "Intenzita rozostření pozadí" + +#~ msgid "Can improve contrast of login prompt" +#~ msgstr "Může zlepšit kontrast výzvy k přihlášení" + +#~ msgid "Some newer features may be unstable on Wayland" +#~ msgstr "Některé novější funkce mohou být na systému Wayland nestabilní" + +#~ msgid "Enable all features on Wayland" +#~ msgstr "Povolení všech funkcí v systému Wayland" + +#~ msgid "Manually adjust random interval (seconds)" +#~ msgstr "Nastav ručně náhodný interval (sekundy)" + +#~ msgid "Import previously exported JSON data from wallpaper directory" +#~ msgstr "Importuj předtím exportovaná data JSON z adresáře tapet" + +#~ msgid "Export Bing Wallpaper data" +#~ msgstr "Exmportuj data Bing Wallpaper" + +#~ msgid "Export JSON data to wallpaper dir for backup or data migration" +#~ msgstr "Exportuj JSON data do adresáře tapet pro zálohování nebo migraci" + +#~ msgid "Show your support to the author on Flattr or Github Sponsors." +#~ msgstr "Podpořte autora na Flattr nebo Github Sponsors." + +#~ msgid "Changes since last version" +#~ msgstr "Změny od poslední verze" + +#~ msgid "Based on NASA APOD GNOME shell extension by Elia Argentieri" +#~ msgstr "Založeno na rozšíření NASA APOD GNOME od Elia Argentieriho" + +#~ msgid "" +#~ "This program comes with ABSOLUTELY NO WARRANTY.\n" +#~ "See the GNU General Public License, version 3 or later for details." +#~ msgstr "" +#~ "Tento program je ABSOLUTNĚ BEZ ZÁRUKY.\n" +#~ "Podrobnosti se dozvíte na Obecná veřejná licence GNU v.3 nebo pozdější." + +#~ msgid "Select folder" +#~ msgstr "Vyber adresář" #~ msgid "Use custom blur and brightness" #~ msgstr "Použij vlastního rozostření a jas" @@ -425,14 +529,5 @@ msgstr "hodin" #~ msgid "https://github.com/neffo/bing-wallpaper-gnome-extension" #~ msgstr "https://github.com/neffo/bing-wallpaper-gnome-extension" -#, fuzzy -#~| msgid "Set wallpaper" -#~ msgid "Set as wallpaper" -#~ msgstr "Nastav tapety" - -#~ msgid "" -#~ "Changes your wallpaper daily to the Bing picture of the day for your " -#~ "region. Displays the picture description and copyright information." -#~ msgstr "" -#~ "Zmení denně tapetu vaší plochy z denního obrázku Bingu pro území, kde se " -#~ "nacházíte. Zobrazí popis obrázku a informace o autorských právech." +#~ msgid "Changes your wallpaper daily to the Bing picture of the day for your region. Displays the picture description and copyright information." +#~ msgstr "Zmení denně tapetu vaší plochy z denního obrázku Bingu pro území, kde se nacházíte. Zobrazí popis obrázku a informace o autorských právech." diff --git a/locale/de/LC_MESSAGES/BingWallpaper.mo b/locale/de/LC_MESSAGES/BingWallpaper.mo index 88428849..f93b804b 100644 Binary files a/locale/de/LC_MESSAGES/BingWallpaper.mo and b/locale/de/LC_MESSAGES/BingWallpaper.mo differ diff --git a/locale/de/LC_MESSAGES/BingWallpaper.po b/locale/de/LC_MESSAGES/BingWallpaper.po index 6ebae71d..979bc97b 100644 --- a/locale/de/LC_MESSAGES/BingWallpaper.po +++ b/locale/de/LC_MESSAGES/BingWallpaper.po @@ -263,10 +263,6 @@ msgstr "Informationen" msgid "Delete" msgstr "Löschen" -#: ui/carousel.ui.h:5 ui/carousel4.ui.h:6 -msgid "Set random mode" -msgstr "Zufallsmodus festlegen" - #: ui/carousel4.ui.h:1 msgid "Favorite" msgstr "Favorit" @@ -324,7 +320,7 @@ msgid "Image shuffle mode" msgstr "Shuffle-Modus für Bilder" #: extension.js:162 -msgid "Image shuffle only favourites" +msgid "Image shuffle only favorites" msgstr "Shuffle-Modus nur Favoriten" #: extension.js:164 diff --git a/locale/fa_IR/LC_MESSAGES/BingWallpaper.mo b/locale/fa_IR/LC_MESSAGES/BingWallpaper.mo new file mode 100644 index 00000000..ec28f706 Binary files /dev/null and b/locale/fa_IR/LC_MESSAGES/BingWallpaper.mo differ diff --git a/locale/fa_IR/LC_MESSAGES/BingWallpaper.po b/locale/fa_IR/LC_MESSAGES/BingWallpaper.po new file mode 100644 index 00000000..97a5801c --- /dev/null +++ b/locale/fa_IR/LC_MESSAGES/BingWallpaper.po @@ -0,0 +1,375 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Shahrad Elahi , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-04-04 16:06+0330\n" +"PO-Revision-Date: 2024-04-04 16:10+0330\n" +"Last-Translator: Shahrad Elahi\n" +"Language-Team: \n" +"Language: fa_IR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n==0 || n==1);\n" +"X-Generator: Poedit 3.4\n" + +#: ui/Settings.ui.h:1 ui/Settings4.ui.h:2 +msgid "Hide the indicator" +msgstr "پنهان کردن نشانگر" + +#: ui/Settings.ui.h:2 ui/Settings4.ui.h:3 +msgid "Indicator icon" +msgstr "نماد نشانگر" + +#: ui/Settings.ui.h:3 ui/Settings4.ui.h:4 +msgid "Enable desktop notifications" +msgstr "فعال کردن اعلان های دسکتاپ" + +#: ui/Settings.ui.h:4 ui/Settings4.ui.h:5 extension.js:118 +msgid "Set background image" +msgstr "تنظیم تصویر پس زمینه" + +#: ui/Settings.ui.h:5 ui/Settings4.ui.h:6 +msgid "Background style option" +msgstr "گزینه سبک پس زمینه" + +#: ui/Settings.ui.h:6 ui/Settings4.ui.h:7 +msgid "Download folder" +msgstr "پوشه دانلود" + +#: ui/Settings.ui.h:7 ui/Settings4.ui.h:1 +msgid "Bing Wallpaper pictures folder" +msgstr "پوشه تصاویر پس زمینه بینگ" + +#: ui/Settings.ui.h:8 ui/Settings4.ui.h:8 +msgid "Open folder" +msgstr "باز کردن پوشه" + +#: ui/Settings.ui.h:9 ui/Settings4.ui.h:9 +msgid "Delete previously downloaded wallpapers" +msgstr "حذف کردن تصاویر دانلود شده قدیمی" + +#: ui/Settings.ui.h:10 ui/Settings4.ui.h:10 +msgid "Selected image" +msgstr "تصویر انتخاب شده" + +#: ui/Settings.ui.h:11 ui/Settings4.ui.h:11 +msgid "Select from image gallery" +msgstr "انتخاب از گالری" + +#: ui/Settings.ui.h:12 ui/Settings4.ui.h:12 +msgid "Bing locale" +msgstr "منطقه و زبان" + +#: ui/Settings.ui.h:13 ui/Settings4.ui.h:13 extension.js:121 +msgid "Settings" +msgstr "تنظیمات" + +#: ui/Settings.ui.h:14 ui/Settings4.ui.h:14 +msgid "Use custom blur and brightness" +msgstr "استفاده از تاری و روشنایی سفارشی" + +#: ui/Settings.ui.h:15 ui/Settings4.ui.h:15 +msgid "Override GDM3 lockscreen effects" +msgstr "نادیده گرفتن جلوه‌های صفحه قفل GDM3" + +#: ui/Settings.ui.h:16 ui/Settings4.ui.h:16 +msgid "Blur can improve readability of login prompt" +msgstr "تار بودن می تواند خوانایی دیالوگ ورود را بهبود بخشد" + +#: ui/Settings.ui.h:17 ui/Settings4.ui.h:17 +msgid "Background blur intensity" +msgstr "شدت تاری پس زمینه" + +#: ui/Settings.ui.h:18 ui/Settings4.ui.h:18 +msgid "Can improve contrast of login prompt" +msgstr "می تواند کنتراست دیالوگ ورود را بهبود بخشد" + +#: ui/Settings.ui.h:19 ui/Settings4.ui.h:19 +msgid "Background brightness" +msgstr "روشنایی پس زمینه" + +#: ui/Settings.ui.h:20 ui/Settings4.ui.h:20 +msgid "Presets" +msgstr "تنظیمات از پیش تعیین شده" + +#: ui/Settings.ui.h:21 +msgid "Commonly used presets" +msgstr "تنظیم های رایج استفاده شده" + +#: ui/Settings.ui.h:22 ui/Settings4.ui.h:21 +msgid "No blur, slight dim" +msgstr "بدون تاری، کم نور" + +#: ui/Settings.ui.h:23 ui/Settings4.ui.h:22 +msgid "GNOME default" +msgstr "پیشفرض گنوم" + +#: ui/Settings.ui.h:24 ui/Settings4.ui.h:23 +msgid "Slight blur, slight dim" +msgstr "تاری جزئی، کم نور" + +#: ui/Settings.ui.h:25 ui/Settings4.ui.h:24 +msgid "Lock Screen" +msgstr "صفحه قفل" + +#: ui/Settings.ui.h:26 ui/Settings4.ui.h:26 +msgid "Debug logging" +msgstr "لاگ کردن برای اشکال زدایی" + +#: ui/Settings.ui.h:27 ui/Settings4.ui.h:25 +msgid "Enable logging to system journal" +msgstr "لاگ کردن در ژورنال را فعال کنید" + +#: ui/Settings.ui.h:28 ui/Settings4.ui.h:28 +msgid "Always show new images" +msgstr "همیشه تصاویر جدید را نشان دهید" + +#: ui/Settings.ui.h:29 ui/Settings4.ui.h:27 +msgid "Switch to new images when available (unless on random mode)" +msgstr "در صورت موجود بودن به تصاویر جدید بروید (مگر در حالت تصادفی)" + +#: ui/Settings.ui.h:30 ui/Settings4.ui.h:30 +msgid "Enable all features on Wayland" +msgstr "فعال سازی تمام ویژگی‌ها در Wayland" + +#: ui/Settings.ui.h:31 ui/Settings4.ui.h:29 +msgid "Some newer features may be unstable on Wayland" +msgstr "برخی از ویژگی های جدید ممکن است در Wayland ناپایدار باشند" + +#: ui/Settings.ui.h:32 ui/Settings4.ui.h:31 +msgid "Screen resolution" +msgstr "وضوح صفحه" + +#: ui/Settings.ui.h:33 ui/Settings4.ui.h:32 +msgid "Override automatic resolution selection" +msgstr "نادیده گرفتن انتخاب وضوح خودکار" + +#: ui/Settings.ui.h:34 ui/Settings4.ui.h:33 +msgid "Manually adjust random interval (seconds)" +msgstr "تنظیم دستی بازه تصادفی (ثانیه)" + +#: ui/Settings.ui.h:35 ui/Settings4.ui.h:34 +msgid "Random interval" +msgstr "بازه تصادفی" + +#: ui/Settings.ui.h:36 ui/Settings4.ui.h:35 +msgid "Import Bing Wallpaper data" +msgstr "داده‌های Bing Wallpaper را وارد کنید" + +#: ui/Settings.ui.h:37 ui/Settings4.ui.h:36 +msgid "Import previously exported JSON data from wallpaper directory" +msgstr "داده‌های JSON صادر شده قبلی را از پوشه پس زمینه‌ها وارد کنید" + +#: ui/Settings.ui.h:38 ui/Settings4.ui.h:37 +msgid "Import" +msgstr "وارد كردن" + +#: ui/Settings.ui.h:39 ui/Settings4.ui.h:38 +msgid "Export Bing Wallpaper data" +msgstr "داده‌های Bing Wallpaper را صادر کنید" + +#: ui/Settings.ui.h:40 ui/Settings4.ui.h:39 +msgid "Export JSON data to wallpaper dir for backup or data migration" +msgstr "صادر کردن داده‌های JSON جهت تهیه نسخه پشتیبان یا انتقال داده" + +#: ui/Settings.ui.h:41 ui/Settings4.ui.h:40 +msgid "Export" +msgstr "صادر کردن" + +#: ui/Settings.ui.h:42 ui/Settings4.ui.h:41 +msgid "Always export Bing data" +msgstr "همیشه داده‌های بینگ را صادر کنید" + +#: ui/Settings.ui.h:43 ui/Settings4.ui.h:42 +msgid "Export Bing JSON whenever data changes" +msgstr "صادر کردن داده‌های JSON بینگ در زمان تغییر ها" + +#: ui/Settings.ui.h:44 ui/Settings4.ui.h:43 +msgid "Debug options" +msgstr "گزینه های اشکال زدایی" + +#: ui/Settings.ui.h:45 ui/Settings4.ui.h:44 +msgid "New wallpaper images everyday from Bing" +msgstr "تصاویر پس زمینه جدید هر روز از بینگ" + +#: ui/Settings.ui.h:46 +msgid "Gnome shell extension version " +msgstr "نسخه افزونه گنوم شل " + +#: ui/Settings.ui.h:47 ui/Settings4.ui.h:46 +msgid "Maintained by Michael Carroll" +msgstr "تحت نظارت Michael Carroll" + +#: ui/Settings.ui.h:48 ui/Settings4.ui.h:47 +msgid "" +"Show your support to the author on Flattr or Github " +"Sponsors." +msgstr "" +"حمایت خود را از نویسنده در Flattr " +"یا Github Sponsors نشان " +"دهید." + +#: ui/Settings.ui.h:49 ui/Settings4.ui.h:48 +msgid "Changes since last version" +msgstr "تغییرات نسبت به آخرین نسخه" + +#: ui/Settings.ui.h:50 ui/Settings4.ui.h:49 +msgid "Based on NASA APOD Gnome shell extension by Elia Argentieri" +msgstr "بر اساس افزونه گنوم NASA APOD توسط Elia Argentieri" + +#: ui/Settings.ui.h:51 ui/Settings4.ui.h:50 +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:53 ui/Settings4.ui.h:52 +msgid "About" +msgstr "درباره" + +#: ui/Settings4.ui.h:43 +msgid "Gallery" +msgstr "گالری" + +#: ui/Settings4.ui.h:45 +msgid "GNOME shell extension version " +msgstr "نسخه افزونه گنوم شل " + +#: ui/carousel.ui.h:1 ui/carousel4.ui.h:2 +msgid "Apply" +msgstr "اعمال کردن" + +#: ui/carousel.ui.h:2 ui/carousel4.ui.h:3 +msgid "View" +msgstr "نمایش" + +#: ui/carousel.ui.h:3 ui/carousel4.ui.h:4 +msgid "Info" +msgstr "اطلاعات" + +#: ui/carousel.ui.h:4 ui/carousel4.ui.h:5 +msgid "Delete" +msgstr "حذف" + +#: ui/carousel.ui.h:5 ui/carousel4.ui.h:6 +msgid "Image shuffle mode" +msgstr "تنظیم بر روی حالت تصادفی" + +#: ui/carousel4.ui.h:1 +msgid "Favorite" +msgstr "مورد علاقه" + +#: ui/carousel4.ui.h:1 +msgid "" +msgstr "<نام تصویر>" + +#: ui/carousel4.ui.h:8 +msgid "Load image gallery" +msgstr "بارگیری گالری تصاویر" + +#: extension.js:106 +msgid "" +msgstr "<بروز رسانی برنامه ریزی نشده>" + +#: extension.js:108 extension.js:110 extension.js:113 +msgid "Awaiting refresh..." +msgstr "در انتظار به‌روزرسانی..." + +#: extension.js:115 +msgid "Copy image to clipboard" +msgstr "کپی کردن تصویر" + +#: extension.js:116 +msgid "Copy image URL to clipboard" +msgstr "آدرس تصویر را کپی کنید" + +#: extension.js:117 +msgid "Open image folder" +msgstr "باز کردن پوشه تصویر" + +#: extension.js:119 +msgid "Set lock screen image" +msgstr "تنظیم تصویر صفحه قفل" + +#: extension.js:120 +msgid "Refresh Now" +msgstr "به‌روزرسانی" + +#: extension.js:149 +msgid "Open in image viewer" +msgstr "باز کردن در نمایشگر تصویر" + +#: extension.js:150 +msgid "Open Bing image information page" +msgstr "باز کردن صفحه اطلاعات تصویر بینگ" + +#: extension.js:157 +msgid "Quick settings" +msgstr "تنظیمات سریع" + +#: extension.js:162 +msgid "Image shuffle only favorites" +msgstr "فقط موارد دلخواه حالت مخلوط کردن" + +#: extension.js:164 +msgid "Show image count" +msgstr "نمایش تعداد تصاویر" + +#: extension.js:209 +msgid "Next refresh" +msgstr "رفرش بعدی" + +#: extension.js:334 +msgid "Last refresh" +msgstr "رفرش قبلی" + +#: extension.js:505 extension.js:532 +msgid "Bing Wallpaper of the Day for" +msgstr "تصویر زمینه Bing برای روز" + +#: extension.js:557 +msgid "No wallpaper available" +msgstr "تصویر زمینه موجود نیست" + +#: extension.js:558 +msgid "No picture for today." +msgstr "عکسی برای امروز نیست." + +#: prefs.js:159 +msgid "Select folder" +msgstr "انتخاب پوشه" + +#: prefs.js:202 +msgid "Most recent image" +msgstr "جدیدترین تصویر" + +#: prefs.js:203 +msgid "Random image" +msgstr "تصویر تصادفی" + +#: utils.js:135 +msgid "Error fetching change log: " +msgstr "خطا در دریافت تغییرات: " + +#: utils.js:366 utils.js:369 +msgid "minutes" +msgstr "دقیقه" + +#: utils.js:372 +msgid "days" +msgstr "روز" + +#: utils.js:375 +msgid "hours" +msgstr "ساعت" diff --git a/locale/it/LC_MESSAGES/BingWallpaper.mo b/locale/it/LC_MESSAGES/BingWallpaper.mo index 2f74f533..89c35e9f 100644 Binary files a/locale/it/LC_MESSAGES/BingWallpaper.mo and b/locale/it/LC_MESSAGES/BingWallpaper.mo differ diff --git a/locale/it/LC_MESSAGES/BingWallpaper.po b/locale/it/LC_MESSAGES/BingWallpaper.po index 3b49c4ae..a78b6058 100644 --- a/locale/it/LC_MESSAGES/BingWallpaper.po +++ b/locale/it/LC_MESSAGES/BingWallpaper.po @@ -266,7 +266,7 @@ msgid "Delete" msgstr "Elimina" #: ui/carousel.ui.h:5 ui/carousel4.ui.h:6 -msgid "Set random mode" +msgid "Image shuffle mode" msgstr "Imposta la modalità casuale" #: ui/carousel4.ui.h:1 diff --git a/locale/pt_BR/LC_MESSAGES/BingWallpaper.mo b/locale/pt_BR/LC_MESSAGES/BingWallpaper.mo index 618d3971..dc715c9d 100644 Binary files a/locale/pt_BR/LC_MESSAGES/BingWallpaper.mo and b/locale/pt_BR/LC_MESSAGES/BingWallpaper.mo differ diff --git a/locale/pt_BR/LC_MESSAGES/BingWallpaper.po b/locale/pt_BR/LC_MESSAGES/BingWallpaper.po index d65a3e81..0e7d706a 100644 --- a/locale/pt_BR/LC_MESSAGES/BingWallpaper.po +++ b/locale/pt_BR/LC_MESSAGES/BingWallpaper.po @@ -270,7 +270,7 @@ msgid "" msgstr "" #: ui/carousel4.ui.h:7 -msgid "Set random mode" +msgid "Image shuffle mode" msgstr "Definir modo aleatório" #: ui/carousel4.ui.h:8 @@ -286,7 +286,7 @@ msgid "every day at midnight" msgstr "todo dia à meia-noite" #: ui/intervals.utils.js.h:8 -msgid "every Sunday at midnight" +msgid " Sunday at midnight" msgstr "todo domingo à meia-noite" #: extension.js:130 @@ -329,12 +329,8 @@ msgstr "Abrir página de informação de imagem Bing" msgid "Quick settings" msgstr "Configurações rápidas" -#: extension.js:154 -msgid "Image shuffle mode" -msgstr "Modo embaralhar imagem" - #: extension.js:155 -msgid "Image shuffle only favourites" +msgid "Image shuffle only favorites" msgstr "Embaralha apenas imagens favoritas" #: extension.js:157 diff --git a/locale/ru_RU/LC_MESSAGES/BingWallpaper.mo b/locale/ru_RU/LC_MESSAGES/BingWallpaper.mo index bcc78b3a..f920373f 100644 Binary files a/locale/ru_RU/LC_MESSAGES/BingWallpaper.mo and b/locale/ru_RU/LC_MESSAGES/BingWallpaper.mo differ diff --git a/locale/ru_RU/LC_MESSAGES/BingWallpaper.po b/locale/ru_RU/LC_MESSAGES/BingWallpaper.po index 1e8781aa..77f97804 100644 --- a/locale/ru_RU/LC_MESSAGES/BingWallpaper.po +++ b/locale/ru_RU/LC_MESSAGES/BingWallpaper.po @@ -265,7 +265,7 @@ msgid "Delete" msgstr "Удалить" #: ui/carousel.ui.h:5 ui/carousel4.ui.h:6 -msgid "Set random mode" +msgid "Image shuffle mode" msgstr "Выбрать случайный режим" #: ui/carousel4.ui.h:5 diff --git a/locale/tr/LC_MESSAGES/BingWallpaper.mo b/locale/tr/LC_MESSAGES/BingWallpaper.mo index 18fa19bb..469b170a 100644 Binary files a/locale/tr/LC_MESSAGES/BingWallpaper.mo and b/locale/tr/LC_MESSAGES/BingWallpaper.mo differ diff --git a/locale/tr/LC_MESSAGES/BingWallpaper.po b/locale/tr/LC_MESSAGES/BingWallpaper.po index 90747e92..94c15aa0 100644 --- a/locale/tr/LC_MESSAGES/BingWallpaper.po +++ b/locale/tr/LC_MESSAGES/BingWallpaper.po @@ -1,370 +1,502 @@ msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-17 22:53+0200\n" -"PO-Revision-Date: 2023-05-18 21:53+0000\n" -"Last-Translator: Sabri Ünal \n" -"Language-Team: Turkish \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: 2024-03-30 18:20+0300\n" +"Last-Translator: Sabri Ünal \n" +"Language-Team: Turkish \n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.18-dev\n" +"X-Generator: Poedit 3.4.2\n" -#: ui/Settings.ui.h:1 ui/Settings4.ui.h:2 -msgid "Hide the indicator" -msgstr "Göstergeyi gizle" +#: ui/prefsadw.ui.h:1 extension.js:139 +msgid "Settings" +msgstr "Ayarlar" -#: ui/Settings.ui.h:2 ui/Settings4.ui.h:3 -msgid "Indicator icon" -msgstr "Gösterge simgesi" +#: ui/prefsadw.ui.h:2 +msgid "Indicator" +msgstr "Gösterge" -#: ui/Settings.ui.h:3 ui/Settings4.ui.h:4 extension.js:159 -msgid "Enable desktop notifications" -msgstr "Masaüstü bildirimlerini etkinleştir" +#: ui/prefsadw.ui.h:3 +msgid "Hide Indicator" +msgstr "Göstergeyi Gizle" -#: ui/Settings.ui.h:4 ui/Settings4.ui.h:5 extension.js:142 extension.js:156 -msgid "Set background image" -msgstr "Arka plan görüntüsünü ayarla" +#: ui/prefsadw.ui.h:4 +msgid "Whether to hide the panel indicator" +msgstr "Panel göstergesinin gizlenme durumu" -#: ui/Settings.ui.h:5 ui/Settings4.ui.h:6 -msgid "Background style option" -msgstr "Arka plan stili seçeneği" +#: ui/prefsadw.ui.h:5 +msgid "Desktop notifications" +msgstr "Masaüstü bildirimleri" -#: ui/Settings.ui.h:6 ui/Settings4.ui.h:7 +#: ui/prefsadw.ui.h:6 +msgid "Enable notifications on new images" +msgstr "Yeni görüntülerle ilgili bildirimleri etkinleştir" + +#: ui/prefsadw.ui.h:7 +msgid "Indicator icon" +msgstr "Gösterge simgesi" + +#: ui/prefsadw.ui.h:8 +msgid "Select from alternate tray icons" +msgstr "Alternatif tepsi simgeleri arasından seç" + +#: ui/prefsadw.ui.h:9 msgid "Download folder" msgstr "İndirme klasörü" -#: ui/Settings.ui.h:7 ui/Settings4.ui.h:1 -msgid "Bing Wallpaper pictures folder" -msgstr "Bing Duvar Kağıdı resimleri klasörü" +#: ui/prefsadw.ui.h:10 +msgid "Open or change wallpaper downloads folder" +msgstr "Duvar kağıdı indirme klasörünü aç ya da değiştir" -#: ui/Settings.ui.h:8 ui/Settings4.ui.h:8 -msgid "Open folder" -msgstr "Klasörü aç" +#: ui/prefsadw.ui.h:11 +msgid "Wallpaper" +msgstr "Duvar Kağıdı" -#: ui/Settings.ui.h:9 ui/Settings4.ui.h:9 -msgid "Delete previously downloaded wallpapers" -msgstr "Önceden indirilmiş duvar kağıtlarını sil" +#: ui/prefsadw.ui.h:12 +msgid "Set wallpaper" +msgstr "Duvar kağıdını ayarla" -#: ui/Settings.ui.h:10 ui/Settings4.ui.h:10 -msgid "Selected image" -msgstr "Seçilen görüntü" +#: ui/prefsadw.ui.h:13 +msgid "Whether to set wallpaper automatically" +msgstr "Duvar kağıdının kendiliğinden ayarlanma durumu" -#: ui/Settings.ui.h:11 -msgid "Select from image gallery" -msgstr "Görüntü galerisinden seç" +#: ui/prefsadw.ui.h:14 +msgid "Shuffle wallpaper" +msgstr "Duvar kağıtlarını karıştır" -#: ui/Settings.ui.h:12 ui/Settings4.ui.h:11 -msgid "Bing locale" -msgstr "Bing yerel ayarı" +#: ui/prefsadw.ui.h:15 +msgid "Randomly select wallpaper from collection" +msgstr "Koleksiyondan rastgele duvar kağıdı seç" -#: ui/Settings.ui.h:13 ui/Settings4.ui.h:12 extension.js:145 -msgid "Settings" -msgstr "Ayarlar" +#: ui/prefsadw.ui.h:16 +msgid "Shuffle interval" +msgstr "Karıştırma aralığı" -#: ui/Settings.ui.h:14 ui/Settings4.ui.h:13 -msgid "Use custom blur and brightness" -msgstr "Özel bulanıklık ve parlaklık kullan" +#: ui/prefsadw.ui.h:17 +msgid "How frequently to shuffle wallpapers" +msgstr "Duvar kağıtlarının karıştırılma sıklığı" -#: ui/Settings.ui.h:15 ui/Settings4.ui.h:14 -msgid "Override GDM3 lockscreen effects" -msgstr "GDM3 kilit ekranı etkilerini geçersiz kıl" +#: ui/prefsadw.ui.h:18 +msgid "Downloads" +msgstr "İndirmeler" -#: ui/Settings.ui.h:16 ui/Settings4.ui.h:15 -msgid "Blur can improve readability of login prompt" -msgstr "Bulanıklaştırma, giriş isteminin okunabilirliğini artırabilir" +#: ui/prefsadw.ui.h:19 +msgid "Lock screen" +msgstr "Kilit ekranı" -#: ui/Settings.ui.h:17 ui/Settings4.ui.h:16 -msgid "Background blur intensity" -msgstr "Arka plan bulanıklık yoğunluğu" +#: ui/prefsadw.ui.h:20 +msgid "Lockscreen blur" +msgstr "Kilit ekranı bulanıklığı" -#: ui/Settings.ui.h:18 ui/Settings4.ui.h:17 -msgid "Can improve contrast of login prompt" -msgstr "Giriş isteminin karşıtlığını iyileştirebilir" +#: ui/prefsadw.ui.h:21 +msgid "Dynamic lockscreen blur" +msgstr "Dinamik kilit ekranı bulanıklığı" -#: ui/Settings.ui.h:19 ui/Settings4.ui.h:18 -msgid "Background brightness" -msgstr "Arka plan parlaklığı" +#: ui/prefsadw.ui.h:22 +msgid "Whether to enable dynamic blur mode on lock screen" +msgstr "Kilit ekranında dinamik bulanıklaştırma kipinin etkinleştirilme durumu" -#: ui/Settings.ui.h:20 ui/Settings4.ui.h:19 -msgid "Presets" -msgstr "Ön Ayarlar" +#: ui/prefsadw.ui.h:23 +msgid "Blur strength" +msgstr "Bulanıklık gücü" -#: ui/Settings.ui.h:21 -msgid "Commonly used presets" -msgstr "Yaygın kullanılan ön ayarlar" +#: ui/prefsadw.ui.h:24 +msgid "Blur strength when login prompt is not visible" +msgstr "Oturum açma istemi görünmediğinde bulanıklık gücü" -#: ui/Settings.ui.h:22 ui/Settings4.ui.h:20 -msgid "No blur, slight dim" -msgstr "Bulanıklık yok, hafif loş" +#: ui/prefsadw.ui.h:25 +msgid "Wallpaper brightness" +msgstr "Duvar kağıdı parlaklığı" -#: ui/Settings.ui.h:23 ui/Settings4.ui.h:21 -msgid "GNOME default" -msgstr "GNOME varsayılanı" +#: ui/prefsadw.ui.h:26 +msgid "Dim wallpaper when login prompt is not visible" +msgstr "Oturum açma istemi görünmediğinde duvar kağıdını karart" -#: ui/Settings.ui.h:24 ui/Settings4.ui.h:22 -msgid "Slight blur, slight dim" -msgstr "Hafif bulanıklık, hafif loş" +#: ui/prefsadw.ui.h:27 +msgid "Presets" +msgstr "Ön Ayarlar" -#: ui/Settings.ui.h:25 ui/Settings4.ui.h:23 -msgid "Lock Screen" -msgstr "Kilit Ekranı" +#: ui/prefsadw.ui.h:28 +msgid "Gallery" +msgstr "Galeri" + +#: ui/prefsadw.ui.h:29 +msgid "Debug" +msgstr "Hata ayıkla" -#: ui/Settings.ui.h:26 ui/Settings4.ui.h:25 +#: ui/prefsadw.ui.h:30 +msgid "Debug options" +msgstr "Hata ayıklama seçenekleri" + +#: ui/prefsadw.ui.h:31 msgid "Debug logging" msgstr "Hata ayıklama günlüğü" -#: ui/Settings.ui.h:27 ui/Settings4.ui.h:24 +#: ui/prefsadw.ui.h:32 msgid "Enable logging to system journal" msgstr "Sistem günlüğüne günlüklemeyi etkinleştir" -#: ui/Settings.ui.h:28 ui/Settings4.ui.h:27 extension.js:157 +#: ui/prefsadw.ui.h:33 extension.js:153 msgid "Always show new images" msgstr "Her zaman yeni görüntüleri göster" -#: ui/Settings.ui.h:29 ui/Settings4.ui.h:26 +#: ui/prefsadw.ui.h:34 msgid "Switch to new images when available (unless on random mode)" msgstr "Mevcut olduğunda yeni görüntülere geç (rastgele kipte değilse)" -#: ui/Settings.ui.h:30 ui/Settings4.ui.h:29 -msgid "Enable all features on Wayland" -msgstr "Wayland üzerinde tüm özellikleri etkinleştir" +#: ui/prefsadw.ui.h:35 +msgid "Purge on trash" +msgstr "Çöpe atılınca temizle" -#: ui/Settings.ui.h:31 ui/Settings4.ui.h:28 -msgid "Some newer features may be unstable on Wayland" -msgstr "Bazı yeni özellikler Wayland üzerinde kararsız olabilir" +#: ui/prefsadw.ui.h:36 +msgid "Trashing an image will remove it from database" +msgstr "Resmi çöpe atmak onu veritabanından kaldırır" -#: ui/Settings.ui.h:32 ui/Settings4.ui.h:30 +#: ui/prefsadw.ui.h:37 msgid "Screen resolution" msgstr "Ekran çözünürlüğü" -#: ui/Settings.ui.h:33 ui/Settings4.ui.h:31 +#: ui/prefsadw.ui.h:38 msgid "Override automatic resolution selection" msgstr "Kendiliğinden çözünürlük seçimini geçersiz kıl" -#: ui/Settings.ui.h:34 ui/Settings4.ui.h:32 -msgid "Manually adjust random interval (seconds)" -msgstr "Rastgele aralığı elle ayarla (saniye)" - -#: ui/Settings.ui.h:35 ui/Settings4.ui.h:33 +#: ui/prefsadw.ui.h:39 msgid "Random interval" msgstr "Rastgele aralık" -#: ui/Settings.ui.h:36 ui/Settings4.ui.h:34 -msgid "Import Bing Wallpaper data" -msgstr "Bing Duvar Kağıdı verilerini içe aktar" - -#: ui/Settings.ui.h:37 ui/Settings4.ui.h:35 -msgid "Import previously exported JSON data from wallpaper directory" -msgstr "" -"Duvar kağıdı dizininden önceden dışa aktarılmış JSON verilerini içe aktar" - -#: ui/Settings.ui.h:38 ui/Settings4.ui.h:36 -msgid "Import" -msgstr "İçe Aktar" - -#: ui/Settings.ui.h:39 ui/Settings4.ui.h:37 -msgid "Export Bing Wallpaper data" -msgstr "Bing Duvar Kağıdı verilerini dışa aktar" - -#: ui/Settings.ui.h:40 ui/Settings4.ui.h:38 -msgid "Export JSON data to wallpaper dir for backup or data migration" -msgstr "" -"JSON verilerini yedekleme veya veri taşıma için duvar kağıdı dizinine aktar" - -#: ui/Settings.ui.h:41 ui/Settings4.ui.h:39 -msgid "Export" -msgstr "Dışa Aktar" +#: ui/prefsadw.ui.h:40 +msgid "Custom shuffle interval when enabled" +msgstr "Etkinleştirildiyse, özel karıştırma aralığı" -#: ui/Settings.ui.h:42 ui/Settings4.ui.h:40 +#: ui/prefsadw.ui.h:41 msgid "Always export Bing data" msgstr "Bing verilerini her zaman dışa aktar" -#: ui/Settings.ui.h:43 ui/Settings4.ui.h:41 -msgid "Export Bing JSON whenever data changes" -msgstr "Veriler her değiştiğinde Bing JSON'u dışa aktar" +#: ui/prefsadw.ui.h:42 +msgid "Export Bing JSON when image data changes" +msgstr "Görüntü verileri değiştiğinde Bing JSON'u dışa aktar" -#: ui/Settings.ui.h:44 ui/Settings4.ui.h:42 -msgid "Debug options" -msgstr "Hata ayıklama seçenekleri" +#: ui/prefsadw.ui.h:43 +msgid "Bing JSON data" +msgstr "Bing JSON verileri" + +#: ui/prefsadw.ui.h:44 +msgid "About" +msgstr "Hakkında" + +#: ui/prefsadw.ui.h:45 +msgid "Bing Wallpaper" +msgstr "Bing Duvar Kağıdı" -#: ui/Settings.ui.h:45 ui/Settings4.ui.h:44 +#: ui/prefsadw.ui.h:46 msgid "New wallpaper images everyday from Bing" msgstr "Bing'den her gün yeni duvar kağıdı görüntüleri" -#: ui/Settings.ui.h:46 -msgid "Gnome shell extension version " -msgstr "GNOME shell uzantısı sürümü " - -#: ui/Settings.ui.h:47 ui/Settings4.ui.h:46 +#: ui/prefsadw.ui.h:47 msgid "Maintained by Michael Carroll" msgstr "Michael Carroll tarafından sürdürülmektedir" -#: ui/Settings.ui.h:48 ui/Settings4.ui.h:47 -msgid "" -"Show your support to the author on Flattr or Github " -"Sponsors." -msgstr "" -"Yazara desteğinizi Flattr veya Github Sponsorları üzerinden " -"gösterin." +#: ui/prefsadw.ui.h:48 +msgid "Version" +msgstr "Sürüm" -#: ui/Settings.ui.h:49 ui/Settings4.ui.h:48 -msgid "Changes since last version" -msgstr "Son sürümden bu yana değişiklikler" +#: ui/prefsadw.ui.h:49 +msgid "Release notes" +msgstr "Sürüm notları" -#: ui/Settings.ui.h:50 ui/Settings4.ui.h:49 -msgid "Based on NASA APOD Gnome shell extension by Elia Argentieri" -msgstr "Elia Argentieri'nin NASA APOD GNOME shell uzantısına dayanmaktadır" +#: ui/prefsadw.ui.h:50 +msgid "GNOME extensions page" +msgstr "GNOME uzantıları sayfası" -#: ui/Settings.ui.h:51 ui/Settings4.ui.h:50 -msgid "" -"This program comes with ABSOLUTELY NO WARRANTY.\n" -"See the GNU General " -"Public License, version 3 or later for details." -msgstr "" -"Bu program KESİNLİKLE HİÇBİR GARANTİ ile birlikte " -"gelmez.\n" -"Ayrıntılar için GNU " -"Genel Kamu Lisansı, sürüm 3 veya sonrası'na bakın." +#: ui/prefsadw.ui.h:51 +msgid "Source code" +msgstr "Kaynak kodu" -#: ui/Settings.ui.h:53 ui/Settings4.ui.h:52 -msgid "About" -msgstr "Hakkında" +#: ui/prefsadw.ui.h:52 +msgid "Report an issue" +msgstr "Sorun bildir" -#: ui/Settings4.ui.h:43 -msgid "Gallery" -msgstr "Galeri" +#: ui/prefsadw.ui.h:53 +msgid "Contributors" +msgstr "Katkıda Bulunanlar" + +#: ui/prefsadw.ui.h:54 +msgid "License" +msgstr "Lisans" + +#: ui/prefsadw.ui.h:55 prefs.js:115 +msgid "Change folder" +msgstr "Klasörü değiştir" + +#: ui/prefsadw.ui.h:56 +msgid "Select new wallpaper download folder" +msgstr "Yeni duvar kağıdı indirme klasörünü seç" -#: ui/Settings4.ui.h:45 -msgid "GNOME shell extension version " -msgstr "GNOME shell uzantısı sürümü " +#: ui/carousel4.ui.h:1 +msgid "Favorite" +msgstr "Gözde" -#: ui/carousel.ui.h:1 ui/carousel4.ui.h:1 +#: ui/carousel4.ui.h:2 msgid "Apply" msgstr "Uygula" -#: ui/carousel.ui.h:2 ui/carousel4.ui.h:2 +#: ui/carousel4.ui.h:3 msgid "View" msgstr "Görüntüle" -#: ui/carousel.ui.h:3 ui/carousel4.ui.h:3 +#: ui/carousel4.ui.h:4 msgid "Info" msgstr "Bilgi" -#: ui/carousel.ui.h:4 ui/carousel4.ui.h:4 +#: ui/carousel4.ui.h:5 msgid "Delete" msgstr "Sil" -#: ui/carousel.ui.h:5 ui/carousel4.ui.h:6 -msgid "Set random mode" -msgstr "Rastgele kipi ayarla" - -#: ui/carousel4.ui.h:5 +#: ui/carousel4.ui.h:6 msgid "" msgstr "" -#: ui/carousel4.ui.h:7 +#: ui/carousel4.ui.h:8 msgid "Load image gallery" msgstr "Görüntü galerisini yükle" -#: extension.js:135 +#: ui/intervals.utils.js.h:2 +msgid "on the hour" +msgstr "saat başı" + +#: ui/intervals.utils.js.h:5 +msgid "every day at midnight" +msgstr "her gün gece yarısı" + +#: ui/intervals.utils.js.h:8 +msgid " Sunday at midnight" +msgstr "her Pazar gece yarısı" + +#: extension.js:130 msgid "" msgstr "" -#: extension.js:136 extension.js:137 extension.js:138 +#: extension.js:131 extension.js:132 extension.js:142 extension.js:144 msgid "Awaiting refresh..." msgstr "Yenileme bekleniyor..." -#: extension.js:139 +#: extension.js:133 msgid "Copy image to clipboard" msgstr "Görüntüyü panoya kopyala" -#: extension.js:140 +#: extension.js:134 msgid "Copy image URL to clipboard" msgstr "Görüntü URL'sini panoya kopyala" -#: extension.js:141 +#: extension.js:135 msgid "Open image folder" msgstr "Görüntü klasörünü aç" -#: extension.js:143 +#: extension.js:136 extension.js:152 +msgid "Set background image" +msgstr "Arka plan görüntüsünü ayarla" + +#: extension.js:137 msgid "Set lock screen image" msgstr "Kilit ekranı görüntüsünü ayarla" -#: extension.js:144 +#: extension.js:138 msgid "Refresh Now" msgstr "Şimdi Yenile" -#: extension.js:146 +#: extension.js:140 msgid "Open in image viewer" msgstr "Görüntü göstericide aç" -#: extension.js:147 +#: extension.js:141 msgid "Open Bing image information page" msgstr "Bing görüntü bilgileri sayfasını aç" -#: extension.js:154 +#: extension.js:150 msgid "Quick settings" msgstr "Hızlı ayarlar" -#: extension.js:158 +#: extension.js:154 msgid "Image shuffle mode" msgstr "Görüntü karıştırma kipi" -#: extension.js:160 +#: extension.js:155 +msgid "Image shuffle only favorites" +msgstr "Yalnızca gözdeleri karıştır" + +#: extension.js:156 +msgid "Enable desktop notifications" +msgstr "Masaüstü bildirimlerini etkinleştir" + +#: extension.js:157 msgid "Show image count" msgstr "Görüntü sayısını göster" -#: extension.js:326 +#: extension.js:158 +msgid "Image shuffle only UHD resolutions" +msgstr "Yalnızca UHD çözünürlüklerde görüntüleri karıştır" + +#: extension.js:321 msgid "Next refresh" msgstr "Sonraki yenileme" -#: extension.js:327 +#: extension.js:323 msgid "Last refresh" msgstr "Son yenileme" -#: extension.js:724 extension.js:760 +#: extension.js:326 +msgid "Next shuffle" +msgstr "Sonraki karıştırma" + +#: extension.js:808 extension.js:883 msgid "Bing Wallpaper of the Day for" msgstr "Bing Günün Duvar Kağıdı" -#: extension.js:784 +#: extension.js:921 msgid "No wallpaper available" msgstr "Kullanılabilir duvar kağıdı yok" -#: extension.js:785 +#: extension.js:922 msgid "No picture for today." msgstr "Bugün için resim yok." -#: prefs.js:181 -msgid "Select folder" -msgstr "Klasör seç" +#: prefs.js:107 +msgid "Open folder" +msgstr "Klasörü aç" -#: prefs.js:249 -msgid "Most recent image" -msgstr "En son görüntü" +#: prefs.js:130 +msgid "Default" +msgstr "Öntanımlı" -#: prefs.js:250 -msgid "Random image" -msgstr "Rastgele görüntü" +#: prefs.js:138 +msgid "No blur, slight dim" +msgstr "Bulanıklık yok, hafif loş" -#: utils.js:135 +#: prefs.js:146 +msgid "Slight blur & dim" +msgstr "Hafif bulanıklık ve karartma" + +#: prefs.js:163 +msgid "Import" +msgstr "İçe Aktar" + +#: prefs.js:171 +msgid "Export" +msgstr "Dışa Aktar" + +#: prefs.js:238 +msgid "Select wallpaper download folder" +msgstr "Duvar kağıdı indirme klasörünü seç" + +#: utils.js:134 msgid "Error fetching change log: " msgstr "Değişiklik günlüğü alınırken hata oluştu: " -#: utils.js:350 utils.js:353 +#: utils.js:413 utils.js:416 msgid "minutes" msgstr "dakika" -#: utils.js:356 +#: utils.js:419 msgid "days" msgstr "gün" -#: utils.js:359 +#: utils.js:422 msgid "hours" msgstr "saat" + +#~ msgid "Background style option" +#~ msgstr "Arka plan stili seçeneği" + +#~ msgid "Bing Wallpaper pictures folder" +#~ msgstr "Bing Duvar Kağıdı resimleri klasörü" + +#~ msgid "Delete previously downloaded wallpapers" +#~ msgstr "Önceden indirilmiş duvar kağıtlarını sil" + +#~ msgid "Selected image" +#~ msgstr "Seçilen görüntü" + +#~ msgid "Bing locale" +#~ msgstr "Bing yerel ayarı" + +#~ msgid "Use custom blur and brightness" +#~ msgstr "Özel bulanıklık ve parlaklık kullan" + +#~ msgid "Override GDM3 lockscreen effects" +#~ msgstr "GDM3 kilit ekranı etkilerini geçersiz kıl" + +#~ msgid "Blur can improve readability of login prompt" +#~ msgstr "Bulanıklaştırma, giriş isteminin okunabilirliğini artırabilir" + +#~ msgid "Background blur intensity" +#~ msgstr "Arka plan bulanıklık yoğunluğu" + +#~ msgid "Can improve contrast of login prompt" +#~ msgstr "Giriş isteminin karşıtlığını iyileştirebilir" + +#~ msgid "Commonly used presets" +#~ msgstr "Yaygın kullanılan ön ayarlar" + +#~ msgid "Enable all features on Wayland" +#~ msgstr "Wayland üzerinde tüm özellikleri etkinleştir" + +#~ msgid "Some newer features may be unstable on Wayland" +#~ msgstr "Bazı yeni özellikler Wayland üzerinde kararsız olabilir" + +#~ msgid "Manually adjust random interval (seconds)" +#~ msgstr "Rastgele aralığı elle ayarla (saniye)" + +#~ msgid "Import previously exported JSON data from wallpaper directory" +#~ msgstr "" +#~ "Duvar kağıdı dizininden önceden dışa aktarılmış JSON verilerini içe aktar" + +#~ msgid "Export Bing Wallpaper data" +#~ msgstr "Bing Duvar Kağıdı verilerini dışa aktar" + +#~ msgid "Export JSON data to wallpaper dir for backup or data migration" +#~ msgstr "" +#~ "JSON verilerini yedekleme veya veri taşıma için duvar kağıdı dizinine " +#~ "aktar" + +#~ msgid "Gnome shell extension version " +#~ msgstr "GNOME shell uzantısı sürümü " + +#~ msgid "" +#~ "Show your support to the author on Flattr or Github " +#~ "Sponsors." +#~ msgstr "" +#~ "Yazara desteğinizi Flattr veya " +#~ "Github Sponsorları " +#~ "üzerinden gösterin." + +#~ msgid "Changes since last version" +#~ msgstr "Son sürümden bu yana değişiklikler" + +#~ msgid "Based on NASA APOD Gnome shell extension by Elia Argentieri" +#~ msgstr "Elia Argentieri'nin NASA APOD GNOME shell uzantısına dayanmaktadır" + +#~ msgid "" +#~ "This program comes with ABSOLUTELY NO WARRANTY.\n" +#~ "See the GNU General " +#~ "Public License, version 3 or later for details." +#~ msgstr "" +#~ "Bu program KESİNLİKLE HİÇBİR GARANTİ ile birlikte " +#~ "gelmez.\n" +#~ "Ayrıntılar için GNU " +#~ "Genel Kamu Lisansı, sürüm 3 veya sonrası'na bakın." + +#~ msgid "Select folder" +#~ msgstr "Klasör seç" + +#~ msgid "Most recent image" +#~ msgstr "En son görüntü" + +#~ msgid "Random image" +#~ msgstr "Rastgele görüntü" diff --git a/locale/uk/LC_MESSAGES/BingWallpaper.mo b/locale/uk/LC_MESSAGES/BingWallpaper.mo index 574e917b..bed788d7 100644 Binary files a/locale/uk/LC_MESSAGES/BingWallpaper.mo and b/locale/uk/LC_MESSAGES/BingWallpaper.mo differ diff --git a/locale/uk/LC_MESSAGES/BingWallpaper.po b/locale/uk/LC_MESSAGES/BingWallpaper.po index 8a5ab647..78e976a3 100644 --- a/locale/uk/LC_MESSAGES/BingWallpaper.po +++ b/locale/uk/LC_MESSAGES/BingWallpaper.po @@ -261,7 +261,7 @@ msgid "Delete" msgstr "Видалити" #: ui/carousel.ui.h:5 ui/carousel4.ui.h:6 -msgid "Set random mode" +msgid "Image shuffle mode" msgstr "Увімкнути випадковий режим" #: ui/carousel4.ui.h:1 diff --git a/locale/zh_CN/LC_MESSAGES/BingWallpaper.mo b/locale/zh_CN/LC_MESSAGES/BingWallpaper.mo index b2e8a82b..d9d4e82c 100644 Binary files a/locale/zh_CN/LC_MESSAGES/BingWallpaper.mo and b/locale/zh_CN/LC_MESSAGES/BingWallpaper.mo differ diff --git a/locale/zh_CN/LC_MESSAGES/BingWallpaper.po b/locale/zh_CN/LC_MESSAGES/BingWallpaper.po index 73ffcdbd..1b80feed 100644 --- a/locale/zh_CN/LC_MESSAGES/BingWallpaper.po +++ b/locale/zh_CN/LC_MESSAGES/BingWallpaper.po @@ -14,292 +14,398 @@ msgstr "" "X-Generator: Poedit 3.0\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: Settings.ui.h:1 Settings4.ui.h:2 -msgid "Hide the indicator" -msgstr "隐藏状态栏图标" +#: ui/prefsadw.ui.h:1 extension.js:139 +msgid "Settings" +msgstr "设置" -#: Settings.ui.h:2 Settings4.ui.h:3 -msgid "Indicator icon" +#: ui/prefsadw.ui.h:2 +msgid "Indicator" msgstr "状态栏图标" -#: Settings.ui.h:3 Settings4.ui.h:4 -msgid "Enable desktop notifications" +#: ui/prefsadw.ui.h:3 +msgid "Hide Indicator" +msgstr "隐藏状态栏图标" + +#: ui/prefsadw.ui.h:4 +msgid "Whether to hide the panel indicator" +msgstr "隐藏状态栏图标" + +#: ui/prefsadw.ui.h:5 +msgid "Desktop notifications" msgstr "打开桌面通知" -#: Settings.ui.h:4 Settings4.ui.h:5 extension.js:129 -msgid "Set background image" -msgstr "设置桌面壁纸" +#: ui/prefsadw.ui.h:6 +msgid "Enable notifications on new images" +msgstr "打开桌面通知" -#: Settings.ui.h:5 Settings4.ui.h:6 extension.js:130 -msgid "Set lock screen image" -msgstr "设置锁屏壁纸" +#: ui/prefsadw.ui.h:7 +msgid "Indicator icon" +msgstr "状态栏图标" -#: Settings.ui.h:6 Settings4.ui.h:7 +#: ui/prefsadw.ui.h:8 +msgid "Select from alternate tray icons" +msgstr "从备用托盘图标中选择" + +#: ui/prefsadw.ui.h:9 msgid "Download folder" msgstr "保存下载壁纸的文件夹" -#: Settings.ui.h:7 Settings4.ui.h:1 -msgid "Bing Wallpaper pictures folder" -msgstr "必应壁纸图片文件夹" +#: ui/prefsadw.ui.h:10 +msgid "Open or change wallpaper downloads folder" +msgstr "打开或更改壁纸下载文件夹" -#: Settings.ui.h:8 Settings4.ui.h:9 -msgid "Delete previously downloaded wallpapers" -msgstr "删除以前下载的壁纸" +#: ui/prefsadw.ui.h:11 +msgid "Wallpaper" +msgstr "设置为壁纸" -#: Settings.ui.h:9 Settings4.ui.h:10 -msgid "Days to store wallpapers before deleting" -msgstr "删除已使用的壁纸的时间(天)" +#: ui/prefsadw.ui.h:12 +msgid "Set wallpaper" +msgstr "设置为壁纸" -#: Settings.ui.h:10 Settings4.ui.h:11 -msgid "Bing locale" -msgstr "" -"显示哪个国家的必应壁纸\n" -"及介绍壁纸详情的语言" +#: ui/prefsadw.ui.h:13 +msgid "Whether to set wallpaper automatically" +msgstr "是否自动设置壁纸" -#: Settings.ui.h:11 Settings4.ui.h:12 -msgid "Default is English - United States" -msgstr "默认英语- 美国" +#: ui/prefsadw.ui.h:14 +msgid "Shuffle wallpaper" +msgstr "设置为壁纸" -#: Settings.ui.h:12 Settings4.ui.h:14 -msgid "Screen resolution" -msgstr "屏幕分辨率" +#: ui/prefsadw.ui.h:15 +msgid "Randomly select wallpaper from collection" +msgstr "从收藏中随机选择壁纸" -#: Settings.ui.h:13 Settings4.ui.h:15 -msgid "Override automatic resolution selection" -msgstr "自适应屏幕分辨率" +#: ui/prefsadw.ui.h:16 +msgid "Shuffle interval" +msgstr "无序播放间隔" -#: Settings.ui.h:14 Settings4.ui.h:13 -msgid "Selected image" -msgstr "已经选择的图片" +#: ui/prefsadw.ui.h:17 +msgid "How frequently to shuffle wallpapers" +msgstr "多久播放一次壁纸" -#: Settings.ui.h:15 Settings4.ui.h:16 extension.js:132 -msgid "Settings" -msgstr "设置" +#: ui/prefsadw.ui.h:18 +msgid "Downloads" +msgstr "保存下载壁纸的文件夹" -#: Settings.ui.h:16 Settings4.ui.h:17 -msgid "Use custom blur and brightness" -msgstr "使用自定义模糊和亮度" +#: ui/prefsadw.ui.h:19 +msgid "Lock screen" +msgstr "锁屏" + +#: ui/prefsadw.ui.h:20 +msgid "Lockscreen blur" +msgstr "锁屏" -#: Settings.ui.h:17 Settings4.ui.h:18 -msgid "Override GDM3 lockscreen effects" -msgstr "覆盖 GDM3 锁屏效果" +#: ui/prefsadw.ui.h:21 +msgid "Dynamic lockscreen blur" +msgstr "动态锁屏模糊" -#: Settings.ui.h:18 Settings4.ui.h:19 -msgid "Blur can improve readability of login prompt" -msgstr "模糊效果能提高登录界面可读性" +#: ui/prefsadw.ui.h:22 +msgid "Whether to enable dynamic blur mode on lock screen" +msgstr "是否在锁屏上启用动态模糊模式" -#: Settings.ui.h:19 Settings4.ui.h:20 -msgid "Background blur intensity" -msgstr "背景模糊强度" +#: ui/prefsadw.ui.h:23 +msgid "Blur strength" +msgstr "模糊强度" -#: Settings.ui.h:20 Settings4.ui.h:21 -msgid "Can improve contrast of login prompt" -msgstr "可以提升登录界面对比度" +#: ui/prefsadw.ui.h:24 +msgid "Blur strength when login prompt is not visible" +msgstr "登录提示不可见时的模糊强度" -#: Settings.ui.h:21 Settings4.ui.h:22 -msgid "Background brightness" +#: ui/prefsadw.ui.h:25 +msgid "Wallpaper brightness" msgstr "背景亮度" -#: Settings.ui.h:22 Settings4.ui.h:23 +#: ui/prefsadw.ui.h:26 +msgid "Dim wallpaper when login prompt is not visible" +msgstr "登录提示不可见时,壁纸变暗" + +#: ui/prefsadw.ui.h:27 msgid "Presets" msgstr "预设配置" -#: Settings.ui.h:23 Settings4.ui.h:24 -msgid "Commonly used presets" -msgstr "通常使用的预设配置" +#: ui/prefsadw.ui.h:28 +msgid "Gallery" +msgstr "陈列室" -#: Settings.ui.h:24 Settings4.ui.h:25 -msgid "No blur, slight dim" -msgstr "没有模糊效果,亮度微暗" +#: ui/prefsadw.ui.h:29 +msgid "Debug" +msgstr "调试" -#: Settings.ui.h:25 Settings4.ui.h:26 -msgid "GNOME default" -msgstr "GNOME 默认" +#: ui/prefsadw.ui.h:30 +msgid "Debug options" +msgstr "调试选项" -#: Settings.ui.h:26 Settings4.ui.h:27 -msgid "Slight blur, slight dim" -msgstr "轻度模糊,亮度微暗" +#: ui/prefsadw.ui.h:31 +msgid "Debug logging" +msgstr "调试日志" -#: Settings.ui.h:27 Settings4.ui.h:28 -msgid "Lock Screen" -msgstr "锁屏" +#: ui/prefsadw.ui.h:32 +msgid "Enable logging to system journal" +msgstr "启用对系统日志的日志记录" -#: Settings.ui.h:28 Settings4.ui.h:29 -msgid "New wallpaper images everyday from Bing" -msgstr "每天从 Bing 获取新壁纸" +#: ui/prefsadw.ui.h:33 extension.js:153 +msgid "Always show new images" +msgstr "始终显示新图像" -#: Settings.ui.h:29 Settings4.ui.h:30 -msgid "Gnome shell extension version " -msgstr "Gnome shell 扩展版本 " +#: ui/prefsadw.ui.h:34 +msgid "Switch to new images when available (unless on random mode)" +msgstr "切换到可用的新图像(除非在随机模式下)" -#: Settings.ui.h:30 Settings4.ui.h:31 -msgid "https://github.com/neffo/bing-wallpaper-gnome-extension" -msgstr "https://github.com/neffo/bing-wallpaper-gnome-extension" +#: ui/prefsadw.ui.h:35 +msgid "Purge on trash" +msgstr "清除垃圾" -#: Settings.ui.h:31 Settings4.ui.h:32 -msgid "Maintained by Michael Carroll" -msgstr "由Michael Carroll维护" +#: ui/prefsadw.ui.h:36 +msgid "Trashing an image will remove it from database" +msgstr "丢弃图像会将其从数据库中删除" -#: Settings.ui.h:32 Settings4.ui.h:33 -msgid "" -"Show your support to the author on Flattr or Github " -"Sponsors." -msgstr "" -"FlattrGithub Sponsors支持作者." +#: ui/prefsadw.ui.h:37 +msgid "Screen resolution" +msgstr "屏幕分辨率" + +#: ui/prefsadw.ui.h:38 +msgid "Override automatic resolution selection" +msgstr "自适应屏幕分辨率" -#: Settings.ui.h:33 Settings4.ui.h:34 -msgid "Changes since last version" -msgstr "相比上个版本的改变" +#: ui/prefsadw.ui.h:39 +msgid "Random interval" +msgstr "随机图片" -#: Settings.ui.h:34 Settings4.ui.h:35 -msgid "Based on NASA APOD Gnome shell extension by Elia Argentieri" -msgstr "基于美国航空航天局APOD墙纸扩展由Elia Argentieri提供" +#: ui/prefsadw.ui.h:40 +msgid "Custom shuffle interval when enabled" +msgstr "启用时自定义随机播放间隔" -#: Settings.ui.h:35 Settings4.ui.h:36 -msgid "" -"This program comes with ABSOLUTELY NO WARRANTY.\n" -"See the GNU General " -"Public License, version 3 or later for details." -msgstr "" -"本程序不担保任何法律责任.\n" -"参考 GNU通" -"用公共许可证,版本3或更高版本" +#: ui/prefsadw.ui.h:41 +msgid "Always export Bing data" +msgstr "始终导出Bing数据" + +#: ui/prefsadw.ui.h:42 +msgid "Export Bing JSON when image data changes" +msgstr "当图像数据发生变化时导出Bing JSON" -#: Settings.ui.h:37 Settings4.ui.h:38 +#: ui/prefsadw.ui.h:43 +msgid "Bing JSON data" +msgstr "Bing JSON数据" + +#: ui/prefsadw.ui.h:44 msgid "About" msgstr "关于" -#: Settings4.ui.h:8 -msgid "Open folder" -msgstr "打开文件夹" +#: ui/prefsadw.ui.h:45 +msgid "Bing Wallpaper" +msgstr "必应每日壁纸图片" + +#: ui/prefsadw.ui.h:46 +msgid "New wallpaper images everyday from Bing" +msgstr "每天从 Bing 获取新壁纸" + +#: ui/prefsadw.ui.h:47 +msgid "Maintained by Michael Carroll" +msgstr "由Michael Carroll维护" + +#: ui/prefsadw.ui.h:48 +msgid "Version" +msgstr "版本" + +#: ui/prefsadw.ui.h:49 +msgid "Release notes" +msgstr "发行说明" + +#: ui/prefsadw.ui.h:50 +msgid "GNOME extensions page" +msgstr "GNOME 扩展页面" + +#: ui/prefsadw.ui.h:51 +msgid "Source code" +msgstr "源代码" + +#: ui/prefsadw.ui.h:52 +msgid "Report an issue" +msgstr "报告问题" + +#: ui/prefsadw.ui.h:53 +msgid "Contributors" +msgstr "贡献者" + +#: ui/prefsadw.ui.h:54 +msgid "License" +msgstr "法律信息" + +#: ui/prefsadw.ui.h:55 prefs.js:115 +msgid "Change folder" +msgstr "打开图片文件夹" + +#: ui/prefsadw.ui.h:56 +msgid "Select new wallpaper download folder" +msgstr "选择新的文件夹用于壁纸下载" + +#: ui/carousel4.ui.h:1 +msgid "Favorite" +msgstr "收藏" + +#: ui/carousel4.ui.h:2 +msgid "Apply" +msgstr "应用" + +#: ui/carousel4.ui.h:3 +msgid "View" +msgstr "视图" + +#: ui/carousel4.ui.h:4 +msgid "Info" +msgstr "信息" + +#: ui/carousel4.ui.h:5 +msgid "Delete" +msgstr "删除" -#: extension.js:117 +#: ui/carousel4.ui.h:6 +msgid "" +msgstr "<这是图片名>" + +#: ui/carousel4.ui.h:8 +msgid "Load image gallery" +msgstr "加载图片库" + +#: ui/intervals.utils.js.h:2 +msgid "on the hour" +msgstr "整点" + +#: ui/intervals.utils.js.h:5 +msgid "every day at midnight" +msgstr "每天午夜" + +#: ui/intervals.utils.js.h:8 +msgid " Sunday at midnight" +msgstr "每个周日午夜" + +#: extension.js:130 msgid "" msgstr "<没有刷新计划>" -#: extension.js:119 extension.js:121 extension.js:123 +#: extension.js:131 extension.js:132 extension.js:142 extension.js:144 msgid "Awaiting refresh..." msgstr "正在等待刷新 ... ..." -#: extension.js:126 +#: extension.js:133 msgid "Copy image to clipboard" msgstr "复制图片到剪贴板" -#: extension.js:127 +#: extension.js:134 msgid "Copy image URL to clipboard" msgstr "复制图片链接到剪贴板" -#: extension.js:128 +#: extension.js:135 msgid "Open image folder" msgstr "打开图片文件夹" -#: extension.js:131 +#: extension.js:136 extension.js:152 +msgid "Set background image" +msgstr "设置桌面壁纸" + +#: extension.js:137 +msgid "Set lock screen image" +msgstr "设置锁屏壁纸" + +#: extension.js:138 msgid "Refresh Now" msgstr "现在刷新" -#: extension.js:137 -msgid "Thumbnail disabled on Wayland" -msgstr "在 Wayland 上关闭缩略图" +#: extension.js:140 +msgid "Open in image viewer" +msgstr "打开图片文件夹" + +#: extension.js:141 +msgid "Open Bing image information page" +msgstr "打开Bing图像信息页面" -#: extension.js:203 +#: extension.js:150 +msgid "Quick settings" +msgstr "快速设置" + +#: extension.js:154 +msgid "Image shuffle mode" +msgstr "图像随机播放模式" + +#: extension.js:155 +msgid "Image shuffle only favorites" +msgstr "仅随机播放收藏夹的图像" + +#: extension.js:156 +msgid "Enable desktop notifications" +msgstr "打开桌面通知" + +#: extension.js:157 +msgid "Show image count" +msgstr "显示图像数量" + +#: extension.js:158 +msgid "Image shuffle only UHD resolutions" +msgstr "仅随机播放 UHD 分辨率的图像" + +#: extension.js:321 msgid "Next refresh" msgstr "下一次刷新" -#: extension.js:490 extension.js:527 -msgid "Bing Wallpaper of the Day for" -msgstr "必应每日壁纸图片" +#: extension.js:323 +msgid "Last refresh" +msgstr "下一次刷新" -#: extension.js:495 -msgid "Set as wallpaper" -msgstr "设置为壁纸" +#: extension.js:326 +msgid "Next shuffle" +msgstr "下次播放" -#: extension.js:498 -msgid "More info on Bing.com" -msgstr "在 Bing.com 上查看更多信息" +#: extension.js:808 extension.js:883 +msgid "Bing Wallpaper of the Day for" +msgstr "必应每日壁纸图片" -#: extension.js:553 +#: extension.js:921 msgid "No wallpaper available" msgstr "没有壁纸可用" -#: extension.js:554 +#: extension.js:922 msgid "No picture for today." msgstr "今天没有壁纸图片." -#: prefs.js:173 -msgid "Most recent image" -msgstr "最近的图片" +#: prefs.js:107 +msgid "Open folder" +msgstr "打开文件夹" -#: prefs.js:174 -msgid "Random image" -msgstr "随机图片" +#: prefs.js:130 +msgid "Default" +msgstr "GNOME 默认" -#: prefs.js:190 prefs.js:206 -msgid "Disabled on current GNOME version" -msgstr "在当前 GNOME 版本关闭本扩展" +#: prefs.js:138 +msgid "No blur, slight dim" +msgstr "没有模糊效果,亮度微暗" -#: utils.js:139 -msgid "Fetching data..." -msgstr "壁纸获取时间..." +#: prefs.js:146 +msgid "Slight blur & dim" +msgstr "轻度模糊,亮度微暗" -#: utils.js:150 -msgid "Market not available in your region" -msgstr "对不起,在你所在地区不可用" +#: prefs.js:163 +msgid "Import" +msgstr "导入" -#: utils.js:154 -msgid "A network error occured" -msgstr "网络错误" +#: prefs.js:171 +msgid "Export" +msgstr "导出" -#: utils.js:159 -msgid "Too many requests in 5 seconds" -msgstr "5 秒内发送了太多请求" +#: prefs.js:238 +msgid "Select wallpaper download folder" +msgstr "选择壁纸下载文件夹" -#: utils.js:186 -msgid "No change log found for this release" -msgstr "这个版本没有更新日志" +#: utils.js:134 +msgid "Error fetching change log: " +msgstr "获取更改日志时出错:" -#: utils.js:366 utils.js:369 +#: utils.js:413 utils.js:416 msgid "minutes" msgstr "分" -#: utils.js:372 +#: utils.js:419 msgid "days" msgstr "天" -#: utils.js:375 +#: utils.js:422 msgid "hours" msgstr "小时" - -#~ msgid "" -#~ "Changes your wallpaper daily to the Bing picture of the day for your " -#~ "region. Displays the picture description and copyright information." -#~ msgstr "" -#~ "将您的壁纸每天更改为适合您所在地区的必应壁纸图片。 并显示壁纸图片描述和版" -#~ "权信息的通知。" - -#~ msgid "Send a notification with explanation when a new image is downloaded." -#~ msgstr "下载新的壁纸图片时显示详细说明." - -#~ msgid "Notifications" -#~ msgstr "通知" - -#~ msgid "Use transient notifications (auto dismiss)" -#~ msgstr "更换壁纸时显示通知(自动消失)" - -#~ msgid "Show description" -#~ msgstr "显示详情" - -#~ msgid "Open extension settings" -#~ msgstr "打开扩展设置" - -#~ msgid "Bing website" -#~ msgstr "必应主页" - -#~ msgid "" -#~ "The selected market is not available in your country or geographic " -#~ "region.\n" -#~ msgstr "对不起,所选的在您的国家或地区不可用。\n" - -#~ msgid "This market is not available in your region" -#~ msgstr "在您的地区不可用" diff --git a/metadata.json b/metadata.json index e7f8505f..ead9f93c 100644 --- a/metadata.json +++ b/metadata.json @@ -1,10 +1,10 @@ { "uuid": "BingWallpaper@ineffable-gmail.com", - "shell-version": ["45", "46"], + "shell-version": ["45", "46", "47"], "name": "Bing Wallpaper", "settings-schema": "org.gnome.shell.extensions.bingwallpaper", "description": "Sync your wallpaper to today's Microsoft Bing image of the day (the image you see when you visit Bing.com).\n\n *Disclaimer*: this extension is unofficial and not affiliated with Bing or Microsoft in any way. Images are protected by copyright and are licensed only for use as wallpapers.\n\nFeatures:\n* UHD resolution wallpapers\n* Automatically fetches current Bing wallpaper of the day and sets as both lock screen and desktop wallpaper (user selectable on GNOME versions that support it)\n* Doesn't poll continuously - only once per day and on startup (schedules a refresh when Bing is due to update)\n * random mode (from previously downloaded wallpapers)\n *NEW: select/cycle wallpaper through previously downloaded images\n* Language support: English (en), German (de), Dutch (nl), Italian (it), Polish (pl), Chinese (zh_CN, zh_TW), French (fr), Portuguese (pt), Ukrainian (uk), Russian (ru_RU), Spanish (es), Korean (ko), Indonesian (id), Catalan (ca), Norwegian Bokmål (nb) & Nynorsk (ni), Swedish (sv), Arabic (ar), Hungarian (hu) and Japanese (ja) - a HUGE thanks to the translators\n\nThis extension was forked from the NASA APOD extension by Elinvention (https://github.com/Elinvention) and inspired by Bing Desktop Wallpaper Changer by Utkarsh Gupta (https://github.com/UtkarshGpta).\n\nAlways restart GNOME after manually updating extensions. Please report bugs to the GitHub page below:", - "version": "49", + "version": "50", "url": "https://github.com/neffo/bing-wallpaper-gnome-extension", "gettext-domain": "BingWallpaper" } diff --git a/prefs.js b/prefs.js index a2a1c201..228a4678 100644 --- a/prefs.js +++ b/prefs.js @@ -73,6 +73,8 @@ export default class BingWallpaperExtensionPreferences extends ExtensionPreferen const debugSwitch = buildable.get_object('debug_switch'); const revertSwitch = buildable.get_object('revert_switch'); const trash_purge_switch = buildable.get_object('trash_purge_switch'); + const delete_previous_switch = buildable.get_object('delete_previous_switch'); + const delete_previous_adjustment = buildable.get_object('delete_previous_adjustment'); const always_export_switch = buildable.get_object('always_export_switch'); const gallery_page = buildable.get_object('gallery_page'); const carouselFlowBox = buildable.get_object('carouselFlowBox'); @@ -213,6 +215,7 @@ export default class BingWallpaperExtensionPreferences extends ExtensionPreferen settings.bind('random-interval', randomIntervalEntry, 'value', Gio.SettingsBindFlags.DEFAULT); settings.bind('trash-deletes-images', trash_purge_switch, 'active', Gio.SettingsBindFlags.DEFAULT); settings.bind('always-export-bing-json', always_export_switch, 'active', Gio.SettingsBindFlags.DEFAULT); + settings.bind('delete-previous', delete_previous_switch, 'active', Gio.SettingsBindFlags.DEFAULT); // button opens Nautilus at our image folder openBtn.connect('clicked', (widget) => { @@ -276,6 +279,7 @@ export default class BingWallpaperExtensionPreferences extends ExtensionPreferen settings.bind('override-lockscreen-blur', overrideSwitch, 'active', Gio.SettingsBindFlags.DEFAULT); settings.bind('lockscreen-blur-strength', strengthEntry, 'value', Gio.SettingsBindFlags.DEFAULT); settings.bind('lockscreen-blur-brightness', brightnessEntry, 'value', Gio.SettingsBindFlags.DEFAULT); + settings.bind('previous-days', delete_previous_adjustment, 'value', Gio.SettingsBindFlags.DEFAULT); // add a couple of preset buttons defaultBtn.connect('clicked', (widget) => { diff --git a/schemas/gschemas.compiled b/schemas/gschemas.compiled index bdd63d22..fd85d11c 100644 Binary files a/schemas/gschemas.compiled and b/schemas/gschemas.compiled differ diff --git a/schemas/org.gnome.shell.extensions.bingwallpaper.gschema.xml b/schemas/org.gnome.shell.extensions.bingwallpaper.gschema.xml index b01c105c..9d9143d4 100644 --- a/schemas/org.gnome.shell.extensions.bingwallpaper.gschema.xml +++ b/schemas/org.gnome.shell.extensions.bingwallpaper.gschema.xml @@ -69,7 +69,14 @@ Save disk space + + true + Keep previous wallpapers if they are favourites + Sensible default behaivour + + + 8 Number of days to keep wallpapers Delete wallpapers after this number of days diff --git a/screenshot/controlbar.png b/screenshot/controlbar.png new file mode 100644 index 00000000..7ff247bb Binary files /dev/null and b/screenshot/controlbar.png differ diff --git a/screenshot/gallery.png b/screenshot/gallery.png new file mode 100644 index 00000000..8c3b0cb3 Binary files /dev/null and b/screenshot/gallery.png differ diff --git a/screenshot/notification.png b/screenshot/notification.png deleted file mode 100644 index 3fc112df..00000000 Binary files a/screenshot/notification.png and /dev/null differ diff --git a/screenshot/overview.jpg b/screenshot/overview.jpg new file mode 100644 index 00000000..f165a8e7 Binary files /dev/null and b/screenshot/overview.jpg differ diff --git a/screenshot/popup.png b/screenshot/popup.png deleted file mode 100644 index 86e91653..00000000 Binary files a/screenshot/popup.png and /dev/null differ diff --git a/screenshot/quicksettings.png b/screenshot/quicksettings.png new file mode 100644 index 00000000..e7b61ec9 Binary files /dev/null and b/screenshot/quicksettings.png differ diff --git a/screenshot/settings.png b/screenshot/settings.png index dcfb714e..3560fe2b 100644 Binary files a/screenshot/settings.png and b/screenshot/settings.png differ diff --git a/screenshot/settings2.png b/screenshot/settings2.png index b64a6797..f3d8471f 100644 Binary files a/screenshot/settings2.png and b/screenshot/settings2.png differ diff --git a/screenshot/settings3.png b/screenshot/settings3.png index 7a762aab..5319283e 100644 Binary files a/screenshot/settings3.png and b/screenshot/settings3.png differ diff --git a/screenshot/settings4.png b/screenshot/settings4.png index 134f06d2..446c3d57 100644 Binary files a/screenshot/settings4.png and b/screenshot/settings4.png differ diff --git a/screenshot/settings5.png b/screenshot/settings5.png index 2277a7b4..f13d34aa 100644 Binary files a/screenshot/settings5.png and b/screenshot/settings5.png differ diff --git a/ui/carousel4.ui b/ui/carousel4.ui index c3228742..4953091e 100644 --- a/ui/carousel4.ui +++ b/ui/carousel4.ui @@ -162,7 +162,7 @@ Author: Michael Carroll - Set random mode + Image shuffle mode 1 0 diff --git a/ui/intervals.utils.js.h b/ui/intervals.utils.js.h index ee96f681..0e965055 100644 --- a/ui/intervals.utils.js.h +++ b/ui/intervals.utils.js.h @@ -5,4 +5,7 @@ char *s = N_("on the hour"); char *s = N_("every day at midnight"); // shuffle at midnight on Sunday (weekly) -char *s = N_("every Sunday at midnight"); \ No newline at end of file +char *s = N_("Sunday at midnight"); + +// shuffle at user defined interval +char *s = N_("User defined interval"); \ No newline at end of file diff --git a/ui/prefsadw.ui b/ui/prefsadw.ui index 538035c9..2d488056 100644 --- a/ui/prefsadw.ui +++ b/ui/prefsadw.ui @@ -201,6 +201,11 @@ Bing Wallpaper GNOME extension by: Michael Carroll Enable logging to system journal + + + + + Advanced options Always show new images @@ -210,7 +215,7 @@ Bing Wallpaper GNOME extension by: Michael Carroll Purge on trash - Trashing an image will remove it from database + Trashing an image will remove it from database and disk @@ -233,6 +238,26 @@ Bing Wallpaper GNOME extension by: Michael Carroll + + + Delete older images + Automatically delete older images (excludes favourites) + + + + + Number of days to keep images + Keep images for this number of days (favourites are kept forever) + + + 1 + 90 + 5 + 1 + + + + diff --git a/utils.js b/utils.js index 1ebe1592..7c9f1ef4 100644 --- a/utils.js +++ b/utils.js @@ -118,14 +118,16 @@ export function fetch_change_log(version, label, httpSession) { httpSession.send_and_read_async(request, GLib.PRIORITY_DEFAULT, null, (httpSession, message) => { let data = decoder.decode(httpSession.send_and_read_finish(message).get_data()); let text = JSON.parse(data).body; - label.set_label(text); + if (text) + label.set_label(text); }); } else { httpSession.queue_message(request, (httpSession, message) => { let data = message.response_body.data; let text = JSON.parse(data).body; - label.set_label(text); + if (text) + label.set_label(text); }); } } @@ -299,26 +301,6 @@ export function getImageByIndex(imageList, index) { return imageList[index]; } -export function cleanupImageList(settings) { - if (settings.get_boolean('trash-deletes-images') == false) - return; - let curList = imageListSortByDate(getImageList(settings)); - let cutOff = GLib.DateTime.new_now_utc().add_days(-8); // 8 days ago - let newList = []; - curList.forEach( function (x, i) { - let filename = imageToFilename(settings, x); - let diff = dateFromLongDate(x.fullstartdate, 0).difference(cutOff); - // image is still downloadable (< 8 days old) or still on disk, so we keep - if (diff > 0 || Gio.file_new_for_path(filename).query_exists(null)) { - newList.push(x); - } - else { - BingLog('Cleaning up: '+filename); - } - }); - setImageList(settings, newList); -} - export function populateImageListResolutions(settings) { let curList = imageListSortByDate(getImageList(settings)); let newList = []; @@ -337,7 +319,11 @@ export function populateImageListResolutions(settings) { export function getFetchableImageList(settings) { let imageList = getImageList(settings); - let cutOff = GLib.DateTime.new_now_utc().add_days(-8); // 8 days ago + let maxpictures = settings.get_int('previous-days'); + let maxdownload = 8; + if (maxpictures < maxdownload && maxpictures >=1) + maxdownload = maxpictures; + let cutOff = GLib.DateTime.new_now_utc().add_days(-maxdownload); // default 8 days ago, 1 day = 1 picture let dlList = []; imageList.forEach( function (x, i) { let diff = dateFromLongDate(x.fullstartdate, 0).difference(cutOff); @@ -369,7 +355,10 @@ export function getWallpaperDir(settings) { dir.make_directory_with_parents(null); } //FIXME: test if dir is good and writable - return BingWallpaperDir; + if (dir.query_exists(null)) + return BingWallpaperDir; + else + return null; } export function setWallpaperDir(settings, uri) { @@ -547,24 +536,43 @@ export function deleteImage(to_delete) { } } -// add image to persistant list so we can delete it later (in chronological order), delete the oldest image (if user wants this) +// optionally purge trashed images (default is not, these just don't get select in random mode), optionally purge older images export function purgeImages(settings) { - let deletepictures = settings.get_boolean('delete-previous'); - if (deletepictures === false) - return; + let deleteprevious = settings.get_boolean('delete-previous'); + let keepfavourites = settings.get_boolean('keep-favourites'); + let emptytrash = settings.get_boolean('trash-deletes-images'); + let maxDays = settings.get_int('previous-days'); + BingLog('purgeImages() dp: '+(deleteprevious?'true':'false')+'days:'+maxDays+' favs: '+(keepfavourites?'true':'false')+' trash: '+(emptytrash?'true':'false')); + + /*if (deleteprevious === false) + return;*/ let imagelist = imageListSortByDate(getImageList(settings)); - let maxpictures = settings.get_int('previous-days'); let origlength = imagelist.length; - while (imagelist.length > maxpictures) { - var to_delete = imagelist.shift(); // get the first (oldest item from the list) - if (deletepictures && to_delete != '') { - let imageFilename = imageToFilename(settings, to_delete); + let cutOff = GLib.DateTime.new_now_utc().add_days(-maxDays); // 8 days ago + let newList = []; + imagelist.forEach( function (image, i) { + var diff = dateFromLongDate(image.fullstartdate, 0).difference(cutOff); // relative age of image, < 0 we can delete + // always keep favourites, keep images that are less than minimum period (previous days) or if clean up delete previous is disabled (default) + var keep_image = (keepfavourites && image.favourite && image.favourite === true) || diff > 0 || !deleteprevious; + var ok_to_delete = !keep_image || (emptytrash && image.hidden); + var imageFilename = imageToFilename(settings, image); + + if (emptytrash && image.hidden && diff < 0) + ok_to_delete = true; + + + if (deleteprevious && image != '' && ok_to_delete) { BingLog('deleting '+imageFilename); deleteImage(imageFilename); } - } + else { + BingLog('keeping '+imageFilename); + newList.push(image); + } + }); + setImageList(settings, newList); BingLog('cleaned up image list, count was '+origlength+' now '+imagelist.length); - cleanupImageList(settings); + //cleanupImageList(settings); validate_imagename(settings); // if we deleted our current image, we want to reset it to something valid } @@ -605,7 +613,8 @@ export function importBingJSON(settings) { let parsed = JSON.parse(decoder.decode(contents)); // FIXME: triggers GJS warning without the conversion, need to investigate // need to implement some checks for validity here mergeImageLists(settings, parsed); - cleanupImageList(settings); // remove the older missing images + purgeImages(settings); // remove the older missing images + //cleanupImageList(settings); } } else {