diff --git a/Makefile b/Makefile index 005b6eb..bbe3a46 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ UUID = dash-to-panel@jderose9.github.com BASE_MODULES = extension.js stylesheet.css metadata.json COPYING README.md -EXTRA_MODULES = appIcons.js convenience.js panel.js panelStyle.js overview.js taskbar.js windowPreview.js prefs.js Settings.ui +EXTRA_MODULES = appIcons.js convenience.js panel.js intellihide.js panelStyle.js overview.js taskbar.js windowPreview.js prefs.js Settings.ui EXTRA_IMAGES = highlight_stacked_bg.svg TOLOCALIZE = prefs.js appIcons.js MSGSRC = $(wildcard po/*.po) diff --git a/README.md b/README.md index 1dadac7..6c5d1d1 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ Ideas for recursing child actors and assigning inline styles are based on code f #### Thanks to the following people for contributing via pull requests: - @franglais125 for launching apps by number (w/ overlay), bug fixes, and issue support +- @charlesg99 for ungrouping applications/showing window titles, bug fixes, and issue support - @LinxGem33 for artwork, logos, screenshots and design effort - @dziku1337 for peek mode in window previews - @robrobinbin for configuring appMenu on/off in the panel diff --git a/Settings.ui b/Settings.ui index 78f33bd..5401bfa 100644 --- a/Settings.ui +++ b/Settings.ui @@ -1,5 +1,5 @@ - + @@ -496,7 +496,7 @@ True True end - 5 + 5 focus_highlight_opacity_adjustment 5 @@ -548,7 +548,7 @@ True True end - 0 + 0 dot_size_adjustment @@ -1004,7 +1004,7 @@ True True 4 - 0 + 0 group_apps_label_font_size_adjustment True @@ -1105,7 +1105,7 @@ True True 4 - 0 + 0 group_apps_label_max_width_adjustment True @@ -1273,17 +1273,395 @@ + + 10 + 2000 + 10 + 100 + + + 10 + 4000 + 10 + 100 + + + 1 + 1000 + 10 + 100 + + + 1 + 5000 + 10 + 100 + + + True + False + vertical + + + True + False + 0 + in + + + True + False + none + + + True + True + + + True + False + 12 + 12 + 12 + 12 + 12 + 32 + True + + + True + False + True + Only hide the panel when it is obstructed by windows + True + 0 + + + 0 + 0 + + + + + True + True + end + center + + + 1 + 0 + + + + + True + False + 12 + 4 + + + True + False + True + The panel hides from + 0 + + + 0 + 0 + + + + + True + False + center + + All windows + Focused windows + Maximized windows + + + + 1 + 0 + + + + + 0 + 1 + 2 + + + + + + + + + True + True + + + True + False + 12 + 12 + 12 + 12 + 12 + 32 + + + True + False + True + Require pressure at the edge of the screen to reveal the panel + True + 0 + + + 0 + 0 + + + + + True + True + end + center + + + 1 + 0 + + + + + True + False + 12 + 4 + + + True + False + True + Required pressure threshold (px) + True + 0 + + + 0 + 0 + + + + + True + True + 4 + 0 + intellihide_pressure_threshold_adjustment + True + + + 1 + 0 + + + + + True + False + True + Required pressure timeout (ms) + True + 0 + + + 0 + 1 + + + + + True + True + 4 + 0 + intellihide_pressure_time_adjustment + True + + + 1 + 1 + + + + + 0 + 1 + 2 + + + + + + + + + 100 + True + True + + + True + False + 12 + 12 + 12 + 12 + 12 + 32 + + + True + False + True + Allow the panel to be revealed while in fullscreen mode + True + 0 + + + 0 + 0 + + + + + True + True + end + center + + + 1 + 0 + + + + + + + + + True + True + + + True + False + 12 + 12 + 12 + 12 + 32 + + + True + False + True + Hide and reveal animation duration (ms) + 0 + + + 0 + 0 + + + + + True + True + 4 + 0 + intellihide_animation_time_adjustment + True + + + 1 + 0 + + + + + + + + + 100 + True + True + + + True + False + 12 + 12 + 12 + 12 + 32 + + + True + False + True + Delay before hiding the panel (ms) + 0 + + + 0 + 0 + + + + + True + True + 4 + 10 + intellihide_close_delay_adjustment + True + 10 + + + 1 + 0 + + + + + + + + + + + False + True + 0 + + + 9999 25 100 - - 1 - 40 - 1 - 10 - True False @@ -1351,7 +1729,7 @@ True True 4 - 0 + 0 leave_timeout_adjustment True @@ -1397,11 +1775,28 @@ 10 25 + + 50 + 500 + 10 + 50 + + + 50 + 1 + 5 + 9999 25 100 + + 50 + 500 + 10 + 50 + True False @@ -1435,7 +1830,7 @@ True True 4 - 0 + 0 preview_timeout_adjustment True @@ -1718,6 +2113,189 @@ + + + 100 + True + True + + + True + False + 12 + 12 + 12 + 12 + 32 + + + True + False + True + Display window title in previews + True + 0 + + + 0 + 0 + + + + + True + True + end + center + + + 1 + 0 + + + + + + + + + 100 + True + True + + + True + False + 12 + 12 + 12 + 12 + 32 + + + True + True + 4 + 0 + preview_width_adjustment + True + + + 1 + 0 + + + + + True + False + True + Width of the window previews (px) + True + 0 + + + 0 + 0 + + + + + + + + + 100 + True + True + + + True + False + 12 + 12 + 12 + 12 + 32 + + + True + True + 4 + 0 + preview_height_adjustment + True + + + 1 + 0 + + + + + True + False + True + Height of the window previews (px) + True + 0 + + + 0 + 0 + + + + + + + + + 100 + True + True + + + True + False + 12 + 12 + 12 + 12 + 32 + + + True + True + 4 + 50 + preview_padding_adjustment + True + 50 + + + 1 + 0 + + + + + True + False + True + Padding of the window previews (px) + True + 0 + + + 0 + 0 + + + + + + @@ -2000,7 +2578,97 @@ - + + True + False + vertical + + + True + True + + + True + False + 12 + 12 + 12 + 12 + 12 + 32 + + + True + False + True + Current Show Applications icon + True + 0 + + + 0 + 0 + + + + + 32 + 32 + True + False + end + gtk-missing-image + 32 + + + 1 + 0 + + + + + 140 + True + False + False + Select a Show Applications image icon + + + 1 + 1 + + + + + True + False + True + Custom Show Applications image icon + True + 0 + + + 0 + 1 + + + + + + + False + True + 0 + + + + + 1 + 40 + 1 + 10 + + True False vertical @@ -2035,7 +2703,7 @@ True True 4 - 0 + 0 show_showdesktop_width_adjustment True @@ -2682,6 +3350,129 @@ 3 + + + True + False + 0 + in + + + True + False + none + + + 100 + True + True + + + True + False + 12 + 12 + 12 + 12 + 32 + + + True + False + True + Panel Intellihide + True + 0 + + + 0 + 0 + + + + + True + False + 6 + + + True + True + True + center + center + 0.46000000834465027 + + + True + False + emblem-system-symbolic + + + + + + False + True + 0 + + + + + True + True + end + center + + + False + True + 1 + + + + + 1 + 0 + 2 + + + + + True + False + True + Hide and reveal the panel according to preferences + True + 40 + 0 + + + + 0 + 1 + + + + + + + + + + + + + + False + True + 4 + + @@ -2770,18 +3561,6 @@ 12 12 32 - - - True - True - end - center - - - 1 - 0 - - True @@ -2823,6 +3602,55 @@ 2 + + + True + False + 6 + + + True + True + True + center + center + 0.46000000834465027 + + + True + False + emblem-system-symbolic + + + + + + False + True + 0 + + + + + True + True + end + center + + + False + True + 1 + + + + + 1 + 0 + + @@ -3147,7 +3975,7 @@ True True - + True False 12 @@ -3183,7 +4011,7 @@ center 0.46000000834465027 - + True False emblem-system-symbolic diff --git a/appIcons.js b/appIcons.js index 1dd248a..720ba8a 100644 --- a/appIcons.js +++ b/appIcons.js @@ -103,6 +103,27 @@ var taskbarAppIcon = new Lang.Class({ this.window = appInfo.window; this.isLauncher = appInfo.isLauncher; + // Fix touchscreen issues before the listener is added by the parent constructor. + this._onTouchEvent = function(actor, event) { + if (event.type() == Clutter.EventType.TOUCH_BEGIN) { + // Open the popup menu on long press. + this._setPopupTimeout(); + } else if (this._menuTimeoutId != 0 && (event.type() == Clutter.EventType.TOUCH_END || event.type() == Clutter.EventType.TOUCH_CANCEL)) { + // Activate/launch the application. + this.activate(1); + this._removeMenuTimeout(); + } + // Disable dragging via touch screen as it's buggy as hell. Not perfect for tablet users, but the alternative is way worse. + // Also, EVENT_PROPAGATE launches applications twice with this solution, so this.activate(1) above must only be called if there's already a window. + return Clutter.EVENT_STOP; + }; + // Hack for missing TOUCH_END event. + this._onLeaveEvent = function(actor, event) { + this.actor.fake_release(); + if (this._menuTimeoutId != 0) this.activate(1); // Activate/launch the application if TOUCH_END didn't fire. + this._removeMenuTimeout(); + }; + this.parent(appInfo.app, iconParams, onActivateOverride); this._dot.set_width(0); @@ -279,16 +300,19 @@ var taskbarAppIcon = new Lang.Class({ }, shouldShowTooltip: function() { - if (!this.isLauncher && this._dtpSettings.get_boolean("show-window-previews") && + if (!this.isLauncher && this._dtpSettings.get_boolean("show-window-previews") && getInterestingWindows(this.app, this._dtpSettings).length > 0) { return false; } else { - return this.actor.hover && (!this._menu || !this._menu.isOpen) && (!this.windowPreview || !this.windowPreview.isOpen); + return this.actor.hover && !this.window && + (!this._menu || !this._menu.isOpen) && + (!this.windowPreview || !this.windowPreview.isOpen); } }, _onDestroy: function() { this.parent(); + this._destroyed = true; // Disconect global signals // stateChangedId is already handled by parent) @@ -568,10 +592,12 @@ var taskbarAppIcon = new Lang.Class({ isFocused = (tracker.focus_app == this.app); Mainloop.timeout_add(0, () => { - if(isFocused) - this.actor.add_style_class_name('focused'); - else - this.actor.remove_style_class_name('focused'); + if (!this._destroyed) { + if(isFocused) + this.actor.add_style_class_name('focused'); + else + this.actor.remove_style_class_name('focused'); + } }); if(focusedIsWide) { @@ -795,11 +821,28 @@ var taskbarAppIcon = new Lang.Class({ }, _launchNewInstance: function() { - if(this._dtpSettings.get_boolean('animate-window-launch')) { - this.animateLaunch(); - } + if (this.app.can_open_new_window()) { + let appActions = this.app.get_app_info().list_actions(); + let newWindowIndex = appActions.indexOf('new-window'); - this.app.open_new_window(-1); + if(this._dtpSettings.get_boolean('animate-window-launch')) { + this.animateLaunch(); + } + + if (newWindowIndex < 0) { + this.app.open_new_window(-1); + } else { + this.app.launch_action(appActions[newWindowIndex], global.get_current_time(), -1); + } + } else { + let windows = this.window ? [this.window] : this.app.get_windows(); + + if (windows.length) { + Main.activateWindow(windows[0]); + } else { + this.app.activate(); + } + } }, _updateCounterClass: function() { @@ -1376,6 +1419,26 @@ function extendShowAppsIcon(showAppsIcon, settings) { showAppsIcon.showLabel = ItemShowLabel; + let customIconPath = settings.get_string('show-apps-icon-file'); + + showAppsIcon.icon.createIcon = function(size) { + this._iconActor = new St.Icon({ icon_name: 'view-app-grid-symbolic', + icon_size: size, + style_class: 'show-apps-icon', + track_hover: true }); + + if (customIconPath) { + this._iconActor.gicon = new Gio.FileIcon({ file: Gio.File.new_for_path(customIconPath) }); + } + + return this._iconActor; + }; + + settings.connect('changed::show-apps-icon-file', () => { + customIconPath = settings.get_string('show-apps-icon-file'); + showAppsIcon.icon._createIconTexture(showAppsIcon.icon.iconSize); + }); + showAppsIcon.popupMenu = function() { showAppsIcon._removeMenuTimeout(); showAppsIcon.actor.fake_release(); diff --git a/convenience.js b/convenience.js index d17c00a..161cf3b 100644 --- a/convenience.js +++ b/convenience.js @@ -26,6 +26,7 @@ const ExtensionUtils = imports.misc.extensionUtils; const Gettext = imports.gettext; const Gio = imports.gi.Gio; const Lang = imports.lang; +const Mainloop = imports.mainloop; /** * initTranslations: @@ -120,7 +121,11 @@ var BasicHandler = new Lang.Class({ // skip first element of the arguments for( let i = 1; i < arguments.length; i++ ) { let item = this._storage[label]; - item.push(this._create(arguments[i])); + let handlers = this._create(arguments[i]); + + for (let j = 0, l = handlers.length; j < l; ++j) { + item.push(handlers[j]); + } } }, @@ -154,13 +159,20 @@ var GlobalSignalsHandler = new Lang.Class({ Extends: BasicHandler, _create: function(item) { + let handlers = []; - let object = item[0]; - let event = item[1]; - let callback = item[2] - let id = object.connect(event, callback); + item[1] = [].concat(item[1]); - return [object, id]; + for (let i = 0, l = item[1].length; i < l; ++i) { + let object = item[0]; + let event = item[1][i]; + let callback = item[2] + let id = object.connect(event, callback); + + handlers.push([object, id]); + } + + return handlers; }, _remove: function(item){ @@ -183,7 +195,7 @@ var InjectionsHandler = new Lang.Class({ let original = object[name]; object[name] = injectedFunction; - return [object, name, injectedFunction, original]; + return [[object, name, injectedFunction, original]]; }, _remove: function(item) { @@ -193,3 +205,43 @@ var InjectionsHandler = new Lang.Class({ object[name] = original; } }); + +/** + * Manage timeouts: the added timeouts have their id reset on completion + */ +var TimeoutsHandler = new Lang.Class({ + Name: 'DashToPanel.TimeoutsHandler', + Extends: BasicHandler, + + _create: function(item) { + let name = item[0]; + let delay = item[1]; + let timeoutHandler = item[2]; + + this._remove(item); + + this[name] = Mainloop.timeout_add(delay, () => { + this[name] = 0; + timeoutHandler(); + }); + + return [[name]]; + }, + + remove: function(name) { + this._remove([name]) + }, + + _remove: function(item) { + let name = item[0]; + + if (this[name]) { + Mainloop.source_remove(this[name]); + this[name] = 0; + } + }, + + getId: function(name) { + return this[name] ? this[name] : 0; + } +}); \ No newline at end of file diff --git a/extension.js b/extension.js index b3a4686..48af379 100644 --- a/extension.js +++ b/extension.js @@ -26,6 +26,7 @@ const Overview = Me.imports.overview; const Main = imports.ui.main; const Meta = imports.gi.Meta; const Gio = imports.gi.Gio; +const GLib = imports.gi.GLib; const Lang = imports.lang; const Shell = imports.gi.Shell; const WindowManager = imports.ui.windowManager; diff --git a/intellihide.js b/intellihide.js new file mode 100644 index 0000000..13ed72c --- /dev/null +++ b/intellihide.js @@ -0,0 +1,436 @@ +/* + * This file is part of the Dash-To-Panel extension for Gnome 3 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +const Lang = imports.lang; +const Meta = imports.gi.Meta; +const Shell = imports.gi.Shell; + +const GrabHelper = imports.ui.grabHelper; +const Layout = imports.ui.layout; +const Main = imports.ui.main; +const OverviewControls = imports.ui.overviewControls; +const PointerWatcher = imports.ui.pointerWatcher; +const Tweener = imports.ui.tweener; + +const Me = imports.misc.extensionUtils.getCurrentExtension(); +const Convenience = Me.imports.convenience; + +//timeout intervals +const CHECK_POINTER_MS = 200; +const CHECK_GRAB_MS = 400; +const POST_ANIMATE_MS = 50; +const MIN_UPDATE_MS = 250; + +//timeout names +const T1 = 'checkGrabTimeout'; +const T2 = 'limitUpdateTimeout'; +const T3 = 'postAnimateTimeout'; + +var Intellihide = new Lang.Class({ + Name: 'DashToPanel.Intellihide', + + _init: function(dtpPanel) { + this._dtpPanel = dtpPanel; + this._dtpSettings = dtpPanel._dtpSettings; + this._panelBox = dtpPanel.panelBox; + + this._signalsHandler = new Convenience.GlobalSignalsHandler(); + this._timeoutsHandler = new Convenience.TimeoutsHandler(); + + this._dtpSettings.connect('changed::intellihide', Lang.bind(this, this._changeEnabledStatus)); + + if (this._dtpSettings.get_boolean('intellihide')) { + this.enable(); + } + }, + + enable: function(reset) { + this._primaryMonitor = Main.layoutManager.primaryMonitor; + this._focusedWindowInfo = null; + this._animationDestination = -1; + this._pendingUpdate = false; + this._dragging = false; + this._hoveredOut = false; + this._panelAtTop = this._dtpSettings.get_string('panel-position') === 'TOP'; + + if (this._panelAtTop && this._panelBox.translation_y > 0 || + !this._panelAtTop && this._panelBox.translation_y < 0) { + //the panel changed position while being hidden, so revert the hiding position + this._panelBox.translation_y *= -1; + } + + this._setTrackPanel(reset, true); + this._bindGeneralSignals(); + + if (this._dtpSettings.get_boolean('intellihide-hide-from-windows')) { + this._bindWindowSignals(); + this._setFocusedWindow(); + } + + this._setRevealMechanism(); + this._queueUpdatePanelPosition(); + }, + + disable: function(reset) { + this._setTrackPanel(reset, false); + this._disconnectFocusedWindow(); + + this._signalsHandler.destroy(); + this._timeoutsHandler.destroy(); + + this._removeRevealMechanism(); + + this._revealPanel(!reset); + }, + + destroy: function() { + this.disable(); + }, + + _reset: function() { + this.disable(true); + this.enable(true); + }, + + _changeEnabledStatus: function() { + this[this._dtpSettings.get_boolean('intellihide') ? 'enable' : 'disable'](); + }, + + _bindGeneralSignals: function() { + this._signalsHandler.add( + [ + this._dtpPanel.taskbar, + 'menu-closed', + () => this._panelBox.sync_hover() + ], + [ + this._dtpSettings, + [ + 'changed::panel-position', + 'changed::panel-size', + 'changed::intellihide-use-pressure', + 'changed::intellihide-hide-from-windows' + ], + () => this._reset() + ], + [ + global.screen, + [ + 'restacked', + 'monitors-changed' + ], + () => this._queueUpdatePanelPosition() + ], + [ + global.display, + [ + 'grab-op-begin', + 'grab-op-end' + ], + () => this._dragging = !this._dragging + ], + [ + this._panelBox, + 'notify::hover', + () => { + this._hoveredOut = !this._panelBox.hover; + this._queueUpdatePanelPosition(); + } + ], + [ + Main.overview, + [ + 'showing', + 'hiding' + ], + () => this._queueUpdatePanelPosition() + ] + ); + }, + + _bindWindowSignals: function() { + this._signalsHandler.add( + [ + global.display, + 'notify::focus-window', + () => { + this._setFocusedWindow(); + this._queueUpdatePanelPosition(); + } + ], + [ + global.window_group, + [ + 'actor-added', + 'actor-removed' + ], + () => this._queueUpdatePanelPosition() + ], + [ + this._dtpSettings, + 'changed::intellihide-behaviour', + () => this._queueUpdatePanelPosition() + ] + ); + }, + + _setTrackPanel: function(reset, enable) { + if (!reset) { + Main.layoutManager._untrackActor(this._panelBox); + Main.layoutManager._trackActor(this._panelBox, { affectsStruts: !enable, trackFullscreen: !enable }); + + this._panelBox.track_hover = enable; + this._panelBox.reactive = enable; + this._panelBox.visible = enable ? enable : this._panelBox.visible; + } + }, + + _setRevealMechanism: function() { + if (global.display.supports_extended_barriers() && this._dtpSettings.get_boolean('intellihide-use-pressure')) { + this._pressureBarrier = new Layout.PressureBarrier( + this._dtpSettings.get_int('intellihide-pressure-threshold'), + this._dtpSettings.get_int('intellihide-pressure-time'), + Shell.ActionMode.NORMAL + ); + this._pressureBarrier.addBarrier(this._createBarrier()); + this._signalsHandler.add([this._pressureBarrier, 'trigger', () => this._queueUpdatePanelPosition(true)]); + } else { + this._pointerWatch = PointerWatcher.getPointerWatcher() + .addWatch(CHECK_POINTER_MS, (x, y) => this._checkMousePointer(x, y)); + } + }, + + _removeRevealMechanism: function() { + if (this._pointerWatch) { + PointerWatcher.getPointerWatcher()._removeWatch(this._pointerWatch); + } + + if (this._pressureBarrier) { + this._pressureBarrier.destroy(); + } + }, + + _createBarrier: function() { + let opts = { + display: global.display, + x1: this._primaryMonitor.x + 1, + x2: this._primaryMonitor.x + this._primaryMonitor.width - 1 + }; + + if (this._panelAtTop) { + opts.y1 = this._primaryMonitor.y; + opts.y2 = this._primaryMonitor.y; + opts.directions = Meta.BarrierDirection.POSITIVE_Y; + } else { + let screenBottom = this._primaryMonitor.y + this._primaryMonitor.height; + + opts.y1 = screenBottom; + opts.y2 = screenBottom; + opts.directions = Meta.BarrierDirection.NEGATIVE_Y; + } + + return new Meta.Barrier(opts); + }, + + _checkMousePointer: function(x, y) { + if (!this._panelBox.hover && !Main.overview.visible && + ((this._panelAtTop && y <= this._primaryMonitor.y + 1) || + (!this._panelAtTop && y >= this._primaryMonitor.y + this._primaryMonitor.height - 1)) && + (x > this._primaryMonitor.x && x < this._primaryMonitor.x + this._primaryMonitor.width)) { + this._queueUpdatePanelPosition(true); + } + }, + + _setFocusedWindow: function() { + this._disconnectFocusedWindow(); + + let focusedWindow = global.display.focus_window; + + if (focusedWindow) { + let window = (focusedWindow.is_attached_dialog() ? + focusedWindow.get_transient_for() : + focusedWindow).get_compositor_private(); + let metaWindow = window.get_meta_window(); + + if (this._checkIfHandledWindowType(metaWindow)) { + this._focusedWindowInfo = { + window: window, + metaWindow: metaWindow, + id: window.connect('allocation-changed', () => this._queueUpdatePanelPosition()) + }; + } + } + }, + + _disconnectFocusedWindow: function() { + if (this._focusedWindowInfo) { + this._focusedWindowInfo.window.disconnect(this._focusedWindowInfo.id); + this._focusedWindowInfo = null; + } + }, + + _getHandledWindows: function() { + return global.get_window_actors() + .map(w => w.get_meta_window()) + .filter(mw => this._checkIfHandledWindow(mw)); + }, + + _checkIfHandledWindow: function(metaWindow) { + return metaWindow && !metaWindow.minimized && + metaWindow.get_workspace().index() == global.screen.get_active_workspace_index() && + metaWindow.get_monitor() == Main.layoutManager.primaryIndex && + this._checkIfHandledWindowType(metaWindow); + }, + + _checkIfHandledWindowType: function(metaWindow) { + let metaWindowType = metaWindow.get_window_type(); + + //https://www.roojs.org/seed/gir-1.2-gtk-3.0/seed/Meta.WindowType.html + return metaWindowType <= Meta.WindowType.SPLASHSCREEN && + metaWindowType != Meta.WindowType.DESKTOP; + }, + + _queueUpdatePanelPosition: function(fromRevealMechanism) { + if (!fromRevealMechanism && this._timeoutsHandler.getId(T2) && !Main.overview.visible) { + //unless this is a mouse interaction or entering/leaving the overview, limit the number + //of updates, but remember to update again when the limit timeout is reached + this._pendingUpdate = true; + } else { + this._checkIfShouldBeVisible(fromRevealMechanism) ? this._revealPanel() : this._hidePanel(); + this._timeoutsHandler.add([T2, MIN_UPDATE_MS, () => this._endLimitUpdate()]); + } + }, + + _endLimitUpdate: function() { + if (this._pendingUpdate) { + this._pendingUpdate = false; + this._queueUpdatePanelPosition(); + } + }, + + _checkIfShouldBeVisible: function(fromRevealMechanism) { + if (fromRevealMechanism) { + //the user is trying to reveal the panel + if (this._primaryMonitor.inFullscreen && !this._dragging) { + return this._dtpSettings.get_boolean('intellihide-show-in-fullscreen'); + } + + return !this._dragging; + } + + if (Main.overview.visibleTarget || this._checkIfGrab() || this._panelBox.get_hover()) { + return true; + } + + if (!this._dtpSettings.get_boolean('intellihide-hide-from-windows')) { + return this._panelBox.hover; + } + + let behaviour = this._dtpSettings.get_string('intellihide-behaviour'); + + if (behaviour === 'FOCUSED_WINDOWS') { + return !(this._focusedWindowInfo && + this._checkIfHandledWindow(this._focusedWindowInfo.metaWindow) && + this._checkIfWindowObstructs(this._focusedWindowInfo.metaWindow)); + } + + let metaWindows = this._getHandledWindows(); + + if (behaviour === 'MAXIMIZED_WINDOWS') { + return !metaWindows.some(mw => mw.maximized_vertically && mw.maximized_horizontally); + } else { //ALL_WINDOWS + return !metaWindows.some(mw => this._checkIfWindowObstructs(mw)); + } + }, + + _checkIfWindowObstructs: function(metaWindow) { + let windowRect = metaWindow.get_frame_rect(); + + if (this._panelAtTop) { + return windowRect.y <= this._primaryMonitor.y + this._panelBox.height; + } + + let windowBottom = windowRect.y + windowRect.height; + let panelTop = this._primaryMonitor.y + this._primaryMonitor.height - this._panelBox.height; + + return windowBottom >= panelTop; + }, + + _checkIfGrab: function() { + if (GrabHelper._grabHelperStack.some(gh => this._panelBox.contains(gh._owner))) { + //there currently is a grab on a child of the panel, check again soon to catch its release + this._timeoutsHandler.add([T1, CHECK_GRAB_MS, () => this._queueUpdatePanelPosition()]); + + return true; + } + + return false; + }, + + _adjustDynamicTransparency: function() { + this._invokeIfExists(this._dtpPanel.panel._updateSolidStyle); + }, + + _revealPanel: function(immediate) { + this._animatePanel(0, immediate, this._adjustDynamicTransparency); + }, + + _hidePanel: function(immediate) { + this._animatePanel(this._panelBox.height * (this._panelAtTop ? -1 : 1), immediate); + }, + + _animatePanel: function(destination, immediate, onComplete) { + let animating = Tweener.isTweening(this._panelBox); + + if (!((animating && destination === this._animationDestination) || + (!animating && destination === this._panelBox.translation_y))) { + //the panel isn't already at, or animating to the asked destination + if (animating) { + Tweener.removeTweens(this._panelBox); + } + + this._animationDestination = destination; + + if (immediate) { + this._panelBox.translation_y = destination; + this._invokeIfExists(onComplete); + } else { + Tweener.addTween(this._panelBox, { + translation_y: destination, + //when entering/leaving the overview, use its animation time instead of the one from the settings + time: Main.overview.visible ? + OverviewControls.SIDE_CONTROLS_ANIMATION_TIME : + this._dtpSettings.get_int('intellihide-animation-time') * 0.001, + //only delay the animation when hiding the panel after the user hovered out + delay: destination != 0 && this._hoveredOut ? this._dtpSettings.get_int('intellihide-close-delay') * 0.001 : 0, + transition: 'easeOutQuad', + onComplete: () => { + this._invokeIfExists(onComplete); + Main.layoutManager._queueUpdateRegions(); + this._timeoutsHandler.add([T3, POST_ANIMATE_MS, () => this._queueUpdatePanelPosition()]); + } + }); + } + } + + this._hoveredOut = false; + }, + + _invokeIfExists: function(func) { + func ? func.call(this) : null; + } +}); \ No newline at end of file diff --git a/metadata.json b/metadata.json index 96f7d24..4d84ad3 100644 --- a/metadata.json +++ b/metadata.json @@ -3,7 +3,7 @@ "uuid": "dash-to-panel@jderose9.github.com", "name": "Dash to Panel", "description": "An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.\n\nFor a more traditional experience, you may also want to use Tweak Tool to enable Windows > Titlebar Buttons > Minimize & Maximize.", -"shell-version": [ "3.18", "3.20", "3.22", "3.24", "3.26" ], +"shell-version": [ "3.18", "3.20", "3.22", "3.24", "3.26", "3.28" ], "url": "https://github.com/jderose9/dash-to-panel", "gettext-domain": "dash-to-panel", "version": 9999 diff --git a/panel.js b/panel.js index 44a1f65..a3d0906 100644 --- a/panel.js +++ b/panel.js @@ -47,6 +47,8 @@ const Tweener = imports.ui.tweener; const IconGrid = imports.ui.iconGrid; const ViewSelector = imports.ui.viewSelector; +const Intellihide = Me.imports.intellihide; + let tracker = Shell.WindowTracker.get_default(); var dtpPanel = new Lang.Class({ @@ -168,6 +170,11 @@ var dtpPanel = new Lang.Class({ if(this.taskbar._showAppsIcon) this.taskbar._showAppsIcon._dtpPanel = this; + this.startIntellihideId = Mainloop.timeout_add(2000, () => { + this.startIntellihideId = 0; + this._intellihide = new Intellihide.Intellihide(this); + }); + this._signalsHandler = new Convenience.GlobalSignalsHandler(); this._signalsHandler.add( // Keep dragged icon consistent in size with this dash @@ -190,6 +197,11 @@ var dtpPanel = new Lang.Class({ Main.overview.dashIconSize = this.taskbar.iconSize; }) ], + [ + Main.overview, + 'hidden', + () => this.panel._updateSolidStyle ? this.panel._updateSolidStyle() : null + ], [ this.panel._rightBox, 'actor-added', @@ -219,11 +231,12 @@ var dtpPanel = new Lang.Class({ if (this.panel._updateSolidStyle) { this._injectionsHandler = new Convenience.InjectionsHandler(); this.panel._dtpPosition = this._dtpSettings.get_string('panel-position'); + this.panel._dtpRemoveSolidStyleId = 0; this._injectionsHandler.addWithLabel('transparency', [ - this.panel, - '_updateSolidStyle', - Lang.bind(this.panel, this._dtpUpdateSolidStyle) - ]); + this.panel, + '_updateSolidStyle', + Lang.bind(this.panel, this._dtpUpdateSolidStyle) + ]); this.panel._updateSolidStyle(); } @@ -239,6 +252,13 @@ var dtpPanel = new Lang.Class({ this.taskbar.destroy(); this.panel.actor.disconnect(this._panelConnectId); + if (this.startIntellihideId) { + Mainloop.source_remove(this.startIntellihideId); + this.startIntellihideId = 0; + } else { + this._intellihide.destroy(); + } + // reset stored icon size to the default dash Main.overview.dashIconSize = Main.overview._controls.dash.iconSize; @@ -263,9 +283,15 @@ var dtpPanel = new Lang.Class({ this._displayShowDesktopButton(false); if (this.panel._updateSolidStyle) { + if (this.panel._dtpRemoveSolidStyleId) { + Mainloop.source_remove(this.panel._dtpRemoveSolidStyleId); + } + this._injectionsHandler.removeWithLabel('transparency'); this._injectionsHandler.destroy(); + delete this.panel._dtpPosition; + delete this.panel._dtpRemoveSolidStyleId; } PopupMenu.PopupMenu.prototype.open = this._oldPopupOpen; @@ -602,36 +628,47 @@ var dtpPanel = new Lang.Class({ }, _dtpUpdateSolidStyle: function() { - if (this.actor.has_style_pseudo_class('overview') || !Main.sessionMode.hasWindows) { - this._removeStyleClassName('solid'); - } else { - /* Get all the windows in the active workspace that are in the - * primary monitor and visible */ - let activeWorkspace = global.screen.get_active_workspace(); - let windows = activeWorkspace.list_windows().filter(function(metaWindow) { - return metaWindow.is_on_primary_monitor() && - metaWindow.showing_on_its_workspace() && - metaWindow.get_window_type() != Meta.WindowType.DESKTOP; - }); - - /* Check if at least one window is near enough to the panel */ - let [, panelTop] = this.actor.get_transformed_position(); - let panelBottom = panelTop + this.actor.get_height(); - let scale = St.ThemeContext.get_for_stage(global.stage).scale_factor; - let isNearEnough = windows.some(Lang.bind(this, function(metaWindow) { - if (this.hasOwnProperty('_dtpPosition') && this._dtpPosition === 'TOP') { - let verticalPosition = metaWindow.get_frame_rect().y; - return verticalPosition < panelBottom + 5 * scale; - } else { - let verticalPosition = metaWindow.get_frame_rect().y + metaWindow.get_frame_rect().height; - return verticalPosition > panelTop - 5 * scale; - } - })); - - if (isNearEnough) - this._addStyleClassName('solid'); - else + let removeSolidStyle = function(solid) { + this._dtpRemoveSolidStyleId = Mainloop.timeout_add(0, () => { + this._dtpRemoveSolidStyleId = 0; this._removeStyleClassName('solid'); + }); + }; + + if (this.actor.has_style_pseudo_class('overview') || !Main.sessionMode.hasWindows) { + removeSolidStyle.call(this); + return; + } + + if (!Main.layoutManager.primaryMonitor) + return; + + /* Get all the windows in the active workspace that are in the primary monitor and visible */ + let activeWorkspace = global.screen.get_active_workspace(); + let windows = activeWorkspace.list_windows().filter(function(metaWindow) { + return metaWindow.is_on_primary_monitor() && + metaWindow.showing_on_its_workspace() && + metaWindow.get_window_type() != Meta.WindowType.DESKTOP; + }); + + /* Check if at least one window is near enough to the panel */ + let [, panelTop] = this.actor.get_transformed_position(); + let panelBottom = panelTop + this.actor.get_height(); + let scale = St.ThemeContext.get_for_stage(global.stage).scale_factor; + let isNearEnough = windows.some(Lang.bind(this, function(metaWindow) { + if (this.hasOwnProperty('_dtpPosition') && this._dtpPosition === 'TOP') { + let verticalPosition = metaWindow.get_frame_rect().y; + return verticalPosition < panelBottom + 5 * scale; + } else { + let verticalPosition = metaWindow.get_frame_rect().y + metaWindow.get_frame_rect().height; + return verticalPosition > panelTop - 5 * scale; + } + })); + + if (isNearEnough) { + this._addStyleClassName('solid'); + } else { + removeSolidStyle.call(this); } } }); diff --git a/po/de.po b/po/de.po index 72efc8f..f0b4b0d 100644 --- a/po/de.po +++ b/po/de.po @@ -7,65 +7,78 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-13 20:53+0200\n" -"PO-Revision-Date: 2017-04-13 22:16+0200\n" +"POT-Creation-Date: 2018-02-06 18:43+0100\n" +"PO-Revision-Date: 2018-02-06 19:04+0100\n" +"Last-Translator: Jonatan Hatakeyama Zeidler \n" +"Language-Team: \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: Jonatan Hatakeyama Zeidler \n" -"Language-Team: \n" -"X-Generator: Poedit 1.8.7.1\n" +"X-Generator: Poedit 2.0.4\n" -#: prefs.js:266 +#: prefs.js:295 msgid "Running Indicator Options" msgstr "Optionen Aktiv-Markierungen" -#: prefs.js:273 prefs.js:433 prefs.js:498 prefs.js:566 prefs.js:608 +#: prefs.js:302 prefs.js:447 prefs.js:499 prefs.js:608 prefs.js:684 +#: prefs.js:753 prefs.js:829 prefs.js:871 msgid "Reset to defaults" msgstr "Zurücksetzen" -#: prefs.js:426 +#: prefs.js:440 +msgid "Show Desktop options" +msgstr "Schreibtisch-Optionen anzeigen" + +#: prefs.js:492 +msgid "Window preview options" +msgstr "Optionen Fenstervorschau" + +#: prefs.js:601 +msgid "Ungrouped application options" +msgstr "Optionen nicht gruppierter Anwendungen" + +#: prefs.js:677 msgid "Customize middle-click behavior" msgstr "Mittelklick-Verhalten anpassen" -#: prefs.js:491 +#: prefs.js:746 msgid "Advanced hotkeys options" msgstr "Erweiterte Schnelltastenoptionen" -#: prefs.js:559 +#: prefs.js:822 msgid "Secondary Menu Options" msgstr "Rechtsklickmenü-Optionen" -#: prefs.js:601 Settings.ui.h:85 +#: prefs.js:864 Settings.ui.h:113 msgid "Advanced Options" msgstr "Erweiterte Optionen" -#: appIcons.js:918 +#: appIcons.js:1179 msgid "Show Details" msgstr "Details anzeigen" -#: appIcons.js:937 +#: appIcons.js:1198 msgid "New Window" msgstr "Neues Fenster" -#: appIcons.js:937 appIcons.js:998 appIcons.js:1000 Settings.ui.h:8 +#: appIcons.js:1198 appIcons.js:1260 appIcons.js:1262 Settings.ui.h:8 msgid "Quit" msgstr "Schließen" -#: appIcons.js:1000 +#: appIcons.js:1262 msgid "Windows" msgstr "Fenster" -#: appIcons.js:1159 +#: appIcons.js:1421 msgid "Dash to Panel Settings" msgstr "Erweiterungseinstellungen" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Restore Windows" msgstr "Fenster wiederherstellen" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Show Desktop" msgstr "Schreibtisch anzeigen" @@ -111,7 +124,7 @@ msgstr "Aktion Mittelklick" #: Settings.ui.h:11 msgid "Behavior for Shift+Middle-Click." -msgstr "Aktion bei Umschalt+Mittelklick" +msgstr "Aktion bei Umschalt+Mittelklick." #: Settings.ui.h:12 msgid "Shift+Middle-Click action" @@ -130,46 +143,92 @@ msgid "Highlight focused application" msgstr "Fokussierte Anwendung hervorheben" #: Settings.ui.h:16 -msgid "Height (px)" -msgstr "Höhe (px)" +msgid "Highlight color" +msgstr "Farbe Hervorhebung" #: Settings.ui.h:17 +msgid "Highlight opacity" +msgstr "Deckkraft Hervorhebung" + +#: Settings.ui.h:18 +msgid "5" +msgstr "5" + +#: Settings.ui.h:19 +msgid "Indicator height (px)" +msgstr "Symbolhöhe (px)" + +#: Settings.ui.h:20 msgid "0" msgstr "0" -#: Settings.ui.h:18 -msgid "Color - Override Theme" -msgstr "Farbe - Thema überschreiben" +#: Settings.ui.h:21 +msgid "Indicator color - Override Theme" +msgstr "Symbolfarbe - Thema überschreiben" -#: Settings.ui.h:19 -msgid "1 window open" -msgstr "1 Fenster offen" +#: Settings.ui.h:22 +msgid "1 window open (or ungrouped)" +msgstr "1 Fenster offen (oder nicht gruppiert)" -#: Settings.ui.h:20 +#: Settings.ui.h:23 msgid "Apply to all" msgstr "Auf alle anwenden" -#: Settings.ui.h:21 +#: Settings.ui.h:24 msgid "2 windows open" msgstr "2 Fenster offen" -#: Settings.ui.h:22 +#: Settings.ui.h:25 msgid "3 windows open" msgstr "3 Fenster offen" -#: Settings.ui.h:23 +#: Settings.ui.h:26 msgid "4+ windows open" msgstr "4+ Fenster offen" -#: Settings.ui.h:24 +#: Settings.ui.h:27 msgid "Use different for unfocused" msgstr "Andere für nicht fokussierte" -#: Settings.ui.h:25 +#: Settings.ui.h:28 +msgid "Font size (px) of the application titles (default is 14)" +msgstr "Schriftgröße (px) des Anwendungstitels (14 ist Vorgabe)" + +#: Settings.ui.h:29 +msgid "Font color of the application titles" +msgstr "Schriftfarbe des Anwendungstitels" + +#: Settings.ui.h:30 +msgid "Maximum width (px) of the application titles (default is 160)" +msgstr "Maximale Breite (px) des Anwendungstitels (160 ist Vorgabe)" + +#: Settings.ui.h:31 +msgid "Use a fixed width for the application titles" +msgstr "Feste Breite für Anwendungstitel nutzen" + +#: Settings.ui.h:32 +msgid "" +"The application titles all have the same width, even if their texts are " +"shorter than the maximum width. The maximum width value is used as the fixed " +"width." +msgstr "" +"Die Anwendungstitel haben alle die gleiche Breite, selbst wenn der Text " +"kürzer ist als die maximale Breite. Die maximale Breite wird als feste " +"Breite genutzt." + +#: Settings.ui.h:33 +msgid "Display running indicators on unfocused applications" +msgstr "Läuft-Indikatoren auf nicht fokussierten Anwendungen anzeigen" + +#: Settings.ui.h:34 +msgid "Use the favorite icons as application launchers" +msgstr "Favoritensymbole als Anwendungsstarter nutzen" + +#: Settings.ui.h:35 msgid "Preview timeout on icon leave (ms)" msgstr "Verzögerung beim Ausblenden von Fenstervorschau (ms)" -#: Settings.ui.h:26 +#: Settings.ui.h:36 msgid "" "If set too low, the window preview of running applications may seem to close " "too quickly when trying to enter the popup. If set too high, the preview may " @@ -180,58 +239,121 @@ msgstr "" "zu hoch eingestellt, dann scheint die Fenstervorschau zu hängen, wenn man " "zum nächsten Fenster wechselt." -#: Settings.ui.h:27 +#: Settings.ui.h:37 +msgid "Time (ms) before showing (100 is default)" +msgstr "Verzögerung (ms) beim Einblenden (Standard ist 100)" + +#: Settings.ui.h:38 +msgid "Enable window peeking" +msgstr "Fensterhervorhebung aktivieren" + +#: Settings.ui.h:39 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "" +"Wenn der Mauszeiger über einer Fenstervorschau verweilt, wird das Fenster " +"hervorgehoben." + +#: Settings.ui.h:40 +msgid "Enter window peeking mode timeout (ms)" +msgstr "Zeitgrenze zur Aktivierung der Fensterhervorhebung (ms)" + +#: Settings.ui.h:41 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "" +"Verzögerung, während der der Mauszeiger über einer Fenstervorschau bleiben " +"muss, um die Fensterhervorhebung zu aktivieren." + +#: Settings.ui.h:42 +msgid "Window peeking mode opacity" +msgstr "Deckkraft Fensterhervorhebung" + +#: Settings.ui.h:43 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "" +"Die Deckkraft aller Fenster, außer dem hervorgehobenen, hat denselben Wert." + +#: Settings.ui.h:44 +msgid "Middle click to close window" +msgstr "Mittelklick zum Fensterschließen" + +#: Settings.ui.h:45 +msgid "Middle click on the preview to close the window." +msgstr "Mittelklick auf Vorschau zum Schließen des Fensters." + +#: Settings.ui.h:46 msgid "Super" msgstr "Super" -#: Settings.ui.h:28 +#: Settings.ui.h:47 msgid "Super + Alt" msgstr "Super + Alt" -#: Settings.ui.h:29 +#: Settings.ui.h:48 msgid "Hotkeys prefix" msgstr "Schnelltasten-Präfix" -#: Settings.ui.h:30 +#: Settings.ui.h:49 msgid "Hotkeys will either be Super+Number or Super+Alt+Num" msgstr "Schnelltasten sind entweder Super+Nummer oder Super+Alt+Nummer" -#: Settings.ui.h:31 +#: Settings.ui.h:50 +msgid "Never" +msgstr "Nie" + +#: Settings.ui.h:51 +msgid "Show temporarily" +msgstr "Vorübergehend anzeigen" + +#: Settings.ui.h:52 +msgid "Always visible" +msgstr "Immer sichtbar" + +#: Settings.ui.h:53 msgid "Number overlay" msgstr "Nummern-Overlay" -#: Settings.ui.h:32 +#: Settings.ui.h:54 msgid "" "Temporarily show the application numbers over the icons when using the " "hotkeys." msgstr "" -"Zeige Anwendungsnummern über Symbolen, während Schnelltasten gedrückt werden" +"Zeige Anwendungsnummern über Symbolen, während Schnelltasten gedrückt werden." -#: Settings.ui.h:33 +#: Settings.ui.h:55 msgid "Hide timeout (ms)" msgstr "Ausblendeverzögerung (ms)" -#: Settings.ui.h:34 +#: Settings.ui.h:56 msgid "Shortcut to show the overlay for 2 seconds" msgstr "Kürzel zum Anzeigen der Nummern für 2 Sekunden" -#: Settings.ui.h:35 +#: Settings.ui.h:57 msgid "Syntax: , , , " msgstr "Syntax: , , , " -#: Settings.ui.h:36 +#: Settings.ui.h:58 +msgid "Show Desktop button width (px)" +msgstr "Schreibtisch-Schaltflächenbreite (px)" + +#: Settings.ui.h:59 msgid "Panel screen position" msgstr "Position der Leiste" -#: Settings.ui.h:37 +#: Settings.ui.h:60 msgid "Bottom" msgstr "Unten" -#: Settings.ui.h:38 +#: Settings.ui.h:61 msgid "Top" msgstr "Oben" -#: Settings.ui.h:39 +#: Settings.ui.h:62 msgid "" "Panel Size\n" "(default is 48)" @@ -239,7 +361,7 @@ msgstr "" "Leistengröße\n" "(48 ist Standard)" -#: Settings.ui.h:41 +#: Settings.ui.h:64 msgid "" "App Icon Margin\n" "(default is 8)" @@ -247,113 +369,133 @@ msgstr "" "Symbolabstand\n" "(8 ist Standard)" -#: Settings.ui.h:43 +#: Settings.ui.h:66 msgid "Running indicator position" msgstr "Position Aktiv-Markierung" -#: Settings.ui.h:44 +#: Settings.ui.h:67 msgid "Running indicator style (Focused app)" msgstr "Stil Aktiv-Markierung (fokussierte Anwendung)" -#: Settings.ui.h:45 +#: Settings.ui.h:68 msgid "Dots" msgstr "Punkte" -#: Settings.ui.h:46 +#: Settings.ui.h:69 msgid "Squares" msgstr "Quadrate" -#: Settings.ui.h:47 +#: Settings.ui.h:70 msgid "Dashes" msgstr "Striche" -#: Settings.ui.h:48 +#: Settings.ui.h:71 msgid "Segmented" msgstr "Unterteilt" -#: Settings.ui.h:49 +#: Settings.ui.h:72 msgid "Solid" msgstr "Fest" -#: Settings.ui.h:50 +#: Settings.ui.h:73 msgid "Ciliora" msgstr "Ciliora" -#: Settings.ui.h:51 +#: Settings.ui.h:74 msgid "Metro" msgstr "Metro" -#: Settings.ui.h:52 +#: Settings.ui.h:75 msgid "Running indicator style (Unfocused apps)" msgstr "Stil Aktiv-Markierung (nicht fokussierte Anwendung)" -#: Settings.ui.h:53 +#: Settings.ui.h:76 msgid "Clock location" msgstr "Position der Uhr" -#: Settings.ui.h:54 +#: Settings.ui.h:77 msgid "Natural" msgstr "Natürlich" -#: Settings.ui.h:55 +#: Settings.ui.h:78 msgid "Left of status menu" msgstr "Links vom Statusmenü" -#: Settings.ui.h:56 +#: Settings.ui.h:79 msgid "Right of status menu" msgstr "Rechts vom Statusmenü" -#: Settings.ui.h:57 +#: Settings.ui.h:80 +msgid "Taskbar position" +msgstr "Position Anwendungen-Leiste" + +#: Settings.ui.h:81 +msgid "Left side of panel" +msgstr "Linke Seite der Leiste" + +#: Settings.ui.h:82 +msgid "Centered in monitor" +msgstr "Im Bildschirm zentriert" + +#: Settings.ui.h:83 +msgid "Centered in content" +msgstr "Am Inhalt zentriert" + +#: Settings.ui.h:84 msgid "Position and Style" msgstr "Position und Stil" -#: Settings.ui.h:58 +#: Settings.ui.h:85 +msgid "Show favorite applications" +msgstr "Favoritensymbole anzeigen" + +#: Settings.ui.h:86 msgid "Show Applications icon" msgstr "Anwendungen-Symbol anzeigen" -#: Settings.ui.h:59 +#: Settings.ui.h:87 msgid "Animate Show Applications." -msgstr "Animation bei Anwendungen einblenden" +msgstr "Animation bei Anwendungen einblenden." -#: Settings.ui.h:60 +#: Settings.ui.h:88 msgid "Show Activities button" msgstr "Aktivitäten-Schaltfläche anzeigen" -#: Settings.ui.h:61 +#: Settings.ui.h:89 msgid "Show Desktop button" msgstr "Schreibtisch-Schaltfläche anzeigen" -#: Settings.ui.h:62 +#: Settings.ui.h:90 msgid "Show AppMenu button" msgstr "Anwendungsmenü-Schaltläche anzeigen" -#: Settings.ui.h:63 +#: Settings.ui.h:91 msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" msgstr "" "Obere Leiste > Anwendungsmenü anzeigen muss aktiviert sein im " "Optimierungswerkzeug (Tweak Tool)" -#: Settings.ui.h:64 +#: Settings.ui.h:92 msgid "Show window previews on hover" msgstr "Fenstervorschau bei Berührung einblenden" -#: Settings.ui.h:65 -msgid "Time (ms) before showing (100 is default)" -msgstr "Verzögerung (ms) beim Einblenden (Standard ist 100)" - -#: Settings.ui.h:66 +#: Settings.ui.h:93 msgid "Isolate Workspaces" msgstr "Arbeitsflächen isolieren" -#: Settings.ui.h:67 +#: Settings.ui.h:94 +msgid "Ungroup applications" +msgstr "Anwendungen nicht gruppieren" + +#: Settings.ui.h:95 msgid "Behaviour when clicking on the icon of a running application." msgstr "Verhalten beim Anklicken des Symbols einer laufenden Anwendung." -#: Settings.ui.h:68 +#: Settings.ui.h:96 msgid "Click action" msgstr "Klickaktion" -#: Settings.ui.h:69 +#: Settings.ui.h:97 msgid "" "Enable Super+(0-9) as shortcuts to activate apps. It can also be used " "together with Shift and Ctrl." @@ -361,15 +503,15 @@ msgstr "" "Super+(0-9) als Kürzel zum Aktivieren von Anwendungen nutzen. Kann auch mit " "Strg und Umschalttaste genutzt werden." -#: Settings.ui.h:70 +#: Settings.ui.h:98 msgid "Use hotkeys to activate apps" msgstr "Schnelltasten zum Aktivieren von Anwendungen nutzen" -#: Settings.ui.h:71 +#: Settings.ui.h:99 msgid "Behavior" msgstr "Verhalten" -#: Settings.ui.h:72 +#: Settings.ui.h:100 msgid "" "Tray Font Size\n" "(0 = theme default)" @@ -377,7 +519,7 @@ msgstr "" "Schriftgröße Benachrichtigungsbereich\n" "(0 = Themenstandard)" -#: Settings.ui.h:74 +#: Settings.ui.h:102 msgid "" "LeftBox Font Size\n" "(0 = theme default)" @@ -385,7 +527,7 @@ msgstr "" "Schriftgröße linker Teil\n" "(0 = Themenstandard)" -#: Settings.ui.h:76 +#: Settings.ui.h:104 msgid "" "Tray Item Padding\n" "(-1 = theme default)" @@ -393,7 +535,7 @@ msgstr "" "Symbolabstand Benachrichtigungsbereich\n" "(-1 = Themenstandard)" -#: Settings.ui.h:78 +#: Settings.ui.h:106 msgid "" "Status Icon Padding\n" "(-1 = theme default)" @@ -401,37 +543,37 @@ msgstr "" "Statussymbolabstand\n" "(-1 = Themenstandard)" -#: Settings.ui.h:80 +#: Settings.ui.h:108 msgid "" "LeftBox Padding\n" "(-1 = theme default)" msgstr "Elementabstand linker Teil" -#: Settings.ui.h:82 +#: Settings.ui.h:110 msgid "Animate switching applications" msgstr "Wechsel zwischen Anwendungen animieren" -#: Settings.ui.h:83 +#: Settings.ui.h:111 msgid "Animate launching new windows" msgstr "Öffnen von Anwendungen animieren" -#: Settings.ui.h:84 +#: Settings.ui.h:112 msgid "App icon secondary (right-click) menu" msgstr "Anwendungsrechtsklickmenü" -#: Settings.ui.h:86 +#: Settings.ui.h:114 msgid "Fine-Tune" msgstr "Feineinstellung" -#: Settings.ui.h:87 +#: Settings.ui.h:115 msgid "version: " -msgstr "Version:" +msgstr "Version: " -#: Settings.ui.h:88 +#: Settings.ui.h:116 msgid "Github" msgstr "Github" -#: Settings.ui.h:89 +#: Settings.ui.h:117 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General Public License, version 2 or later" -#: Settings.ui.h:91 +#: Settings.ui.h:119 msgid "About" msgstr "Info" + +#~ msgid "Height (px)" +#~ msgstr "Höhe (px)" + +#~ msgid "Color - Override Theme" +#~ msgstr "Farbe - Thema überschreiben" + +#~ msgid "1 window open" +#~ msgstr "1 Fenster offen" diff --git a/po/es.po b/po/es.po index d8e06ae..bfb9f75 100644 --- a/po/es.po +++ b/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-03-20 20:16-0400\n" +"POT-Creation-Date: 2018-02-04 00:36-0500\n" "PO-Revision-Date: 2017-02-17 12:11+0100\n" "Last-Translator: Fran Glais \n" "Language-Team: \n" @@ -17,59 +17,68 @@ msgstr "" "X-Generator: Poedit 1.8.11\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: prefs.js:213 +#: prefs.js:295 msgid "Running Indicator Options" msgstr "Personalizar indicadores de ejecución" -#: prefs.js:220 prefs.js:380 prefs.js:445 prefs.js:512 +#: prefs.js:302 prefs.js:447 prefs.js:499 prefs.js:608 prefs.js:684 +#: prefs.js:753 prefs.js:829 prefs.js:871 msgid "Reset to defaults" msgstr "Restaurar" -#: prefs.js:373 +#: prefs.js:440 +msgid "Show Desktop options" +msgstr "Botón Mostrar el Escritorio" + +#: prefs.js:492 +msgid "Window preview options" +msgstr "Opciones de vista rápida de ventanas" + +#: prefs.js:601 +msgid "Ungrouped application options" +msgstr "Opciones de ventanas no combinadas" + +#: prefs.js:677 msgid "Customize middle-click behavior" msgstr "Personalizar comportamiento del botón central" -#: prefs.js:438 +#: prefs.js:746 msgid "Advanced hotkeys options" msgstr "Opciones avanzadas de atajo de teclado" -#: prefs.js:505 Settings.ui.h:82 +#: prefs.js:822 +msgid "Secondary Menu Options" +msgstr "Opciones del menú secundario" + +#: prefs.js:864 Settings.ui.h:111 msgid "Advanced Options" msgstr "Opciones avanzadas" -#: appIcons.js:925 appIcons.js:1005 +#: appIcons.js:1179 +msgid "Show Details" +msgstr "Mostrar detalles" + +#: appIcons.js:1198 msgid "New Window" msgstr "Ventana nueva" -#: appIcons.js:925 appIcons.js:1088 appIcons.js:1090 Settings.ui.h:8 +#: appIcons.js:1198 appIcons.js:1260 appIcons.js:1262 Settings.ui.h:8 msgid "Quit" msgstr "Salir" -#: appIcons.js:1019 -msgid "Launch using Dedicated Graphics Card" -msgstr "Ejecutar usando la tarjeta de gráficos" - -#: appIcons.js:1046 -msgid "Remove from Favorites" -msgstr "Quitar de favoritos" - -#: appIcons.js:1052 -msgid "Add to Favorites" -msgstr "Añadir a los favoritos" - -#: appIcons.js:1090 +#: appIcons.js:1262 msgid "Windows" msgstr "Ventanas" -#: appIcons.js:1249 +#: appIcons.js:1421 msgid "Dash to Panel Settings" msgstr "Opciones de Dash to Panel" -#: appIcons.js:1256 +#: appIcons.js:1428 msgid "Restore Windows" msgstr "Restaurar ventanas" -#: appIcons.js:1256 +#: appIcons.js:1428 msgid "Show Desktop" msgstr "Mostrar el Escritorio" @@ -122,80 +131,183 @@ msgid "Shift+Middle-Click action" msgstr "Acción de Mayúsculas+Botón-Central" #: Settings.ui.h:13 +msgid "Integrate AppMenu items" +msgstr "Integrar las acciones del Menú de aplicación" + +#: Settings.ui.h:14 +msgid "Show Details menu item" +msgstr "Ítem Mostrar detalles" + +#: Settings.ui.h:15 msgid "Highlight focused application" msgstr "Enmarcar la aplicación activa" -#: Settings.ui.h:14 -msgid "Height (px)" -msgstr "Altura (px)" - -#: Settings.ui.h:15 -msgid "0" -msgstr "0" - #: Settings.ui.h:16 -msgid "Color - Override Theme" -msgstr "Color - Forzar encima el tema" +msgid "Highlight color" +msgstr "Color de resaltado" #: Settings.ui.h:17 -msgid "1 window open" -msgstr "1 ventana abierta" +msgid "Highlight opacity" +msgstr "Opacidad de resaltado" #: Settings.ui.h:18 +msgid "Indicator height (px)" +msgstr "Altura (px)" + +#: Settings.ui.h:19 +msgid "Indicator color - Override Theme" +msgstr "Color del indicador - Forzar encima el tema" + +#: Settings.ui.h:20 +msgid "1 window open (or ungrouped)" +msgstr "1 ventana abierta (o no combinada)" + +#: Settings.ui.h:21 msgid "Apply to all" msgstr "Aplicar a todo" -#: Settings.ui.h:19 +#: Settings.ui.h:22 msgid "2 windows open" msgstr "2 ventanas abiertas" -#: Settings.ui.h:20 +#: Settings.ui.h:23 msgid "3 windows open" msgstr "3 ventanas abiertas" -#: Settings.ui.h:21 +#: Settings.ui.h:24 msgid "4+ windows open" msgstr "4 o más ventanas abiertas" -#: Settings.ui.h:22 +#: Settings.ui.h:25 msgid "Use different for unfocused" msgstr "Usar algo diferente si fuera de foco" -#: Settings.ui.h:23 +#: Settings.ui.h:26 +msgid "Font size (px) of the application titles (default is 14)" +msgstr "Tamaño de letra (px) de los títulos de aplicación (14 por defecto)" + +#: Settings.ui.h:27 +msgid "Font color of the application titles" +msgstr "Color de letra de los títulos de aplicación" + +#: Settings.ui.h:28 +msgid "Maximum width (px) of the application titles (default is 160)" +msgstr "Ancho máximo (px) de los títulos de aplicación (160 por defecto)" + +#: Settings.ui.h:29 +msgid "Use a fixed width for the application titles" +msgstr "Usar ancho fijo para los títulos de aplicación" + +#: Settings.ui.h:30 +msgid "" +"The application titles all have the same width, even if their texts are " +"shorter than the maximum width. The maximum width value is used as the fixed " +"width." +msgstr "" +"Todos los títulos de aplicación tienen el mismo ancho, aun si el texto es " +"más corto que el ancho máximo. El ancho máximo es usado como valor fijo." + +#: Settings.ui.h:31 +msgid "Display running indicators on unfocused applications" +msgstr "Estilo de los indicadores de ejecución (aplicación no enfocada)" + +#: Settings.ui.h:32 +msgid "Use the favorite icons as application launchers" +msgstr "Usar aplicaciones favoritas como lanzadores" + +#: Settings.ui.h:33 msgid "Preview timeout on icon leave (ms)" msgstr "Tiempo para cerrar la vista rápida (ms)" -#: Settings.ui.h:24 +#: Settings.ui.h:34 msgid "" "If set too low, the window preview of running applications may seem to close " "too quickly when trying to enter the popup. If set too high, the preview may " "linger too long when moving to an adjacent icon." msgstr "" "Si el valor es muy chico, la ventana de vista rápida parecerá cerrarse muy " -"rápidamente al intentar usar el menú. Si el valor es muy grande, la vista rápida " -"no desaparecerá al ir a un ícono adyacente." +"rápidamente al intentar usar el menú. Si el valor es muy grande, la vista " +"rápida no desaparecerá al ir a un ícono adyacente." -#: Settings.ui.h:25 +#: Settings.ui.h:35 +msgid "Time (ms) before showing (100 is default)" +msgstr "Tiempo (ms) antes de mostrar (100 por defecto)" + +#: Settings.ui.h:36 +msgid "Enable window peeking" +msgstr "Habilitar ojeada rápida de ventana" + +#: Settings.ui.h:37 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "" +"Al desplazar el ratón sobre una vista rápida de ventana, la ventana es " +"resaltada." + +#: Settings.ui.h:38 +msgid "Enter window peeking mode timeout (ms)" +msgstr "Tiempo para activar el modo de ojeada rápida (ms)" + +#: Settings.ui.h:39 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "" +"Tiempo de inactividad al desplazar el ratón sobre una vista rápida de " +"ventana para activar el modo de ojeada rápida." + +#: Settings.ui.h:40 +msgid "Window peeking mode opacity" +msgstr "Opacidad del modo de ojeada rápida" + +#: Settings.ui.h:41 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "Todas las ventanas excepto la resaltada tienen la misma opacidad fija." + +#: Settings.ui.h:42 +msgid "Middle click to close window" +msgstr "Click central para cerrar ventana" + +#: Settings.ui.h:43 +msgid "Middle click on the preview to close the window." +msgstr "Usar el click central en la vista rápida para cerrar la ventana." + +#: Settings.ui.h:44 msgid "Super" msgstr "Súper" -#: Settings.ui.h:26 +#: Settings.ui.h:45 msgid "Super + Alt" msgstr "Súper + Alt" -#: Settings.ui.h:27 +#: Settings.ui.h:46 msgid "Hotkeys prefix" msgstr "Prefijo de atajo de teclado" -#: Settings.ui.h:28 +#: Settings.ui.h:47 msgid "Hotkeys will either be Super+Number or Super+Alt+Num" msgstr "Los atajos serán Súper+Núm. o Súper+Alt+Núm." -#: Settings.ui.h:29 +#: Settings.ui.h:48 +msgid "Never" +msgstr "Nunca" + +#: Settings.ui.h:49 +msgid "Show temporarily" +msgstr "Mostrar temporalmente" + +#: Settings.ui.h:50 +msgid "Always visible" +msgstr "Siempre visible" + +#: Settings.ui.h:51 msgid "Number overlay" msgstr "Número de aplicación" -#: Settings.ui.h:30 +#: Settings.ui.h:52 msgid "" "Temporarily show the application numbers over the icons when using the " "hotkeys." @@ -203,31 +315,35 @@ msgstr "" "Al usar atajos, mostrar momentáneamente el número de aplicación sobre los " "íconos." -#: Settings.ui.h:31 +#: Settings.ui.h:53 msgid "Hide timeout (ms)" msgstr "Tiempo de ocultación (ms)" -#: Settings.ui.h:32 +#: Settings.ui.h:54 msgid "Shortcut to show the overlay for 2 seconds" msgstr "Atajo para mostrar el número de aplicación por 2 segundos" -#: Settings.ui.h:33 +#: Settings.ui.h:55 msgid "Syntax: , , , " msgstr "Sintaxis: , , , " -#: Settings.ui.h:34 +#: Settings.ui.h:56 +msgid "Show Desktop button width (px)" +msgstr "Ancho del del botón Mostrar Escritorio (px)" + +#: Settings.ui.h:57 msgid "Panel screen position" msgstr "Posición del panel en la pantalla" -#: Settings.ui.h:35 +#: Settings.ui.h:58 msgid "Bottom" msgstr "Abajo" -#: Settings.ui.h:36 +#: Settings.ui.h:59 msgid "Top" msgstr "Arriba" -#: Settings.ui.h:37 +#: Settings.ui.h:60 msgid "" "Panel Size\n" "(default is 48)" @@ -235,7 +351,7 @@ msgstr "" "Tamaño del panel\n" "(48 por defecto)" -#: Settings.ui.h:39 +#: Settings.ui.h:62 msgid "" "App Icon Margin\n" "(default is 8)" @@ -243,113 +359,133 @@ msgstr "" "Margen de los íconos\n" "(8 por defecto)" -#: Settings.ui.h:41 +#: Settings.ui.h:64 msgid "Running indicator position" msgstr "Posición de los indicadores de ejecución" -#: Settings.ui.h:42 +#: Settings.ui.h:65 msgid "Running indicator style (Focused app)" msgstr "Estilo de los indicadores de ejecución (aplicación enfocada)" -#: Settings.ui.h:43 +#: Settings.ui.h:66 msgid "Dots" msgstr "Puntos" -#: Settings.ui.h:44 +#: Settings.ui.h:67 msgid "Squares" msgstr "Cuadrados" -#: Settings.ui.h:45 +#: Settings.ui.h:68 msgid "Dashes" msgstr "Guiones" -#: Settings.ui.h:46 +#: Settings.ui.h:69 msgid "Segmented" msgstr "Segmentado" -#: Settings.ui.h:47 +#: Settings.ui.h:70 msgid "Solid" msgstr "Sólido" -#: Settings.ui.h:48 +#: Settings.ui.h:71 msgid "Ciliora" msgstr "Ciliora" -#: Settings.ui.h:49 +#: Settings.ui.h:72 msgid "Metro" msgstr "Metro" -#: Settings.ui.h:50 +#: Settings.ui.h:73 msgid "Running indicator style (Unfocused apps)" msgstr "Estilo de los indicadores de ejecución (aplicación no enfocada)" -#: Settings.ui.h:51 +#: Settings.ui.h:74 msgid "Clock location" msgstr "Posición del reloj" -#: Settings.ui.h:52 +#: Settings.ui.h:75 msgid "Natural" msgstr "Natural" -#: Settings.ui.h:53 +#: Settings.ui.h:76 msgid "Left of status menu" msgstr "A la izquierda del menú de sesión" -#: Settings.ui.h:54 +#: Settings.ui.h:77 msgid "Right of status menu" msgstr "A la derecha del menú de sesión" -#: Settings.ui.h:55 +#: Settings.ui.h:78 +msgid "Taskbar position" +msgstr "Posición del panel en la pantalla" + +#: Settings.ui.h:79 +msgid "Left side of panel" +msgstr "Lado izquierdo del panel" + +#: Settings.ui.h:80 +msgid "Centered in monitor" +msgstr "Centrado en el monitor" + +#: Settings.ui.h:81 +msgid "Centered in content" +msgstr "Centrado en el contenido" + +#: Settings.ui.h:82 msgid "Position and Style" msgstr "Posición y estilo" -#: Settings.ui.h:56 +#: Settings.ui.h:83 +msgid "Show favorite applications" +msgstr "Mostrar aplicaciones favoritas" + +#: Settings.ui.h:84 msgid "Show Applications icon" msgstr "Mostrar el icono Mostrar aplicaciones" -#: Settings.ui.h:57 +#: Settings.ui.h:85 msgid "Animate Show Applications." msgstr "Animar Mostrar aplicaciones" -#: Settings.ui.h:58 +#: Settings.ui.h:86 msgid "Show Activities button" msgstr "Mostrar el botón de Actividades" -#: Settings.ui.h:59 +#: Settings.ui.h:87 msgid "Show Desktop button" msgstr "Mostrar el botón de Escritorio" -#: Settings.ui.h:60 +#: Settings.ui.h:88 msgid "Show AppMenu button" msgstr "Mostrar el botón de aplicación" -#: Settings.ui.h:61 +#: Settings.ui.h:89 msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" msgstr "" "Barra superior > Mostrar menú de aplicación debe ser habilitado en " "Herramienta de retoques." -#: Settings.ui.h:62 +#: Settings.ui.h:90 msgid "Show window previews on hover" msgstr "Mostrar vista rápida de ventanas al pasar con el ratón" -#: Settings.ui.h:63 -msgid "Time (ms) before showing (100 is default)" -msgstr "Tiempo (ms) antes de mostrar (100 por defecto)" - -#: Settings.ui.h:64 +#: Settings.ui.h:91 msgid "Isolate Workspaces" msgstr "Aislar los espacios de trabajo" -#: Settings.ui.h:65 +#: Settings.ui.h:92 +msgid "Ungroup applications" +msgstr "No combinar ventanas en un solo icono" + +#: Settings.ui.h:93 msgid "Behaviour when clicking on the icon of a running application." msgstr "Comportamiento al pulsar el ícono de una aplicación en ejecución" -#: Settings.ui.h:66 +#: Settings.ui.h:94 msgid "Click action" msgstr "Acción del Click" -#: Settings.ui.h:67 +#: Settings.ui.h:95 msgid "" "Enable Super+(0-9) as shortcuts to activate apps. It can also be used " "together with Shift and Ctrl." @@ -357,15 +493,15 @@ msgstr "" "Habilitar Súper+(0-9) como atajos para activar aplicaciones. También puede " "ser usado junto con Mayús y Ctrl." -#: Settings.ui.h:68 +#: Settings.ui.h:96 msgid "Use hotkeys to activate apps" msgstr "Usar atajos de teclado para activar aplicaciones" -#: Settings.ui.h:69 +#: Settings.ui.h:97 msgid "Behavior" msgstr "Comportamiento" -#: Settings.ui.h:70 +#: Settings.ui.h:98 msgid "" "Tray Font Size\n" "(0 = theme default)" @@ -373,7 +509,7 @@ msgstr "" "Tamaño de fuente en la bandeja del sistema\n" "(0 = predeterminado)" -#: Settings.ui.h:72 +#: Settings.ui.h:100 msgid "" "LeftBox Font Size\n" "(0 = theme default)" @@ -381,7 +517,7 @@ msgstr "" "Tamaño de fuente en la zona izquierda\n" "(0 = predeterminado)" -#: Settings.ui.h:74 +#: Settings.ui.h:102 msgid "" "Tray Item Padding\n" "(-1 = theme default)" @@ -389,7 +525,7 @@ msgstr "" "Separación en la bandeja del sistema\n" "(-1 = predeterminado)" -#: Settings.ui.h:76 +#: Settings.ui.h:104 msgid "" "Status Icon Padding\n" "(-1 = theme default)" @@ -397,7 +533,7 @@ msgstr "" "Separación de los íconos de estado\n" "(-1 = predeterminado)" -#: Settings.ui.h:78 +#: Settings.ui.h:106 msgid "" "LeftBox Padding\n" "(-1 = theme default)" @@ -405,27 +541,31 @@ msgstr "" "Separación en la zona izquierda\n" "(-1 = predeterminado)" -#: Settings.ui.h:80 +#: Settings.ui.h:108 msgid "Animate switching applications" msgstr "Animar al cambiar de aplicación" -#: Settings.ui.h:81 +#: Settings.ui.h:109 msgid "Animate launching new windows" msgstr "Animar al abrir nuevas ventanas" -#: Settings.ui.h:83 +#: Settings.ui.h:110 +msgid "App icon secondary (right-click) menu" +msgstr "Menú secundario (click derecho) de aplicación" + +#: Settings.ui.h:112 msgid "Fine-Tune" msgstr "Retoques" -#: Settings.ui.h:84 +#: Settings.ui.h:113 msgid "version: " msgstr "versión: " -#: Settings.ui.h:85 +#: Settings.ui.h:114 msgid "Github" msgstr "Github" -#: Settings.ui.h:86 +#: Settings.ui.h:115 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the Licencia Pública General de GNU, versión 2 o posterior para obtener " "más detalles." -#: Settings.ui.h:88 +#: Settings.ui.h:117 msgid "About" msgstr "Acerca de" diff --git a/po/fr.po b/po/fr.po index 5e91ddc..f292291 100644 --- a/po/fr.po +++ b/po/fr.po @@ -7,66 +7,79 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-03-25 11:55+0100\n" -"PO-Revision-Date: 2017-03-25 18:04+0100\n" +"POT-Creation-Date: 2018-02-02 21:57+0100\n" +"PO-Revision-Date: 2018-02-04 13:47+0100\n" "Last-Translator: Nathan Graule \n" "Language-Team: \n" "Language: fr_FR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.0.4\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: prefs.js:213 +#: prefs.js:295 msgid "Running Indicator Options" msgstr "Options de l'indicateur d'activité" -#: prefs.js:220 prefs.js:380 prefs.js:445 prefs.js:511 prefs.js:553 +#: prefs.js:302 prefs.js:447 prefs.js:499 prefs.js:608 prefs.js:684 +#: prefs.js:753 prefs.js:829 prefs.js:871 msgid "Reset to defaults" msgstr "Restaurer paramètres" -#: prefs.js:373 +#: prefs.js:440 +msgid "Show Desktop options" +msgstr "Bouton Afficher le Bureau" + +#: prefs.js:492 +msgid "Window preview options" +msgstr "Options de la prévisualisation" + +#: prefs.js:601 +msgid "Ungrouped application options" +msgstr "Options des applications dégroupées" + +#: prefs.js:677 msgid "Customize middle-click behavior" msgstr "Modifier l'action du clic de la molette" -#: prefs.js:438 +#: prefs.js:746 msgid "Advanced hotkeys options" msgstr "Raccourcis avancés" -#: prefs.js:504 +#: prefs.js:822 msgid "Secondary Menu Options" msgstr "Options du menu secondaire" -#: prefs.js:546 Settings.ui.h:85 +#: prefs.js:864 Settings.ui.h:113 msgid "Advanced Options" msgstr "Options avancées" -#: appIcons.js:918 +#: appIcons.js:1179 msgid "Show Details" msgstr "Afficher les détails" -#: appIcons.js:937 +#: appIcons.js:1198 msgid "New Window" msgstr "Nouvelle fenêtre" -#: appIcons.js:937 appIcons.js:998 appIcons.js:1000 Settings.ui.h:8 +#: appIcons.js:1198 appIcons.js:1260 appIcons.js:1262 Settings.ui.h:8 msgid "Quit" msgstr "Quitter" -#: appIcons.js:1000 +#: appIcons.js:1262 msgid "Windows" msgstr "Fenêtres" -#: appIcons.js:1159 +#: appIcons.js:1421 msgid "Dash to Panel Settings" msgstr "Paramètres Dash to Panel" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Restore Windows" msgstr "Restaurer les fenêtres" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Show Desktop" msgstr "Afficher le bureau" @@ -104,7 +117,7 @@ msgstr "Cycler sur les fenêtres + réduire" #: Settings.ui.h:9 msgid "Behavior for Middle-Click." -msgstr "Comportement du clic molette" +msgstr "Comportement du clic molette." #: Settings.ui.h:10 msgid "Middle-Click action" @@ -131,77 +144,184 @@ msgid "Highlight focused application" msgstr "Surligner l'application active" #: Settings.ui.h:16 -msgid "Height (px)" -msgstr "Hauteur (px)" +msgid "Highlight color" +msgstr "Couleur de surlignement" #: Settings.ui.h:17 +msgid "Highlight opacity" +msgstr "Opacité du surlignement" + +#: Settings.ui.h:18 +msgid "5" +msgstr "5" + +#: Settings.ui.h:19 +msgid "Indicator height (px)" +msgstr "Hauteur indicateur (px)" + +#: Settings.ui.h:20 msgid "0" msgstr "0" -#: Settings.ui.h:18 -msgid "Color - Override Theme" -msgstr "Couleur - Remplacer le thème" +#: Settings.ui.h:21 +msgid "Indicator color - Override Theme" +msgstr "Couleur de l'indicateur - Remplacer le thème" -#: Settings.ui.h:19 -msgid "1 window open" -msgstr "1 fenêtre ouverte" +#: Settings.ui.h:22 +msgid "1 window open (or ungrouped)" +msgstr "1 fenêtre ouverte (ou dégroupée)" -#: Settings.ui.h:20 +#: Settings.ui.h:23 msgid "Apply to all" msgstr "Appliquer à tout" -#: Settings.ui.h:21 +#: Settings.ui.h:24 msgid "2 windows open" msgstr "2 fenêtres ouvertes" -#: Settings.ui.h:22 +#: Settings.ui.h:25 msgid "3 windows open" msgstr "3 fenêtres ouvertes" -#: Settings.ui.h:23 +#: Settings.ui.h:26 msgid "4+ windows open" msgstr "4+ fenêtres ouvertes" -#: Settings.ui.h:24 +#: Settings.ui.h:27 msgid "Use different for unfocused" msgstr "Style différent pour les applications inactives" -#: Settings.ui.h:25 +#: Settings.ui.h:28 +msgid "Font size (px) of the application titles (default is 14)" +msgstr "Taille (px) du texte des titres d'application (défaut: 14)" + +#: Settings.ui.h:29 +msgid "Font color of the application titles" +msgstr "Couleur du texte des titres d'application" + +#: Settings.ui.h:30 +msgid "Maximum width (px) of the application titles (default is 160)" +msgstr "Longueur maximum (px) des titres d'application (défaut: 160)" + +#: Settings.ui.h:31 +#, fuzzy +msgid "Use a fixed width for the application titles" +msgstr "Utiliser une largeur fixe pour les titres d'application" + +#: Settings.ui.h:32 +msgid "" +"The application titles all have the same width, even if their texts are " +"shorter than the maximum width. The maximum width value is used as the fixed " +"width." +msgstr "" +"Les titres d'application ont tous la même longueur, même si leur texte est " +"plus petit que la taille maximum. La valeur maximale de longueur est " +"utilisée comme longueur fixe." + +#: Settings.ui.h:33 +msgid "Display running indicators on unfocused applications" +msgstr "Afficher des indicateurs sur les applications an arrière-plan" + +#: Settings.ui.h:34 +msgid "Use the favorite icons as application launchers" +msgstr "Utiliser les applications favorites comme lanceurs" + +#: Settings.ui.h:35 msgid "Preview timeout on icon leave (ms)" msgstr "Délai de l'aperçu lorsqu'on quitte l'icône (ms)" -#: Settings.ui.h:26 +#: Settings.ui.h:36 msgid "" "If set too low, the window preview of running applications may seem to close " "too quickly when trying to enter the popup. If set too high, the preview may " "linger too long when moving to an adjacent icon." msgstr "" -"Si trop bas, l'aperçu des fenêtres des applications actives peut " -"sembler se fermer trop vite quand on essaie de cliquer sur l'aperçu. Si " -"trop haut, l'aperçu peut rester trop longtemps quand on passe à une icône " -"adjacente." +"Si trop bas, l'aperçu des fenêtres des applications actives peut sembler se " +"fermer trop vite quand on essaie de cliquer sur l'aperçu. Si trop haut, " +"l'aperçu peut rester trop longtemps quand on passe à une icône adjacente." -#: Settings.ui.h:27 +#: Settings.ui.h:37 +msgid "Time (ms) before showing (100 is default)" +msgstr "Temps (ms) avant d'afficher (100 par défaut)" + +#: Settings.ui.h:38 +msgid "Enable window peeking" +msgstr "Activer la vue de fenêtre" + +#: Settings.ui.h:39 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "" +"Le survol sur la prévisualisation de la fenêtre, pendant un certain temps, " +"la met en avant." + +#: Settings.ui.h:40 +msgid "Enter window peeking mode timeout (ms)" +msgstr "Temps d'attente avant activation de la vue fenêtre" + +#: Settings.ui.h:41 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "" +"Temps d'inactivité pendant le survol de la prévisualisation d'une fenêtre " +"nécessaire pour activer la vue de la fenêtre." + +#: Settings.ui.h:42 +msgid "Window peeking mode opacity" +msgstr "Opacité de la vue de fenêtre" + +#: Settings.ui.h:43 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "" +"Toutes les fenêtres, mis à part celle prévisualisée, ont leur opacité mise à " +"la même valeur." + +#: Settings.ui.h:44 +msgid "Middle click to close window" +msgstr "Cliquez avec la molette pour fermer la fenêtre" + +#: Settings.ui.h:45 +msgid "Middle click on the preview to close the window." +msgstr "" +"Cliquez avec la molette sur la prévisualisation pour fermer la fenêtre." + +#: Settings.ui.h:46 msgid "Super" msgstr "Super" -#: Settings.ui.h:28 +#: Settings.ui.h:47 msgid "Super + Alt" msgstr "Super + Alt" -#: Settings.ui.h:29 +#: Settings.ui.h:48 msgid "Hotkeys prefix" msgstr "Préfixe raccourcis" -#: Settings.ui.h:30 +#: Settings.ui.h:49 msgid "Hotkeys will either be Super+Number or Super+Alt+Num" msgstr "Les raccourcis seront soit Super+Numéro soit Super+Alt+Numéro" -#: Settings.ui.h:31 +#: Settings.ui.h:50 +msgid "Never" +msgstr "Jamais" + +#: Settings.ui.h:51 +msgid "Show temporarily" +msgstr "Afficher temporairement" + +#: Settings.ui.h:52 +msgid "Always visible" +msgstr "Toujours visible" + +#: Settings.ui.h:53 msgid "Number overlay" msgstr "Superposition des nombres" -#: Settings.ui.h:32 +#: Settings.ui.h:54 msgid "" "Temporarily show the application numbers over the icons when using the " "hotkeys." @@ -209,31 +329,35 @@ msgstr "" "Afficher temporairement les numéros des applications par dessus les icônes " "lors de l'utilisation des raccourcis." -#: Settings.ui.h:33 +#: Settings.ui.h:55 msgid "Hide timeout (ms)" msgstr "Délai avant de cacher (ms)" -#: Settings.ui.h:34 +#: Settings.ui.h:56 msgid "Shortcut to show the overlay for 2 seconds" msgstr "Raccourci pour afficher la superposition pendant 2 secondes" -#: Settings.ui.h:35 +#: Settings.ui.h:57 msgid "Syntax: , , , " msgstr "Syntaxe: , , , " -#: Settings.ui.h:36 +#: Settings.ui.h:58 +msgid "Show Desktop button width (px)" +msgstr "Longueur du bouton Afficher le Bureau (px)" + +#: Settings.ui.h:59 msgid "Panel screen position" msgstr "Position du panneau" -#: Settings.ui.h:37 +#: Settings.ui.h:60 msgid "Bottom" msgstr "Bas" -#: Settings.ui.h:38 +#: Settings.ui.h:61 msgid "Top" msgstr "Haut" -#: Settings.ui.h:39 +#: Settings.ui.h:62 msgid "" "Panel Size\n" "(default is 48)" @@ -241,7 +365,7 @@ msgstr "" "Taille du panneau\n" "(la valeur par défaut est 48)" -#: Settings.ui.h:41 +#: Settings.ui.h:64 msgid "" "App Icon Margin\n" "(default is 8)" @@ -249,113 +373,133 @@ msgstr "" "Marge de l'icône d'application\n" "(la valeur par défaut est 8)" -#: Settings.ui.h:43 +#: Settings.ui.h:66 msgid "Running indicator position" msgstr "Position de l'indicateur d'activité" -#: Settings.ui.h:44 +#: Settings.ui.h:67 msgid "Running indicator style (Focused app)" msgstr "Style de l'indicateur d'activité (Application active)" -#: Settings.ui.h:45 +#: Settings.ui.h:68 msgid "Dots" msgstr "Points" -#: Settings.ui.h:46 +#: Settings.ui.h:69 msgid "Squares" msgstr "Carrés" -#: Settings.ui.h:47 +#: Settings.ui.h:70 msgid "Dashes" msgstr "Traits" -#: Settings.ui.h:48 +#: Settings.ui.h:71 msgid "Segmented" msgstr "Segmenté" -#: Settings.ui.h:49 +#: Settings.ui.h:72 msgid "Solid" msgstr "Solide" -#: Settings.ui.h:50 +#: Settings.ui.h:73 msgid "Ciliora" msgstr "Ciliora" -#: Settings.ui.h:51 +#: Settings.ui.h:74 msgid "Metro" msgstr "Metro" -#: Settings.ui.h:52 +#: Settings.ui.h:75 msgid "Running indicator style (Unfocused apps)" msgstr "Style de l'indicateur d'activité (Applications inactives)" -#: Settings.ui.h:53 +#: Settings.ui.h:76 msgid "Clock location" msgstr "Position de l'horloge" -#: Settings.ui.h:54 +#: Settings.ui.h:77 msgid "Natural" msgstr "Naturelle" -#: Settings.ui.h:55 +#: Settings.ui.h:78 msgid "Left of status menu" msgstr "À gauche du menu de status" -#: Settings.ui.h:56 +#: Settings.ui.h:79 msgid "Right of status menu" msgstr "À droite du menu de status" -#: Settings.ui.h:57 +#: Settings.ui.h:80 +msgid "Taskbar position" +msgstr "Position de la barre des tâches" + +#: Settings.ui.h:81 +msgid "Left side of panel" +msgstr "Côté gauche de la barre" + +#: Settings.ui.h:82 +msgid "Centered in monitor" +msgstr "Centré sur le moniteur" + +#: Settings.ui.h:83 +msgid "Centered in content" +msgstr "Centré sur le contenu" + +#: Settings.ui.h:84 msgid "Position and Style" msgstr "Position & Style" -#: Settings.ui.h:58 +#: Settings.ui.h:85 +msgid "Show favorite applications" +msgstr "Afficher les applications favorites" + +#: Settings.ui.h:86 msgid "Show Applications icon" msgstr "Afficher l'icône Applications" -#: Settings.ui.h:59 +#: Settings.ui.h:87 msgid "Animate Show Applications." -msgstr "Animer Afficher les applications" +msgstr "Animer Afficher les applications." -#: Settings.ui.h:60 +#: Settings.ui.h:88 msgid "Show Activities button" msgstr "Afficher le bouton Activités" -#: Settings.ui.h:61 +#: Settings.ui.h:89 msgid "Show Desktop button" -msgstr "Afficher le bouton Affichage du Bureau" +msgstr "Afficher le bouton Afficher le Bureau" -#: Settings.ui.h:62 +#: Settings.ui.h:90 msgid "Show AppMenu button" msgstr "Afficher le bouton Menu d'Applications" -#: Settings.ui.h:63 +#: Settings.ui.h:91 msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" msgstr "" "Barre supérieure > Afficher le menu de l'application doit être activé dans " "l'outil de personalisation" -#: Settings.ui.h:64 +#: Settings.ui.h:92 msgid "Show window previews on hover" msgstr "Afficher les aperçus des fenêtres lors du survol" -#: Settings.ui.h:65 -msgid "Time (ms) before showing (100 is default)" -msgstr "Temps (ms) avant d'afficher (100 par défaut)" - -#: Settings.ui.h:66 +#: Settings.ui.h:93 msgid "Isolate Workspaces" msgstr "Isoler les espaces de travail" -#: Settings.ui.h:67 +#: Settings.ui.h:94 +msgid "Ungroup applications" +msgstr "Dégrouper les applications" + +#: Settings.ui.h:95 msgid "Behaviour when clicking on the icon of a running application." msgstr "Comportement lors du clic sur l'icône d'une application lancée." -#: Settings.ui.h:68 +#: Settings.ui.h:96 msgid "Click action" msgstr "Action du clic" -#: Settings.ui.h:69 +#: Settings.ui.h:97 msgid "" "Enable Super+(0-9) as shortcuts to activate apps. It can also be used " "together with Shift and Ctrl." @@ -363,15 +507,15 @@ msgstr "" "Activer Super+(0-9) comme raccourcis pour lancer les applications. Maj et " "Ctrl peuvent aussi être utilisés." -#: Settings.ui.h:70 +#: Settings.ui.h:98 msgid "Use hotkeys to activate apps" msgstr "Utiliser des raccourcis pour lancer les applications" -#: Settings.ui.h:71 +#: Settings.ui.h:99 msgid "Behavior" msgstr "Comportement" -#: Settings.ui.h:72 +#: Settings.ui.h:100 msgid "" "Tray Font Size\n" "(0 = theme default)" @@ -379,7 +523,7 @@ msgstr "" "Taille de la police\n" "(0 = par défaut)" -#: Settings.ui.h:74 +#: Settings.ui.h:102 msgid "" "LeftBox Font Size\n" "(0 = theme default)" @@ -387,22 +531,23 @@ msgstr "" "Taille de la police de la zone de gauche\n" "(0 = par défaut)" -#: Settings.ui.h:76 +#: Settings.ui.h:104 msgid "" "Tray Item Padding\n" "(-1 = theme default)" -msgstr "Taille des éléments de la barre d'état" +msgstr "" +"Taille des éléments de la barre d'état\n" "(-1 = par défaut)" -#: Settings.ui.h:78 +#: Settings.ui.h:106 msgid "" "Status Icon Padding\n" "(-1 = theme default)" msgstr "" -"Marge des icônes de status\n" +"Marge des icônes de statut\n" "(-1 = par défaut)" -#: Settings.ui.h:80 +#: Settings.ui.h:108 msgid "" "LeftBox Padding\n" "(-1 = theme default)" @@ -410,40 +555,41 @@ msgstr "" "Marge de la zone de gauche\n" "(-1 = par défaut)" -#: Settings.ui.h:82 +#: Settings.ui.h:110 msgid "Animate switching applications" msgstr "Animer le changement d'application" -#: Settings.ui.h:83 +#: Settings.ui.h:111 msgid "Animate launching new windows" msgstr "Animer le lancement de nouvelles fenêtres" -#: Settings.ui.h:84 +#: Settings.ui.h:112 msgid "App icon secondary (right-click) menu" msgstr "Menu secondaire de l'application (clic droit)" -#: Settings.ui.h:86 +#: Settings.ui.h:114 msgid "Fine-Tune" msgstr "Personnalisation" -#: Settings.ui.h:87 +#: Settings.ui.h:115 msgid "version: " msgstr "version: " -#: Settings.ui.h:88 +#: Settings.ui.h:116 msgid "Github" msgstr "GitHub" -#: Settings.ui.h:89 +#: Settings.ui.h:117 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General Public License, version 2 or later for details." msgstr "" "Ce programme est fourni SANS AUCUNE GARANTIE.\n" -"Pour plus de détails, visitez la Licence publique " -"générale GNU, version 2 ou ultérieure" +"Pour plus de détails, visitez la Licence publique générale GNU, version 2 ou " +"ultérieure" -#: Settings.ui.h:91 +#: Settings.ui.h:119 msgid "About" msgstr "À propos" diff --git a/po/hu.po b/po/hu.po index 664cb12..4f45684 100644 --- a/po/hu.po +++ b/po/hu.po @@ -1,14 +1,14 @@ # Hungarian translation for dash-to-panel. -# Copyright (C) 2017 Free Software Foundation, Inc. +# Copyright (C) 2017, 2018 Free Software Foundation, Inc. # This file is distributed under the same license as the dash-to-panel package. # -# Balázs Úr , 2017. +# Balázs Úr , 2017, 2018. msgid "" msgstr "" "Project-Id-Version: GitHub\n" "Report-Msgid-Bugs-To: https://github.com/jderose9/dash-to-panel/issues\n" -"POT-Creation-Date: 2017-03-25 11:55+0100\n" -"PO-Revision-Date: 2017-04-05 19:36+0100\n" +"POT-Creation-Date: 2018-02-02 16:28+0100\n" +"PO-Revision-Date: 2018-02-02 16:59+0100\n" "Last-Translator: Balázs Úr \n" "Language-Team: Hungarian \n" "Language: hu\n" @@ -18,55 +18,68 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Lokalize 2.0\n" -#: prefs.js:213 +#: prefs.js:295 msgid "Running Indicator Options" msgstr "Futásjelző beállításai" -#: prefs.js:220 prefs.js:380 prefs.js:445 prefs.js:511 prefs.js:553 +#: prefs.js:302 prefs.js:447 prefs.js:499 prefs.js:608 prefs.js:684 +#: prefs.js:753 prefs.js:829 prefs.js:871 msgid "Reset to defaults" msgstr "Visszaállítás az alapértékekre" -#: prefs.js:373 +#: prefs.js:440 +msgid "Show Desktop options" +msgstr "Asztal beállításainak megjelenítése" + +#: prefs.js:492 +msgid "Window preview options" +msgstr "Előnézeti ablak beállításai" + +#: prefs.js:601 +msgid "Ungrouped application options" +msgstr "Nem csoportosított alkalmazás beállításai" + +#: prefs.js:677 msgid "Customize middle-click behavior" msgstr "Középső kattintás viselkedésének személyre szabása" -#: prefs.js:438 +#: prefs.js:746 msgid "Advanced hotkeys options" msgstr "Speciális gyorsbillentyű-beállítások" -#: prefs.js:504 +#: prefs.js:822 msgid "Secondary Menu Options" msgstr "Másodlagos menü beállítások" -#: prefs.js:546 Settings.ui.h:85 +#: prefs.js:864 Settings.ui.h:113 msgid "Advanced Options" msgstr "Speciális beállítások" -#: appIcons.js:918 +#: appIcons.js:1179 msgid "Show Details" msgstr "Részletek megjelenítése" -#: appIcons.js:937 +#: appIcons.js:1198 msgid "New Window" msgstr "Új ablak" -#: appIcons.js:937 appIcons.js:998 appIcons.js:1000 Settings.ui.h:8 +#: appIcons.js:1198 appIcons.js:1260 appIcons.js:1262 Settings.ui.h:8 msgid "Quit" msgstr "Kilépés" -#: appIcons.js:1000 +#: appIcons.js:1262 msgid "Windows" msgstr "Ablakok" -#: appIcons.js:1159 +#: appIcons.js:1421 msgid "Dash to Panel Settings" msgstr "„Dashből panel” beállításai" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Restore Windows" msgstr "Ablakok visszaállítása" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Show Desktop" msgstr "Asztal megjelenítése" @@ -131,46 +144,93 @@ msgid "Highlight focused application" msgstr "Kijelölt alkalmazás kiemelése" #: Settings.ui.h:16 -msgid "Height (px)" -msgstr "Magasság (képpont)" +msgid "Highlight color" +msgstr "Kiemelés színe" #: Settings.ui.h:17 +msgid "Highlight opacity" +msgstr "Kiemelés átlátszatlansága" + +#: Settings.ui.h:18 +msgid "5" +msgstr "5" + +#: Settings.ui.h:19 +msgid "Indicator height (px)" +msgstr "Jelző magassága (képpont)" + +#: Settings.ui.h:20 msgid "0" msgstr "0" -#: Settings.ui.h:18 -msgid "Color - Override Theme" -msgstr "Szín - téma felülbírálása" +#: Settings.ui.h:21 +msgid "Indicator color - Override Theme" +msgstr "Jelző színe – téma felülbírálása" -#: Settings.ui.h:19 -msgid "1 window open" -msgstr "1 nyitott ablak" +#: Settings.ui.h:22 +msgid "1 window open (or ungrouped)" +msgstr "1 nyitott ablak (vagy nem csoportosított)" -#: Settings.ui.h:20 +#: Settings.ui.h:23 msgid "Apply to all" msgstr "Alkalmazás az összesre" -#: Settings.ui.h:21 +#: Settings.ui.h:24 msgid "2 windows open" msgstr "2 nyitott ablak" -#: Settings.ui.h:22 +#: Settings.ui.h:25 msgid "3 windows open" msgstr "3 nyitott ablak" -#: Settings.ui.h:23 +#: Settings.ui.h:26 msgid "4+ windows open" msgstr "4+ nyitott ablak" -#: Settings.ui.h:24 +#: Settings.ui.h:27 msgid "Use different for unfocused" msgstr "Eltérő használata a nem kijelölthöz" -#: Settings.ui.h:25 +#: Settings.ui.h:28 +msgid "Font size (px) of the application titles (default is 14)" +msgstr "Az alkalmazáscímek betűkészletmérete képpontban (alapértelmezetten 14)" + +#: Settings.ui.h:29 +msgid "Font color of the application titles" +msgstr "Az alkalmazáscímek betűkészletszíne" + +#: Settings.ui.h:30 +msgid "Maximum width (px) of the application titles (default is 160)" +msgstr "" +"Az alkalmazáscímek legnagyobb szélessége képpontban (alapértelmezetten 160)" + +#: Settings.ui.h:31 +msgid "Use a fixed width for the application titles" +msgstr "Rögzített szélesség használata az alkalmazáscímeknél" + +#: Settings.ui.h:32 +msgid "" +"The application titles all have the same width, even if their texts are " +"shorter than the maximum width. The maximum width value is used as the fixed " +"width." +msgstr "" +"Az összes alkalmazáscím ugyanolyan széles lesz még akkor is, ha a szövegük " +"rövidebb a legnagyobb szélességnél. A legnagyobb szélesség érték lesz " +"használva rögzített szélességként." + +#: Settings.ui.h:33 +msgid "Display running indicators on unfocused applications" +msgstr "Futásjelzők megjelenítése nem kijelölt alkalmazásoknál" + +#: Settings.ui.h:34 +msgid "Use the favorite icons as application launchers" +msgstr "A kedvenc ikonok használata alkalmazásindítókként" + +#: Settings.ui.h:35 msgid "Preview timeout on icon leave (ms)" msgstr "Előnézeti időkorlát ikon elhagyásakor (ms)" -#: Settings.ui.h:26 +#: Settings.ui.h:36 msgid "" "If set too low, the window preview of running applications may seem to close " "too quickly when trying to enter the popup. If set too high, the preview may " @@ -181,28 +241,88 @@ msgstr "" "ablak. Ha túl magasra van állítva, akkor úgy tűnhet, hogy az előnézet túl " "sokáig várakozik, amikor egy szomszédos ikonhoz mozog." -#: Settings.ui.h:27 +#: Settings.ui.h:37 +msgid "Time (ms) before showing (100 is default)" +msgstr "Megjelenítés előtti idő (ms, alapérték: 100)" + +#: Settings.ui.h:38 +msgid "Enable window peeking" +msgstr "Ablakbetekintés engedélyezése" + +#: Settings.ui.h:39 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "" +"Amikor egy előnézeti ablak fölé mutat az egérrel egy ideig, az ablak " +"megkülönböztethetővé válik." + +#: Settings.ui.h:40 +msgid "Enter window peeking mode timeout (ms)" +msgstr "Ablakbetekintési módba lépés időkorlátja (ms)" + +#: Settings.ui.h:41 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "" +"Egy előnézeti ablak rámutatása közbeni tétlenség ideje, amely az " +"ablakbetekintési módba lépéshez szükséges." + +#: Settings.ui.h:42 +msgid "Window peeking mode opacity" +msgstr "Ablakbetekintési módba átlátszatlansága" + +#: Settings.ui.h:43 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "" +"A betekintett ablak kivételével az összes ablaknál a saját átlátszatlanság " +"ugyanarra az értékre van állítva." + +#: Settings.ui.h:44 +msgid "Middle click to close window" +msgstr "Középső kattintás az ablak bezárásához" + +#: Settings.ui.h:45 +msgid "Middle click on the preview to close the window." +msgstr "Középső kattintás az előnézeten az ablak bezárásához." + +#: Settings.ui.h:46 msgid "Super" msgstr "Szuper" -#: Settings.ui.h:28 +#: Settings.ui.h:47 msgid "Super + Alt" msgstr "Szuper + Alt" -#: Settings.ui.h:29 +#: Settings.ui.h:48 msgid "Hotkeys prefix" msgstr "Gyorsbillentyű-előtag" -#: Settings.ui.h:30 +#: Settings.ui.h:49 msgid "Hotkeys will either be Super+Number or Super+Alt+Num" msgstr "" "A gyorsbillentyűk vagy Szuper + szám, vagy Szuper + Alt + szám lehetnek" -#: Settings.ui.h:31 +#: Settings.ui.h:50 +msgid "Never" +msgstr "Soha" + +#: Settings.ui.h:51 +msgid "Show temporarily" +msgstr "Megjelenítés átmenetileg" + +#: Settings.ui.h:52 +msgid "Always visible" +msgstr "Mindig látható" + +#: Settings.ui.h:53 msgid "Number overlay" msgstr "Szám rátét" -#: Settings.ui.h:32 +#: Settings.ui.h:54 msgid "" "Temporarily show the application numbers over the icons when using the " "hotkeys." @@ -210,31 +330,35 @@ msgstr "" "Az alkalmazás számainak átmeneti megjelenítése az ikonok fölött a " "gyorsbillentyűk használatakor." -#: Settings.ui.h:33 +#: Settings.ui.h:55 msgid "Hide timeout (ms)" msgstr "Elrejtési időkorlát (ms)" -#: Settings.ui.h:34 +#: Settings.ui.h:56 msgid "Shortcut to show the overlay for 2 seconds" msgstr "Gyorsbillentyű a rátét megjelenítéséhez 2 másodpercre" -#: Settings.ui.h:35 +#: Settings.ui.h:57 msgid "Syntax: , , , " msgstr "Szintaxis: , , , " -#: Settings.ui.h:36 +#: Settings.ui.h:58 +msgid "Show Desktop button width (px)" +msgstr "Asztal megjelenítése gomb szélessége (képpont)" + +#: Settings.ui.h:59 msgid "Panel screen position" msgstr "Panel képernyő-pozíciója" -#: Settings.ui.h:37 +#: Settings.ui.h:60 msgid "Bottom" msgstr "Lent" -#: Settings.ui.h:38 +#: Settings.ui.h:61 msgid "Top" msgstr "Fent" -#: Settings.ui.h:39 +#: Settings.ui.h:62 msgid "" "Panel Size\n" "(default is 48)" @@ -242,7 +366,7 @@ msgstr "" "Panelméret\n" "(alapérték: 48)" -#: Settings.ui.h:41 +#: Settings.ui.h:64 msgid "" "App Icon Margin\n" "(default is 8)" @@ -250,117 +374,133 @@ msgstr "" "Alkalmazásikon margó\n" "(alapérték: 8)" -#: Settings.ui.h:43 +#: Settings.ui.h:66 msgid "Running indicator position" msgstr "Futásjelző pozíciója" -#: Settings.ui.h:44 +#: Settings.ui.h:67 msgid "Running indicator style (Focused app)" msgstr "Futásjelző stílusa (kijelölt alkalmazás)" -#: Settings.ui.h:45 +#: Settings.ui.h:68 msgid "Dots" msgstr "Pontok" -#: Settings.ui.h:46 +#: Settings.ui.h:69 msgid "Squares" msgstr "Négyzetek" -#: Settings.ui.h:47 +#: Settings.ui.h:70 msgid "Dashes" msgstr "Szaggatott vonalak" -#: Settings.ui.h:48 +#: Settings.ui.h:71 msgid "Segmented" msgstr "Darabolt" -#: Settings.ui.h:49 +#: Settings.ui.h:72 msgid "Solid" msgstr "Tömör" -#: Settings.ui.h:50 +#: Settings.ui.h:73 msgid "Ciliora" msgstr "Ciliora" -#: Settings.ui.h:51 +#: Settings.ui.h:74 msgid "Metro" msgstr "Metro" -#: Settings.ui.h:52 +#: Settings.ui.h:75 msgid "Running indicator style (Unfocused apps)" msgstr "Futásjelző stílusa (nem kijelölt alkalmazások)" -#: Settings.ui.h:53 +#: Settings.ui.h:76 msgid "Clock location" msgstr "Óra helye" -#: Settings.ui.h:54 +#: Settings.ui.h:77 msgid "Natural" msgstr "Természetes" -#: Settings.ui.h:55 +#: Settings.ui.h:78 msgid "Left of status menu" msgstr "Állapotmenü bal oldalán" -#: Settings.ui.h:56 +#: Settings.ui.h:79 msgid "Right of status menu" msgstr "Állapotmenü jobb oldalán" -#: Settings.ui.h:57 +#: Settings.ui.h:80 +msgid "Taskbar position" +msgstr "Tálca helyzete" + +#: Settings.ui.h:81 +msgid "Left side of panel" +msgstr "Panel bal oldalán" + +#: Settings.ui.h:82 +msgid "Centered in monitor" +msgstr "Monitor közepén" + +#: Settings.ui.h:83 +msgid "Centered in content" +msgstr "Tartalom közepén" + +#: Settings.ui.h:84 msgid "Position and Style" msgstr "Pozíció és stílus" -#: Settings.ui.h:58 -msgid "Show Applications icon" -msgstr "Alkalmazások ikon megjelenítése" - -#: Settings.ui.h +#: Settings.ui.h:85 msgid "Show favorite applications" msgstr "Kedvenc alkalmazások megjelenítése" -#: Settings.ui.h:59 +#: Settings.ui.h:86 +msgid "Show Applications icon" +msgstr "Alkalmazások ikon megjelenítése" + +#: Settings.ui.h:87 msgid "Animate Show Applications." msgstr "Alkalmazások megjelenítése animálása." -#: Settings.ui.h:60 +#: Settings.ui.h:88 msgid "Show Activities button" msgstr "Tevékenységek gomb megjelenítése" -#: Settings.ui.h:61 +#: Settings.ui.h:89 msgid "Show Desktop button" msgstr "Asztal gomb megjelenítése" -#: Settings.ui.h:62 +#: Settings.ui.h:90 msgid "Show AppMenu button" msgstr "Alkalmazásmenü gomb megjelenítése" -#: Settings.ui.h:63 +#: Settings.ui.h:91 msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" msgstr "" "A felső sáv > Alkalmazásmenü megjelenítésének engedélyezve kell mennie a " "finomhangoló eszközben" -#: Settings.ui.h:64 +#: Settings.ui.h:92 msgid "Show window previews on hover" msgstr "Ablakelőnézetek megjelenítése rámutatáskor" -#: Settings.ui.h:65 -msgid "Time (ms) before showing (100 is default)" -msgstr "Megjelenítés előtti idő (ms, alapérték: 100)" - -#: Settings.ui.h:66 +#: Settings.ui.h:93 msgid "Isolate Workspaces" msgstr "Munkaterületek elkülönítése" -#: Settings.ui.h:67 +#: Settings.ui.h:94 +msgid "Ungroup applications" +msgstr "Alkalmazások csoportosításának felbontása" + +#: Settings.ui.h:95 msgid "Behaviour when clicking on the icon of a running application." msgstr "Viselkedés egy futó alkalmazás ikonjára való kattintáskor." -#: Settings.ui.h:68 +#: Settings.ui.h:96 msgid "Click action" msgstr "Kattintás művelet" -#: Settings.ui.h:69 +#: Settings.ui.h:97 msgid "" "Enable Super+(0-9) as shortcuts to activate apps. It can also be used " "together with Shift and Ctrl." @@ -368,15 +508,15 @@ msgstr "" "Szuper + (0-9) engedélyezése gyorsbillentyűként az alkalmazások " "aktiválásához. Használható a Shift és a Ctrl billentyűkkel együtt is." -#: Settings.ui.h:70 +#: Settings.ui.h:98 msgid "Use hotkeys to activate apps" msgstr "Gyorsbillentyűk használata az alkalmazások aktiválásához" -#: Settings.ui.h:71 +#: Settings.ui.h:99 msgid "Behavior" msgstr "Viselkedés" -#: Settings.ui.h:72 +#: Settings.ui.h:100 msgid "" "Tray Font Size\n" "(0 = theme default)" @@ -384,7 +524,7 @@ msgstr "" "Tálca betűmérete\n" "(0 = téma alapértéke)" -#: Settings.ui.h:74 +#: Settings.ui.h:102 msgid "" "LeftBox Font Size\n" "(0 = theme default)" @@ -392,7 +532,7 @@ msgstr "" "Bal doboz betűmérete\n" "(0 = téma alapértéke)" -#: Settings.ui.h:76 +#: Settings.ui.h:104 msgid "" "Tray Item Padding\n" "(-1 = theme default)" @@ -400,7 +540,7 @@ msgstr "" "Tálcaelem kitöltése\n" "(-1 = téma alapértéke)" -#: Settings.ui.h:78 +#: Settings.ui.h:106 msgid "" "Status Icon Padding\n" "(-1 = theme default)" @@ -408,7 +548,7 @@ msgstr "" "Állapotikon kitöltése\n" "(-1 = téma alapértéke)" -#: Settings.ui.h:80 +#: Settings.ui.h:108 msgid "" "LeftBox Padding\n" "(-1 = theme default)" @@ -416,31 +556,31 @@ msgstr "" "Bal doboz kitöltése\n" "(-1 = téma alapértéke)" -#: Settings.ui.h:82 +#: Settings.ui.h:110 msgid "Animate switching applications" msgstr "Alkalmazásváltások animálása" -#: Settings.ui.h:83 +#: Settings.ui.h:111 msgid "Animate launching new windows" msgstr "Új ablakok indításának animálása" -#: Settings.ui.h:84 +#: Settings.ui.h:112 msgid "App icon secondary (right-click) menu" msgstr "Alkalmazásikon másodlagos (jobb kattintásos) menüje" -#: Settings.ui.h:86 +#: Settings.ui.h:114 msgid "Fine-Tune" msgstr "Finomhangolás" -#: Settings.ui.h:87 +#: Settings.ui.h:115 msgid "version: " msgstr "verzió: " -#: Settings.ui.h:88 +#: Settings.ui.h:116 msgid "Github" msgstr "Github" -#: Settings.ui.h:89 +#: Settings.ui.h:117 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General Public License 2. vagy későbbi verzióját a részletekért.<" "/span>" -#: Settings.ui.h:91 +#: Settings.ui.h:119 msgid "About" msgstr "Névjegy" diff --git a/po/kk.po b/po/kk.po index 435fc28..941f06c 100644 --- a/po/kk.po +++ b/po/kk.po @@ -1,39 +1,88 @@ # Kazakh translation for dash-to-panel # Copyright (c) 2017 dash-to-panel authors. # This file is distributed under the same license as the dash-to-panel package. -# Baurzhan Muftakhidinov , 2017. +# Baurzhan Muftakhidinov , 2017-2018. # msgid "" msgstr "" "Project-Id-Version: dash-to-panel master\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-07 05:52-0400\n" -"PO-Revision-Date: 2017-04-07 15:59+0500\n" +"POT-Creation-Date: 2018-02-02 21:29+0500\n" +"PO-Revision-Date: 2018-02-03 15:22+0500\n" +"Last-Translator: Baurzhan Muftakhidinov \n" "Language-Team: Kazakh \n" "Language: kk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 1.8.11\n" -"Last-Translator: Baurzhan Muftakhidinov \n" +"X-Generator: Poedit 2.0.3\n" -#: appIcons.js:918 +#: prefs.js:295 +msgid "Running Indicator Options" +msgstr "Орындалып тұрған индикатор баптаулары" + +#: prefs.js:302 prefs.js:447 prefs.js:499 prefs.js:608 prefs.js:684 +#: prefs.js:753 prefs.js:829 prefs.js:871 +msgid "Reset to defaults" +msgstr "Бастапқы мәндерге тастау" + +#: prefs.js:440 +msgid "Show Desktop options" +msgstr "Жұмыс үстел баптауларын көрсету" + +#: prefs.js:492 +msgid "Window preview options" +msgstr "Терезе кіші көрінісі баптаулары" + +#: prefs.js:601 +msgid "Ungrouped application options" +msgstr "Топталмаған қолданба баптаулары" + +#: prefs.js:677 +msgid "Customize middle-click behavior" +msgstr "Орта шерту әрекетін баптау" + +#: prefs.js:746 +msgid "Advanced hotkeys options" +msgstr "Кеңейтілген жарлық баптаулары" + +#: prefs.js:822 +msgid "Secondary Menu Options" +msgstr "Қосымша мәзір баптаулары" + +#: prefs.js:864 Settings.ui.h:113 +msgid "Advanced Options" +msgstr "Кеңейтілген баптаулар" + +#: appIcons.js:1179 msgid "Show Details" msgstr "Ақпаратын көрсету" -#: appIcons.js:937 +#: appIcons.js:1198 msgid "New Window" msgstr "Жаңа терезе" -#: appIcons.js:937 appIcons.js:998 appIcons.js:1000 Settings.ui.h:8 +#: appIcons.js:1198 appIcons.js:1260 appIcons.js:1262 Settings.ui.h:8 msgid "Quit" msgstr "Шығу" -#: appIcons.js:1000 +#: appIcons.js:1262 msgid "Windows" msgstr "Терезелер" +#: appIcons.js:1421 +msgid "Dash to Panel Settings" +msgstr "Dash to Panel баптаулары" + +#: appIcons.js:1428 +msgid "Restore Windows" +msgstr "Терезелерді қалпына келтіру" + +#: appIcons.js:1428 +msgid "Show Desktop" +msgstr "Жұмыс үстелді көрсету" + #: Settings.ui.h:1 msgid "" "When set to minimize, double clicking minimizes all the windows of the " @@ -95,46 +144,91 @@ msgid "Highlight focused application" msgstr "Фокустағы қолданбаларды түспен ерекшелеу" #: Settings.ui.h:16 -msgid "Height (px)" -msgstr "Биіктігі (пикс)" +msgid "Highlight color" +msgstr "Ерекшелеу түсі" #: Settings.ui.h:17 +msgid "Highlight opacity" +msgstr "Ерекшелеудің мөлдірсіздігі" + +#: Settings.ui.h:18 +msgid "5" +msgstr "5" + +#: Settings.ui.h:19 +msgid "Indicator height (px)" +msgstr "Индикатор биіктігі (пикс)" + +#: Settings.ui.h:20 msgid "0" msgstr "0" -#: Settings.ui.h:18 -msgid "Color - Override Theme" -msgstr "Түс - теманы үстінен басу" +#: Settings.ui.h:21 +msgid "Indicator color - Override Theme" +msgstr "Индикатор түсі - теманы үстінен басу" -#: Settings.ui.h:19 -msgid "1 window open" -msgstr "1 терезе ашық" +#: Settings.ui.h:22 +msgid "1 window open (or ungrouped)" +msgstr "1 терезе ашық (немесе топталмаған)" -#: Settings.ui.h:20 +#: Settings.ui.h:23 msgid "Apply to all" msgstr "Барлығы үшін іске асыру" -#: Settings.ui.h:21 +#: Settings.ui.h:24 msgid "2 windows open" msgstr "2 терезе ашық" -#: Settings.ui.h:22 +#: Settings.ui.h:25 msgid "3 windows open" msgstr "3 терезе ашық" -#: Settings.ui.h:23 +#: Settings.ui.h:26 msgid "4+ windows open" msgstr "4+ терезе ашық" -#: Settings.ui.h:24 +#: Settings.ui.h:27 msgid "Use different for unfocused" msgstr "Фокустағы емес үшін басқаны қолдану" -#: Settings.ui.h:25 +#: Settings.ui.h:28 +msgid "Font size (px) of the application titles (default is 14)" +msgstr "Қолданба атауының қарібі (пикс, бастапқы мәні 14)" + +#: Settings.ui.h:29 +msgid "Font color of the application titles" +msgstr "Қолданба атауының қаріп түсі" + +#: Settings.ui.h:30 +msgid "Maximum width (px) of the application titles (default is 160)" +msgstr "Қолданба атауының максималды ені (пикс, бастапқы мәні 160)" + +#: Settings.ui.h:31 +msgid "Use a fixed width for the application titles" +msgstr "Қолданба атауы үшін біркелкі енді қолдану" + +#: Settings.ui.h:32 +msgid "" +"The application titles all have the same width, even if their texts are " +"shorter than the maximum width. The maximum width value is used as the fixed " +"width." +msgstr "" +"Қолданба атаулары үшін біркелкі енді қолдану, олардың мәтіні максималды " +"енінен кіші болса да. Максималды мәні тұрақты ені ретінде қолданылады." + +#: Settings.ui.h:33 +msgid "Display running indicators on unfocused applications" +msgstr "Фокустағы емес қолданбалардың орындалу индикаторын көрсету" + +#: Settings.ui.h:34 +msgid "Use the favorite icons as application launchers" +msgstr "Таңдамалы таңбашаларды қолданба жөнелткіштері ретінде қолдану" + +#: Settings.ui.h:35 msgid "Preview timeout on icon leave (ms)" msgstr "Таңбашадан кеткен кезде кіші көріністі көрсету уақыты (мс)" -#: Settings.ui.h:26 +#: Settings.ui.h:36 msgid "" "If set too low, the window preview of running applications may seem to close " "too quickly when trying to enter the popup. If set too high, the preview may " @@ -145,27 +239,85 @@ msgstr "" "көрші таңбашаға ауысу кезінде ағымдағы кіші көрініс ұзақ уақыт бойы " "көрсетілуі мүмкін." -#: Settings.ui.h:27 +#: Settings.ui.h:37 +msgid "Time (ms) before showing (100 is default)" +msgstr "Көрсету алдындағы уақыт (мс) (бастапқы шамасы 100)" + +#: Settings.ui.h:38 +msgid "Enable window peeking" +msgstr "Терезелерді анықтауды іске қосу" + +#: Settings.ui.h:39 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "" +"Курсор терезенің кіші көрінісі үстінен біраз уақыт бойы өтсе, ол терезе " +"анықталатын болады." + +#: Settings.ui.h:40 +msgid "Enter window peeking mode timeout (ms)" +msgstr "Терезені анықтауды кідіріс уақытын енгізу (мс)" + +#: Settings.ui.h:41 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "" +"Терезені анықтау үшін курсор терезенің үстінен қанша уақыт бойы аялдау керек." + +#: Settings.ui.h:42 +msgid "Window peeking mode opacity" +msgstr "Терезелерді анықтау режимінің мөлдірсіздігі" + +#: Settings.ui.h:43 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "" +"Анықталған терезеден басқаларының мөлдірсіздігі бастапқы шамасына тең болады." + +#: Settings.ui.h:44 +msgid "Middle click to close window" +msgstr "Терезені жабу үшін орта шерту" + +#: Settings.ui.h:45 +msgid "Middle click on the preview to close the window." +msgstr "Терезені жабу үшін кіші көріністе орта шерту." + +#: Settings.ui.h:46 msgid "Super" msgstr "Super" -#: Settings.ui.h:28 +#: Settings.ui.h:47 msgid "Super + Alt" msgstr "Super + Alt" -#: Settings.ui.h:29 +#: Settings.ui.h:48 msgid "Hotkeys prefix" msgstr "Ыстық пернелер префиксі" -#: Settings.ui.h:30 +#: Settings.ui.h:49 msgid "Hotkeys will either be Super+Number or Super+Alt+Num" msgstr "Ыстық пернелер Super+Сан or Super+Alt+Сан болады" -#: Settings.ui.h:31 +#: Settings.ui.h:50 +msgid "Never" +msgstr "Ешқашан" + +#: Settings.ui.h:51 +msgid "Show temporarily" +msgstr "Уақытша көрсету" + +#: Settings.ui.h:52 +msgid "Always visible" +msgstr "Әрқашан көрінеді" + +#: Settings.ui.h:53 msgid "Number overlay" msgstr "Цифрлық оверлей" -#: Settings.ui.h:32 +#: Settings.ui.h:54 msgid "" "Temporarily show the application numbers over the icons when using the " "hotkeys." @@ -173,31 +325,35 @@ msgstr "" "Ыстық пернелерді көрсету кезінде таңбашалардың үстінен өткізгенде қолданба " "нөмірлерін уақытша көрсету." -#: Settings.ui.h:33 +#: Settings.ui.h:55 msgid "Hide timeout (ms)" msgstr "Жасыру кідірісі (мс)" -#: Settings.ui.h:34 +#: Settings.ui.h:56 msgid "Shortcut to show the overlay for 2 seconds" msgstr "Оверлейді 2 секундқа көрсету үшін пернетақта жарлығы" -#: Settings.ui.h:35 +#: Settings.ui.h:57 msgid "Syntax: , , , " msgstr "Синтаксисі: , , , " -#: Settings.ui.h:36 +#: Settings.ui.h:58 +msgid "Show Desktop button width (px)" +msgstr "Жұмыс үстелі батырмасының (пикс)" + +#: Settings.ui.h:59 msgid "Panel screen position" msgstr "Панельдің экрандағы орны" -#: Settings.ui.h:37 +#: Settings.ui.h:60 msgid "Bottom" msgstr "Төмен" -#: Settings.ui.h:38 +#: Settings.ui.h:61 msgid "Top" msgstr "Жоғары" -#: Settings.ui.h:39 +#: Settings.ui.h:62 msgid "" "Panel Size\n" "(default is 48)" @@ -205,7 +361,7 @@ msgstr "" "Панель өлшемі\n" "(бастапқы мәні 48)" -#: Settings.ui.h:41 +#: Settings.ui.h:64 msgid "" "App Icon Margin\n" "(default is 8)" @@ -213,113 +369,133 @@ msgstr "" "Қолданба таңбашасының шет өрісі\n" "(бастапқы мәні 8)" -#: Settings.ui.h:43 +#: Settings.ui.h:66 msgid "Running indicator position" -msgstr "Орындалып тұрған индикатордың орны" +msgstr "Орындалып тұрған индикатор орны" -#: Settings.ui.h:44 +#: Settings.ui.h:67 msgid "Running indicator style (Focused app)" msgstr "Орындалып тұрған индикатордың стилі (фокустегі қолданба)" -#: Settings.ui.h:45 +#: Settings.ui.h:68 msgid "Dots" msgstr "Нүктелер" -#: Settings.ui.h:46 +#: Settings.ui.h:69 msgid "Squares" msgstr "Шаршылар" -#: Settings.ui.h:47 +#: Settings.ui.h:70 msgid "Dashes" msgstr "Штрихтер" -#: Settings.ui.h:48 +#: Settings.ui.h:71 msgid "Segmented" msgstr "Сегменттелген" -#: Settings.ui.h:49 +#: Settings.ui.h:72 msgid "Solid" msgstr "Бүтін" -#: Settings.ui.h:50 +#: Settings.ui.h:73 msgid "Ciliora" msgstr "Ciliora" -#: Settings.ui.h:51 +#: Settings.ui.h:74 msgid "Metro" msgstr "Metro" -#: Settings.ui.h:52 +#: Settings.ui.h:75 msgid "Running indicator style (Unfocused apps)" msgstr "Орындалып тұрған индикатордың стилі (фокустегі емес қолданба)" -#: Settings.ui.h:53 +#: Settings.ui.h:76 msgid "Clock location" msgstr "Сағаттың орналасуы" -#: Settings.ui.h:54 +#: Settings.ui.h:77 msgid "Natural" msgstr "Табиғи" -#: Settings.ui.h:55 +#: Settings.ui.h:78 msgid "Left of status menu" msgstr "Қалып-күй мәзірінің сол жағы" -#: Settings.ui.h:56 +#: Settings.ui.h:79 msgid "Right of status menu" msgstr "Қалып-күй мәзірінің оң жағы" -#: Settings.ui.h:57 +#: Settings.ui.h:80 +msgid "Taskbar position" +msgstr "Тапсырмалар панелінің орны" + +#: Settings.ui.h:81 +msgid "Left side of panel" +msgstr "Панельдің сол жағы" + +#: Settings.ui.h:82 +msgid "Centered in monitor" +msgstr "Монитордың ортасында" + +#: Settings.ui.h:83 +msgid "Centered in content" +msgstr "Құраманың ортасында" + +#: Settings.ui.h:84 msgid "Position and Style" msgstr "Орны және стилі" -#: Settings.ui.h:58 +#: Settings.ui.h:85 +msgid "Show favorite applications" +msgstr "Таңдамалы қолданбаларды көрсету" + +#: Settings.ui.h:86 msgid "Show Applications icon" msgstr "Қолданбалар таңбашасын көрсету" -#: Settings.ui.h:59 +#: Settings.ui.h:87 msgid "Animate Show Applications." -msgstr "Қолданбаларды көрсету анимациясын іске қосу" +msgstr "Қолданбаларды көрсету анимациясын іске қосу." -#: Settings.ui.h:60 +#: Settings.ui.h:88 msgid "Show Activities button" msgstr "Көрініс таңбашасын көрсету" -#: Settings.ui.h:61 +#: Settings.ui.h:89 msgid "Show Desktop button" -msgstr "Жұмыс үстелі таңбашасын көрсету" +msgstr "Жұмыс үстелі батырмасын көрсету" -#: Settings.ui.h:62 +#: Settings.ui.h:90 msgid "Show AppMenu button" msgstr "Қолданбалар мәзірі таңбашасын көрсету" -#: Settings.ui.h:63 +#: Settings.ui.h:91 msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" msgstr "" "Кеңейтілген баптаулар (Tweak) сайманында Үстіндегі панель >Қолданбалар " "мәзірін көрсету іске қосылған болуы тиіс" -#: Settings.ui.h:64 +#: Settings.ui.h:92 msgid "Show window previews on hover" -msgstr "Үстінен өткізгенде, терезе құрамасының кіші көрінісін көрсету" +msgstr "Курсор үстінен өткен кезде, терезенің кіші көрінісін көрсету" -#: Settings.ui.h:65 -msgid "Time (ms) before showing (100 is default)" -msgstr "Көрсету алдындағы уақыт (мс) (бастапқы шамасы 100)" - -#: Settings.ui.h:66 +#: Settings.ui.h:93 msgid "Isolate Workspaces" msgstr "Жұмыс орындарын оқшаулау" -#: Settings.ui.h:67 +#: Settings.ui.h:94 +msgid "Ungroup applications" +msgstr "Қолданбаларды топтаудан босату" + +#: Settings.ui.h:95 msgid "Behaviour when clicking on the icon of a running application." msgstr "Орындалып тұрған қолданбаның таңбашасына шерту кезіндегі мінез-құлығы." -#: Settings.ui.h:68 +#: Settings.ui.h:96 msgid "Click action" msgstr "Шерту әрекеті" -#: Settings.ui.h:69 +#: Settings.ui.h:97 msgid "" "Enable Super+(0-9) as shortcuts to activate apps. It can also be used " "together with Shift and Ctrl." @@ -327,15 +503,15 @@ msgstr "" "Super+(0-9) қолданбаларды белсендіру үшін жарлықтар ретінде іске қосу. " "Сонымен қатар, ол Shift пен Ctrl пернелерімен бірге қолданылуы мүмкін." -#: Settings.ui.h:70 +#: Settings.ui.h:98 msgid "Use hotkeys to activate apps" msgstr "Қолданбаларды белсендіру үшін ыстық пернелерді қолдану" -#: Settings.ui.h:71 +#: Settings.ui.h:99 msgid "Behavior" msgstr "Мінез-құлығы" -#: Settings.ui.h:72 +#: Settings.ui.h:100 msgid "" "Tray Font Size\n" "(0 = theme default)" @@ -343,7 +519,7 @@ msgstr "" "Трей қарібінің өлшемі\n" "(0 = теманың бастапқы өлшемі)" -#: Settings.ui.h:74 +#: Settings.ui.h:102 msgid "" "LeftBox Font Size\n" "(0 = theme default)" @@ -351,7 +527,7 @@ msgstr "" "Сол жақ аймағының қаріп өлшемі\n" "(0 = теманың бастапқы өлшемі)" -#: Settings.ui.h:76 +#: Settings.ui.h:104 msgid "" "Tray Item Padding\n" "(-1 = theme default)" @@ -359,7 +535,7 @@ msgstr "" "Трейдегі нәрсенің шегінісі\n" "(-1 = теманың бастапқы өлшемі)" -#: Settings.ui.h:78 +#: Settings.ui.h:106 msgid "" "Status Icon Padding\n" "(-1 = theme default)" @@ -367,7 +543,7 @@ msgstr "" "Қалып-күй таңбашасының шегінісі\n" "(-1 = теманың бастапқы өлшемі)" -#: Settings.ui.h:80 +#: Settings.ui.h:108 msgid "" "LeftBox Padding\n" "(-1 = theme default)" @@ -375,35 +551,31 @@ msgstr "" "Сол жақ аймағының шегінісі\n" "(-1 = теманың бастапқы өлшемі)" -#: Settings.ui.h:82 +#: Settings.ui.h:110 msgid "Animate switching applications" msgstr "Қолданбаларды ауыстыру анимациясын іске қосу" -#: Settings.ui.h:83 +#: Settings.ui.h:111 msgid "Animate launching new windows" msgstr "Қолданбаларды жөнелту анимациясын іске қосу" -#: Settings.ui.h:84 +#: Settings.ui.h:112 msgid "App icon secondary (right-click) menu" msgstr "Қолданба таңбашысының қосалқы (оң жақпен шерту) мәзірі" -#: Settings.ui.h:85 -msgid "Advanced Options" -msgstr "Кеңейтілген баптаулар" - -#: Settings.ui.h:86 +#: Settings.ui.h:114 msgid "Fine-Tune" msgstr "Дәлдеп баптау" -#: Settings.ui.h:87 +#: Settings.ui.h:115 msgid "version: " -msgstr "нұсқасы:" +msgstr "нұсқасы: " -#: Settings.ui.h:88 +#: Settings.ui.h:116 msgid "Github" msgstr "Github" -#: Settings.ui.h:89 +#: Settings.ui.h:117 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General Public License, нұсқасы 2 немесе кейінірек " "қараңыз." -#: Settings.ui.h:91 +#: Settings.ui.h:119 msgid "About" msgstr "Осы туралы" diff --git a/po/pl.po b/po/pl.po index 53a72f3..8ade951 100644 --- a/po/pl.po +++ b/po/pl.po @@ -5,67 +5,82 @@ # msgid "" msgstr "" -"Project-Id-Version: \n" +"Project-Id-Version: Dash to Panel\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-13 20:53+0200\n" -"PO-Revision-Date: 2017-06-02 21:39+0200\n" -"Language: de\n" +"POT-Creation-Date: 2017-03-25 11:55+0100\n" +"PO-Revision-Date: 2018-02-10 10:48+0100\n" +"Last-Translator: Piotr Komur \n" +"Language-Team: Piotr Komur\n" +"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: Piotr Komur \n" -"Language-Team: \n" -"X-Generator: Poedit 2.0.1\n" +"X-Generator: Poedit 2.0.4\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" -#: prefs.js:266 +#: prefs.js:295 msgid "Running Indicator Options" -msgstr "Opcje wskaźnika aktywnych aplikacji" +msgstr "Opcje wskaźnika aktywnych programów" -#: prefs.js:273 prefs.js:433 prefs.js:498 prefs.js:566 prefs.js:608 +#: prefs.js:302 prefs.js:447 prefs.js:499 prefs.js:608 prefs.js:684 +#: prefs.js:753 prefs.js:829 prefs.js:871 msgid "Reset to defaults" msgstr "Przywróć domyślne" -#: prefs.js:426 +#: prefs.js:440 +msgid "Show Desktop options" +msgstr "Pokaż pulpit - opcje" + +#: prefs.js:492 +msgid "Window preview options" +msgstr "Podgląd okna - opcje" + +#: prefs.js:601 +msgid "Ungrouped application options" +msgstr "Opcje trybu listy" + +#: prefs.js:677 msgid "Customize middle-click behavior" msgstr "Dostosowanie działania przycisków myszy" -#: prefs.js:491 +#: prefs.js:746 msgid "Advanced hotkeys options" -msgstr "" +msgstr "Zaawansowane opcje skrótów klawiszowych" -#: prefs.js:559 +#: prefs.js:822 msgid "Secondary Menu Options" msgstr "Opcje menu kontekstowego" -#: prefs.js:601 Settings.ui.h:85 +#: prefs.js:864 Settings.ui.h:113 msgid "Advanced Options" msgstr "Opcje zaawansowane" -#: appIcons.js:918 +#: appIcons.js:1179 msgid "Show Details" msgstr "Pokaż szczegóły" -#: appIcons.js:937 +#: appIcons.js:1198 msgid "New Window" msgstr "Nowe okno" -#: appIcons.js:937 appIcons.js:998 appIcons.js:1000 Settings.ui.h:8 +#: appIcons.js:1198 appIcons.js:1260 appIcons.js:1262 Settings.ui.h:8 msgid "Quit" msgstr "Zamknięcie okna" -#: appIcons.js:1000 +#: appIcons.js:1262 msgid "Windows" msgstr "Okna" -#: appIcons.js:1159 +#: appIcons.js:1421 msgid "Dash to Panel Settings" msgstr "Ustawienia Dash to Panel" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Restore Windows" msgstr "Przywróć okna" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Show Desktop" msgstr "Pokaż pulpit" @@ -129,114 +144,228 @@ msgstr "Wyświetl szczegóły" #: Settings.ui.h:15 msgid "Highlight focused application" -msgstr "" +msgstr "Podświetlaj ikonę aktywnego programu" #: Settings.ui.h:16 -msgid "Height (px)" -msgstr "" +msgid "Highlight color" +msgstr "Kolor podświetlenia" #: Settings.ui.h:17 -msgid "0" -msgstr "" +msgid "Highlight opacity" +msgstr "Przeźroczystość podświetlenia" #: Settings.ui.h:18 -msgid "Color - Override Theme" +msgid "5" msgstr "" #: Settings.ui.h:19 -msgid "1 window open" -msgstr "" +msgid "Indicator height (px)" +msgstr "Wysokość wskaźnika (px)" #: Settings.ui.h:20 -msgid "Apply to all" +msgid "0" msgstr "" #: Settings.ui.h:21 -msgid "2 windows open" -msgstr "" +msgid "Indicator color - Override Theme" +msgstr "Kolor wskaźnika (zastępuje kolory motywu)" #: Settings.ui.h:22 -msgid "3 windows open" -msgstr "" +msgid "1 window open (or ungrouped)" +msgstr "1 otwarte okno (lub tryb listy)" #: Settings.ui.h:23 -msgid "4+ windows open" -msgstr "" +msgid "Apply to all" +msgstr "Zastosuj do wszystkich" #: Settings.ui.h:24 -msgid "Use different for unfocused" -msgstr "" +msgid "2 windows open" +msgstr "2 otwarte okna" #: Settings.ui.h:25 -msgid "Preview timeout on icon leave (ms)" -msgstr "" +msgid "3 windows open" +msgstr "3 otwarte okna" #: Settings.ui.h:26 +msgid "4+ windows open" +msgstr "4 i więcej otwartych oknien" + +#: Settings.ui.h:27 +msgid "Use different for unfocused" +msgstr "Użyj innego dla pozostałych" + +#: Settings.ui.h:28 +msgid "Font size (px) of the application titles (default is 14)" +msgstr "Wielkość czcionki etykiet (px) (domyślnie 14) " + +#: Settings.ui.h:29 +msgid "Font color of the application titles" +msgstr "Kolor czcionki" + +#: Settings.ui.h:30 +msgid "Maximum width (px) of the application titles (default is 160)" +msgstr "Maksymalna szerokość etykiet (px) (domyślnie 160)" + +#: Settings.ui.h:31 +msgid "Use a fixed width for the application titles" +msgstr "Stała szerokości" + +#: Settings.ui.h:32 +msgid "" +"The application titles all have the same width, even if their texts are " +"shorter than the maximum width. The maximum width value is used as the fixed " +"width." +msgstr "" +"Wszystkie etykiety ikon będą miały tę samą szerokość, nawet jeśli ich teksty " +"są krótsze niż maksymalna szerokość. Wartość stałej szerokości jest taka, " +"jaka została podana w polu Maksymalna szerokość." + +#: Settings.ui.h:33 +msgid "Display running indicators on unfocused applications" +msgstr "Pokazuj wskaźnik dla otwartych okien drugoplanowych" + +#: Settings.ui.h:34 +msgid "Use the favorite icons as application launchers" +msgstr "" + +#: Settings.ui.h:35 +msgid "Preview timeout on icon leave (ms)" +msgstr "Opóźnienie wygaszenia podglądu po opuszczeniu ikony (ms)" + +#: Settings.ui.h:36 msgid "" "If set too low, the window preview of running applications may seem to close " "too quickly when trying to enter the popup. If set too high, the preview may " "linger too long when moving to an adjacent icon." msgstr "" +"Ustawienie zbyt małej wartości może spowodować, że pogląd okien może zamykać " +"się zbyt szybko, natomiast za duża wartość spowoduje długi czas wyświetlania " +"podglądu po przejściu do sąsiedniej ikony." -#: Settings.ui.h:27 +#: Settings.ui.h:37 +msgid "Time (ms) before showing (100 is default)" +msgstr "Opóźnienie wyświetlania miniatur (domyślnie 100 ms)" + +#: Settings.ui.h:38 +msgid "Enable window peeking" +msgstr "Podgląd okien otwartych programów" + +#: Settings.ui.h:39 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "" +"Po najechaniu kursorem na podgląd okna zostanie ono pokazane na tle " +"wszystkich otwartych okien programów." + +#: Settings.ui.h:40 +msgid "Enter window peeking mode timeout (ms)" +msgstr "Opóźnienie wyświetlania (ms)" + +#: Settings.ui.h:41 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "" +"Czas opóźnienia, po którym wyświetlony zostanie podgląd okien otwartych " +"programów." + +#: Settings.ui.h:42 +msgid "Window peeking mode opacity" +msgstr "Przeźroczystość okien" + +#: Settings.ui.h:43 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "" +"Wszystkie okna, za wyjątkiem okna głównego, mają tą samą przeźroczystość." + +#: Settings.ui.h:44 +msgid "Middle click to close window" +msgstr "Zamknięcie okna poprzez kliknięcie środkowego przycisku" + +#: Settings.ui.h:45 +msgid "Middle click on the preview to close the window." +msgstr "" +"Kliknięcie środkowego przycisku myszy na podglądzie zamyka otwarte okno " +"programu." + +#: Settings.ui.h:46 msgid "Super" msgstr "" -#: Settings.ui.h:28 +#: Settings.ui.h:47 msgid "Super + Alt" msgstr "" -#: Settings.ui.h:29 +#: Settings.ui.h:48 msgid "Hotkeys prefix" -msgstr "" +msgstr "Prefiks dla skrótów klawiszowych" -#: Settings.ui.h:30 +#: Settings.ui.h:49 msgid "Hotkeys will either be Super+Number or Super+Alt+Num" -msgstr "" +msgstr "Skrót może być aktywowany jako Super+Cyfra lub Super+Alt+Cyfra" -#: Settings.ui.h:31 +#: Settings.ui.h:50 +msgid "Never" +msgstr "Nigdy" + +#: Settings.ui.h:51 +msgid "Show temporarily" +msgstr "Przez chwilę" + +#: Settings.ui.h:52 +msgid "Always visible" +msgstr "Zawsze" + +#: Settings.ui.h:53 msgid "Number overlay" -msgstr "" +msgstr "Pokazywanie cyfr" -#: Settings.ui.h:32 +#: Settings.ui.h:54 msgid "" "Temporarily show the application numbers over the icons when using the " "hotkeys." -msgstr "" +msgstr "Podczas używania skrótów klawiszowych wyświetlaj cyfry nad ikonami ." -#: Settings.ui.h:33 +#: Settings.ui.h:55 msgid "Hide timeout (ms)" -msgstr "" +msgstr "Opóźnienie ukrywania (ms)" -#: Settings.ui.h:34 +#: Settings.ui.h:56 msgid "Shortcut to show the overlay for 2 seconds" -msgstr "" +msgstr "Skrót wyświetlający cyfry przez 2 sekundy" -#: Settings.ui.h:35 +#: Settings.ui.h:57 msgid "Syntax: , , , " -msgstr "" +msgstr "Składnia: , , , " -#: Settings.ui.h:36 +#: Settings.ui.h:58 +msgid "Show Desktop button width (px)" +msgstr "Szerokość przycisku Pokaż pulpit (px)" + +#: Settings.ui.h:59 msgid "Panel screen position" -msgstr "Położenie panela na ekranie" +msgstr "Położenie panelu na ekranie" -#: Settings.ui.h:37 +#: Settings.ui.h:60 msgid "Bottom" msgstr "Na dole" -#: Settings.ui.h:38 +#: Settings.ui.h:61 msgid "Top" msgstr "Na górze" -#: Settings.ui.h:39 +#: Settings.ui.h:62 msgid "" "Panel Size\n" "(default is 48)" msgstr "" -"Rozmiar panela\n" +"Rozmiar panelu\n" "(domyślnie 48)" -#: Settings.ui.h:41 +#: Settings.ui.h:64 msgid "" "App Icon Margin\n" "(default is 8)" @@ -244,116 +373,133 @@ msgstr "" "Odstęp między\n" "ikonami (domyślnie 8)" -#: Settings.ui.h:43 +#: Settings.ui.h:66 msgid "Running indicator position" msgstr "Pozycja wskaźnika aktywnych okien" -#: Settings.ui.h:44 +#: Settings.ui.h:67 msgid "Running indicator style (Focused app)" msgstr "Wygląd wskaźnika (okno na pierwszym planie)" -#: Settings.ui.h:45 +#: Settings.ui.h:68 msgid "Dots" msgstr "Kropki" -#: Settings.ui.h:46 +#: Settings.ui.h:69 msgid "Squares" msgstr "Kwadraty" -#: Settings.ui.h:47 +#: Settings.ui.h:70 msgid "Dashes" msgstr "Kreski" -#: Settings.ui.h:48 +#: Settings.ui.h:71 msgid "Segmented" msgstr "Segmentowy" -#: Settings.ui.h:49 +#: Settings.ui.h:72 msgid "Solid" msgstr "Ciągły" -#: Settings.ui.h:50 +#: Settings.ui.h:73 msgid "Ciliora" msgstr "" -#: Settings.ui.h:51 +#: Settings.ui.h:74 msgid "Metro" msgstr "" -#: Settings.ui.h:52 +#: Settings.ui.h:75 msgid "Running indicator style (Unfocused apps)" msgstr "Wygląd wskaźnika (okno na drugim planie)" -#: Settings.ui.h:53 +#: Settings.ui.h:76 msgid "Clock location" msgstr "Położenie zegara" -#: Settings.ui.h:54 +#: Settings.ui.h:77 msgid "Natural" -msgstr "Naturalne" +msgstr "Domyślne" -#: Settings.ui.h:55 +#: Settings.ui.h:78 msgid "Left of status menu" -msgstr "Z prawej strony menu systemowego" - -#: Settings.ui.h:56 -msgid "Right of status menu" msgstr "Z lewej strony menu systemowego" -#: Settings.ui.h:57 +#: Settings.ui.h:79 +msgid "Right of status menu" +msgstr "Z prawej strony menu systemowego" + +#: Settings.ui.h:80 +msgid "Taskbar position" +msgstr "Położenie paska zadań" + +#: Settings.ui.h:81 +msgid "Left side of panel" +msgstr "Z lewej strony panelu" + +#: Settings.ui.h:82 +msgid "Centered in monitor" +msgstr "Pośrodku ekranu" + +#: Settings.ui.h:83 +msgid "Centered in content" +msgstr "Pośrodku dostępnej przestrzeni" + +#: Settings.ui.h:84 msgid "Position and Style" msgstr "Położenie i wygląd" -#: Settings.ui.h:58 -msgid "Show Applications icon" -msgstr "Pokazuj ikonę Programy" - -#: Settings.ui.h +#: Settings.ui.h:85 msgid "Show favorite applications" msgstr "Pokaż ulubione programy" -#: Settings.ui.h:59 +#: Settings.ui.h:86 +msgid "Show Applications icon" +msgstr "Pokaż ikonę Programy" + +#: Settings.ui.h:87 msgid "Animate Show Applications." msgstr "Animuj Wyświetlanie programów" -#: Settings.ui.h:60 +#: Settings.ui.h:88 msgid "Show Activities button" msgstr "Pokaż przycisk Podgląd" -#: Settings.ui.h:61 +#: Settings.ui.h:89 msgid "Show Desktop button" msgstr "Pokaż przycisk Pulpit" -#: Settings.ui.h:62 +#: Settings.ui.h:90 msgid "Show AppMenu button" msgstr "Pokaż przycisk Menu programu" -#: Settings.ui.h:63 +#: Settings.ui.h:91 msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" msgstr "" -"Ustawienia > Górny pasek > Wyświetlanie menu programu musi być wyłączone" +"GNOME Tweak Tool: Dostrajanie > Górny pasek > Menu programu - musi być " +"wyłączone" -#: Settings.ui.h:64 +#: Settings.ui.h:92 msgid "Show window previews on hover" -msgstr "Pokaż podgląd okna" +msgstr "Pokaż podgląd (miniaturę) okna" -#: Settings.ui.h:65 -msgid "Time (ms) before showing (100 is default)" -msgstr "Opoźnienie wyświetlania podglądu (domyślnie 100 ms)" - -#: Settings.ui.h:66 +#: Settings.ui.h:93 msgid "Isolate Workspaces" msgstr "Niezależne obszary robocze" -#: Settings.ui.h:67 -msgid "Behaviour when clicking on the icon of a running application." -msgstr "Reakcja na kliknięcie ikony aktywnej aplikacji." +#: Settings.ui.h:94 +msgid "Ungroup applications" +msgstr "Tryb listy (nie scalaj ikon)" -#: Settings.ui.h:68 +#: Settings.ui.h:95 +msgid "Behaviour when clicking on the icon of a running application." +msgstr "Reakcja na kliknięcie ikony aktywnego programu." + +#: Settings.ui.h:96 msgid "Click action" msgstr "Działanie kliknięcia" -#: Settings.ui.h:69 +#: Settings.ui.h:97 msgid "" "Enable Super+(0-9) as shortcuts to activate apps. It can also be used " "together with Shift and Ctrl." @@ -361,15 +507,15 @@ msgstr "" "Konfigurowanie skrótów uruchamiania programów\n" "Super+(0-9) - możliwe użycie razem z Shift i Ctrl." -#: Settings.ui.h:70 +#: Settings.ui.h:98 msgid "Use hotkeys to activate apps" msgstr "Skróty klawiszowe uruchamiania programów" -#: Settings.ui.h:71 +#: Settings.ui.h:99 msgid "Behavior" msgstr "Zachowanie" -#: Settings.ui.h:72 +#: Settings.ui.h:100 msgid "" "Tray Font Size\n" "(0 = theme default)" @@ -377,15 +523,15 @@ msgstr "" "Rozmiar czcionki zasobnika\n" "(0 - domyślnie z motywu)" -#: Settings.ui.h:74 +#: Settings.ui.h:102 msgid "" "LeftBox Font Size\n" "(0 = theme default)" msgstr "" -"Rozmiar czcionki lewej strony panela\n" +"Rozmiar czcionki lewej strony panelu\n" "(0 - domyślnie z motywu)" -#: Settings.ui.h:76 +#: Settings.ui.h:104 msgid "" "Tray Item Padding\n" "(-1 = theme default)" @@ -393,7 +539,7 @@ msgstr "" "Odstęp elementów zasobnika\n" "(-1 - domyślnie z motywu)" -#: Settings.ui.h:78 +#: Settings.ui.h:106 msgid "" "Status Icon Padding\n" "(-1 = theme default)" @@ -401,48 +547,58 @@ msgstr "" "Odstęp elementów menu systemowego\n" "(-1 - domyślnie z motywu)" -#: Settings.ui.h:80 +#: Settings.ui.h:108 msgid "" "LeftBox Padding\n" "(-1 = theme default)" msgstr "" -"Odstęp elementów lewej strony panela\n" +"Odstęp elementów lewej strony panelu\n" "(-1 - domyślnie z motywu)" -#: Settings.ui.h:82 +#: Settings.ui.h:110 msgid "Animate switching applications" msgstr "Animuj przełączenie programów" -#: Settings.ui.h:83 +#: Settings.ui.h:111 msgid "Animate launching new windows" -msgstr "Animuj uruchamianie nowego okna" +msgstr "Animuj uruchamianie nowych programów" -#: Settings.ui.h:84 +#: Settings.ui.h:112 msgid "App icon secondary (right-click) menu" msgstr "Menu kontekstowe ikony aktywnego okna" -#: Settings.ui.h:86 +#: Settings.ui.h:114 msgid "Fine-Tune" msgstr "Dostrajanie" -#: Settings.ui.h:87 +#: Settings.ui.h:115 msgid "version: " msgstr "wersja: " -#: Settings.ui.h:88 +#: Settings.ui.h:116 msgid "Github" msgstr "" -#: Settings.ui.h:89 +#: Settings.ui.h:117 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General Public License, version 2 or later for details." msgstr "" -"Ten program nie obejmuje ABSOLUTNIE ŻADNA GWARANCJA.\n" -"Więcej informacji można znaleźć w licencji GNU General Public License, wersja 2 lub nowsza." +"Tego programu nie obejmuje ABSOLUTNIE ŻADNA GWARANCJA.\n" +"Więcej informacji można znaleźć w licencji GNU General Public License, wersja 2 " +"lub nowsza." -#: Settings.ui.h:91 +#: Settings.ui.h:119 msgid "About" msgstr "Informacje" + +#~ msgid "Height (px)" +#~ msgstr "Wysokość (px)" + +#~ msgid "Color - Override Theme" +#~ msgstr "Kolor - zastąp kolor motywu" + +#~ msgid "1 window open" +#~ msgstr "1 otwarte okno" diff --git a/po/ru.po b/po/ru.po index da44dfa..09366dc 100644 --- a/po/ru.po +++ b/po/ru.po @@ -7,67 +7,72 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-03-25 11:55+0100\n" -"PO-Revision-Date: 2017-08-01 16:26+0300\n" +"POT-Creation-Date: 2018-02-02 16:52+0300\n" +"PO-Revision-Date: 2018-02-02 19:02+0300\n" +"Last-Translator: Alex Gluck \n" "Language-Team: \n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.2\n" +"X-Generator: Poedit 2.0.3\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -"Last-Translator: Alex Gluck \n" -"Language: ru\n" -#: prefs.js:213 +#: prefs.js:284 msgid "Running Indicator Options" msgstr "Опции запущенных индикаторов" -#: prefs.js:220 prefs.js:380 prefs.js:445 prefs.js:511 prefs.js:553 +#: prefs.js:291 prefs.js:424 prefs.js:514 prefs.js:583 prefs.js:659 +#: prefs.js:701 msgid "Reset to defaults" msgstr "Сброс в значения по умолчанию" -#: prefs.js:373 +#: prefs.js:417 +msgid "Window preview options" +msgstr "Настройки предпросмотра окон" + +#: prefs.js:507 msgid "Customize middle-click behavior" msgstr "Настройка клика средней кнопки" -#: prefs.js:438 +#: prefs.js:576 msgid "Advanced hotkeys options" msgstr "Расширенные настройка горячих клавиш" -#: prefs.js:504 +#: prefs.js:652 msgid "Secondary Menu Options" msgstr "Второе меню опций" -#: prefs.js:546 Settings.ui.h:85 +#: prefs.js:694 Settings.ui.h:95 msgid "Advanced Options" msgstr "Раширеные Опции" -#: appIcons.js:918 +#: appIcons.js:920 msgid "Show Details" msgstr "Показать детали" -#: appIcons.js:937 +#: appIcons.js:939 msgid "New Window" msgstr "Новое окно" -#: appIcons.js:937 appIcons.js:998 appIcons.js:1000 Settings.ui.h:8 +#: appIcons.js:939 appIcons.js:1000 appIcons.js:1002 Settings.ui.h:8 msgid "Quit" msgstr "Выйти" -#: appIcons.js:1000 +#: appIcons.js:1002 msgid "Windows" msgstr "Окна" -#: appIcons.js:1159 +#: appIcons.js:1161 msgid "Dash to Panel Settings" msgstr "Dash to Panel Настройки" -#: appIcons.js:1166 +#: appIcons.js:1168 msgid "Restore Windows" msgstr "Восстановить окна" -#: appIcons.js:1166 +#: appIcons.js:1168 msgid "Show Desktop" msgstr "Показать рабочий стол" @@ -76,8 +81,7 @@ msgid "" "When set to minimize, double clicking minimizes all the windows of the " "application." msgstr "" -"Когда установлено сворачивать\" , двойной клик сворачивает все окна " -"приложений." +"Когда установлено сворачивать, двойной клик сворачивает все окна приложений." #: Settings.ui.h:2 msgid "Shift+Click action" @@ -182,59 +186,110 @@ msgstr "" "скрываться и перекрывать соседние области." #: Settings.ui.h:27 +msgid "Time (ms) before showing (100 is default)" +msgstr "Задержка (в мс) перед показом (100 по умолчанию)" + +#: Settings.ui.h:28 +msgid "Enable window peeking" +msgstr "Переводить окно на передний план" + +#: Settings.ui.h:29 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "" +"При наведении на иконку предпросмотра окно помещается на передний план." + +#: Settings.ui.h:30 +msgid "Enter window peeking mode timeout (ms)" +msgstr "Задержка перед выводом окна на передний план (в мс)" + +#: Settings.ui.h:31 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "" +"Время через которое, при наведении указателя на иконку предпросмотра, окно " +"перейдёт на передний план." + +#: Settings.ui.h:32 +msgid "Window peeking mode opacity" +msgstr "Уровень прозрачности остальных окон" + +#: Settings.ui.h:33 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "" +"Все окна, кроме выделенного, имеют прозрачность в процентах равное этому " +"значению." + +#: Settings.ui.h:34 msgid "Super" msgstr "Super" -#: Settings.ui.h:28 +#: Settings.ui.h:35 msgid "Super + Alt" msgstr "Super + Alt" -#: Settings.ui.h:29 +#: Settings.ui.h:36 msgid "Hotkeys prefix" -msgstr "Префик горячих клавиш" +msgstr "Префикс горячих клавиш" -#: Settings.ui.h:30 +#: Settings.ui.h:37 msgid "Hotkeys will either be Super+Number or Super+Alt+Num" msgstr "" "Комбинация клавиши для программ на панели либо Super+Number, либо Super+Alt" "+Num" -#: Settings.ui.h:31 +#: Settings.ui.h:38 +msgid "Never" +msgstr "Никогда" + +#: Settings.ui.h:39 +msgid "Show temporarily" +msgstr "Показать временно" + +#: Settings.ui.h:40 +msgid "Always visible" +msgstr "Всегда видимый" + +#: Settings.ui.h:41 msgid "Number overlay" msgstr "Наложение цифр" -#: Settings.ui.h:32 +#: Settings.ui.h:42 msgid "" "Temporarily show the application numbers over the icons when using the " "hotkeys." msgstr "" "Временно показывать цифры на иконках программ при нажатии горячей клавиши." -#: Settings.ui.h:33 +#: Settings.ui.h:43 msgid "Hide timeout (ms)" msgstr "Задержка скрытия (в мс)" -#: Settings.ui.h:34 +#: Settings.ui.h:44 msgid "Shortcut to show the overlay for 2 seconds" msgstr "Показать оверлей на иконках на 2 секунды" -#: Settings.ui.h:35 +#: Settings.ui.h:45 msgid "Syntax: , , , " msgstr "Синтакс: , , , " -#: Settings.ui.h:36 +#: Settings.ui.h:46 msgid "Panel screen position" msgstr "Позиция панели на экране" -#: Settings.ui.h:37 +#: Settings.ui.h:47 msgid "Bottom" msgstr "Внизу" -#: Settings.ui.h:38 +#: Settings.ui.h:48 msgid "Top" msgstr "Наверху" -#: Settings.ui.h:39 +#: Settings.ui.h:49 msgid "" "Panel Size\n" "(default is 48)" @@ -242,7 +297,7 @@ msgstr "" "Ширина панели\n" "(По умолчанию 48 пикселей)" -#: Settings.ui.h:41 +#: Settings.ui.h:51 msgid "" "App Icon Margin\n" "(default is 8)" @@ -250,112 +305,112 @@ msgstr "" "Отступ между значками программ\n" "(по умолчанию 8 пикселей)" -#: Settings.ui.h:43 +#: Settings.ui.h:53 msgid "Running indicator position" msgstr "Позиция индикаторов запущенных программ" -#: Settings.ui.h:44 +#: Settings.ui.h:54 msgid "Running indicator style (Focused app)" msgstr "Индикатор запущенной программы (когда в фокусе)" -#: Settings.ui.h:45 +#: Settings.ui.h:55 msgid "Dots" msgstr "Точки" -#: Settings.ui.h:46 +#: Settings.ui.h:56 msgid "Squares" msgstr "Квадраты" -#: Settings.ui.h:47 +#: Settings.ui.h:57 msgid "Dashes" msgstr "Линии" -#: Settings.ui.h:48 +#: Settings.ui.h:58 msgid "Segmented" msgstr "Сегменты" -#: Settings.ui.h:49 +#: Settings.ui.h:59 msgid "Solid" msgstr "Жирные линии" -#: Settings.ui.h:50 +#: Settings.ui.h:60 msgid "Ciliora" msgstr "Линии с точками" -#: Settings.ui.h:51 +#: Settings.ui.h:61 msgid "Metro" msgstr "Метро" -#: Settings.ui.h:52 +#: Settings.ui.h:62 msgid "Running indicator style (Unfocused apps)" msgstr "Индикатор запущенной программы (когда в не фокусе)" -#: Settings.ui.h:53 +#: Settings.ui.h:63 msgid "Clock location" msgstr "Позиция часов" -#: Settings.ui.h:54 +#: Settings.ui.h:64 msgid "Natural" msgstr "По умолчанию" -#: Settings.ui.h:55 +#: Settings.ui.h:65 msgid "Left of status menu" msgstr "Слева от статус меню" -#: Settings.ui.h:56 +#: Settings.ui.h:66 msgid "Right of status menu" msgstr "Справа от статус меню" -#: Settings.ui.h:57 +#: Settings.ui.h:67 msgid "Position and Style" msgstr "Позиция и стиль" -#: Settings.ui.h:58 +#: Settings.ui.h:68 +msgid "Show favorite applications" +msgstr "Показывать избранные приложения" + +#: Settings.ui.h:69 msgid "Show Applications icon" msgstr "Показывать иконку Программы" -#: Settings.ui.h:59 +#: Settings.ui.h:70 msgid "Animate Show Applications." msgstr "Анимировать Показ списка приложения." -#: Settings.ui.h:60 +#: Settings.ui.h:71 msgid "Show Activities button" msgstr "Показать кнопку Действия" -#: Settings.ui.h:61 +#: Settings.ui.h:72 msgid "Show Desktop button" msgstr "Показывать кнопку Рабочий стол" -#: Settings.ui.h:62 +#: Settings.ui.h:73 msgid "Show AppMenu button" msgstr "Показывать кнопку Меню программы" -#: Settings.ui.h:63 +#: Settings.ui.h:74 msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" msgstr "" "Верхняя панель > Показать меню приложения, должно быть включено в Tweak Tool" -#: Settings.ui.h:64 +#: Settings.ui.h:75 msgid "Show window previews on hover" msgstr "Показывать превью окон при наведении" -#: Settings.ui.h:65 -msgid "Time (ms) before showing (100 is default)" -msgstr "Задержка (в мс) перед показом (100 по умолчанию)" - -#: Settings.ui.h:66 +#: Settings.ui.h:76 msgid "Isolate Workspaces" msgstr "Изолировать рабочие столы" -#: Settings.ui.h:67 +#: Settings.ui.h:77 msgid "Behaviour when clicking on the icon of a running application." msgstr "Поведение при клике на иконке запущенной программы." -#: Settings.ui.h:68 +#: Settings.ui.h:78 msgid "Click action" msgstr "Действие при клике" -#: Settings.ui.h:69 +#: Settings.ui.h:79 msgid "" "Enable Super+(0-9) as shortcuts to activate apps. It can also be used " "together with Shift and Ctrl." @@ -363,15 +418,15 @@ msgstr "" "Использовать Super+(0-9) как горячие клавиши запуска программ. Здесь можно " "использовать Shift и Ctrl." -#: Settings.ui.h:70 +#: Settings.ui.h:80 msgid "Use hotkeys to activate apps" msgstr "Использовать горячие клавиши для запуска программ" -#: Settings.ui.h:71 +#: Settings.ui.h:81 msgid "Behavior" msgstr "Поведения" -#: Settings.ui.h:72 +#: Settings.ui.h:82 msgid "" "Tray Font Size\n" "(0 = theme default)" @@ -379,7 +434,7 @@ msgstr "" "Размер шрифта в трее\n" "(0 = значение из темы)" -#: Settings.ui.h:74 +#: Settings.ui.h:84 msgid "" "LeftBox Font Size\n" "(0 = theme default)" @@ -387,7 +442,7 @@ msgstr "" "Размер шрифта левой панели\n" "(0 = значение из темы)" -#: Settings.ui.h:76 +#: Settings.ui.h:86 msgid "" "Tray Item Padding\n" "(-1 = theme default)" @@ -395,7 +450,7 @@ msgstr "" "Отступ между иконками в трее\n" "(-1 = значение из темы)" -#: Settings.ui.h:78 +#: Settings.ui.h:88 msgid "" "Status Icon Padding\n" "(-1 = theme default)" @@ -403,7 +458,7 @@ msgstr "" "Иконки статуса\n" "(-1 = значение из темы)" -#: Settings.ui.h:80 +#: Settings.ui.h:90 msgid "" "LeftBox Padding\n" "(-1 = theme default)" @@ -411,31 +466,31 @@ msgstr "" "Отступ левой панели\n" "(0 = значение из темы)" -#: Settings.ui.h:82 +#: Settings.ui.h:92 msgid "Animate switching applications" msgstr "Анимировать переключение приложений" -#: Settings.ui.h:83 +#: Settings.ui.h:93 msgid "Animate launching new windows" msgstr "Анимировать запуск нового окна" -#: Settings.ui.h:84 +#: Settings.ui.h:94 msgid "App icon secondary (right-click) menu" msgstr "Меню программ по правой кнопке мыши" -#: Settings.ui.h:86 +#: Settings.ui.h:96 msgid "Fine-Tune" msgstr "Тонкая настройка" -#: Settings.ui.h:87 +#: Settings.ui.h:97 msgid "version: " msgstr "версия: " -#: Settings.ui.h:88 +#: Settings.ui.h:98 msgid "Github" msgstr "Github" -#: Settings.ui.h:89 +#: Settings.ui.h:99 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU General Public License, version 2 or later" -#: Settings.ui.h:91 +#: Settings.ui.h:101 msgid "About" msgstr "О программе" diff --git a/po/ru_RU.po b/po/ru_RU.po new file mode 100644 index 0000000..5d97374 --- /dev/null +++ b/po/ru_RU.po @@ -0,0 +1,503 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2017 +# This file is distributed under the same license as the PACKAGE package. +# Alex Gluck , 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-02 16:52+0300\n" +"PO-Revision-Date: 2018-02-02 18:50+0300\n" +"Last-Translator: Alex Gluck \n" +"Language-Team: \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.0.3\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: prefs.js:284 +msgid "Running Indicator Options" +msgstr "Опции запущенных индикаторов" + +#: prefs.js:291 prefs.js:424 prefs.js:514 prefs.js:583 prefs.js:659 +#: prefs.js:701 +msgid "Reset to defaults" +msgstr "Сброс в значения по умолчанию" + +#: prefs.js:417 +msgid "Window preview options" +msgstr "Настройки предпросмотра окон" + +#: prefs.js:507 +msgid "Customize middle-click behavior" +msgstr "Настройка клика средней кнопки" + +#: prefs.js:576 +msgid "Advanced hotkeys options" +msgstr "Расширенные настройка горячих клавиш" + +#: prefs.js:652 +msgid "Secondary Menu Options" +msgstr "Второе меню опций" + +#: prefs.js:694 Settings.ui.h:95 +msgid "Advanced Options" +msgstr "Раширеные Опции" + +#: appIcons.js:920 +msgid "Show Details" +msgstr "Показать детали" + +#: appIcons.js:939 +msgid "New Window" +msgstr "Новое окно" + +#: appIcons.js:939 appIcons.js:1000 appIcons.js:1002 Settings.ui.h:8 +msgid "Quit" +msgstr "Выйти" + +#: appIcons.js:1002 +msgid "Windows" +msgstr "Окна" + +#: appIcons.js:1161 +msgid "Dash to Panel Settings" +msgstr "Dash to Panel Настройки" + +#: appIcons.js:1168 +msgid "Restore Windows" +msgstr "Восстановить окна" + +#: appIcons.js:1168 +msgid "Show Desktop" +msgstr "Показать рабочий стол" + +#: Settings.ui.h:1 +msgid "" +"When set to minimize, double clicking minimizes all the windows of the " +"application." +msgstr "" +"Когда установлено сворачивать\" , двойной клик сворачивает все окна " +"приложений." + +#: Settings.ui.h:2 +msgid "Shift+Click action" +msgstr "Действия для Shift+Клик" + +#: Settings.ui.h:3 +msgid "Raise window" +msgstr "Восстановить окно" + +#: Settings.ui.h:4 +msgid "Minimize window" +msgstr "Свернуть окно" + +#: Settings.ui.h:5 +msgid "Launch new instance" +msgstr "Запустить ещё одну копию" + +#: Settings.ui.h:6 +msgid "Cycle through windows" +msgstr "Активировать программу" + +#: Settings.ui.h:7 +msgid "Cycle windows + minimize" +msgstr "Активировать программу + Свернуть" + +#: Settings.ui.h:9 +msgid "Behavior for Middle-Click." +msgstr "Поведение для средней кнопки." + +#: Settings.ui.h:10 +msgid "Middle-Click action" +msgstr "Действие на нажатие средней кнопки" + +#: Settings.ui.h:11 +msgid "Behavior for Shift+Middle-Click." +msgstr "Поведение для Shift+средняя_кнопка." + +#: Settings.ui.h:12 +msgid "Shift+Middle-Click action" +msgstr "Действие на нажатие Shift+средняя_кнопка" + +#: Settings.ui.h:13 +msgid "Integrate AppMenu items" +msgstr "Интегрировать Меню Программы" + +#: Settings.ui.h:14 +msgid "Show Details menu item" +msgstr "Меню Показать детали" + +#: Settings.ui.h:15 +msgid "Highlight focused application" +msgstr "Подсвечивать выделенную иконку" + +#: Settings.ui.h:16 +msgid "Height (px)" +msgstr "Высота (в пикселях)" + +#: Settings.ui.h:17 +msgid "0" +msgstr "0" + +#: Settings.ui.h:18 +msgid "Color - Override Theme" +msgstr "Переназначить цвета темы" + +#: Settings.ui.h:19 +msgid "1 window open" +msgstr "Когда одно окно открыто" + +#: Settings.ui.h:20 +msgid "Apply to all" +msgstr "Применить ко всем" + +#: Settings.ui.h:21 +msgid "2 windows open" +msgstr "Когда два окна открыто" + +#: Settings.ui.h:22 +msgid "3 windows open" +msgstr "Когда три окна открыто" + +#: Settings.ui.h:23 +msgid "4+ windows open" +msgstr "Когда четыре+ окна открыто" + +#: Settings.ui.h:24 +msgid "Use different for unfocused" +msgstr "Использовать другой когда не в фокусе" + +#: Settings.ui.h:25 +msgid "Preview timeout on icon leave (ms)" +msgstr "Задержка превью в (мс)" + +#: Settings.ui.h:26 +msgid "" +"If set too low, the window preview of running applications may seem to close " +"too quickly when trying to enter the popup. If set too high, the preview may " +"linger too long when moving to an adjacent icon." +msgstr "" +"Если установлено слишком маленькое значение, превью может исчезать слишком " +"быстро. Если установлено слишком большое значение, превью может долго не " +"скрываться и перекрывать соседние области." + +#: Settings.ui.h:27 +msgid "Time (ms) before showing (100 is default)" +msgstr "Задержка (в мс) перед показом (100 по умолчанию)" + +#: Settings.ui.h:28 +msgid "Enable window peeking" +msgstr "Переводить окно на передний план" + +#: Settings.ui.h:29 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "При наведении на иконку предпросмотра иногда окно выделяется." + +#: Settings.ui.h:30 +msgid "Enter window peeking mode timeout (ms)" +msgstr "Задержка перед помещением окна на передний план (в мс)" + +#: Settings.ui.h:31 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "" +"Время бездействия при наведении указателя на иконку предпросмотра для " +"перевода окна на передний план." + +#: Settings.ui.h:32 +msgid "Window peeking mode opacity" +msgstr "Режим прозрачности выделенного окна" + +#: Settings.ui.h:33 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "Все окна, кроме выделенного, имеют прозрачность." + +#: Settings.ui.h:34 +msgid "Super" +msgstr "Super" + +#: Settings.ui.h:35 +msgid "Super + Alt" +msgstr "Super + Alt" + +#: Settings.ui.h:36 +msgid "Hotkeys prefix" +msgstr "Префик горячих клавиш" + +#: Settings.ui.h:37 +msgid "Hotkeys will either be Super+Number or Super+Alt+Num" +msgstr "" +"Комбинация клавиши для программ на панели либо Super+Number, либо Super+Alt" +"+Num" + +#: Settings.ui.h:38 +msgid "Never" +msgstr "Никогда" + +#: Settings.ui.h:39 +msgid "Show temporarily" +msgstr "Показать временно" + +#: Settings.ui.h:40 +msgid "Always visible" +msgstr "Всегда видимый" + +#: Settings.ui.h:41 +msgid "Number overlay" +msgstr "Наложение цифр" + +#: Settings.ui.h:42 +msgid "" +"Temporarily show the application numbers over the icons when using the " +"hotkeys." +msgstr "" +"Временно показывать цифры на иконках программ при нажатии горячей клавиши." + +#: Settings.ui.h:43 +msgid "Hide timeout (ms)" +msgstr "Задержка скрытия (в мс)" + +#: Settings.ui.h:44 +msgid "Shortcut to show the overlay for 2 seconds" +msgstr "Показать оверлей на иконках на 2 секунды" + +#: Settings.ui.h:45 +msgid "Syntax: , , , " +msgstr "Синтакс: , , , " + +#: Settings.ui.h:46 +msgid "Panel screen position" +msgstr "Позиция панели на экране" + +#: Settings.ui.h:47 +msgid "Bottom" +msgstr "Внизу" + +#: Settings.ui.h:48 +msgid "Top" +msgstr "Наверху" + +#: Settings.ui.h:49 +msgid "" +"Panel Size\n" +"(default is 48)" +msgstr "" +"Ширина панели\n" +"(По умолчанию 48 пикселей)" + +#: Settings.ui.h:51 +msgid "" +"App Icon Margin\n" +"(default is 8)" +msgstr "" +"Отступ между значками программ\n" +"(по умолчанию 8 пикселей)" + +#: Settings.ui.h:53 +msgid "Running indicator position" +msgstr "Позиция индикаторов запущенных программ" + +#: Settings.ui.h:54 +msgid "Running indicator style (Focused app)" +msgstr "Индикатор запущенной программы (когда в фокусе)" + +#: Settings.ui.h:55 +msgid "Dots" +msgstr "Точки" + +#: Settings.ui.h:56 +msgid "Squares" +msgstr "Квадраты" + +#: Settings.ui.h:57 +msgid "Dashes" +msgstr "Линии" + +#: Settings.ui.h:58 +msgid "Segmented" +msgstr "Сегменты" + +#: Settings.ui.h:59 +msgid "Solid" +msgstr "Жирные линии" + +#: Settings.ui.h:60 +msgid "Ciliora" +msgstr "Линии с точками" + +#: Settings.ui.h:61 +msgid "Metro" +msgstr "Метро" + +#: Settings.ui.h:62 +msgid "Running indicator style (Unfocused apps)" +msgstr "Индикатор запущенной программы (когда в не фокусе)" + +#: Settings.ui.h:63 +msgid "Clock location" +msgstr "Позиция часов" + +#: Settings.ui.h:64 +msgid "Natural" +msgstr "По умолчанию" + +#: Settings.ui.h:65 +msgid "Left of status menu" +msgstr "Слева от статус меню" + +#: Settings.ui.h:66 +msgid "Right of status menu" +msgstr "Справа от статус меню" + +#: Settings.ui.h:67 +msgid "Position and Style" +msgstr "Позиция и стиль" + +#: Settings.ui.h:68 +msgid "Show favorite applications" +msgstr "Показывать избранные приложения" + +#: Settings.ui.h:69 +msgid "Show Applications icon" +msgstr "Показывать иконку Программы" + +#: Settings.ui.h:70 +msgid "Animate Show Applications." +msgstr "Анимировать Показ списка приложения." + +#: Settings.ui.h:71 +msgid "Show Activities button" +msgstr "Показать кнопку Действия" + +#: Settings.ui.h:72 +msgid "Show Desktop button" +msgstr "Показывать кнопку Рабочий стол" + +#: Settings.ui.h:73 +msgid "Show AppMenu button" +msgstr "Показывать кнопку Меню программы" + +#: Settings.ui.h:74 +msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" +msgstr "" +"Верхняя панель > Показать меню приложения, должно быть включено в Tweak Tool" + +#: Settings.ui.h:75 +msgid "Show window previews on hover" +msgstr "Показывать превью окон при наведении" + +#: Settings.ui.h:76 +msgid "Isolate Workspaces" +msgstr "Изолировать рабочие столы" + +#: Settings.ui.h:77 +msgid "Behaviour when clicking on the icon of a running application." +msgstr "Поведение при клике на иконке запущенной программы." + +#: Settings.ui.h:78 +msgid "Click action" +msgstr "Действие при клике" + +#: Settings.ui.h:79 +msgid "" +"Enable Super+(0-9) as shortcuts to activate apps. It can also be used " +"together with Shift and Ctrl." +msgstr "" +"Использовать Super+(0-9) как горячие клавиши запуска программ. Здесь можно " +"использовать Shift и Ctrl." + +#: Settings.ui.h:80 +msgid "Use hotkeys to activate apps" +msgstr "Использовать горячие клавиши для запуска программ" + +#: Settings.ui.h:81 +msgid "Behavior" +msgstr "Поведения" + +#: Settings.ui.h:82 +msgid "" +"Tray Font Size\n" +"(0 = theme default)" +msgstr "" +"Размер шрифта в трее\n" +"(0 = значение из темы)" + +#: Settings.ui.h:84 +msgid "" +"LeftBox Font Size\n" +"(0 = theme default)" +msgstr "" +"Размер шрифта левой панели\n" +"(0 = значение из темы)" + +#: Settings.ui.h:86 +msgid "" +"Tray Item Padding\n" +"(-1 = theme default)" +msgstr "" +"Отступ между иконками в трее\n" +"(-1 = значение из темы)" + +#: Settings.ui.h:88 +msgid "" +"Status Icon Padding\n" +"(-1 = theme default)" +msgstr "" +"Иконки статуса\n" +"(-1 = значение из темы)" + +#: Settings.ui.h:90 +msgid "" +"LeftBox Padding\n" +"(-1 = theme default)" +msgstr "" +"Отступ левой панели\n" +"(0 = значение из темы)" + +#: Settings.ui.h:92 +msgid "Animate switching applications" +msgstr "Анимировать переключение приложений" + +#: Settings.ui.h:93 +msgid "Animate launching new windows" +msgstr "Анимировать запуск нового окна" + +#: Settings.ui.h:94 +msgid "App icon secondary (right-click) menu" +msgstr "Меню программ по правой кнопке мыши" + +#: Settings.ui.h:96 +msgid "Fine-Tune" +msgstr "Тонкая настройка" + +#: Settings.ui.h:97 +msgid "version: " +msgstr "версия: " + +#: Settings.ui.h:98 +msgid "Github" +msgstr "Github" + +#: Settings.ui.h:99 +msgid "" +"This program comes with ABSOLUTELY NO WARRANTY.\n" +"See the GNU General Public License, version 2 or later for details." +msgstr "" +"Эта программа поставляет без какой либо гарантии.\n" +"Подробнее на GNU General Public License, version 2 or later" + +#: Settings.ui.h:101 +msgid "About" +msgstr "О программе" diff --git a/po/zh_CN.po b/po/zh_CN.po index 427b01f..3e3d783 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -1,71 +1,84 @@ # Dash to Panel Simplified Chinese Translation. # This file is distributed under the same license as the Dash to Panel package. -# Boyuan Yang <073plan@gmail.com>, 2017 +# Boyuan Yang <073plan@gmail.com>, 2017, 2018. # msgid "" msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-04-10 00:00+0800\n" -"PO-Revision-Date: 2017-04-10 00:31+0800\n" +"Project-Id-Version: dash-to-panel 12\n" +"Report-Msgid-Bugs-To: https://github.com/jderose9/dash-to-panel/issues\n" +"POT-Creation-Date: 2018-02-02 21:18+0800\n" +"PO-Revision-Date: 2018-02-02 21:34+0800\n" "Last-Translator: Boyuan Yang <073plan@gmail.com>\n" "Language-Team: Chinese (Simplified) \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.8.11\n" +"X-Generator: Poedit 2.0.6\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: prefs.js:266 +#: prefs.js:295 msgid "Running Indicator Options" msgstr "运行指示器选项" -#: prefs.js:273 prefs.js:433 prefs.js:498 prefs.js:566 prefs.js:608 +#: prefs.js:302 prefs.js:447 prefs.js:499 prefs.js:608 prefs.js:684 +#: prefs.js:753 prefs.js:829 prefs.js:871 msgid "Reset to defaults" msgstr "恢复默认值" -#: prefs.js:426 +#: prefs.js:440 +msgid "Show Desktop options" +msgstr "显示桌面选项" + +#: prefs.js:492 +msgid "Window preview options" +msgstr "窗口预览选项" + +#: prefs.js:601 +msgid "Ungrouped application options" +msgstr "未分组的应用程序选项" + +#: prefs.js:677 msgid "Customize middle-click behavior" msgstr "自定义中键点击行为" -#: prefs.js:491 +#: prefs.js:746 msgid "Advanced hotkeys options" msgstr "高级热键选项" -#: prefs.js:559 +#: prefs.js:822 msgid "Secondary Menu Options" msgstr "次级菜单选项" -#: prefs.js:601 Settings.ui.h:85 +#: prefs.js:864 Settings.ui.h:113 msgid "Advanced Options" msgstr "高级选项" -#: appIcons.js:918 +#: appIcons.js:1179 msgid "Show Details" msgstr "显示细节" -#: appIcons.js:937 +#: appIcons.js:1198 msgid "New Window" msgstr "新建窗口" -#: appIcons.js:937 appIcons.js:998 appIcons.js:1000 Settings.ui.h:8 +#: appIcons.js:1198 appIcons.js:1260 appIcons.js:1262 Settings.ui.h:8 msgid "Quit" msgstr "退出" -#: appIcons.js:1000 +#: appIcons.js:1262 msgid "Windows" msgstr "窗口" -#: appIcons.js:1159 +#: appIcons.js:1421 msgid "Dash to Panel Settings" msgstr "Dash to Panel 设置" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Restore Windows" msgstr "恢复窗口" -#: appIcons.js:1166 +#: appIcons.js:1428 msgid "Show Desktop" msgstr "显示桌面" @@ -117,57 +130,102 @@ msgstr "Shift+中键点击动作" #: Settings.ui.h:13 msgid "Integrate AppMenu items" -msgstr "集成 应用菜单 项" +msgstr "集成应用菜单项" #: Settings.ui.h:14 msgid "Show Details menu item" -msgstr "显示细节 菜单项" +msgstr "显示细节菜单项" #: Settings.ui.h:15 msgid "Highlight focused application" msgstr "高亮显示取得焦点的应用程序" #: Settings.ui.h:16 -msgid "Height (px)" -msgstr "高度(像素)" +msgid "Highlight color" +msgstr "高亮颜色" #: Settings.ui.h:17 +msgid "Highlight opacity" +msgstr "高亮不透明度" + +#: Settings.ui.h:18 +msgid "5" +msgstr "5" + +#: Settings.ui.h:19 +msgid "Indicator height (px)" +msgstr "指示器高度(像素)" + +#: Settings.ui.h:20 msgid "0" msgstr "0" -#: Settings.ui.h:18 -msgid "Color - Override Theme" -msgstr "颜色 - 覆盖主题" +#: Settings.ui.h:21 +msgid "Indicator color - Override Theme" +msgstr "指示器颜色 - 覆盖主题" -#: Settings.ui.h:19 -msgid "1 window open" -msgstr "1 窗口开启" +#: Settings.ui.h:22 +msgid "1 window open (or ungrouped)" +msgstr "1 窗口开启(或未分组)" -#: Settings.ui.h:20 +#: Settings.ui.h:23 msgid "Apply to all" msgstr "应用至全部" -#: Settings.ui.h:21 +#: Settings.ui.h:24 msgid "2 windows open" msgstr "2 窗口开启" -#: Settings.ui.h:22 +#: Settings.ui.h:25 msgid "3 windows open" msgstr "3 窗口开启" -#: Settings.ui.h:23 +#: Settings.ui.h:26 msgid "4+ windows open" msgstr "4+ 窗口开启" -#: Settings.ui.h:24 +#: Settings.ui.h:27 msgid "Use different for unfocused" msgstr "为未取得焦点的程序使用不同方案" -#: Settings.ui.h:25 +#: Settings.ui.h:28 +msgid "Font size (px) of the application titles (default is 14)" +msgstr "应用程序标题字体大小(像素)(默认值为 14)" + +#: Settings.ui.h:29 +msgid "Font color of the application titles" +msgstr "应用程序标题字体颜色" + +#: Settings.ui.h:30 +msgid "Maximum width (px) of the application titles (default is 160)" +msgstr "应用程序最大宽度(像素)(默认值为 160)" + +#: Settings.ui.h:31 +msgid "Use a fixed width for the application titles" +msgstr "为应用程序标题使用固定宽度" + +#: Settings.ui.h:32 +msgid "" +"The application titles all have the same width, even if their texts are " +"shorter than the maximum width. The maximum width value is used as the fixed " +"width." +msgstr "" +"应用程序标题都将使用相同宽度,即使其文本宽度无法达到最大宽度。最大宽度值将被" +"用于固定宽度值。" + +#: Settings.ui.h:33 +msgid "Display running indicators on unfocused applications" +msgstr "在未取得焦点的应用上显示运行指示器" + +#: Settings.ui.h:34 +msgid "Use the favorite icons as application launchers" +msgstr "使用收藏的图标作为应用程序启动器" + +#: Settings.ui.h:35 msgid "Preview timeout on icon leave (ms)" msgstr "离开图标时的预览延时(毫秒)" -#: Settings.ui.h:26 +#: Settings.ui.h:36 msgid "" "If set too low, the window preview of running applications may seem to close " "too quickly when trying to enter the popup. If set too high, the preview may " @@ -176,57 +234,115 @@ msgstr "" "如果设置过低,在尝试进入弹出菜单时正在运行程序的窗口预览可能会关闭得过快。如" "果设置过高,在移动至临接图标时预览可能滞留过长时间。" -#: Settings.ui.h:27 +#: Settings.ui.h:37 +msgid "Time (ms) before showing (100 is default)" +msgstr "显示前的延时(毫秒,默认为 100)" + +#: Settings.ui.h:38 +msgid "Enable window peeking" +msgstr "启用窗口概览功能" + +#: Settings.ui.h:39 +msgid "" +"When hovering over a window preview for some time, the window gets " +"distinguished." +msgstr "在窗口预览上悬浮一定时间后,该窗口将被区别显示。" + +#: Settings.ui.h:40 +msgid "Enter window peeking mode timeout (ms)" +msgstr "进入窗口概览模式延时(毫秒)" + +#: Settings.ui.h:41 +msgid "" +"Time of inactivity while hovering over a window preview needed to enter the " +"window peeking mode." +msgstr "为进入窗口概览模式,需要光标悬浮在预览窗口上不活动的时间。" + +#: Settings.ui.h:42 +msgid "Window peeking mode opacity" +msgstr "窗口概览模式不透明度" + +#: Settings.ui.h:43 +msgid "" +"All windows except for the peeked one have their opacity set to the same " +"value." +msgstr "除正在处于概览状态的窗口外,其它所有窗口的不透明度将被设置为同一个值。" + +#: Settings.ui.h:44 +msgid "Middle click to close window" +msgstr "中键点击以关闭窗口" + +#: Settings.ui.h:45 +msgid "Middle click on the preview to close the window." +msgstr "在预览内容上中键点击以关闭窗口。" + +#: Settings.ui.h:46 msgid "Super" msgstr "Super" -#: Settings.ui.h:28 +#: Settings.ui.h:47 msgid "Super + Alt" msgstr "Super + Alt" -#: Settings.ui.h:29 +#: Settings.ui.h:48 msgid "Hotkeys prefix" msgstr "热键前缀" -#: Settings.ui.h:30 +#: Settings.ui.h:49 msgid "Hotkeys will either be Super+Number or Super+Alt+Num" msgstr "热键可以是 Super+数字 或者 Super+Alt+数字" -#: Settings.ui.h:31 +#: Settings.ui.h:50 +msgid "Never" +msgstr "从不" + +#: Settings.ui.h:51 +msgid "Show temporarily" +msgstr "暂时显示" + +#: Settings.ui.h:52 +msgid "Always visible" +msgstr "总是可见" + +#: Settings.ui.h:53 msgid "Number overlay" msgstr "数字附加显示" -#: Settings.ui.h:32 +#: Settings.ui.h:54 msgid "" "Temporarily show the application numbers over the icons when using the " "hotkeys." msgstr "使用热键时在应用图标上临时显示其对应数字。" -#: Settings.ui.h:33 +#: Settings.ui.h:55 msgid "Hide timeout (ms)" msgstr "隐藏延时(毫秒)" -#: Settings.ui.h:34 +#: Settings.ui.h:56 msgid "Shortcut to show the overlay for 2 seconds" msgstr "显示两秒钟附加数字的快捷键" -#: Settings.ui.h:35 +#: Settings.ui.h:57 msgid "Syntax: , , , " msgstr "语法:, , , " -#: Settings.ui.h:36 +#: Settings.ui.h:58 +msgid "Show Desktop button width (px)" +msgstr "显示桌面图标宽度(像素)" + +#: Settings.ui.h:59 msgid "Panel screen position" msgstr "面板屏幕位置" -#: Settings.ui.h:37 +#: Settings.ui.h:60 msgid "Bottom" msgstr "底部" -#: Settings.ui.h:38 +#: Settings.ui.h:61 msgid "Top" msgstr "顶部" -#: Settings.ui.h:39 +#: Settings.ui.h:62 msgid "" "Panel Size\n" "(default is 48)" @@ -234,7 +350,7 @@ msgstr "" "面板大小\n" "(默认为 48)" -#: Settings.ui.h:41 +#: Settings.ui.h:64 msgid "" "App Icon Margin\n" "(default is 8)" @@ -242,126 +358,146 @@ msgstr "" "应用图标边缘空白\n" "(默认为 8)" -#: Settings.ui.h:43 +#: Settings.ui.h:66 msgid "Running indicator position" msgstr "运行指示器位置" -#: Settings.ui.h:44 +#: Settings.ui.h:67 msgid "Running indicator style (Focused app)" msgstr "运行指示器风格(取得焦点的应用)" -#: Settings.ui.h:45 +#: Settings.ui.h:68 msgid "Dots" msgstr "点" -#: Settings.ui.h:46 +#: Settings.ui.h:69 msgid "Squares" msgstr "方块" -#: Settings.ui.h:47 +#: Settings.ui.h:70 msgid "Dashes" msgstr "横线" -#: Settings.ui.h:48 +#: Settings.ui.h:71 msgid "Segmented" msgstr "间断线" -#: Settings.ui.h:49 +#: Settings.ui.h:72 msgid "Solid" msgstr "实心" -#: Settings.ui.h:50 +#: Settings.ui.h:73 msgid "Ciliora" msgstr "Ciliora" -#: Settings.ui.h:51 +#: Settings.ui.h:74 msgid "Metro" msgstr "Metro" -#: Settings.ui.h:52 +#: Settings.ui.h:75 msgid "Running indicator style (Unfocused apps)" msgstr "运行指示器风格(未取得焦点的应用)" -#: Settings.ui.h:53 +#: Settings.ui.h:76 msgid "Clock location" msgstr "时钟位置" -#: Settings.ui.h:54 +#: Settings.ui.h:77 msgid "Natural" msgstr "自然" -#: Settings.ui.h:55 +#: Settings.ui.h:78 msgid "Left of status menu" msgstr "状态菜单左侧" -#: Settings.ui.h:56 +#: Settings.ui.h:79 msgid "Right of status menu" msgstr "状态菜单右侧" -#: Settings.ui.h:57 +#: Settings.ui.h:80 +msgid "Taskbar position" +msgstr "任务栏位置" + +#: Settings.ui.h:81 +msgid "Left side of panel" +msgstr "面板左侧" + +#: Settings.ui.h:82 +msgid "Centered in monitor" +msgstr "显示器居中" + +#: Settings.ui.h:83 +msgid "Centered in content" +msgstr "内容居中" + +#: Settings.ui.h:84 msgid "Position and Style" msgstr "位置和风格" -#: Settings.ui.h:58 +#: Settings.ui.h:85 +msgid "Show favorite applications" +msgstr "显示收藏的应用程序" + +#: Settings.ui.h:86 msgid "Show Applications icon" -msgstr "显示 应用 图标" +msgstr "显示应用图标" -#: Settings.ui.h:59 +#: Settings.ui.h:87 msgid "Animate Show Applications." -msgstr "动画化 显示应用程序。" +msgstr "动画化显示应用程序。" -#: Settings.ui.h:60 +#: Settings.ui.h:88 msgid "Show Activities button" -msgstr "显示 活动 按钮" +msgstr "显示活动按钮" -#: Settings.ui.h:61 +#: Settings.ui.h:89 msgid "Show Desktop button" -msgstr "显示 桌面 按钮" +msgstr "显示桌面按钮" -#: Settings.ui.h:62 +#: Settings.ui.h:90 msgid "Show AppMenu button" -msgstr "显示 应用菜单 按钮" +msgstr "显示应用菜单按钮" -#: Settings.ui.h:63 +#: Settings.ui.h:91 msgid "Top Bar > Show App Menu must be enabled in Tweak Tool" msgstr "必须在优化工具中启用顶栏 > 显示应用菜单" -#: Settings.ui.h:64 +#: Settings.ui.h:92 msgid "Show window previews on hover" msgstr "悬停时显示窗口预览" -#: Settings.ui.h:65 -msgid "Time (ms) before showing (100 is default)" -msgstr "显示前的延时(毫秒,默认为 100)" - -#: Settings.ui.h:66 +#: Settings.ui.h:93 msgid "Isolate Workspaces" msgstr "隔离工作区" -#: Settings.ui.h:67 +#: Settings.ui.h:94 +msgid "Ungroup applications" +msgstr "取消应用程序分组" + +#: Settings.ui.h:95 msgid "Behaviour when clicking on the icon of a running application." msgstr "点击正在运行应用程序图标时的行为。" -#: Settings.ui.h:68 +#: Settings.ui.h:96 msgid "Click action" msgstr "点击行为" -#: Settings.ui.h:69 +#: Settings.ui.h:97 msgid "" "Enable Super+(0-9) as shortcuts to activate apps. It can also be used " "together with Shift and Ctrl." msgstr "" "将 Super+(0-9) 作为激活应用程序的快捷键。它也可以和 Shift 或 Ctrl 共同使用。" -#: Settings.ui.h:70 +#: Settings.ui.h:98 msgid "Use hotkeys to activate apps" msgstr "使用热键激活应用" -#: Settings.ui.h:71 +#: Settings.ui.h:99 msgid "Behavior" msgstr "行为" -#: Settings.ui.h:72 +#: Settings.ui.h:100 msgid "" "Tray Font Size\n" "(0 = theme default)" @@ -369,7 +505,7 @@ msgstr "" "托盘字体大小\n" "(0 = 主题默认)" -#: Settings.ui.h:74 +#: Settings.ui.h:102 msgid "" "LeftBox Font Size\n" "(0 = theme default)" @@ -377,7 +513,7 @@ msgstr "" "LeftBox 字体大小\n" "(0 = 主题默认)" -#: Settings.ui.h:76 +#: Settings.ui.h:104 msgid "" "Tray Item Padding\n" "(-1 = theme default)" @@ -385,7 +521,7 @@ msgstr "" "托盘项边缘空白\n" "(-1 = 主题默认)" -#: Settings.ui.h:78 +#: Settings.ui.h:106 msgid "" "Status Icon Padding\n" "(-1 = theme default)" @@ -393,7 +529,7 @@ msgstr "" "状态图标边缘空白\n" "(-1 = 主题默认)" -#: Settings.ui.h:80 +#: Settings.ui.h:108 msgid "" "LeftBox Padding\n" "(-1 = theme default)" @@ -401,31 +537,31 @@ msgstr "" "LeftBox 边缘空白\n" "(-1 = 主题默认)" -#: Settings.ui.h:82 +#: Settings.ui.h:110 msgid "Animate switching applications" msgstr "动画切换应用程序" -#: Settings.ui.h:83 +#: Settings.ui.h:111 msgid "Animate launching new windows" msgstr "动画启动新窗口" -#: Settings.ui.h:84 +#: Settings.ui.h:112 msgid "App icon secondary (right-click) menu" msgstr "应用图标次级(右键点击)菜单" -#: Settings.ui.h:86 +#: Settings.ui.h:114 msgid "Fine-Tune" msgstr "微调" -#: Settings.ui.h:87 +#: Settings.ui.h:115 msgid "version: " msgstr "版本:" -#: Settings.ui.h:88 +#: Settings.ui.h:116 msgid "Github" msgstr "Github" -#: Settings.ui.h:89 +#: Settings.ui.h:117 msgid "" "This program comes with ABSOLUTELY NO WARRANTY.\n" "See the GNU 通用公共许可证,第二版或更新版本 以了解详情。" -#: Settings.ui.h:91 +#: Settings.ui.h:119 msgid "About" msgstr "关于" diff --git a/prefs.js b/prefs.js index 2baeb4e..050f92e 100644 --- a/prefs.js +++ b/prefs.js @@ -20,6 +20,7 @@ * Some code was also adapted from the upstream Gnome Shell source code. */ +const GdkPixbuf = imports.gi.GdkPixbuf; const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; const GObject = imports.gi.GObject; @@ -408,12 +409,176 @@ const Settings = new Lang.Class({ })); + this._settings.bind('intellihide', + this._builder.get_object('intellihide_switch'), + 'active', + Gio.SettingsBindFlags.DEFAULT); + + this._settings.bind('intellihide', + this._builder.get_object('intellihide_options_button'), + 'sensitive', + Gio.SettingsBindFlags.DEFAULT); + + this._settings.bind('intellihide-hide-from-windows', + this._builder.get_object('intellihide_window_hide_switch'), + 'active', + Gio.SettingsBindFlags.DEFAULT); + + this._settings.bind('intellihide-hide-from-windows', + this._builder.get_object('intellihide_behaviour_options'), + 'sensitive', + Gio.SettingsBindFlags.DEFAULT); + + this._settings.bind('intellihide-behaviour', + this._builder.get_object('intellihide_behaviour_combo'), + 'active-id', + Gio.SettingsBindFlags.DEFAULT); + + this._settings.bind('intellihide-use-pressure', + this._builder.get_object('intellihide_use_pressure_switch'), + 'active', + Gio.SettingsBindFlags.DEFAULT); + + this._settings.bind('intellihide-use-pressure', + this._builder.get_object('intellihide_use_pressure_options'), + 'sensitive', + Gio.SettingsBindFlags.DEFAULT); + + this._settings.bind('intellihide-show-in-fullscreen', + this._builder.get_object('intellihide_show_in_fullscreen_switch'), + 'active', + Gio.SettingsBindFlags.DEFAULT); + + this._builder.get_object('intellihide_pressure_threshold_spinbutton').set_value(this._settings.get_int('intellihide-pressure-threshold')); + this._builder.get_object('intellihide_pressure_threshold_spinbutton').connect('value-changed', Lang.bind(this, function (widget) { + this._settings.set_int('intellihide-pressure-threshold', widget.get_value()); + })); + + this._builder.get_object('intellihide_pressure_time_spinbutton').set_value(this._settings.get_int('intellihide-pressure-time')); + this._builder.get_object('intellihide_pressure_time_spinbutton').connect('value-changed', Lang.bind(this, function (widget) { + this._settings.set_int('intellihide-pressure-time', widget.get_value()); + })); + + this._builder.get_object('intellihide_animation_time_spinbutton').set_value(this._settings.get_int('intellihide-animation-time')); + this._builder.get_object('intellihide_animation_time_spinbutton').connect('value-changed', Lang.bind (this, function(widget) { + this._settings.set_int('intellihide-animation-time', widget.get_value()); + })); + + this._builder.get_object('intellihide_close_delay_spinbutton').set_value(this._settings.get_int('intellihide-close-delay')); + this._builder.get_object('intellihide_close_delay_spinbutton').connect('value-changed', Lang.bind (this, function(widget) { + this._settings.set_int('intellihide-close-delay', widget.get_value()); + })); + + this._builder.get_object('intellihide_options_button').connect('clicked', Lang.bind(this, function() { + let dialog = new Gtk.Dialog({ title: _('Intellihide options'), + transient_for: this.widget.get_toplevel(), + use_header_bar: true, + modal: true }); + + // GTK+ leaves positive values for application-defined response ids. + // Use +1 for the reset action + dialog.add_button(_('Reset to defaults'), 1); + + let box = this._builder.get_object('box_intellihide_options'); + dialog.get_content_area().add(box); + + dialog.connect('response', Lang.bind(this, function(dialog, id) { + if (id == 1) { + // restore default settings + this._settings.set_value('intellihide-hide-from-windows', this._settings.get_default_value('intellihide-hide-from-windows')); + this._settings.set_value('intellihide-behaviour', this._settings.get_default_value('intellihide-behaviour')); + this._settings.set_value('intellihide-use-pressure', this._settings.get_default_value('intellihide-use-pressure')); + this._settings.set_value('intellihide-show-in-fullscreen', this._settings.get_default_value('intellihide-show-in-fullscreen')); + + this._settings.set_value('intellihide-pressure-threshold', this._settings.get_default_value('intellihide-pressure-threshold')); + this._builder.get_object('intellihide_pressure_threshold_spinbutton').set_value(this._settings.get_int('intellihide-pressure-threshold')); + + this._settings.set_value('intellihide-pressure-time', this._settings.get_default_value('intellihide-pressure-time')); + this._builder.get_object('intellihide_pressure_time_spinbutton').set_value(this._settings.get_int('intellihide-pressure-time')); + + this._settings.set_value('intellihide-animation-time', this._settings.get_default_value('intellihide-animation-time')); + this._builder.get_object('intellihide_animation_time_spinbutton').set_value(this._settings.get_int('intellihide-animation-time')); + + this._settings.set_value('intellihide-close-delay', this._settings.get_default_value('intellihide-close-delay')); + this._builder.get_object('intellihide_close_delay_spinbutton').set_value(this._settings.get_int('intellihide-close-delay')); + } else { + // remove the settings box so it doesn't get destroyed; + dialog.get_content_area().remove(box); + dialog.destroy(); + } + return; + })); + + dialog.show_all(); + + })); + // Behavior panel this._settings.bind('show-show-apps-button', this._builder.get_object('show_applications_button_switch'), 'active', Gio.SettingsBindFlags.DEFAULT); + + this._settings.bind('show-show-apps-button', + this._builder.get_object('show_application_options_button'), + 'sensitive', + Gio.SettingsBindFlags.DEFAULT); + + this._builder.get_object('show_application_options_button').connect('clicked', Lang.bind(this, function() { + let dialog = new Gtk.Dialog({ title: _('Show Applications options'), + transient_for: this.widget.get_toplevel(), + use_header_bar: true, + modal: true }); + + // GTK+ leaves positive values for application-defined response ids. + // Use +1 for the reset action + dialog.add_button(_('Reset to defaults'), 1); + + let box = this._builder.get_object('show_applications_options'); + dialog.get_content_area().add(box); + + let fileChooser = this._builder.get_object('show_applications_icon_file_filebutton'); + let fileImage = this._builder.get_object('show_applications_current_icon_image'); + let fileFilter = new Gtk.FileFilter(); + let handleIconChange = function(newIconPath) { + if (newIconPath && GLib.file_test(newIconPath, GLib.FileTest.EXISTS)) { + let file = Gio.File.new_for_path(newIconPath) + let pixbuf = GdkPixbuf.Pixbuf.new_from_stream_at_scale(file.read(null), 32, 32, true, null); + + fileImage.set_from_pixbuf(pixbuf); + fileChooser.set_filename(newIconPath); + } else { + newIconPath = ''; + fileImage.set_from_icon_name('view-app-grid-symbolic', 32); + fileChooser.unselect_all(); + fileChooser.set_current_folder(GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_PICTURES)); + } + + this._settings.set_string('show-apps-icon-file', newIconPath || ''); + }; + + fileFilter.add_pixbuf_formats(); + fileChooser.filter = fileFilter; + + fileChooser.connect('file-set', widget => handleIconChange.call(this, widget.get_filename())); + handleIconChange.call(this, this._settings.get_string('show-apps-icon-file')); + + dialog.connect('response', Lang.bind(this, function(dialog, id) { + if (id == 1) { + // restore default settings + handleIconChange.call(this, null); + } else { + // remove the settings box so it doesn't get destroyed; + dialog.get_content_area().remove(box); + dialog.destroy(); + } + return; + })); + + dialog.show_all(); + })); + this._settings.bind('animate-show-apps', this._builder.get_object('application_button_animation_button'), 'active', @@ -446,7 +611,7 @@ const Settings = new Lang.Class({ // Use +1 for the reset action dialog.add_button(_('Reset to defaults'), 1); - let box = this._builder.get_object('show_showdesktop_options'); + let box = this._builder.get_object('box_show_showdesktop_options'); dialog.get_content_area().add(box); this._builder.get_object('show_showdesktop_width_spinbutton').set_value(this._settings.get_int('showdesktop-button-width')); @@ -510,6 +675,10 @@ const Settings = new Lang.Class({ this._builder.get_object('peek_mode_switch'), 'active', Gio.SettingsBindFlags.DEFAULT); + this._settings.bind('window-preview-show-title', + this._builder.get_object('preview_show_title_switch'), + 'active', + Gio.SettingsBindFlags.DEFAULT); this._settings.bind('peek-mode', this._builder.get_object('listboxrow_enter_peek_mode_timeout'), 'sensitive', @@ -535,6 +704,21 @@ const Settings = new Lang.Class({ this._settings.set_int('peek-mode-opacity', widget.get_value()); })); + this._builder.get_object('preview_width_spinbutton').set_value(this._settings.get_int('window-preview-width')); + this._builder.get_object('preview_width_spinbutton').connect('value-changed', Lang.bind (this, function(widget) { + this._settings.set_int('window-preview-width', widget.get_value()); + })); + + this._builder.get_object('preview_height_spinbutton').set_value(this._settings.get_int('window-preview-height')); + this._builder.get_object('preview_height_spinbutton').connect('value-changed', Lang.bind (this, function(widget) { + this._settings.set_int('window-preview-height', widget.get_value()); + })); + + this._builder.get_object('preview_padding_spinbutton').set_value(this._settings.get_int('window-preview-padding')); + this._builder.get_object('preview_padding_spinbutton').connect('value-changed', Lang.bind (this, function(widget) { + this._settings.set_int('window-preview-padding', widget.get_value()); + })); + dialog.connect('response', Lang.bind(this, function(dialog, id) { if (id == 1) { // restore default settings @@ -542,10 +726,21 @@ const Settings = new Lang.Class({ this._builder.get_object('preview_timeout_spinbutton').set_value(this._settings.get_int('show-window-previews-timeout')); this._settings.set_value('peek-mode', this._settings.get_default_value('peek-mode')); + this._settings.set_value('window-preview-show-title', this._settings.get_default_value('window-preview-show-title')); this._settings.set_value('enter-peek-mode-timeout', this._settings.get_default_value('enter-peek-mode-timeout')); this._builder.get_object('enter_peek_mode_timeout_spinbutton').set_value(this._settings.get_int('enter-peek-mode-timeout')); this._settings.set_value('peek-mode-opacity', this._settings.get_default_value('peek-mode-opacity')); this._builder.get_object('peek_mode_opacity_spinbutton').set_value(this._settings.get_int('peek-mode-opacity')); + + this._settings.set_value('window-preview-width', this._settings.get_default_value('window-preview-width')); + this._builder.get_object('preview_width_spinbutton').set_value(this._settings.get_int('window-preview-width')); + + this._settings.set_value('window-preview-height', this._settings.get_default_value('window-preview-height')); + this._builder.get_object('preview_height_spinbutton').set_value(this._settings.get_int('window-preview-height')); + + this._settings.set_value('window-preview-padding', this._settings.get_default_value('window-preview-padding')); + this._builder.get_object('preview_padding_spinbutton').set_value(this._settings.get_int('window-preview-padding')); + this._settings.set_value('preview-middle-click-close', this._settings.get_default_value('preview-middle-click-close')); } else { diff --git a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml index 1da7af2..ded9478 100644 --- a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml +++ b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml @@ -46,6 +46,11 @@ + + + + + 'BOTTOM' @@ -152,11 +157,61 @@ Position of the taskbar Set the position of the taskbar on the panel + + false + Intellihide + Whether to intelligently hide the panel + + + false + Only hide from windows + Dictates if the dash should only hide when in conflict with windows + + + 'FOCUSED_WINDOWS' + Intellihide behaviour + Dictates how to intelligently hide the panel + + + false + Intellihide pressure + To reveal the panel, pressure needs to be applied to the edege of the screen + + + 100 + Intellihide pressure threshold + The pressure needed to reveal the panel + + + 1000 + Intellihide pressure time + The numer of milliseconds that the pressure needs to be applied to reveal the panel + + + false + Intellihide pressure + Allow the panel to be revealed while an application is in fullscreen mode + + + 200 + Intellihide animation time + The animation time (ms) to hide and reveal the panel + + + 400 + Intellihide close delay + The delay (ms) before hiding the panel + true Show applications button Show appplications button in the dash + + "" + Custom Show Applications icon + Customize the Show Applications icon + true Animate Show Applications from the desktop @@ -202,6 +257,26 @@ Enable peek mode Peek a window upon hover for some time + + true + Display title in preview + Display window title in preview + + + 350 + Window previews width + The width of the window previews + + + 200 + Window previews height + The height of the window previews + + + 20 + Window previews padding + The padding of the window previews + false Provide workspace isolation diff --git a/stylesheet.css b/stylesheet.css index a8af2da..762ec06 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -65,7 +65,7 @@ } #dashtopanelThumbnailList .popup-menu-item { - padding: 1em; + padding: 0; border-radius: 5px; spacing: 0; } diff --git a/taskbar.js b/taskbar.js index bc38f44..89f6c70 100644 --- a/taskbar.js +++ b/taskbar.js @@ -240,9 +240,6 @@ var taskbar = new Lang.Class({ y_align: St.Align.START, x_align:rtl?St.Align.END:St.Align.START }); - Main.panel.actor.connect('notify::height', Lang.bind(this, this._queueRedisplay)); - Main.panel.actor.connect('notify::width', Lang.bind(this, this._queueRedisplay)); - // Update minimization animation target position on allocation of the // container and on scrollview change. this._box.connect('notify::allocation', Lang.bind(this, this._updateAppIconsGeometry)); @@ -256,6 +253,16 @@ var taskbar = new Lang.Class({ this._appSystem = Shell.AppSystem.get_default(); this._signalsHandler.add( + [ + Main.panel.actor, + 'notify::height', + () => this._queueRedisplay() + ], + [ + Main.panel.actor, + 'notify::width', + () => this._queueRedisplay() + ], [ this._appSystem, 'installed-changed', @@ -274,11 +281,6 @@ var taskbar = new Lang.Class({ 'switch-workspace', () => this._connectWorkspaceSignals() ], - [ - this._appSystem, - 'app-state-changed', - Lang.bind(this, this._queueRedisplay) - ], [ Main.overview, 'item-drag-begin', @@ -318,6 +320,7 @@ var taskbar = new Lang.Class({ this._signalsHandler.destroy(); this._signalsHandler = 0; + this._container.destroy(); this._disconnectWorkspaceSignals(); }, @@ -459,12 +462,10 @@ var taskbar = new Lang.Class({ _connectWorkspaceSignals: function() { this._disconnectWorkspaceSignals(); - if (!this.isGroupApps) { - this._lastWorkspace = global.screen.get_active_workspace(); + this._lastWorkspace = global.screen.get_active_workspace(); - this._workspaceWindowAddedId = this._lastWorkspace.connect('window-added', () => this._queueRedisplay()); - this._workspaceWindowRemovedId = this._lastWorkspace.connect('window-removed', () => this._queueRedisplay()); - } + this._workspaceWindowAddedId = this._lastWorkspace.connect('window-added', () => this._queueRedisplay()); + this._workspaceWindowRemovedId = this._lastWorkspace.connect('window-removed', () => this._queueRedisplay()); }, _disconnectWorkspaceSignals: function() { @@ -600,18 +601,18 @@ var taskbar = new Lang.Class({ // icons (i.e. ignoring drag placeholders) and which are not // animating out (which means they will be destroyed at the end of // the animation) - let iconChildren = this._box.get_children().filter(function(actor) { + return this._getTaskbarIcons().map(function(actor){ + return actor.child._delegate; + }); + }, + + _getTaskbarIcons: function() { + return this._box.get_children().filter(function(actor) { return actor.child && actor.child._delegate && actor.child._delegate.icon && !actor.animatingOut; }); - - let appIcons = iconChildren.map(function(actor){ - return actor.child._delegate; - }); - - return appIcons; }, _updateAppIconsGeometry: function() { @@ -680,12 +681,7 @@ var taskbar = new Lang.Class({ // icons (i.e. ignoring drag placeholders) and which are not // animating out (which means they will be destroyed at the end of // the animation) - let iconChildren = this._box.get_children().filter(function(actor) { - return actor.child && - actor.child._delegate && - actor.child._delegate.icon && - !actor.animatingOut; - }); + let iconChildren = this._getTaskbarIcons(); iconChildren.push(this._showAppsIcon); @@ -755,15 +751,10 @@ var taskbar = new Lang.Class({ if (!this._signalsHandler) { return; } - + let showFavorites = this._dtpSettings.get_boolean('show-favorites'); //get the currently displayed appIcons - let currentAppIcons = this._box.get_children().filter(function(actor) { - return actor.child && - actor.child._delegate && - actor.child._delegate.app && - !actor.animatingOut; - }); + let currentAppIcons = this._getTaskbarIcons(); //get the user's favorite apps let favoriteAppsMap = showFavorites ? AppFavorites.getAppFavorites().getFavoriteMap() : {}; let favoriteApps = Object.keys(favoriteAppsMap).map(appId => favoriteAppsMap[appId]); diff --git a/windowPreview.js b/windowPreview.js index 0e8e3ba..81f1914 100644 --- a/windowPreview.js +++ b/windowPreview.js @@ -44,8 +44,11 @@ const Taskbar = Me.imports.taskbar; const Convenience = Me.imports.convenience; const AppIcons = Me.imports.appIcons; -let DEFAULT_THUMBNAIL_WIDTH = 350; -let DEFAULT_THUMBNAIL_HEIGHT = 200; +let HOVER_APP_BLACKLIST = [ + "Oracle VM VirtualBox", + "Virtual Machine Manager", + "Remmina" + ] var thumbnailPreviewMenu = new Lang.Class({ Name: 'DashToPanel.ThumbnailPreviewMenu', @@ -194,14 +197,23 @@ var thumbnailPreviewMenu = new Lang.Class({ this._hoverCloseTimeoutId = null; } }, + + _appInHoverBlacklist: function (appName) { + for (let i = 0; i < HOVER_APP_BLACKLIST.length; i++) { + if (appName === HOVER_APP_BLACKLIST[i]) + return true; + } + + return false; + }, hoverOpen: function () { this._hoverOpenTimeoutId = null; if (!this.isOpen && this._dtpSettings.get_boolean("show-window-previews")) { this.popup(); let focusedApp = Shell.WindowTracker.get_default().focus_app; - if (focusedApp && (focusedApp.get_name() === "Oracle VM VirtualBox" || focusedApp.get_name() === "Virtual Machine Manager")) { - this.actor.grab_key_focus(); + if (focusedApp && this._appInHoverBlacklist(focusedApp.get_name())) { + this.actor.grab_key_focus(); } } }, @@ -212,6 +224,9 @@ var thumbnailPreviewMenu = new Lang.Class({ }, destroy: function () { + this.cancelClose(); + this.cancelOpen(); + if (this._mappedId) this._source.actor.disconnect(this._mappedId); @@ -489,15 +504,16 @@ var thumbnailPreview = new Lang.Class({ Name: 'DashToPanel.ThumbnailPreview', Extends: PopupMenu.PopupBaseMenuItem, - _init: function(window) { + _init: function(window, settings) { + this._dtpSettings = settings; this.window = window; let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor; if(!scaleFactor) scaleFactor = 1; - this._thumbnailWidth = DEFAULT_THUMBNAIL_WIDTH*scaleFactor; - this._thumbnailHeight = DEFAULT_THUMBNAIL_HEIGHT*scaleFactor; + this._thumbnailWidth = this._dtpSettings.get_int('window-preview-width')*scaleFactor; + this._thumbnailHeight = this._dtpSettings.get_int('window-preview-height')*scaleFactor; this.parent({reactive: true}); this._workId = Main.initializeDeferredWork(this.actor, Lang.bind(this, this._onResize)); @@ -509,6 +525,8 @@ var thumbnailPreview = new Lang.Class({ this.actor.remove_child(this._ornamentLabel); this.actor._delegate = this; + this.actor.set_style('padding: ' + this._dtpSettings.get_int('window-preview-padding') + 'px;'); + this.animatingOut = false; this._windowBox = new St.BoxLayout({ style_class: 'window-box', @@ -527,28 +545,35 @@ var thumbnailPreview = new Lang.Class({ this.overlayGroup.add_actor(this._previewBin); this.overlayGroup.add_actor(this._closeButton); - this._title = new St.Label({ text: window.title }); - this._titleBin = new St.Bin({ child: this._title, - x_align: St.Align.MIDDLE, - width: this._thumbnailWidth - }); - this._titleBin.add_style_class_name("preview-window-title"); + this._titleNotifyId = 0; - this._titleNotifyId = this.window.connect('notify::title', Lang.bind(this, function() { - this._title.set_text(this.window.title); - })); - - this._windowBin = new St.Bin({ child: this.overlayGroup, - x_align: St.Align.MIDDLE, - width: this._thumbnailWidth, - height: this._thumbnailHeight - }); + this._windowBin = new St.Bin({ + child: this.overlayGroup, + x_align: St.Align.MIDDLE, + width: this._thumbnailWidth, + height: this._thumbnailHeight + }); this._windowBox.add_child(this._windowBin); + if (this._dtpSettings.get_boolean('window-preview-show-title')) { + this._title = new St.Label({ text: window.title }); + this._titleBin = new St.Bin({ child: this._title, + x_align: St.Align.MIDDLE, + width: this._thumbnailWidth + }); + this._titleBin.add_style_class_name("preview-window-title"); + + this._windowBox.add_child(this._titleBin); + + this._titleNotifyId = this.window.connect('notify::title', Lang.bind(this, function() { + this._title.set_text(this.window.title); + })); + } + if (this.preview) this._previewBin.set_child(this.preview); - this._windowBox.add_child(this._titleBin); + this.actor.add_child(this._windowBox); this._queueRepositionCloseButton(); @@ -562,8 +587,6 @@ var thumbnailPreview = new Lang.Class({ Lang.bind(this, this._onLeave)); this.actor.connect('motion-event', Lang.bind(this, this._onMotionEvent)); - this.actor.connect('destroy', - Lang.bind(this, this._onDestroy)); this._previewMenuPopupManager = new previewMenuPopupManager(window, this.actor); }, @@ -668,11 +691,8 @@ var thumbnailPreview = new Lang.Class({ height: height * this.scale }); this._resizeId = mutterWindow.meta_window.connect('size-changed', Lang.bind(this, this._queueResize)); - this._destroyId = mutterWindow.connect('destroy', Lang.bind(this, function() { - thumbnail.destroy(); - this._destroyId = 0; - this.animateOutAndDestroy(); - })); + + this._destroyId = mutterWindow.connect('destroy', () => this.animateOutAndDestroy()); } return thumbnail; @@ -747,17 +767,19 @@ var thumbnailPreview = new Lang.Class({ }, animateOutAndDestroy: function() { - this.animatingOut = true; - this._hideCloseButton(); - Tweener.addTween(this.actor, - { width: 0, - opacity: 0, - time: Taskbar.DASH_ANIMATION_TIME, - transition: 'easeOutQuad', - onComplete: Lang.bind(this, function() { - this.destroy(); - }) - }); + if (!this.animatingOut) { + this.animatingOut = true; + this._hideCloseButton(); + Tweener.addTween(this.actor, + { width: 0, + opacity: 0, + time: Taskbar.DASH_ANIMATION_TIME, + transition: 'easeOutQuad', + onComplete: Lang.bind(this, function() { + this.destroy(); + }) + }); + } }, activate: function() { @@ -801,7 +823,7 @@ var thumbnailPreview = new Lang.Class({ break; case 2: // Middle click - if (this._getTopMenu()._dtpSettings.get_boolean('preview-middle-click-close')) { + if (this._dtpSettings.get_boolean('preview-middle-click-close')) { this._closeWindow(); } break; @@ -823,19 +845,25 @@ var thumbnailPreview = new Lang.Class({ }); }, - _onDestroy: function() { + destroy: function() { if (this._titleNotifyId) { this.window.disconnect(this._titleNotifyId); this._titleNotifyId = 0; } - - if(this._resizeId) { - let mutterWindow = this.window.get_compositor_private(); - if (mutterWindow) { + + let mutterWindow = this.window.get_compositor_private(); + + if (mutterWindow) { + if(this._resizeId) { mutterWindow.meta_window.disconnect(this._resizeId); - this._resizeId = 0; + } + + if(this._destroyId) { + mutterWindow.disconnect(this._destroyId); } } + + this.parent(); } }); @@ -871,7 +899,12 @@ var thumbnailPreviewList = new Lang.Class({ this._scrollbarId = Main.initializeDeferredWork(this.actor, Lang.bind(this, this._showHideScrollbar)); this.actor.connect('destroy', Lang.bind(this, this._onDestroy)); - + + this._dtpSettings.connect('changed::window-preview-width', () => this._resetPreviews()); + this._dtpSettings.connect('changed::window-preview-height', () => this._resetPreviews()); + this._dtpSettings.connect('changed::window-preview-show-title', () => this._resetPreviews()); + this._dtpSettings.connect('changed::window-preview-padding', () => this._resetPreviews()); + this._stateChangedId = this.window ? 0 : this.app.connect('windows-changed', Lang.bind(this, this._queueRedisplay)); }, @@ -968,8 +1001,7 @@ var thumbnailPreviewList = new Lang.Class({ }, _createPreviewItem: function(window) { - let preview = new thumbnailPreview(window); - + let preview = new thumbnailPreview(window, this._dtpSettings); preview.actor.connect('notify::hover', Lang.bind(this, function() { if (preview.actor.hover){ @@ -995,12 +1027,31 @@ var thumbnailPreviewList = new Lang.Class({ return preview; }, + _resetPreviews: function() { + let previews = this._getPreviews(); + let l = previews.length; + + if (l > 0) { + for (let i = 0; i < l; ++i) { + previews[i]._delegate.animateOutAndDestroy(); + } + + this._queueRedisplay(); + } + }, + + _getPreviews: function() { + return this.box.get_children().filter(function(actor) { + return actor._delegate.window && + actor._delegate.preview && + !actor._delegate.animatingOut; + }); + }, + _redisplay: function () { let windows = this.window ? [this.window] : AppIcons.getInterestingWindows(this.app, this._dtpSettings).sort(this.sortWindowsCompareFunction); - let children = this.box.get_children().filter(function(actor) { - return actor._delegate.window && actor._delegate.preview; - }); + let children = this._getPreviews(); // Apps currently in the taskbar let oldWin = children.map(function(actor) { return actor._delegate.window;