From 63615cb657f02136cc401a8c07b56d69eba61f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 12 Aug 2019 17:13:43 +0200 Subject: [PATCH 01/31] cleanup: Use inheritance for Actor classes instead of composition Use GObject types when inheriting from native actor classes. Related to https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/559 https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/89 --- extensions/window-list/extension.js | 4 +-- extensions/window-list/windowPicker.js | 22 +++++++------- extensions/windowsNavigator/extension.js | 38 ++++++++++++++---------- 3 files changed, 36 insertions(+), 28 deletions(-) diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index 65215523..7223ef28 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -923,11 +923,11 @@ const WindowList = GObject.registerClass({ } _updateKeyboardAnchor() { - if (!Main.keyboard.actor) + if (!Main.keyboard.keyboardActor) return; let translationY = Main.overview.visible ? 0 : this.height; - Main.keyboard.actor.translation_y = -translationY; + Main.keyboard.keyboardActor.translation_y = -translationY; } _onAppStateChanged(appSys, app) { diff --git a/extensions/window-list/windowPicker.js b/extensions/window-list/windowPicker.js index 5a26bd26..0e44fd56 100644 --- a/extensions/window-list/windowPicker.js +++ b/extensions/window-list/windowPicker.js @@ -6,18 +6,18 @@ const Main = imports.ui.main; const Overview = imports.ui.overview; const { WorkspacesDisplay } = imports.ui.workspacesView; -let MyWorkspacesDisplay = class extends WorkspacesDisplay { - constructor() { - super(); +let MyWorkspacesDisplay = GObject.registerClass({ + GTypeName: 'WindowList_MyWorkspacesDisplay' +}, class MyWorkspacesDisplay extends WorkspacesDisplay { + _init() { + super._init(); - this.actor.add_constraint( + this.add_constraint( new Layout.MonitorConstraint({ primary: true, work_area: true, })); - this.actor.connect('destroy', this._onDestroy.bind(this)); - this._workareasChangedId = global.display.connect('workareas-changed', this._onWorkAreasChanged.bind(this)); this._onWorkAreasChanged(); @@ -50,8 +50,8 @@ let MyWorkspacesDisplay = class extends WorkspacesDisplay { super._updateWorkspacesViews(); this._workspacesViews.forEach(v => { - Main.layoutManager.overviewGroup.remove_actor(v.actor); - Main.windowPicker.add_actor(v.actor); + Main.layoutManager.overviewGroup.remove_actor(v); + Main.windowPicker.add_actor(v); }); } @@ -59,8 +59,10 @@ let MyWorkspacesDisplay = class extends WorkspacesDisplay { if (this._workareasChangedId) global.display.disconnect(this._workareasChangedId); this._workareasChangedId = 0; + + super._onDestroy(); } -}; +}); var WindowPicker = GObject.registerClass({ GTypeName: 'WindowListWindowPicker', @@ -98,7 +100,7 @@ var WindowPicker = GObject.registerClass({ Main.overview.addAction = a => this._backgroundGroup.add_action(a); this._workspacesDisplay = new MyWorkspacesDisplay(); - this.add_child(this._workspacesDisplay.actor); + this.add_child(this._workspacesDisplay); Main.overview.addAction = addActionOrig; diff --git a/extensions/windowsNavigator/extension.js b/extensions/windowsNavigator/extension.js index 99a2d5d3..d927b675 100644 --- a/extensions/windowsNavigator/extension.js +++ b/extensions/windowsNavigator/extension.js @@ -6,9 +6,11 @@ const Main = imports.ui.main; const Workspace = imports.ui.workspace; const WorkspacesView = imports.ui.workspacesView; -var MyWindowOverlay = class extends Workspace.WindowOverlay { - constructor(windowClone, parentActor) { - super(windowClone, parentActor); +var MyWindowOverlay = GObject.registerClass({ + GTypeName: 'WindowsNavigator_MyWindowOverlay' +}, class MyWindowOverlay extends Workspace.WindowOverlay { + _init(windowClone, parentActor) { + super._init(windowClone, parentActor); this._id = null; this._text = new St.Label({ @@ -39,21 +41,23 @@ var MyWindowOverlay = class extends Workspace.WindowOverlay { this._text.set_position(Math.floor(textX) + 5, Math.floor(textY) + 5); this._text.raise_top(); } -}; +}); -var MyWorkspace = class extends Workspace.Workspace { - constructor(metaWorkspace, monitorIndex) { - super(metaWorkspace, monitorIndex); +var MyWorkspace = GObject.registerClass({ + GTypeName: 'WindowsNavigator_MyWorkspace' +}, class MyWorkspace extends Workspace.Workspace { + _init(metaWorkspace, monitorIndex) { + super._init(metaWorkspace, monitorIndex); if (metaWorkspace && metaWorkspace.index() < 9) { this._tip = new St.Label({ style_class: 'extension-windowsNavigator-window-tooltip', visible: false, }); - this.actor.add_actor(this._tip); + this.add_actor(this._tip); - this.actor.connect('notify::scale-x', () => { - this._tip.set_scale(1 / this.actor.scale_x, 1 / this.actor.scale_x); + this.connect('notify::scale-x', () => { + this._tip.set_scale(1 / this.scale_x, 1 / this.scale_x); }); } else { this._tip = null; @@ -67,7 +71,7 @@ var MyWorkspace = class extends Workspace.Workspace { // Hand code this instead of using _getSpacingAndPadding // because that fails on empty workspaces - let node = this.actor.get_theme_node(); + let node = this.get_theme_node(); let padding = { left: node.get_padding(St.Side.LEFT), top: node.get_padding(St.Side.TOP), @@ -111,11 +115,13 @@ var MyWorkspace = class extends Workspace.Workspace { this._windowOverlays[i].hideTooltip(); } } -}; +}); -var MyWorkspacesView = class extends WorkspacesView.WorkspacesView { - constructor(width, height, x, y, workspaces) { - super(width, height, x, y, workspaces); +var MyWorkspacesView = GObject.registerClass({ + GTypeName: 'WindowsNavigator_MyWorkspacesView' +}, class MyWorkspacesView extends WorkspacesView.WorkspacesView { + _init(width, height, x, y, workspaces) { + super._init(width, height, x, y, workspaces); this._pickWorkspace = false; this._pickWindow = false; @@ -238,7 +244,7 @@ var MyWorkspacesView = class extends WorkspacesView.WorkspacesView { } return false; } -}; +}); class Extension { constructor() { From 30ad3d670f2d50649caa69d7c56153182b45ff8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 21 Nov 2019 22:11:17 +0100 Subject: [PATCH 02/31] extensions: Stop setting GTypeName The type name generated by gjs now includes the filename, so we don't have to set it ourselves to make sure it's unique. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/95 --- extensions/auto-move-windows/prefs.js | 5 ++--- extensions/window-list/extension.js | 21 ++++++++------------ extensions/window-list/windowPicker.js | 6 ++---- extensions/window-list/workspaceIndicator.js | 15 ++++++-------- extensions/windowsNavigator/extension.js | 15 ++++++-------- extensions/workspace-indicator/extension.js | 10 ++++------ 6 files changed, 28 insertions(+), 44 deletions(-) diff --git a/extensions/auto-move-windows/prefs.js b/extensions/auto-move-windows/prefs.js index eed46be3..84f98ae0 100644 --- a/extensions/auto-move-windows/prefs.js +++ b/extensions/auto-move-windows/prefs.js @@ -22,9 +22,8 @@ const Columns = { ADJUSTMENT: 4, }; -const Widget = GObject.registerClass({ - GTypeName: 'AutoMoveWindowsPrefsWidget', -}, class Widget extends Gtk.Grid { +const Widget = GObject.registerClass( +class Widget extends Gtk.Grid { _init(params) { super._init(params); this.set_orientation(Gtk.Orientation.VERTICAL); diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index 7223ef28..b36c9e80 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -132,9 +132,8 @@ class WindowContextMenu extends PopupMenu.PopupMenu { } } -const WindowTitle = GObject.registerClass({ - GTypeName: 'WindowListWindowTitle', -}, class WindowTitle extends St.BoxLayout { +const WindowTitle = GObject.registerClass( +class WindowTitle extends St.BoxLayout { _init(metaWindow) { this._metaWindow = metaWindow; @@ -205,7 +204,6 @@ const WindowTitle = GObject.registerClass({ const BaseButton = GObject.registerClass({ - GTypeName: 'WindowListBaseButton', GTypeFlags: GObject.TypeFlags.ABSTRACT, Properties: { 'ignore-workspace': GObject.ParamSpec.boolean( @@ -348,9 +346,8 @@ const BaseButton = GObject.registerClass({ }); -const WindowButton = GObject.registerClass({ - GTypeName: 'WindowListWindowButton', -}, class WindowButton extends BaseButton { +const WindowButton = GObject.registerClass( +class WindowButton extends BaseButton { _init(metaWindow, perMonitor, monitorIndex) { super._init(perMonitor, monitorIndex); @@ -480,9 +477,8 @@ class AppContextMenu extends PopupMenu.PopupMenu { } } -const AppButton = GObject.registerClass({ - GTypeName: 'WindowListAppButton', -}, class AppButton extends BaseButton { +const AppButton = GObject.registerClass( +class AppButton extends BaseButton { _init(app, perMonitor, monitorIndex) { super._init(perMonitor, monitorIndex); @@ -672,9 +668,8 @@ const AppButton = GObject.registerClass({ }); -const WindowList = GObject.registerClass({ - GTypeName: 'WindowListWindowList', -}, class WindowList extends St.Widget { +const WindowList = GObject.registerClass( +class WindowList extends St.Widget { _init(perMonitor, monitor) { this._perMonitor = perMonitor; this._monitor = monitor; diff --git a/extensions/window-list/windowPicker.js b/extensions/window-list/windowPicker.js index 0e44fd56..0e3a59f5 100644 --- a/extensions/window-list/windowPicker.js +++ b/extensions/window-list/windowPicker.js @@ -6,9 +6,8 @@ const Main = imports.ui.main; const Overview = imports.ui.overview; const { WorkspacesDisplay } = imports.ui.workspacesView; -let MyWorkspacesDisplay = GObject.registerClass({ - GTypeName: 'WindowList_MyWorkspacesDisplay' -}, class MyWorkspacesDisplay extends WorkspacesDisplay { +let MyWorkspacesDisplay = GObject.registerClass( +class MyWorkspacesDisplay extends WorkspacesDisplay { _init() { super._init(); @@ -65,7 +64,6 @@ let MyWorkspacesDisplay = GObject.registerClass({ }); var WindowPicker = GObject.registerClass({ - GTypeName: 'WindowListWindowPicker', Signals: { 'open-state-changed': { param_types: [GObject.TYPE_BOOLEAN] }, }, diff --git a/extensions/window-list/workspaceIndicator.js b/extensions/window-list/workspaceIndicator.js index b5cb8e32..8b4688db 100644 --- a/extensions/window-list/workspaceIndicator.js +++ b/extensions/window-list/workspaceIndicator.js @@ -9,9 +9,8 @@ const PopupMenu = imports.ui.popupMenu; const Gettext = imports.gettext.domain('gnome-shell-extensions'); const _ = Gettext.gettext; -let WindowPreview = GObject.registerClass({ - GTypeName: 'WindowListWindowPreview', -}, class WindowPreview extends St.Button { +let WindowPreview = GObject.registerClass( +class WindowPreview extends St.Button { _init(window) { super._init({ style_class: 'window-list-window-preview', @@ -97,9 +96,8 @@ let WindowPreview = GObject.registerClass({ } }); -let WorkspaceThumbnail = GObject.registerClass({ - GTypeName: 'WindowListWorkspaceThumbnail', -}, class WorkspaceThumbnail extends St.Button { +let WorkspaceThumbnail = GObject.registerClass( +class WorkspaceThumbnail extends St.Button { _init(index) { super._init({ style_class: 'workspace', @@ -204,9 +202,8 @@ let WorkspaceThumbnail = GObject.registerClass({ } }); -var WorkspaceIndicator = GObject.registerClass({ - GTypeName: 'WindowListWorkspaceIndicator', -}, class WorkspaceIndicator extends PanelMenu.Button { +var WorkspaceIndicator = GObject.registerClass( +class WorkspaceIndicator extends PanelMenu.Button { _init() { super._init(0.0, _('Workspace Indicator'), true); this.setMenu(new PopupMenu.PopupMenu(this, 0.0, St.Side.BOTTOM)); diff --git a/extensions/windowsNavigator/extension.js b/extensions/windowsNavigator/extension.js index d927b675..8ec94371 100644 --- a/extensions/windowsNavigator/extension.js +++ b/extensions/windowsNavigator/extension.js @@ -6,9 +6,8 @@ const Main = imports.ui.main; const Workspace = imports.ui.workspace; const WorkspacesView = imports.ui.workspacesView; -var MyWindowOverlay = GObject.registerClass({ - GTypeName: 'WindowsNavigator_MyWindowOverlay' -}, class MyWindowOverlay extends Workspace.WindowOverlay { +var MyWindowOverlay = GObject.registerClass( +class MyWindowOverlay extends Workspace.WindowOverlay { _init(windowClone, parentActor) { super._init(windowClone, parentActor); @@ -43,9 +42,8 @@ var MyWindowOverlay = GObject.registerClass({ } }); -var MyWorkspace = GObject.registerClass({ - GTypeName: 'WindowsNavigator_MyWorkspace' -}, class MyWorkspace extends Workspace.Workspace { +var MyWorkspace = GObject.registerClass( +class MyWorkspace extends Workspace.Workspace { _init(metaWorkspace, monitorIndex) { super._init(metaWorkspace, monitorIndex); @@ -117,9 +115,8 @@ var MyWorkspace = GObject.registerClass({ } }); -var MyWorkspacesView = GObject.registerClass({ - GTypeName: 'WindowsNavigator_MyWorkspacesView' -}, class MyWorkspacesView extends WorkspacesView.WorkspacesView { +var MyWorkspacesView = GObject.registerClass( +class MyWorkspacesView extends WorkspacesView.WorkspacesView { _init(width, height, x, y, workspaces) { super._init(width, height, x, y, workspaces); diff --git a/extensions/workspace-indicator/extension.js b/extensions/workspace-indicator/extension.js index 6ed57762..3b202c27 100644 --- a/extensions/workspace-indicator/extension.js +++ b/extensions/workspace-indicator/extension.js @@ -15,9 +15,8 @@ const _ = Gettext.gettext; const WORKSPACE_SCHEMA = 'org.gnome.desktop.wm.preferences'; const WORKSPACE_KEY = 'workspace-names'; -let WindowPreview = GObject.registerClass({ - GTypeName: 'WorkspaceIndicatorWindowPreview', -}, class WindowPreview extends St.Button { +let WindowPreview = GObject.registerClass( +class WindowPreview extends St.Button { _init(window) { super._init({ style_class: 'workspace-indicator-window-preview', @@ -103,9 +102,8 @@ let WindowPreview = GObject.registerClass({ } }); -let WorkspaceThumbnail = GObject.registerClass({ - GTypeName: 'WorkspaceIndicatorWorkspaceThumbnail', -}, class WorkspaceThumbnail extends St.Button { +let WorkspaceThumbnail = GObject.registerClass( +class WorkspaceThumbnail extends St.Button { _init(index) { super._init({ style_class: 'workspace', From a904d51cf73ef167edd88991085fe0fdf8b746f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 21 Nov 2019 21:53:44 +0100 Subject: [PATCH 03/31] window-list: Fix faking overview The public overview properties are now read-only, so switch to the private properties which back them to fake the overview visibility. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/96 --- extensions/window-list/windowPicker.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/window-list/windowPicker.js b/extensions/window-list/windowPicker.js index 0e3a59f5..b1533dac 100644 --- a/extensions/window-list/windowPicker.js +++ b/extensions/window-list/windowPicker.js @@ -174,12 +174,12 @@ var WindowPicker = GObject.registerClass({ } _fakeOverviewAnimation(onComplete) { - Main.overview.animationInProgress = true; + Main.overview._animationInProgress = true; GLib.timeout_add( GLib.PRIORITY_DEFAULT, Overview.ANIMATION_TIME, () => { - Main.overview.animationInProgress = false; + Main.overview._animationInProgress = false; if (onComplete) onComplete(); }); @@ -187,7 +187,7 @@ var WindowPicker = GObject.registerClass({ _fakeOverviewVisible(visible) { // Fake overview state for WorkspacesDisplay - Main.overview.visible = visible; + Main.overview._visible = visible; // Hide real windows Main.layoutManager._inOverview = visible; From f3acb27d613b79f2504843f776ac3ed5eb8fe8d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 6 Sep 2019 20:41:23 +0200 Subject: [PATCH 04/31] window-list: Exclude DESKTOP windows from window previews While nautilus removed its desktop support a while ago in favor of an extension, it's still possible that some external X11 desktop icon app is used. As DESKTOP windows cannot be moved between workspaces or stacked, and aren't perceived as regular windows, it doesn't make sense to show them as previews in the workspace switcher. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/93 --- extensions/window-list/workspaceIndicator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/window-list/workspaceIndicator.js b/extensions/window-list/workspaceIndicator.js index 8b4688db..1617efeb 100644 --- a/extensions/window-list/workspaceIndicator.js +++ b/extensions/window-list/workspaceIndicator.js @@ -77,6 +77,7 @@ class WindowPreview extends St.Button { _relayout() { let monitor = Main.layoutManager.findIndexForActor(this); this.visible = monitor === this._window.get_monitor() && + this._window.window_type !== Meta.WindowType.DESKTOP && this._window.showing_on_its_workspace(); if (!this.visible) From 95131dc252e235720a70a9f642cd3b0529193b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 6 Sep 2019 20:47:56 +0200 Subject: [PATCH 05/31] workspace-indicator: Exclude DESKTOP windows from window previews While nautilus removed its desktop support a while ago in favor of an extension, it's still possible that some external X11 desktop icon app is used. As DESKTOP windows cannot be moved between workspaces or stacked, and aren't perceived as regular windows, it doesn't make sense to show them as previews in the workspace switcher. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/93 --- extensions/workspace-indicator/extension.js | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/workspace-indicator/extension.js b/extensions/workspace-indicator/extension.js index 3b202c27..6ea3eeb1 100644 --- a/extensions/workspace-indicator/extension.js +++ b/extensions/workspace-indicator/extension.js @@ -83,6 +83,7 @@ class WindowPreview extends St.Button { _relayout() { let monitor = Main.layoutManager.findIndexForActor(this); this.visible = monitor === this._window.get_monitor() && + this._window.window_type !== Meta.WindowType.DESKTOP && this._window.showing_on_its_workspace(); if (!this.visible) From a2b014ccbf278db8d856d219d1d76724003a3c24 Mon Sep 17 00:00:00 2001 From: Willy Stadnick Date: Sat, 23 Nov 2019 03:20:45 +0000 Subject: [PATCH 06/31] screenshot-window-sizer: Fix cycling through all valid sizes When cycling through window sizes, we should skip any sizes that are bigger than the available area. We do that, but the current code assumes that the possible sizes are sorted, which is no longer the case since the addition of "phone" sizes in commit 5b43d4733c6. As a result, we may now skip sizes that would fit perfectly fine. Address this by filtering out invalid sizes beforehand instead of assuming a certain order (wich no longer work due to the addition of a portrait format). https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/97 --- extensions/screenshot-window-sizer/extension.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/extensions/screenshot-window-sizer/extension.js b/extensions/screenshot-window-sizer/extension.js index c135be6c..1a7634cd 100644 --- a/extensions/screenshot-window-sizer/extension.js +++ b/extensions/screenshot-window-sizer/extension.js @@ -82,7 +82,8 @@ function cycleScreenshotSizes(display, window, binding) { // Double both axes if on a hidpi display let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor; - let scaledSizes = SIZES.map(size => size.map(wh => wh * scaleFactor)); + let scaledSizes = SIZES.map(size => size.map(wh => wh * scaleFactor)) + .filter(([w, h]) => w <= workArea.width && h <= workArea.height); // Find the nearest 16:9 size for the current window size let nearestIndex; @@ -105,10 +106,7 @@ function cycleScreenshotSizes(display, window, binding) { // get the next size up or down from ideal let newIndex = (nearestIndex + (backwards ? -1 : 1)) % scaledSizes.length; - let newWidth, newHeight; - [newWidth, newHeight] = scaledSizes[newIndex]; - if (newWidth > workArea.width || newHeight > workArea.height) - [newWidth, newHeight] = scaledSizes[0]; + let [newWidth, newHeight] = scaledSizes[newIndex]; // Push the window onscreen if it would be resized offscreen let newX = outerRect.x; From 35746251fdb0a8c09b52fef2385cb8e22fb647d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 11 Dec 2019 18:59:03 +0100 Subject: [PATCH 07/31] Bump version to 3.35.2 Update NEWS. --- NEWS | 10 ++++++++++ meson.build | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 1b59b178..e087de3c 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,13 @@ +3.35.2 +====== +* Adjust to gnome-shell changes [Marco, Florian; !89, !95, !96] +* window-list, workspace-indicator: Exclude DESKTOP windows from previews + [Florian; !93] +* screenshot-window-sizer: Fix cycling through all valid sizes [Willy; !97] + +Contributors: + Marco Trevisan (Treviño), Florian Müllner, Willy Stadnick + 3.34.1 ====== * Adjust to gnome-settings-daemon plugin removals [Xiaoguang; !94] diff --git a/meson.build b/meson.build index 83175433..a2fc9c8e 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('gnome-shell-extensions', - version: '3.34.1', + version: '3.35.2', meson_version: '>= 0.44.0', license: 'GPL2+' ) From be19802f7829679aaa309a602f7d92043cd8d684 Mon Sep 17 00:00:00 2001 From: Fran Dieguez Date: Wed, 25 Dec 2019 14:29:08 +0000 Subject: [PATCH 08/31] Update Galician translation --- po/gl.po | 405 ++++--------------------------------------------------- 1 file changed, 23 insertions(+), 382 deletions(-) diff --git a/po/gl.po b/po/gl.po index 6eda49a2..3eecf3ac 100644 --- a/po/gl.po +++ b/po/gl.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: gnome-shell-extensions master\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/" "issues\n" -"POT-Creation-Date: 2019-08-09 22:24+0000\n" -"PO-Revision-Date: 2019-08-25 18:13+0200\n" +"POT-Creation-Date: 2019-11-21 21:24+0000\n" +"PO-Revision-Date: 2019-12-25 15:24+0100\n" "Last-Translator: Fran Dieguez \n" "Language-Team: Galician\n" "Language: gl\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.2.1\n" +"X-Generator: Poedit 2.2.4\n" "X-Project-Style: gnome\n" #: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3 @@ -32,25 +32,25 @@ msgstr "Esta sesión iniciarao en GNOME clásico" msgid "Favorites" msgstr "Favoritos" -#: extensions/apps-menu/extension.js:368 +#: extensions/apps-menu/extension.js:369 msgid "Applications" -msgstr "Aplicativos" +msgstr "Aplicacións" #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:6 msgid "Application and workspace list" -msgstr "Lista de aplicativos e espazos de traballo" +msgstr "Lista de aplicacións e espazos de traballo" #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:7 msgid "" "A list of strings, each containing an application id (desktop file name), " "followed by a colon and the workspace number" msgstr "" -"Unha lista de cadeas, cada unha das cales contén un id de aplicativo (nome de " +"Unha lista de cadeas, cada unha das cales contén un id de aplicación (nome de " "ficheiro desktop), seguido por unha coma e o número do espazo de traballo" #: extensions/auto-move-windows/prefs.js:60 msgid "Application" -msgstr "Aplicativo" +msgstr "Aplicación" #: extensions/auto-move-windows/prefs.js:71 #: extensions/auto-move-windows/prefs.js:134 @@ -70,17 +70,17 @@ msgid "Add" msgstr "Engadir" #. TRANSLATORS: %s is the filesystem name -#: extensions/drive-menu/extension.js:102 -#: extensions/places-menu/placeDisplay.js:232 +#: extensions/drive-menu/extension.js:103 +#: extensions/places-menu/placeDisplay.js:233 #, javascript-format msgid "Ejecting drive “%s” failed:" msgstr "Fallo ao extraer a unidade «%s»:" -#: extensions/drive-menu/extension.js:118 +#: extensions/drive-menu/extension.js:119 msgid "Removable devices" msgstr "Dispositivos extraíbeis" -#: extensions/drive-menu/extension.js:145 +#: extensions/drive-menu/extension.js:146 msgid "Open Files" msgstr "Abrir ficheiros" @@ -131,11 +131,11 @@ msgstr "Produciuse un fallo ao montar o volume para «%s»" msgid "Computer" msgstr "Computador" -#: extensions/places-menu/placeDisplay.js:358 +#: extensions/places-menu/placeDisplay.js:359 msgid "Home" msgstr "Cartafol persoal" -#: extensions/places-menu/placeDisplay.js:403 +#: extensions/places-menu/placeDisplay.js:404 msgid "Browse Network" msgstr "Explorar a rede" @@ -155,23 +155,23 @@ msgstr "Nome do tema" msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell" msgstr "O nome do tema, a cargar desde ~/.themes/name/gnome-shell" -#: extensions/window-list/extension.js:99 +#: extensions/window-list/extension.js:98 msgid "Close" msgstr "Pechar" -#: extensions/window-list/extension.js:119 +#: extensions/window-list/extension.js:118 msgid "Unminimize" msgstr "Restabelecer" -#: extensions/window-list/extension.js:119 +#: extensions/window-list/extension.js:118 msgid "Minimize" msgstr "Minimizar" -#: extensions/window-list/extension.js:126 +#: extensions/window-list/extension.js:125 msgid "Unmaximize" msgstr "Restaurar" -#: extensions/window-list/extension.js:126 +#: extensions/window-list/extension.js:125 msgid "Maximize" msgstr "Maximizar" @@ -208,7 +208,7 @@ msgid "" "Decides when to group windows from the same application on the window list. " "Possible values are “never”, “auto” and “always”." msgstr "" -"Decide cando agrupar as xanelas do mesmo aplicativo na lista de xanelas. Os " +"Decide cando agrupar as xanelas da mesma aplicación na lista de xanelas. Os " "valores posíbeis son «never» (nunca), «auto» (automático) e «always» (sempre)." #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20 @@ -258,374 +258,15 @@ msgstr "Mostrar en todos os monitores" msgid "Workspace Indicator" msgstr "Indicador de espazo de traballo" -#: extensions/workspace-indicator/prefs.js:131 +#: extensions/workspace-indicator/prefs.js:129 msgid "Workspace Names" msgstr "Nomes dos espazos de traballo" -#: extensions/workspace-indicator/prefs.js:151 +#: extensions/workspace-indicator/prefs.js:149 msgid "Name" msgstr "Nome" -#: extensions/workspace-indicator/prefs.js:191 +#: extensions/workspace-indicator/prefs.js:189 #, javascript-format msgid "Workspace %d" msgstr "Espazos de traballo %d" - -#~ msgid "Attach modal dialog to the parent window" -#~ msgstr "Anexar o diálogo modal á xanela pai" - -#~ msgid "" -#~ "This key overrides the key in org.gnome.mutter when running GNOME Shell." -#~ msgstr "" -#~ "Esta chave sobrescribe a chave en org.gnome.mutter cando executa GNOME Shell." - -#~ msgid "Arrangement of buttons on the titlebar" -#~ msgstr "Ordenación dos botóns na barra de título" - -#~ msgid "" -#~ "This key overrides the key in org.gnome.desktop.wm.preferences when running " -#~ "GNOME Shell." -#~ msgstr "" -#~ "Esta chave sobrescribe a chave en org.gnome.desktop.wm.preferences ao " -#~ "executar GNOME Shell." - -#~ msgid "Enable edge tiling when dropping windows on screen edges" -#~ msgstr "Activar o mosaico nos bordos ao arrastrar xanelas aos bordos da xanela" - -#~ msgid "Workspaces only on primary monitor" -#~ msgstr "Espazos de traballo só no monitor primario" - -#~ msgid "Delay focus changes in mouse mode until the pointer stops moving" -#~ msgstr "" -#~ "Atrasar o cambio de foco no modo rato até que o punteiro se deteña ao moverse" - -#~ msgid "Thumbnail only" -#~ msgstr "Só miniaturas" - -#~ msgid "Application icon only" -#~ msgstr "Só icona do aplicativo" - -#~ msgid "Thumbnail and application icon" -#~ msgstr "Miniatura e icona do aplicativo" - -#~ msgid "Present windows as" -#~ msgstr "Presentar xanelas como" - -#~ msgid "Activities Overview" -#~ msgstr "Vista xeral de actividades" - -#~ msgid "Hello, world!" -#~ msgstr "Hola, mundo!" - -#~ msgid "Alternative greeting text." -#~ msgstr "Texto de benvida alternativo" - -#~ msgid "" -#~ "If not empty, it contains the text that will be shown when clicking on the " -#~ "panel." -#~ msgstr "" -#~ "Se non está baleiro, contén o texto que se despregará ao premer sobre o panel" - -#~ msgid "Message" -#~ msgstr "Mensaxe" - -#~ msgid "" -#~ "Example aims to show how to build well behaved extensions for the Shell and " -#~ "as such it has little functionality on its own.\n" -#~ "Nevertheless it’s possible to customize the greeting message." -#~ msgstr "" -#~ "«Exemplo» pretende mostrar como construir extensións de bo comportamento " -#~ "para a Shell e por iso ten pouca funcionalidade por si só.\n" -#~ "Porén, é posíbel personalizar a mensaxe de benvida." - -#~ msgid "CPU" -#~ msgstr "CPU" - -#~ msgid "Memory" -#~ msgstr "Memoria" - -#~ msgid "GNOME Shell Classic" -#~ msgstr "GNOME Shell clásico" - -#~ msgid "Window management and application launching" -#~ msgstr "Xestor de xanelas e inicio de aplicativos" - -#~ msgid "Suspend" -#~ msgstr "Suspender" - -#~ msgid "Hibernate" -#~ msgstr "Hibernar" - -#~ msgid "Power Off" -#~ msgstr "Apagar" - -#~ msgid "Enable suspending" -#~ msgstr "Activar a suspensión" - -#~ msgid "Control the visibility of the Suspend menu item" -#~ msgstr "Controla a visibilidade do elemento de menú «Suspender»" - -#~ msgid "Enable hibernating" -#~ msgstr "Activar hibernación" - -#~ msgid "Control the visibility of the Hibernate menu item" -#~ msgstr "Controla a visibilidade do elemento de menú «Hibernar»" - -#~ msgid "Normal" -#~ msgstr "Normal" - -#~ msgid "Left" -#~ msgstr "Esquerda" - -#~ msgid "Right" -#~ msgstr "Dereita" - -#~ msgid "Upside-down" -#~ msgstr "Co de arriba cara abaixo" - -#~ msgid "Display" -#~ msgstr "Pantalla" - -#~ msgid "Display Settings" -#~ msgstr "Preferencias da pantalla" - -#~ msgid "Devices" -#~ msgstr "Dispositivos" - -#~ msgid "Bookmarks" -#~ msgstr "Marcadores" - -#~ msgid "Network" -#~ msgstr "Rede" - -#~ msgid "File System" -#~ msgstr "Sistema de ficheiros" - -#~ msgid "The application icon mode." -#~ msgstr "O modo da icona do aplicativo." - -#~ msgid "" -#~ "Configures how the windows are shown in the switcher. Valid possibilities " -#~ "are 'thumbnail-only' (shows a thumbnail of the window), 'app-icon-" -#~ "only' (shows only the application icon) or 'both'." -#~ msgstr "" -#~ "Configura como se mostran as xanelas no intercambiador. As opcións posíbeis " -#~ "son «thumbnail-only» (mostra unha miniatura da xanela, «app-icon-only» (só " -#~ "mostra a icona do aplicativo) ou «both» (móstranse ambas cosas)." - -#~ msgid "Drag here to add favorites" -#~ msgstr "Arrastre aquí para engadir aos favoritos" - -#~ msgid "New Window" -#~ msgstr "Nova xanela" - -#~ msgid "Quit Application" -#~ msgstr "Saír do aplicativo" - -#~ msgid "Remove from Favorites" -#~ msgstr "Eliminar dos favoritos" - -#~ msgid "Position of the dock" -#~ msgstr "Posición da doca" - -#~ msgid "" -#~ "Sets the position of the dock in the screen. Allowed values are 'right' or " -#~ "'left'" -#~ msgstr "" -#~ "Estabelece a posición da doca na pantalla. Os valores permitidos son «right» " -#~ "e «left»" - -#~ msgid "Icon size" -#~ msgstr "Tamaño da icona" - -#~ msgid "Sets icon size of the dock." -#~ msgstr "Estabelece o tamaño das iconas na doca." - -#~ msgid "Enable/disable autohide" -#~ msgstr "Activar/desactivar autoagochado" - -#~ msgid "Autohide effect" -#~ msgstr "Efecto de autoagochado" - -#~ msgid "" -#~ "Sets the effect of the hide dock. Allowed values are 'resize', 'rescale' and " -#~ "'move'" -#~ msgstr "" -#~ "Estabelece o efecto de agochado da doca. Os valores permitidos son " -#~ "«resize» (redimensionar( e «rescale» (re-escalar) e «move» (mover)" - -#~ msgid "Autohide duration" -#~ msgstr "Duración do autoagochado" - -#~ msgid "Sets the time duration of the autohide effect." -#~ msgstr "Estabelece a duración do efecto de autoagochado." - -#~ msgid "Monitor" -#~ msgstr "Pantalla" - -#~ msgid "" -#~ "Sets monitor to display dock in. The default value (-1) is the primary " -#~ "monitor." -#~ msgstr "" -#~ "Estabelece a pantalla na que mostrar o taboleiro. O valor predeterminado es " -#~ "(-1), que é a pantalla principal." - -#~ msgid "%s is away." -#~ msgstr "%s está ausente." - -#~ msgid "%s is offline." -#~ msgstr "%s está desconectado." - -#~ msgid "%s is online." -#~ msgstr "%s está conectado." - -#~ msgid "%s is busy." -#~ msgstr "%s está ocupado." - -#~ msgid "Removable Devices" -#~ msgstr "Dispositivos extraíbeis" - -#~ msgid "Configure display settings..." -#~ msgstr "Configurar as preferencias de pantalla…" - -#~ msgid "The alt tab behaviour." -#~ msgstr "O comportamento de Alt+Tab" - -#~ msgid "" -#~ "Sets the Alt-Tab behaviour. Possible values are: all_thumbnails and " -#~ "workspace_icons. See the configuration dialogs for details." -#~ msgstr "" -#~ "Estabelece o comportamento do Alt+Tab. Os valores posíbeis son: " -#~ "«native» (nativo), «all_thumbnails» (todo e miniaturas) e " -#~ "«worspace_icons» (iconas de áreas de traballo). Para obter información máis " -#~ "detallada, consulte a configuración dos diálogos." - -#~ msgid "" -#~ "This mode presents all applications from all workspaces in one selection " -#~ "list. Instead of using the application icon of every window, it uses small " -#~ "thumbnails resembling the window itself." -#~ msgstr "" -#~ "Este modo presenta todos os aplicativos de todas as áreas de traballo nunha " -#~ "lista de selección. No lugar de usar a icona de aplicativo de cada xanela, " -#~ "usa pequenas miniaturas que semellan a propia xanela." - -#~ msgid "Workspace & Icons" -#~ msgstr "Espazos de traballo e iconas" - -#~ msgid "" -#~ "This mode let's you switch between the applications of your current " -#~ "workspace and gives you additionally the option to switch to the last used " -#~ "application of your previous workspace. This is always the last symbol in " -#~ "the list and is segregated by a separator/vertical line if available. \n" -#~ "Every window is represented by its application icon." -#~ msgstr "" -#~ "Este modo permítelle alternar entre os aplicativos da súa área de traballo " -#~ "actual e dálle a opción de cambiar ao último aplicativo empregada da súa " -#~ "área de traballo anterior. Este sempre é o último símbolo da lista e está " -#~ "separado por un separador/liña vertical se está dispoñíbel.\n" -#~ "Cada xanela está representada pola súa icona de aplicativo." - -#~ msgid "Move current selection to front before closing the popup" -#~ msgstr "Mover a selección actual ao frente antes de pechar a xanela emerxente" - -#~ msgid "" -#~ "The Alternate Tab can be used in different modes, that affect the way " -#~ "windows are chosen and presented." -#~ msgstr "" -#~ "A combinación de teclas Alt+Tab pódese usar en diferentes modos, que afectan " -#~ "á maneira na que se elixen e presentan as xanelas." - -#~ msgid "Notifications" -#~ msgstr "Notificacións" - -#~ msgid "Online Accounts" -#~ msgstr "Contas en liña" - -#~ msgid "Lock Screen" -#~ msgstr "Bloquear Pantaia" - -#~ msgid "Switch User" -#~ msgstr "Trocar de Usario" - -#~ msgid "Log Out..." -#~ msgstr "Sair da sesión" - -#~ msgid "" -#~ "This is the first time you use the Alternate Tab extension. \n" -#~ "Please choose your preferred behaviour:\n" -#~ "\n" -#~ "All & Thumbnails:\n" -#~ " This mode presents all applications from all workspaces in one " -#~ "selection \n" -#~ " list. Instead of using the application icon of every window, it uses " -#~ "small \n" -#~ " thumbnails resembling the window itself. \n" -#~ "\n" -#~ "Workspace & Icons:\n" -#~ " This mode let's you switch between the applications of your current \n" -#~ " workspace and gives you additionally the option to switch to the last " -#~ "used \n" -#~ " application of your previous workspace. This is always the last symbol " -#~ "in \n" -#~ " the list and is segregated by a separator/vertical line if available. \n" -#~ " Every window is represented by its application icon. \n" -#~ "\n" -#~ "Native:\n" -#~ " This mode is the native GNOME 3 behaviour or in other words: Clicking \n" -#~ " native switches the Alternate Tab extension off. \n" -#~ msgstr "" -#~ "É a primeira vez que usa a extensión de Tab alternativo.\n" -#~ "Seleccione o comportamento prefirido:\n" -#~ "\n" -#~ "Todo e miniaturas:\n" -#~ " Este modo mostra tódolos aplicativos de tódolos espazos de traballa " -#~ "nunha\n" -#~ " lista de selección. No lugar de usar as iconas de aplicativos para cada\n" -#~ " xanela, usa miniaturas pequenas que representan as xanelas.\n" -#~ "\n" -#~ "Espazos de traballo e iconas:\n" -#~ " Este modo permítelle cambiar entre os aplicativos do seu espazo de " -#~ "traballo \n" -#~ " actual e permítelle engadir a opción de cambiar entre o último " -#~ "aplicativo\n" -#~ " usado do seu espazo de traballo anterior. Sempre é o último símbolo na\n" -#~ " lista e está separado por unha liña separador/vertical se está " -#~ "dispoñíbel.\n" -#~ " Cada xanela está representada pola icona do aplicativo.\n" -#~ "\n" -#~ "Nativo:\n" -#~ " Este modo é o comportamento nativo de GNOME 3 ou noutras palabras: ao \n" -#~ " seleccionar nativo desactiva a extensión Tab alternativo.\n" - -#~ msgid "Alt Tab Behaviour" -#~ msgstr "Comportamento do Alt Tab" - -#~ msgid "Native" -#~ msgstr "Nativa" - -#~ msgid "Cancel" -#~ msgstr "Cancelar" - -#~ msgid "Ask the user for a default behaviour if true." -#~ msgstr "Preguntarlle o comportamento predeterminado ao usuario se é certo." - -#~ msgid "Indicates if Alternate Tab is newly installed" -#~ msgstr "Indica se o Tab alternativo está instalado recentemente" - -#~ msgid "" -#~ "The algorithm used to layout thumbnails in the overview. 'grid' to use the " -#~ "default grid based algorithm, 'natural' to use another one that reflects " -#~ "more the position and size of the actual window" -#~ msgstr "" -#~ "O algoritmo usado pola disposición de miniaturas na vista previa. «grid» " -#~ "para usar o algoritmo predeterminado baseado na grella, «natural» para usar " -#~ "outro que reflexa máis a posición e tamaño da xanela actual" - -#~ msgid "Window placement strategy" -#~ msgstr "Estratexia de disposición de xanelas" - -#~ msgid "Available" -#~ msgstr "Dispoñible" - -#~ msgid "Busy" -#~ msgstr "Ocupado" From 47a2fd36e15d7f7bb64214f64ee8dfc947cbe065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 5 Jan 2020 13:22:57 +0100 Subject: [PATCH 09/31] Update sass submodule --- data/gnome-shell-sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gnome-shell-sass b/data/gnome-shell-sass index 34d65e70..045a5a5c 160000 --- a/data/gnome-shell-sass +++ b/data/gnome-shell-sass @@ -1 +1 @@ -Subproject commit 34d65e70d8523aa250c5020c75e7fc95234b3c0c +Subproject commit 045a5a5c82ca67e3e317df600cfd101a66bd97c5 From 9b93931de640b0bcf47af2cfb9f373a6affeda36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 5 Jan 2020 12:34:34 +0100 Subject: [PATCH 10/31] Bump version to 3.35.3 Update NEWS. --- NEWS | 6 ++++++ meson.build | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index e087de3c..2b5ce7ad 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +3.35.3 +====== + +Translators: + Fran Dieguez [gl] + 3.35.2 ====== * Adjust to gnome-shell changes [Marco, Florian; !89, !95, !96] diff --git a/meson.build b/meson.build index a2fc9c8e..8c232576 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('gnome-shell-extensions', - version: '3.35.2', + version: '3.35.3', meson_version: '>= 0.44.0', license: 'GPL2+' ) From f2315d28f920d0efc696a4536300fd6d65e2bc30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 9 Jan 2020 18:29:44 +0100 Subject: [PATCH 11/31] Update sass submodule --- data/gnome-shell-sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gnome-shell-sass b/data/gnome-shell-sass index 045a5a5c..c42cc187 160000 --- a/data/gnome-shell-sass +++ b/data/gnome-shell-sass @@ -1 +1 @@ -Subproject commit 045a5a5c82ca67e3e317df600cfd101a66bd97c5 +Subproject commit c42cc1871bb84576adf0bbb6e5835a738b5e7ac2 From 25b6b562d93eec57b234281059f8424280563c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 9 Jan 2020 18:51:43 +0100 Subject: [PATCH 12/31] windowPicker: Adjust to gnome-shell changes WorkspacesDisplay now takes an adjustment for the workspace position, provide that. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/100 --- extensions/window-list/windowPicker.js | 29 +++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/extensions/window-list/windowPicker.js b/extensions/window-list/windowPicker.js index b1533dac..25a689c6 100644 --- a/extensions/window-list/windowPicker.js +++ b/extensions/window-list/windowPicker.js @@ -9,7 +9,22 @@ const { WorkspacesDisplay } = imports.ui.workspacesView; let MyWorkspacesDisplay = GObject.registerClass( class MyWorkspacesDisplay extends WorkspacesDisplay { _init() { - super._init(); + let workspaceManager = global.workspace_manager; + + this._workspaceAdjustment = new St.Adjustment({ + value: workspaceManager.get_active_workspace_index(), + lower: 0, + page_increment: 1, + page_size: 1, + step_increment: 0, + upper: workspaceManager.n_workspaces, + }); + + this._nWorkspacesChangedId = + workspaceManager.connect('notify::n-workspaces', + this._updateAdjustment.bind(this)); + + super._init(this._workspaceAdjustment); this.add_constraint( new Layout.MonitorConstraint({ @@ -45,6 +60,14 @@ class MyWorkspacesDisplay extends WorkspacesDisplay { this.setWorkspacesFullGeometry(workarea); } + _updateAdjustment() { + let workspaceManager = global.workspace_manager; + this._workspaceAdjustment.set({ + upper: workspaceManager.n_workspaces, + value: workspaceManager.get_active_workspace_index(), + }); + } + _updateWorkspacesViews() { super._updateWorkspacesViews(); @@ -59,6 +82,10 @@ class MyWorkspacesDisplay extends WorkspacesDisplay { global.display.disconnect(this._workareasChangedId); this._workareasChangedId = 0; + if (this._nWorkspacesChangedId) + global.workspace_manager.disconnect(this._nWorkspacesNotifyId), + this._nWorkspacesNotifyId = 0; + super._onDestroy(); } }); From d8c734124d65a69308e9b15d8ebc4d0f0b89f356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 9 Jan 2020 19:32:07 +0100 Subject: [PATCH 13/31] classic: Add new import The shell SCSS got reorganized, and we are now missing an import in the classic style. Add it to get back a working classic style. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/101 --- data/gnome-classic.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/data/gnome-classic.scss b/data/gnome-classic.scss index edf24d66..b573ec85 100644 --- a/data/gnome-classic.scss +++ b/data/gnome-classic.scss @@ -4,6 +4,7 @@ $variant: 'light'; @import "gnome-shell-sass/_colors"; //use gtk colors @import "gnome-shell-sass/_drawing"; @import "gnome-shell-sass/_common"; +@import "gnome-shell-sass/_widgets"; /* Overrides */ From 37a09b7be19f3a94a9c45e8cb7309467b3af4107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 9 Jan 2020 20:04:55 +0100 Subject: [PATCH 14/31] apps-menu: Stop using deprecated (child) properties StBoxLayout's child properties were deprecated in favor of the generic expand/align properties. StBin now uses the same Clutter.Actor properties instead of its own. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/102 --- extensions/apps-menu/extension.js | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js index 70383afe..9d465060 100644 --- a/extensions/apps-menu/extension.js +++ b/extensions/apps-menu/extension.js @@ -557,10 +557,8 @@ class ApplicationsButton extends PanelMenu.Button { this.mainBox = new St.BoxLayout({ vertical: false }); this.leftBox = new St.BoxLayout({ vertical: true }); this.applicationsScrollBox = new St.ScrollView({ - x_fill: true, - y_fill: false, - y_align: St.Align.START, style_class: 'apps-menu vfade', + x_expand: true, }); this.applicationsScrollBox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC); let vscroll = this.applicationsScrollBox.get_vscroll_bar(); @@ -571,21 +569,13 @@ class ApplicationsButton extends PanelMenu.Button { this.menu.passEvents = false; }); this.categoriesScrollBox = new St.ScrollView({ - x_fill: true, - y_fill: false, - y_align: St.Align.START, style_class: 'vfade', }); this.categoriesScrollBox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC); vscroll = this.categoriesScrollBox.get_vscroll_bar(); vscroll.connect('scroll-start', () => (this.menu.passEvents = true)); vscroll.connect('scroll-stop', () => (this.menu.passEvents = false)); - this.leftBox.add(this.categoriesScrollBox, { - expand: true, - x_fill: true, - y_fill: true, - y_align: St.Align.START, - }); + this.leftBox.add_child(this.categoriesScrollBox); this.applicationsBox = new St.BoxLayout({ vertical: true }); this.applicationsScrollBox.add_actor(this.applicationsBox); @@ -593,16 +583,8 @@ class ApplicationsButton extends PanelMenu.Button { this.categoriesScrollBox.add_actor(this.categoriesBox); this.mainBox.add(this.leftBox); - this.mainBox.add(this._createVertSeparator(), { - expand: false, - x_fill: false, - y_fill: true, - }); - this.mainBox.add(this.applicationsScrollBox, { - expand: true, - x_fill: true, - y_fill: true, - }); + this.mainBox.add_child(this._createVertSeparator()); + this.mainBox.add_child(this.applicationsScrollBox); section.actor.add_actor(this.mainBox); } From 0500480d75c6793467c04f2336cd3274019b34a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 9 Jan 2020 20:15:52 +0100 Subject: [PATCH 15/31] window-list: Stop using deprecated child properties StBoxLayout's child properties were deprecated in favor of the generic expand/align properties. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/102 --- extensions/window-list/extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index b36c9e80..5456a470 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -701,7 +701,7 @@ class WindowList extends St.Widget { x_expand: true, y_expand: true, }); - box.add(this._windowList, { expand: true }); + box.add_child(this._windowList); this._windowList.connect('style-changed', () => { let node = this._windowList.get_theme_node(); @@ -714,7 +714,7 @@ class WindowList extends St.Widget { box.add(indicatorsBox); this._workspaceIndicator = new WorkspaceIndicator(); - indicatorsBox.add(this._workspaceIndicator.container, { expand: false, y_fill: true }); + indicatorsBox.add_child(this._workspaceIndicator.container); this._mutterSettings = new Gio.Settings({ schema_id: 'org.gnome.mutter' }); this._workspacesOnlyOnPrimaryChangedId = this._mutterSettings.connect( From 9c964eaf1b18b906930ebc92472eb95c0d25df5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 9 Jan 2020 20:16:39 +0100 Subject: [PATCH 16/31] drive-menu: Stop using deprecated child properties StBoxLayout's child properties were deprecated in favor of the generic expand/align properties. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/102 --- extensions/drive-menu/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/drive-menu/extension.js b/extensions/drive-menu/extension.js index f2c32a36..6a15de4e 100644 --- a/extensions/drive-menu/extension.js +++ b/extensions/drive-menu/extension.js @@ -17,7 +17,7 @@ class MountMenuItem extends PopupMenu.PopupBaseMenuItem { super._init(); this.label = new St.Label({ text: mount.get_name() }); - this.add(this.label, { expand: true }); + this.add_child(this.label); this.label_actor = this.label; this.mount = mount; From c958e2d0fd97c581b8eeb2c8d9877d6fa7578c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 17 Jan 2020 15:03:54 +0100 Subject: [PATCH 17/31] window-list: Force single-line window titles While window titles really really shouldn't contain newline characters, they are under application control and therefore may very well do. Force the corresponding labels to be single line, to prevent offending applications from messing up the whole window list layout. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/202 --- extensions/window-list/extension.js | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index 5456a470..2c9dcf4a 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -146,6 +146,7 @@ class WindowTitle extends St.BoxLayout { this._icon = new St.Bin({ style_class: 'window-button-icon' }); this.add(this._icon); this.label_actor = new St.Label({ y_align: Clutter.ActorAlign.CENTER }); + this.label_actor.clutter_text.single_line_mode = true; this.add(this.label_actor); this._textureCache = St.TextureCache.get_default(); From 69681cdc9aa697ebdc76697fac224c9efce63eb5 Mon Sep 17 00:00:00 2001 From: sicklylife Date: Mon, 20 Jan 2020 22:13:20 +0000 Subject: [PATCH 18/31] Update Japanese translation --- po/ja.po | 64 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/po/ja.po b/po/ja.po index afa1e55e..f757c072 100644 --- a/po/ja.po +++ b/po/ja.po @@ -13,7 +13,7 @@ msgstr "" "Project-Id-Version: gnome-shell-extensions master\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/" "issues\n" -"POT-Creation-Date: 2019-08-09 22:24+0000\n" +"POT-Creation-Date: 2019-12-11 18:09+0000\n" "PO-Revision-Date: 2019-08-27 21:57+0900\n" "Last-Translator: sicklylife \n" "Language-Team: Japanese \n" @@ -35,7 +35,7 @@ msgstr "GNOME クラシックモードでログインします" msgid "Favorites" msgstr "お気に入り" -#: extensions/apps-menu/extension.js:368 +#: extensions/apps-menu/extension.js:369 msgid "Applications" msgstr "アプリケーション" @@ -51,39 +51,39 @@ msgstr "" "アプリケーションの識別子 (.desktop ファイル名) とコロンの後にワークスペース番" "号を付与した文字列を要素とするリストです" -#: extensions/auto-move-windows/prefs.js:60 +#: extensions/auto-move-windows/prefs.js:59 msgid "Application" msgstr "アプリケーション" -#: extensions/auto-move-windows/prefs.js:71 -#: extensions/auto-move-windows/prefs.js:134 +#: extensions/auto-move-windows/prefs.js:70 +#: extensions/auto-move-windows/prefs.js:133 msgid "Workspace" msgstr "ワークスペース" -#: extensions/auto-move-windows/prefs.js:89 +#: extensions/auto-move-windows/prefs.js:88 msgid "Add Rule" msgstr "ルールを追加" -#: extensions/auto-move-windows/prefs.js:111 +#: extensions/auto-move-windows/prefs.js:110 msgid "Create new matching rule" msgstr "新規ルールの作成" -#: extensions/auto-move-windows/prefs.js:117 +#: extensions/auto-move-windows/prefs.js:116 msgid "Add" msgstr "追加" #. TRANSLATORS: %s is the filesystem name -#: extensions/drive-menu/extension.js:102 -#: extensions/places-menu/placeDisplay.js:232 +#: extensions/drive-menu/extension.js:103 +#: extensions/places-menu/placeDisplay.js:233 #, javascript-format msgid "Ejecting drive “%s” failed:" msgstr "ドライブ“%s”の取り出しに失敗しました:" -#: extensions/drive-menu/extension.js:118 +#: extensions/drive-menu/extension.js:119 msgid "Removable devices" msgstr "リムーバブルデバイス" -#: extensions/drive-menu/extension.js:145 +#: extensions/drive-menu/extension.js:146 msgid "Open Files" msgstr "ファイルを開く" @@ -137,11 +137,11 @@ msgstr "“%s”のマウントに失敗しました" msgid "Computer" msgstr "コンピューター" -#: extensions/places-menu/placeDisplay.js:358 +#: extensions/places-menu/placeDisplay.js:359 msgid "Home" msgstr "ホーム" -#: extensions/places-menu/placeDisplay.js:403 +#: extensions/places-menu/placeDisplay.js:404 msgid "Browse Network" msgstr "ネットワークを表示" @@ -161,47 +161,47 @@ msgstr "テーマの名前" msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell" msgstr "テーマの名前です (~/.themes/name/gnome-shell 配下に格納します)" -#: extensions/window-list/extension.js:99 +#: extensions/window-list/extension.js:98 msgid "Close" msgstr "閉じる" -#: extensions/window-list/extension.js:119 +#: extensions/window-list/extension.js:118 msgid "Unminimize" msgstr "最小化解除" -#: extensions/window-list/extension.js:119 +#: extensions/window-list/extension.js:118 msgid "Minimize" msgstr "最小化" -#: extensions/window-list/extension.js:126 +#: extensions/window-list/extension.js:125 msgid "Unmaximize" msgstr "最大化解除" -#: extensions/window-list/extension.js:126 +#: extensions/window-list/extension.js:125 msgid "Maximize" msgstr "最大化" -#: extensions/window-list/extension.js:431 +#: extensions/window-list/extension.js:428 msgid "Minimize all" msgstr "全て最小化" -#: extensions/window-list/extension.js:437 +#: extensions/window-list/extension.js:434 msgid "Unminimize all" msgstr "全て最小化解除" -#: extensions/window-list/extension.js:443 +#: extensions/window-list/extension.js:440 msgid "Maximize all" msgstr "全て最大化" -#: extensions/window-list/extension.js:451 +#: extensions/window-list/extension.js:448 msgid "Unmaximize all" msgstr "全て最大化解除" -#: extensions/window-list/extension.js:459 +#: extensions/window-list/extension.js:456 msgid "Close all" msgstr "全て閉じる" -#: extensions/window-list/extension.js:741 +#: extensions/window-list/extension.js:736 msgid "Window List" msgstr "ウィンドウのリスト" @@ -225,8 +225,8 @@ msgstr "すべてのワークスペースのウィンドウを表示する" #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21 msgid "Whether to show windows from all workspaces or only the current one." msgstr "" -"ウィンドウをすべてのワークスペースから表示するか現在のワークスペースにあるウィン" -"ドウのみ表示するかの設定です。" +"ウィンドウをすべてのワークスペースから表示するか現在のワークスペースにある" +"ウィンドウのみ表示するかの設定です。" #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:27 msgid "Show the window list on all monitors" @@ -260,20 +260,20 @@ msgstr "ウィンドウをグループ化する" msgid "Show on all monitors" msgstr "すべてのモニターに表示する" -#: extensions/window-list/workspaceIndicator.js:211 -#: extensions/workspace-indicator/extension.js:216 +#: extensions/window-list/workspaceIndicator.js:209 +#: extensions/workspace-indicator/extension.js:215 msgid "Workspace Indicator" msgstr "ワークスペースインジケーター" -#: extensions/workspace-indicator/prefs.js:131 +#: extensions/workspace-indicator/prefs.js:129 msgid "Workspace Names" msgstr "ワークスペース名" -#: extensions/workspace-indicator/prefs.js:151 +#: extensions/workspace-indicator/prefs.js:149 msgid "Name" msgstr "名前" -#: extensions/workspace-indicator/prefs.js:191 +#: extensions/workspace-indicator/prefs.js:189 #, javascript-format msgid "Workspace %d" msgstr "ワークスペース %d" From eb71474c95e47918ed5d89aae7e6d867c3a8f8b6 Mon Sep 17 00:00:00 2001 From: sicklylife Date: Mon, 20 Jan 2020 22:21:08 +0000 Subject: [PATCH 19/31] Update Japanese translation --- po/ja.po | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/po/ja.po b/po/ja.po index f757c072..3573141e 100644 --- a/po/ja.po +++ b/po/ja.po @@ -1,12 +1,12 @@ # gnome-shell-extensions ja.po -# Copyright (C) 2011-2013 gnome-shell-extensions's COPYRIGHT HOLDER +# Copyright (C) 2011-2015, 2019-2020 gnome-shell-extensions's COPYRIGHT HOLDER # This file is distributed under the same license as the gnome-shell-extensions package. # Takeshi AIHANA , 2011. # Jiro Matsuzawa , 2011, 2013, 2015 # Nishio Futoshi , 2013. # Ikuya Awashiro , 2014. # Hajime Taira , 2014, 2015. -# sicklylife , 2019. +# sicklylife , 2019-2020. # msgid "" msgstr "" @@ -14,7 +14,7 @@ msgstr "" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/" "issues\n" "POT-Creation-Date: 2019-12-11 18:09+0000\n" -"PO-Revision-Date: 2019-08-27 21:57+0900\n" +"PO-Revision-Date: 2020-01-20 00:00+0900\n" "Last-Translator: sicklylife \n" "Language-Team: Japanese \n" "Language: ja\n" @@ -113,9 +113,9 @@ msgid "" "restarting the shell to have any effect." msgstr "" "TRUE にすると、ウィンドウのサムネイルの上端にそのウィンドウのタイトルバーを表" -"示します (これは、サムネイルの下端にタイトルバーを表示する GNOME シェルのデ" -"フォルト値よりも優先されます)。この設定を適用する際は GNOME シェルを再起動し" -"てください。" +"示します (これは、サムネイルの下端にタイトルバーを表示する GNOME shellのデフ" +"ォルト値よりも優先されます)。この設定を適用する際は GNOME shellを再起動してく" +"ださい。" #: extensions/places-menu/extension.js:80 #: extensions/places-menu/extension.js:84 @@ -183,23 +183,23 @@ msgstr "最大化" #: extensions/window-list/extension.js:428 msgid "Minimize all" -msgstr "全て最小化" +msgstr "すべて最小化" #: extensions/window-list/extension.js:434 msgid "Unminimize all" -msgstr "全て最小化解除" +msgstr "すべて最小化解除" #: extensions/window-list/extension.js:440 msgid "Maximize all" -msgstr "全て最大化" +msgstr "すべて最大化" #: extensions/window-list/extension.js:448 msgid "Unmaximize all" -msgstr "全て最大化解除" +msgstr "すべて最大化解除" #: extensions/window-list/extension.js:456 msgid "Close all" -msgstr "全て閉じる" +msgstr "すべて閉じる" #: extensions/window-list/extension.js:736 msgid "Window List" From cc52f4a260fd42cde3f65207cde805051b6a6735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 26 Jan 2020 23:05:31 +0100 Subject: [PATCH 20/31] windowsNavigator: Add missing imports Commit 63615cb657 missed that, which is an easy mistake to make. But how on earth did CI not catch this?! https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/104 --- extensions/windowsNavigator/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/windowsNavigator/extension.js b/extensions/windowsNavigator/extension.js index 8ec94371..e359c122 100644 --- a/extensions/windowsNavigator/extension.js +++ b/extensions/windowsNavigator/extension.js @@ -1,6 +1,6 @@ /* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */ /* exported init */ -const { Clutter, St } = imports.gi; +const { Clutter, GObject, St } = imports.gi; const Main = imports.ui.main; const Workspace = imports.ui.workspace; From 01f921541f61c2b8da2ad755e9ad21eaf5127cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 26 Jan 2020 23:10:54 +0100 Subject: [PATCH 21/31] windowsNavigator: Use normal inheritance for non-GObject class More fallout from commit 63615cb657. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/104 --- extensions/windowsNavigator/extension.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/extensions/windowsNavigator/extension.js b/extensions/windowsNavigator/extension.js index e359c122..0d8ebe55 100644 --- a/extensions/windowsNavigator/extension.js +++ b/extensions/windowsNavigator/extension.js @@ -6,10 +6,9 @@ const Main = imports.ui.main; const Workspace = imports.ui.workspace; const WorkspacesView = imports.ui.workspacesView; -var MyWindowOverlay = GObject.registerClass( class MyWindowOverlay extends Workspace.WindowOverlay { - _init(windowClone, parentActor) { - super._init(windowClone, parentActor); + constructor(windowClone, parentActor) { + super(windowClone, parentActor); this._id = null; this._text = new St.Label({ @@ -40,7 +39,7 @@ class MyWindowOverlay extends Workspace.WindowOverlay { this._text.set_position(Math.floor(textX) + 5, Math.floor(textY) + 5); this._text.raise_top(); } -}); +} var MyWorkspace = GObject.registerClass( class MyWorkspace extends Workspace.Workspace { From 330e7b312d508bba1d8492cd6ab5287bdfd1a57a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 26 Jan 2020 23:21:44 +0100 Subject: [PATCH 22/31] windowsNavigator: Adjust to deprecated API removal The old raise/lower methods have been deprecated for years, and mutter finally removed those APIs. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/104 --- extensions/windowsNavigator/extension.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/windowsNavigator/extension.js b/extensions/windowsNavigator/extension.js index 0d8ebe55..088cd3f5 100644 --- a/extensions/windowsNavigator/extension.js +++ b/extensions/windowsNavigator/extension.js @@ -19,7 +19,7 @@ class MyWindowOverlay extends Workspace.WindowOverlay { } showTooltip() { - this._text.raise_top(); + this._parentActor.set_child_below_sibling(this._text, null); this._text.show(); this._text.text = (this._windowClone.slotId + 1).toString(); } @@ -37,7 +37,7 @@ class MyWindowOverlay extends Workspace.WindowOverlay { let textX = cloneX - 2; let textY = cloneY - 2; this._text.set_position(Math.floor(textX) + 5, Math.floor(textY) + 5); - this._text.raise_top(); + this._parentActor.set_child_below_sibling(this._text, null); } } @@ -80,7 +80,7 @@ class MyWorkspace extends Workspace.Workspace { this._tip.x = area.x; this._tip.y = area.y; this._tip.show(); - this._tip.raise_top(); + this.set_child_below_sibling(this._tip, null); } hideTooltip() { From b25c4d07a718b83583e4f6e78b38716613f3e1ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 26 Jan 2020 23:33:11 +0100 Subject: [PATCH 23/31] style: Avoid unnecessary parentheses The eslint check in CI is broken, and some style nits weren't caught as a consequence. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/105 --- extensions/drive-menu/extension.js | 2 +- extensions/places-menu/placeDisplay.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/drive-menu/extension.js b/extensions/drive-menu/extension.js index 6a15de4e..879702a0 100644 --- a/extensions/drive-menu/extension.js +++ b/extensions/drive-menu/extension.js @@ -69,7 +69,7 @@ class MountMenuItem extends PopupMenu.PopupBaseMenuItem { _eject() { let unmountArgs = [ Gio.MountUnmountFlags.NONE, - (new ShellMountOperation.ShellMountOperation(this.mount)).mountOp, + new ShellMountOperation.ShellMountOperation(this.mount).mountOp, null, // Gio.Cancellable ]; diff --git a/extensions/places-menu/placeDisplay.js b/extensions/places-menu/placeDisplay.js index 201452f9..3d3b516e 100644 --- a/extensions/places-menu/placeDisplay.js +++ b/extensions/places-menu/placeDisplay.js @@ -200,7 +200,7 @@ class PlaceDeviceInfo extends PlaceInfo { eject() { let unmountArgs = [ Gio.MountUnmountFlags.NONE, - (new ShellMountOperation.ShellMountOperation(this._mount)).mountOp, + new ShellMountOperation.ShellMountOperation(this._mount).mountOp, null, // Gio.Cancellable ]; From 1ee3803265bfa770677586c3071dd9f46a60ed60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 26 Jan 2020 23:35:02 +0100 Subject: [PATCH 24/31] window-list: Fix typo Whoops, missed a shift-press there. Another issues that sneaked in thanks to the broken eslint check. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/105 --- extensions/window-list/windowPicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/window-list/windowPicker.js b/extensions/window-list/windowPicker.js index 25a689c6..522313d6 100644 --- a/extensions/window-list/windowPicker.js +++ b/extensions/window-list/windowPicker.js @@ -83,7 +83,7 @@ class MyWorkspacesDisplay extends WorkspacesDisplay { this._workareasChangedId = 0; if (this._nWorkspacesChangedId) - global.workspace_manager.disconnect(this._nWorkspacesNotifyId), + global.workspace_manager.disconnect(this._nWorkspacesNotifyId); this._nWorkspacesNotifyId = 0; super._onDestroy(); From cdf970d4b682a2ac29fbeb3b828861f91d6cbec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 26 Jan 2020 23:37:21 +0100 Subject: [PATCH 25/31] ci: Fix eslint job eslint requires a file/directory, and will fail when the parameter is not specified. Unfortunately it only indicates the failure by printing its help output, but not via its return value, so our test still completes successfully. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/105 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f6b13ab..3e407d2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ eslint: image: registry.gitlab.gnome.org/gnome/gnome-shell/extension-ci:v1 stage: source_check script: - - eslint -o $LINT_LOG --no-color || { cat $LINT_LOG; false; } + - eslint -o $LINT_LOG extensions --no-color || { cat $LINT_LOG; false; } <<: *only_default artifacts: paths: From 318b9b18aff3b2f0cef84446d700201732fa5a42 Mon Sep 17 00:00:00 2001 From: Umarzuki Bin Mochlis Moktar Date: Mon, 27 Jan 2020 12:27:08 +0000 Subject: [PATCH 26/31] Update Malay translation --- po/ms.po | 437 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 250 insertions(+), 187 deletions(-) diff --git a/po/ms.po b/po/ms.po index a45a3aba..908bad32 100644 --- a/po/ms.po +++ b/po/ms.po @@ -6,297 +6,360 @@ msgid "" msgstr "" "Project-Id-Version: gnome-shell-extensions master\n" -"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=extensions\n" -"POT-Creation-Date: 2014-09-15 07:37+0000\n" -"PO-Revision-Date: 2014-09-15 23:10+0730\n" -"Last-Translator: Umarzuki Mochlis Moktar \n" -"Language-Team: Malay \n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/" +"issues\n" +"POT-Creation-Date: 2019-12-25 14:29+0000\n" +"PO-Revision-Date: 2020-01-27 03:22+0800\n" +"Last-Translator: abuyop \n" +"Language-Team: Pasukan Terjemahan GNOME Malaysia\n" "Language: ms\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Poedit 2.0.6\n" -#: ../data/gnome-classic.desktop.in.h:1 -#: ../data/gnome-classic.session.desktop.in.in.h:1 +#: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3 msgid "GNOME Classic" -msgstr "GNOME Klasik" +msgstr "Klasik GNOME" -#: ../data/gnome-classic.desktop.in.h:2 +#: data/gnome-classic.desktop.in:4 msgid "This session logs you into GNOME Classic" -msgstr "Sesi ini log masukkan anda ke GNOME Klasik" +msgstr "Sesi ini mendaftarkan masuk anda ke dalam Klasik GNOME" -#: ../data/gnome-shell-classic.desktop.in.in.h:1 -msgid "GNOME Shell Classic" -msgstr "GNOME Shell Klasik" - -#: ../data/gnome-shell-classic.desktop.in.in.h:2 -msgid "Window management and application launching" -msgstr "Pengurusan tetingkap dan pelancaran aplikasi" - -#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:1 -msgid "Attach modal dialog to the parent window" -msgstr "Sambung tetingkap dialog pada tetingkap induk" - -#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:2 -msgid "This key overrides the key in org.gnome.mutter when running GNOME Shell." -msgstr "Kekunci ini membatalkan kekunci di dalam org.gnome.mutter apabila menjalankan GNOME Shell." - -#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:3 -msgid "Arrangement of buttons on the titlebar" -msgstr "Kedudukan butang pada bar tajuk" - -#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:4 -msgid "This key overrides the key in org.gnome.desktop.wm.preferences when running GNOME Shell." -msgstr "Kekunci ini membatalkan kekunci di dalam org.gnome.desktop.wm.preferences apabila menjalankan GNOME Shell" - -#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:5 -msgid "Enable edge tiling when dropping windows on screen edges" -msgstr "Benarkan penggentingan bucu apabila menjatuhkan tetingkap pada bucu skrin" - -#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:6 -msgid "Workspaces only on primary monitor" -msgstr "Ruangkerja hanya pada monitor utama" - -#: ../data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in.h:7 -msgid "Delay focus changes in mouse mode until the pointer stops moving" -msgstr "Lengahkan pertukaran fokus didalam mod tetikus sehingga penuding berhenti bergerak" - -#: ../extensions/alternate-tab/prefs.js:20 -msgid "Thumbnail only" -msgstr "Lakaran kecil sahaja" - -#: ../extensions/alternate-tab/prefs.js:21 -msgid "Application icon only" -msgstr "Hanya ikon aplikasi" - -#: ../extensions/alternate-tab/prefs.js:22 -msgid "Thumbnail and application icon" -msgstr "Lakaran kecil dan ikon aplikasi" - -#: ../extensions/alternate-tab/prefs.js:38 -msgid "Present windows as" -msgstr "Wakilkan tetingkap sebagai" - -#: ../extensions/alternate-tab/prefs.js:69 -msgid "Show only windows in the current workspace" -msgstr "Hanya tunjukkan tetingkap didalam ruangkerja semasa" - -#: ../extensions/apps-menu/extension.js:39 -msgid "Activities Overview" -msgstr "Gambaran Keseluruhan Aktiviti" - -#: ../extensions/apps-menu/extension.js:113 +#: extensions/apps-menu/extension.js:113 msgid "Favorites" msgstr "Kegemaran" -#: ../extensions/apps-menu/extension.js:282 +#: extensions/apps-menu/extension.js:369 msgid "Applications" -msgstr "Aplikasi" +msgstr "Aplikasi-Aplikasi" -#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1 +#: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:6 msgid "Application and workspace list" -msgstr "Senarai aplikasi dan ruangkerja" +msgstr "Senarai aplikasi dan ruang kerja" -#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2 -msgid "A list of strings, each containing an application id (desktop file name), followed by a colon and the workspace number" -msgstr "Senarai rentetan dimana setiap satu mengandungi id aplikasi (nama fail desktop) diikuti dengan kolon dan nombor ruangkerja" +#: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:7 +msgid "" +"A list of strings, each containing an application id (desktop file name), " +"followed by a colon and the workspace number" +msgstr "" +"Satu senarai rentetan, yang setiap satunya mengandungi id aplikasi (nama " +"fail atas meja) diikuti dengan tanda titik bertindih dan nombor ruang kerja" -#: ../extensions/auto-move-windows/prefs.js:60 +#: extensions/auto-move-windows/prefs.js:59 msgid "Application" msgstr "Aplikasi" -#: ../extensions/auto-move-windows/prefs.js:69 -#: ../extensions/auto-move-windows/prefs.js:127 +#: extensions/auto-move-windows/prefs.js:70 +#: extensions/auto-move-windows/prefs.js:133 msgid "Workspace" -msgstr "Ruangkerja" +msgstr "Ruang Kerja" -#: ../extensions/auto-move-windows/prefs.js:85 +#: extensions/auto-move-windows/prefs.js:88 msgid "Add Rule" msgstr "Tambah Peraturan" -#: ../extensions/auto-move-windows/prefs.js:106 +#: extensions/auto-move-windows/prefs.js:110 msgid "Create new matching rule" msgstr "Cipta peraturan baharu yang sepadan" -#: ../extensions/auto-move-windows/prefs.js:111 +#: extensions/auto-move-windows/prefs.js:116 msgid "Add" msgstr "Tambah" -#: ../extensions/drive-menu/extension.js:106 +#. TRANSLATORS: %s is the filesystem name +#: extensions/drive-menu/extension.js:103 +#: extensions/places-menu/placeDisplay.js:233 #, javascript-format -msgid "Ejecting drive '%s' failed:" -msgstr "Gagal melentingkan pemacu '%s':" +#| msgid "Ejecting drive '%s' failed:" +msgid "Ejecting drive “%s” failed:" +msgstr "Melentingkan pemacu \"%s\" gagal:" -#: ../extensions/drive-menu/extension.js:123 +#: extensions/drive-menu/extension.js:119 msgid "Removable devices" msgstr "Peranti boleh tanggal" -#: ../extensions/drive-menu/extension.js:150 -msgid "Open File" +#: extensions/drive-menu/extension.js:146 +#| msgid "Open File" +msgid "Open Files" msgstr "Buka Fail" -#: ../extensions/example/extension.js:17 -msgid "Hello, world!" -msgstr "Hello dunia!" - -#: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:1 -msgid "Alternative greeting text." -msgstr "Teks aluan alternatif." - -#: ../extensions/example/org.gnome.shell.extensions.example.gschema.xml.in.h:2 -msgid "If not empty, it contains the text that will be shown when clicking on the panel." -msgstr "Mengandungi teks yang akan ditunjukkan apabila mengklik panel jika tidak kosong." - -#: ../extensions/example/prefs.js:30 -msgid "Message" -msgstr "Mesej" - -#: ../extensions/example/prefs.js:43 -msgid "" -"Example aims to show how to build well behaved extensions for the Shell and as such it has little functionality on its own.\n" -"Nevertheless it's possible to customize the greeting message." -msgstr "" -"Contoh bertujuan untuk menunjukkan bagaimana kelakuan ciri tambahan yang sepatutnya dimana setiap satu ada fungsian sendiri.\n" -"Walau bagaimanapun, mesej aluan boleh diubahsuai. " - -#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:1 +#: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5 msgid "Use more screen for windows" msgstr "Gunakan lebih banyak skrin untuk tetingkap" -#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:2 -msgid "Try to use more screen for placing window thumbnails by adapting to screen aspect ratio, and consolidating them further to reduce the bounding box. This setting applies only with the natural placement strategy." -msgstr "Cuba menggunakan lebih banyak skrin untuk meletakkan lakaran kecil dengan menyesuaikan nisbah bidang skrin dan menggabungkan kesemuanya untuk mengurangkan kotak pembatasan. Tetapan ini hanya digunakan dengan strategi penempatan natural." +#: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:6 +msgid "" +"Try to use more screen for placing window thumbnails by adapting to screen " +"aspect ratio, and consolidating them further to reduce the bounding box. " +"This setting applies only with the natural placement strategy." +msgstr "" +"Cuba menggunakan lebih banyak skrin untuk meletakkan lakaran kecil dengan " +"menyesuaikan nisbah bidang skrin dan menggabungkan kesemuanya untuk " +"mengurangkan kotak pembatasan. Tetapan ini hanya digunakan dengan strategi " +"penempatan tabii." -#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:3 +#: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:11 msgid "Place window captions on top" -msgstr "Letakkan kapsyen tetingkap diatas" +msgstr "Letakkan kapsyen tetingkap di atas" -#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:4 -msgid "If true, place window captions on top the respective thumbnail, overriding shell default of placing it at the bottom. Changing this setting requires restarting the shell to have any effect." -msgstr "Jika benar, letakkan kapsyen diatas lakaran kecil masing-masing sekaligus membatalkan tetapan asal shell dibawah. Menukar tetapan ini perlu memulakan semula shell untuk berkesan." +#: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:12 +msgid "" +"If true, place window captions on top the respective thumbnail, overriding " +"shell default of placing it at the bottom. Changing this setting requires " +"restarting the shell to have any effect." +msgstr "" +"Jika benar, letakkan kapsyen di atas lakaran kecil masing-masing sekali gus " +"membatalkan tetapan asal shell di bawah. Penukaran tetapan ini perlu " +"memulakan semula shell untuk berkesan." -#: ../extensions/places-menu/extension.js:78 -#: ../extensions/places-menu/extension.js:81 +#: extensions/places-menu/extension.js:80 +#: extensions/places-menu/extension.js:84 msgid "Places" -msgstr "Tempat-tempat" +msgstr "Tempat" -#: ../extensions/places-menu/placeDisplay.js:57 +#: extensions/places-menu/placeDisplay.js:46 #, javascript-format -msgid "Failed to launch \"%s\"" -msgstr "Gagal melancarkan \"%s\"" +#| msgid "Failed to launch \"%s\"" +msgid "Failed to launch “%s”" +msgstr "Gagal melancarkan “%s”" -#: ../extensions/places-menu/placeDisplay.js:99 -#: ../extensions/places-menu/placeDisplay.js:122 +#: extensions/places-menu/placeDisplay.js:61 +#, javascript-format +msgid "Failed to mount volume for “%s”" +msgstr "Gagal melekap volum untuk \"%s\"" + +#: extensions/places-menu/placeDisplay.js:148 +#: extensions/places-menu/placeDisplay.js:171 msgid "Computer" msgstr "Komputer" -#: ../extensions/places-menu/placeDisplay.js:200 +#: extensions/places-menu/placeDisplay.js:359 msgid "Home" msgstr "Rumah" -#: ../extensions/places-menu/placeDisplay.js:287 +#: extensions/places-menu/placeDisplay.js:404 msgid "Browse Network" -msgstr "Semak Lewa Rangkaian" +msgstr "Layar Rangkaian" -#: ../extensions/systemMonitor/extension.js:214 -msgid "CPU" -msgstr "CPU" +#: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:7 +msgid "Cycle Screenshot Sizes" +msgstr "Kitar Saiz-Saiz Tangkap Layar" -#: ../extensions/systemMonitor/extension.js:267 -msgid "Memory" -msgstr "Memori" +#: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:11 +msgid "Cycle Screenshot Sizes Backward" +msgstr "Kitar Saiz-Saiz Tangkap Layar Mengundur" -#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1 +#: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:5 msgid "Theme name" msgstr "Nama tema" -#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2 +#: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:6 msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell" -msgstr "Nama tema yang hendak dimuatkan dari ~/.themes/name/gnome-shell" +msgstr "Nama tema yang hendak dimuatkan menerusi ~/.themes/name/gnome-shell" -#: ../extensions/window-list/extension.js:110 +#: extensions/window-list/extension.js:98 msgid "Close" msgstr "Tutup" -#: ../extensions/window-list/extension.js:120 +#: extensions/window-list/extension.js:118 msgid "Unminimize" -msgstr "Berbalik dari saiz minima" +msgstr "Nyahminimum" -#: ../extensions/window-list/extension.js:121 +#: extensions/window-list/extension.js:118 msgid "Minimize" -msgstr "Minima" +msgstr "Minimum" -#: ../extensions/window-list/extension.js:127 +#: extensions/window-list/extension.js:125 msgid "Unmaximize" -msgstr "Berbalik dari saiz maksima" +msgstr "Nyahmaksimum" -#: ../extensions/window-list/extension.js:128 +#: extensions/window-list/extension.js:125 msgid "Maximize" -msgstr "Maksima" +msgstr "Maksimum" -#: ../extensions/window-list/extension.js:300 +#: extensions/window-list/extension.js:428 msgid "Minimize all" -msgstr "Minimakan semua" +msgstr "Minimum semua" -#: ../extensions/window-list/extension.js:308 +#: extensions/window-list/extension.js:434 msgid "Unminimize all" -msgstr "Semua berbalik dari saiz minima" +msgstr "Nyahminimum semua" -#: ../extensions/window-list/extension.js:316 +#: extensions/window-list/extension.js:440 msgid "Maximize all" -msgstr "Maksimakan semua" +msgstr "Maksimum semua" -#: ../extensions/window-list/extension.js:325 +#: extensions/window-list/extension.js:448 msgid "Unmaximize all" -msgstr "Semua berbalik dari saiz maksima " +msgstr "Nyahmaksimum semua" -#: ../extensions/window-list/extension.js:334 +#: extensions/window-list/extension.js:456 msgid "Close all" -msgstr "tutup semua" +msgstr "Tutup semua" -#: ../extensions/window-list/extension.js:644 -#: ../extensions/workspace-indicator/extension.js:30 -msgid "Workspace Indicator" -msgstr "Penunjuk Ruangkerja" - -#: ../extensions/window-list/extension.js:808 +#: extensions/window-list/extension.js:736 msgid "Window List" msgstr "Senarai Tetingkap" -#: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:1 +#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:12 msgid "When to group windows" -msgstr "Waktu untuk kumpulkan tetingkap" +msgstr "Bila mahu kelompokkan tetingkap" -#: ../extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml.in.h:2 -msgid "Decides when to group windows from the same application on the window list. Possible values are \"never\", \"auto\" and \"always\"." -msgstr "Tentukan bila untuk kumpulkan tetingkap dari aplikasi yang sama pada senarai tetingkap. Nilai yang sesuai adalah \"never\", \"auto\" dan \"always\"." +#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:13 +#| msgid "" +#| "Decides when to group windows from the same application on the window " +#| "list. Possible values are \"never\", \"auto\" and \"always\"." +msgid "" +"Decides when to group windows from the same application on the window list. " +"Possible values are “never”, “auto” and “always”." +msgstr "" +"Tentukan bila hendak kelompokkan tetingkap dari aplikasi yang sama dalam " +"senarai tetingkap. Nilai yang mungkin adalah \"never\", \"auto\" dan \"always" +"\"." -#: ../extensions/window-list/prefs.js:30 +#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20 +#: extensions/window-list/prefs.js:82 +#| msgid "Show only windows in the current workspace" +msgid "Show windows from all workspaces" +msgstr "Tunjuk tetingkap pada semua ruang kerja" + +#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21 +msgid "Whether to show windows from all workspaces or only the current one." +msgstr "" +"Sama ada hendak tunjuk tetingkap dari semua ruang kerja atau yang semasa " +"sahaja." + +#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:27 +msgid "Show the window list on all monitors" +msgstr "Tunjuk senarai tetingkap pada semua monitor" + +#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:28 +msgid "" +"Whether to show the window list on all connected monitors or only on the " +"primary one." +msgstr "" +"Sama ada hendak tunjuk senarai tetingkap pada semua monitor bersambung atau " +"yang semasa sahaja." + +#: extensions/window-list/prefs.js:25 msgid "Window Grouping" -msgstr "Kumpulan Tetingkap" +msgstr "Pengelompokan Tetingkap" -#: ../extensions/window-list/prefs.js:49 +#: extensions/window-list/prefs.js:47 msgid "Never group windows" -msgstr "Jangan kumpulkan tetingkap" +msgstr "Jangan kelompokkan tetingkap" -#: ../extensions/window-list/prefs.js:50 +#: extensions/window-list/prefs.js:48 msgid "Group windows when space is limited" -msgstr "Kumpulkan tetingkap apabila ruang terhad" +msgstr "Kelompokkan tetingkap apabila ruang terhad" -#: ../extensions/window-list/prefs.js:51 +#: extensions/window-list/prefs.js:49 msgid "Always group windows" -msgstr "Sentiasa kumpulkan tetingkap" +msgstr "Sentiasa kelompokkan tetingkap" -#: ../extensions/workspace-indicator/prefs.js:141 +#: extensions/window-list/prefs.js:75 +msgid "Show on all monitors" +msgstr "Tunjuk pada semua monitor" + +#: extensions/window-list/workspaceIndicator.js:209 +#: extensions/workspace-indicator/extension.js:215 +msgid "Workspace Indicator" +msgstr "Penunjuk Ruang Kerja" + +#: extensions/workspace-indicator/prefs.js:129 msgid "Workspace Names" -msgstr "Nama Ruangkerja" +msgstr "Nama Ruang Kerja" -#: ../extensions/workspace-indicator/prefs.js:157 +#: extensions/workspace-indicator/prefs.js:149 msgid "Name" msgstr "Nama" -#: ../extensions/workspace-indicator/prefs.js:198 +#: extensions/workspace-indicator/prefs.js:189 #, javascript-format msgid "Workspace %d" -msgstr "Ruangkerja %d" +msgstr "Ruang Kerja %d" +#~ msgid "GNOME Shell Classic" +#~ msgstr "GNOME Shell Klasik" + +#~ msgid "Window management and application launching" +#~ msgstr "Pengurusan tetingkap dan pelancaran aplikasi" + +#~ msgid "Attach modal dialog to the parent window" +#~ msgstr "Sambung tetingkap dialog pada tetingkap induk" + +#~ msgid "" +#~ "This key overrides the key in org.gnome.mutter when running GNOME Shell." +#~ msgstr "" +#~ "Kekunci ini membatalkan kekunci di dalam org.gnome.mutter apabila " +#~ "menjalankan GNOME Shell." + +#~ msgid "Arrangement of buttons on the titlebar" +#~ msgstr "Kedudukan butang pada bar tajuk" + +#~ msgid "" +#~ "This key overrides the key in org.gnome.desktop.wm.preferences when " +#~ "running GNOME Shell." +#~ msgstr "" +#~ "Kekunci ini membatalkan kekunci di dalam org.gnome.desktop.wm.preferences " +#~ "apabila menjalankan GNOME Shell" + +#~ msgid "Enable edge tiling when dropping windows on screen edges" +#~ msgstr "" +#~ "Benarkan penggentingan bucu apabila menjatuhkan tetingkap pada bucu skrin" + +#~ msgid "Workspaces only on primary monitor" +#~ msgstr "Ruangkerja hanya pada monitor utama" + +#~ msgid "Delay focus changes in mouse mode until the pointer stops moving" +#~ msgstr "" +#~ "Lengahkan pertukaran fokus didalam mod tetikus sehingga penuding berhenti " +#~ "bergerak" + +#~ msgid "Thumbnail only" +#~ msgstr "Lakaran kecil sahaja" + +#~ msgid "Application icon only" +#~ msgstr "Hanya ikon aplikasi" + +#~ msgid "Thumbnail and application icon" +#~ msgstr "Lakaran kecil dan ikon aplikasi" + +#~ msgid "Present windows as" +#~ msgstr "Wakilkan tetingkap sebagai" + +#~ msgid "Activities Overview" +#~ msgstr "Gambaran Keseluruhan Aktiviti" + +#~ msgid "Hello, world!" +#~ msgstr "Hello dunia!" + +#~ msgid "Alternative greeting text." +#~ msgstr "Teks aluan alternatif." + +#~ msgid "" +#~ "If not empty, it contains the text that will be shown when clicking on " +#~ "the panel." +#~ msgstr "" +#~ "Mengandungi teks yang akan ditunjukkan apabila mengklik panel jika tidak " +#~ "kosong." + +#~ msgid "Message" +#~ msgstr "Mesej" + +#~ msgid "" +#~ "Example aims to show how to build well behaved extensions for the Shell " +#~ "and as such it has little functionality on its own.\n" +#~ "Nevertheless it's possible to customize the greeting message." +#~ msgstr "" +#~ "Contoh bertujuan untuk menunjukkan bagaimana kelakuan ciri tambahan yang " +#~ "sepatutnya dimana setiap satu ada fungsian sendiri.\n" +#~ "Walau bagaimanapun, mesej aluan boleh diubahsuai. " + +#~ msgid "CPU" +#~ msgstr "CPU" + +#~ msgid "Memory" +#~ msgstr "Memori" From cb53d0b85cc7cfdcbed68c35244003e011c26ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 6 Feb 2020 21:51:09 +0100 Subject: [PATCH 27/31] Update sass submodule --- data/gnome-shell-sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gnome-shell-sass b/data/gnome-shell-sass index c42cc187..4f98bbb8 160000 --- a/data/gnome-shell-sass +++ b/data/gnome-shell-sass @@ -1 +1 @@ -Subproject commit c42cc1871bb84576adf0bbb6e5835a738b5e7ac2 +Subproject commit 4f98bbb82f719d90378e2964f6d9f7be3433831f From 9a6b4da33cdf92c87c9a77ea4445455e14546494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 6 Feb 2020 21:54:51 +0100 Subject: [PATCH 28/31] Bump version to 3.35.90 Update NEWS. --- NEWS | 12 ++++++++++++ meson.build | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 2b5ce7ad..06d332d3 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,15 @@ +3.35.90 +======= +* Adjust to gnome-shell changes [Florian; !100, !101, !102] +* Force single-line window titles in window list [Florian; #202] +* Misc. bug fixes and cleanup [Florian; !104, !105] + +Contributors: + Florian Müllner + +Translators: + sicklylife [ja], Umarzuki Bin Mochlis Moktar [ms] + 3.35.3 ====== diff --git a/meson.build b/meson.build index 8c232576..e366ab05 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('gnome-shell-extensions', - version: '3.35.3', + version: '3.35.90', meson_version: '>= 0.44.0', license: 'GPL2+' ) From a8eecac0ff50930b1b1e4e762ac5ea43f1a96675 Mon Sep 17 00:00:00 2001 From: Zander Brown Date: Tue, 11 Feb 2020 19:32:35 +0000 Subject: [PATCH 29/31] Update British English translation --- po/en_GB.po | 296 ++++++++++++++++++++++++---------------------------- 1 file changed, 139 insertions(+), 157 deletions(-) diff --git a/po/en_GB.po b/po/en_GB.po index 92ae445b..69be6543 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -4,21 +4,23 @@ # Bruce Cowan , 2011, 2018. # Chris Leonard , 2012. # Philip Withnall , 2014. +# Zander Brown , 2019. +# msgid "" msgstr "" "Project-Id-Version: gnome-shell-extensions\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/" "issues\n" -"POT-Creation-Date: 2018-02-20 23:07+0000\n" -"PO-Revision-Date: 2018-03-10 18:03+0000\n" -"Last-Translator: Bruce Cowan \n" -"Language-Team: Sugar Labs\n" +"POT-Creation-Date: 2019-08-09 22:24+0000\n" +"PO-Revision-Date: 2019-08-25 16:49+0100\n" +"Last-Translator: Zander Brown \n" +"Language-Team: English - United Kingdom \n" "Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 2.0.6\n" +"X-Generator: Gtranslator 3.32.1\n" "X-Project-Style: gnome\n" #: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3 @@ -29,72 +31,11 @@ msgstr "GNOME Classic" msgid "This session logs you into GNOME Classic" msgstr "This session logs you into GNOME Classic" -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:7 -msgid "Attach modal dialog to the parent window" -msgstr "Attach modal dialogue to the parent window" - -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:8 -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:25 -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:33 -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:41 -msgid "" -"This key overrides the key in org.gnome.mutter when running GNOME Shell." -msgstr "" -"This key overrides the key in org.gnome.mutter when running GNOME Shell." - -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:16 -msgid "Arrangement of buttons on the titlebar" -msgstr "Arrangement of buttons on the titlebar" - -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:17 -msgid "" -"This key overrides the key in org.gnome.desktop.wm.preferences when running " -"GNOME Shell." -msgstr "" -"This key overrides the key in org.gnome.desktop.wm.preferences when running " -"GNOME Shell." - -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:24 -msgid "Enable edge tiling when dropping windows on screen edges" -msgstr "Enable edge tiling when dropping windows on screen edges" - -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:32 -msgid "Workspaces only on primary monitor" -msgstr "Workspaces only on primary monitor" - -#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:40 -msgid "Delay focus changes in mouse mode until the pointer stops moving" -msgstr "Delay focus changes in mouse mode until the pointer stops moving" - -#: extensions/alternate-tab/prefs.js:19 -msgid "Thumbnail only" -msgstr "Thumbnail only" - -#: extensions/alternate-tab/prefs.js:20 -msgid "Application icon only" -msgstr "Application icon only" - -#: extensions/alternate-tab/prefs.js:21 -msgid "Thumbnail and application icon" -msgstr "Thumbnail and application icon" - -#: extensions/alternate-tab/prefs.js:34 -msgid "Present windows as" -msgstr "Present windows as" - -#: extensions/alternate-tab/prefs.js:65 -msgid "Show only windows in the current workspace" -msgstr "Show only windows in the current workspace" - -#: extensions/apps-menu/extension.js:37 -msgid "Activities Overview" -msgstr "Activities Overview" - -#: extensions/apps-menu/extension.js:130 +#: extensions/apps-menu/extension.js:113 msgid "Favorites" msgstr "Favourites" -#: extensions/apps-menu/extension.js:417 +#: extensions/apps-menu/extension.js:368 msgid "Applications" msgstr "Applications" @@ -110,32 +51,31 @@ msgstr "" "A list of strings, each containing an application id (desktop file name), " "followed by a colon and the workspace number" -#: extensions/auto-move-windows/prefs.js:53 +#: extensions/auto-move-windows/prefs.js:60 msgid "Application" msgstr "Application" -#: extensions/auto-move-windows/prefs.js:62 -#: extensions/auto-move-windows/prefs.js:117 +#: extensions/auto-move-windows/prefs.js:71 +#: extensions/auto-move-windows/prefs.js:134 msgid "Workspace" msgstr "Workspace" -#: extensions/auto-move-windows/prefs.js:78 +#: extensions/auto-move-windows/prefs.js:89 msgid "Add Rule" msgstr "Add Rule" -#: extensions/auto-move-windows/prefs.js:98 +#: extensions/auto-move-windows/prefs.js:111 msgid "Create new matching rule" msgstr "Create new matching rule" -#: extensions/auto-move-windows/prefs.js:103 +#: extensions/auto-move-windows/prefs.js:117 msgid "Add" msgstr "Add" #. TRANSLATORS: %s is the filesystem name -#: extensions/drive-menu/extension.js:103 -#: extensions/places-menu/placeDisplay.js:219 +#: extensions/drive-menu/extension.js:102 +#: extensions/places-menu/placeDisplay.js:232 #, javascript-format -#| msgid "Ejecting drive '%s' failed:" msgid "Ejecting drive “%s” failed:" msgstr "Ejecting drive “%s” failed:" @@ -143,47 +83,10 @@ msgstr "Ejecting drive “%s” failed:" msgid "Removable devices" msgstr "Removable devices" -#: extensions/drive-menu/extension.js:143 -#| msgid "Open File" +#: extensions/drive-menu/extension.js:145 msgid "Open Files" msgstr "Open Files" -#: extensions/example/extension.js:17 -msgid "Hello, world!" -msgstr "Hello, world!" - -#: extensions/example/org.gnome.shell.extensions.example.gschema.xml:5 -msgid "Alternative greeting text." -msgstr "Alternative greeting text." - -#: extensions/example/org.gnome.shell.extensions.example.gschema.xml:6 -msgid "" -"If not empty, it contains the text that will be shown when clicking on the " -"panel." -msgstr "" -"If not empty, it contains the text that will be shown when clicking on the " -"panel." - -#: extensions/example/prefs.js:27 -msgid "Message" -msgstr "Message" - -#. TRANSLATORS: Example is the name of the extension, should not be -#. translated -#: extensions/example/prefs.js:40 -#| msgid "" -#| "Example aims to show how to build well behaved extensions for the Shell " -#| "and as such it has little functionality on its own.\n" -#| "Nevertheless it's possible to customize the greeting message." -msgid "" -"Example aims to show how to build well behaved extensions for the Shell and " -"as such it has little functionality on its own.\n" -"Nevertheless it’s possible to customize the greeting message." -msgstr "" -"Example aims to show how to build well behaved extensions for the Shell and " -"as such it has little functionality on its own.\n" -"Nevertheless it’s possible to customise the greeting message." - #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5 msgid "Use more screen for windows" msgstr "Use more screen for windows" @@ -212,32 +115,31 @@ msgstr "" "shell default of placing it at the bottom. Changing this setting requires " "restarting the shell to have any effect." -#: extensions/places-menu/extension.js:79 -#: extensions/places-menu/extension.js:82 +#: extensions/places-menu/extension.js:80 +#: extensions/places-menu/extension.js:84 msgid "Places" msgstr "Places" -#: extensions/places-menu/placeDisplay.js:66 +#: extensions/places-menu/placeDisplay.js:46 +#, javascript-format +msgid "Failed to launch “%s”" +msgstr "Failed to launch “%s”" + +#: extensions/places-menu/placeDisplay.js:61 #, javascript-format msgid "Failed to mount volume for “%s”" msgstr "Failed to mount volume for “%s”" -#: extensions/places-menu/placeDisplay.js:79 -#, javascript-format -#| msgid "Failed to launch \"%s\"" -msgid "Failed to launch “%s”" -msgstr "Failed to launch “%s”" - -#: extensions/places-menu/placeDisplay.js:135 -#: extensions/places-menu/placeDisplay.js:158 +#: extensions/places-menu/placeDisplay.js:148 +#: extensions/places-menu/placeDisplay.js:171 msgid "Computer" msgstr "Computer" -#: extensions/places-menu/placeDisplay.js:336 +#: extensions/places-menu/placeDisplay.js:358 msgid "Home" msgstr "Home" -#: extensions/places-menu/placeDisplay.js:378 +#: extensions/places-menu/placeDisplay.js:403 msgid "Browse Network" msgstr "Browse Network" @@ -246,7 +148,6 @@ msgid "Cycle Screenshot Sizes" msgstr "Cycle Screenshot Sizes" #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:11 -#| msgid "Cycle Screenshot Sizes" msgid "Cycle Screenshot Sizes Backward" msgstr "Cycle Screenshot Sizes Backward" @@ -258,52 +159,47 @@ msgstr "Theme name" msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell" msgstr "The name of the theme, to be loaded from ~/.themes/name/gnome-shell" -#: extensions/window-list/extension.js:106 +#: extensions/window-list/extension.js:99 msgid "Close" msgstr "Close" -#: extensions/window-list/extension.js:125 +#: extensions/window-list/extension.js:119 msgid "Unminimize" msgstr "Unminimise" -#: extensions/window-list/extension.js:126 +#: extensions/window-list/extension.js:119 msgid "Minimize" msgstr "Minimise" -#: extensions/window-list/extension.js:132 +#: extensions/window-list/extension.js:126 msgid "Unmaximize" msgstr "Unmaximise" -#: extensions/window-list/extension.js:133 +#: extensions/window-list/extension.js:126 msgid "Maximize" msgstr "Maximise" -#: extensions/window-list/extension.js:408 +#: extensions/window-list/extension.js:431 msgid "Minimize all" msgstr "Minimise all" -#: extensions/window-list/extension.js:414 +#: extensions/window-list/extension.js:437 msgid "Unminimize all" msgstr "Unminimise all" -#: extensions/window-list/extension.js:420 +#: extensions/window-list/extension.js:443 msgid "Maximize all" msgstr "Maximise all" -#: extensions/window-list/extension.js:429 +#: extensions/window-list/extension.js:451 msgid "Unmaximize all" msgstr "Unmaximise all" -#: extensions/window-list/extension.js:438 +#: extensions/window-list/extension.js:459 msgid "Close all" msgstr "Close all" -#: extensions/window-list/extension.js:646 -#: extensions/workspace-indicator/extension.js:26 -msgid "Workspace Indicator" -msgstr "Workspace Indicator" - -#: extensions/window-list/extension.js:811 +#: extensions/window-list/extension.js:741 msgid "Window List" msgstr "Window List" @@ -312,9 +208,6 @@ msgid "When to group windows" msgstr "When to group windows" #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:13 -#| msgid "" -#| "Decides when to group windows from the same application on the window " -#| "list. Possible values are \"never\", \"auto\" and \"always\"." msgid "" "Decides when to group windows from the same application on the window list. " "Possible values are “never”, “auto” and “always”." @@ -323,10 +216,23 @@ msgstr "" "Possible values are “never”, “auto” and “always”." #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20 +#: extensions/window-list/prefs.js:82 +#| msgid "Show only windows in the current workspace" +msgid "Show windows from all workspaces" +msgstr "Show windows from all workspaces" + +#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21 +#| msgid "" +#| "Whether to show the window list on all connected monitors or only on the " +#| "primary one." +msgid "Whether to show windows from all workspaces or only the current one." +msgstr "Whether to show windows from all workspaces or only the current one." + +#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:27 msgid "Show the window list on all monitors" msgstr "Show the window list on all monitors" -#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21 +#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:28 msgid "" "Whether to show the window list on all connected monitors or only on the " "primary one." @@ -334,39 +240,115 @@ msgstr "" "Whether to show the window list on all connected monitors or only on the " "primary one." -#: extensions/window-list/prefs.js:28 +#: extensions/window-list/prefs.js:25 msgid "Window Grouping" msgstr "Window Grouping" -#: extensions/window-list/prefs.js:46 +#: extensions/window-list/prefs.js:47 msgid "Never group windows" msgstr "Never group windows" -#: extensions/window-list/prefs.js:47 +#: extensions/window-list/prefs.js:48 msgid "Group windows when space is limited" msgstr "Group windows when space is limited" -#: extensions/window-list/prefs.js:48 +#: extensions/window-list/prefs.js:49 msgid "Always group windows" msgstr "Always group windows" -#: extensions/window-list/prefs.js:71 +#: extensions/window-list/prefs.js:75 msgid "Show on all monitors" msgstr "Show on all monitors" -#: extensions/workspace-indicator/prefs.js:134 +#: extensions/window-list/workspaceIndicator.js:211 +#: extensions/workspace-indicator/extension.js:216 +msgid "Workspace Indicator" +msgstr "Workspace Indicator" + +#: extensions/workspace-indicator/prefs.js:131 msgid "Workspace Names" msgstr "Workspace Names" -#: extensions/workspace-indicator/prefs.js:150 +#: extensions/workspace-indicator/prefs.js:151 msgid "Name" msgstr "Name" -#: extensions/workspace-indicator/prefs.js:190 +#: extensions/workspace-indicator/prefs.js:191 #, javascript-format msgid "Workspace %d" msgstr "Workspace %d" +#~ msgid "Attach modal dialog to the parent window" +#~ msgstr "Attach modal dialogue to the parent window" + +#~ msgid "" +#~ "This key overrides the key in org.gnome.mutter when running GNOME Shell." +#~ msgstr "" +#~ "This key overrides the key in org.gnome.mutter when running GNOME Shell." + +#~ msgid "Arrangement of buttons on the titlebar" +#~ msgstr "Arrangement of buttons on the titlebar" + +#~ msgid "" +#~ "This key overrides the key in org.gnome.desktop.wm.preferences when " +#~ "running GNOME Shell." +#~ msgstr "" +#~ "This key overrides the key in org.gnome.desktop.wm.preferences when " +#~ "running GNOME Shell." + +#~ msgid "Enable edge tiling when dropping windows on screen edges" +#~ msgstr "Enable edge tiling when dropping windows on screen edges" + +#~ msgid "Workspaces only on primary monitor" +#~ msgstr "Workspaces only on primary monitor" + +#~ msgid "Delay focus changes in mouse mode until the pointer stops moving" +#~ msgstr "Delay focus changes in mouse mode until the pointer stops moving" + +#~ msgid "Thumbnail only" +#~ msgstr "Thumbnail only" + +#~ msgid "Application icon only" +#~ msgstr "Application icon only" + +#~ msgid "Thumbnail and application icon" +#~ msgstr "Thumbnail and application icon" + +#~ msgid "Present windows as" +#~ msgstr "Present windows as" + +#~ msgid "Activities Overview" +#~ msgstr "Activities Overview" + +#~ msgid "Hello, world!" +#~ msgstr "Hello, world!" + +#~ msgid "Alternative greeting text." +#~ msgstr "Alternative greeting text." + +#~ msgid "" +#~ "If not empty, it contains the text that will be shown when clicking on " +#~ "the panel." +#~ msgstr "" +#~ "If not empty, it contains the text that will be shown when clicking on " +#~ "the panel." + +#~ msgid "Message" +#~ msgstr "Message" + +#~| msgid "" +#~| "Example aims to show how to build well behaved extensions for the Shell " +#~| "and as such it has little functionality on its own.\n" +#~| "Nevertheless it's possible to customize the greeting message." +#~ msgid "" +#~ "Example aims to show how to build well behaved extensions for the Shell " +#~ "and as such it has little functionality on its own.\n" +#~ "Nevertheless it’s possible to customize the greeting message." +#~ msgstr "" +#~ "Example aims to show how to build well behaved extensions for the Shell " +#~ "and as such it has little functionality on its own.\n" +#~ "Nevertheless it’s possible to customise the greeting message." + #~ msgid "GNOME Shell Classic" #~ msgstr "GNOME Shell Classic" From f61e2f5f5cb8d348af3972fa87bca4741176ea17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 18 Feb 2020 00:35:32 +0100 Subject: [PATCH 30/31] Update sass submodule --- data/gnome-shell-sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gnome-shell-sass b/data/gnome-shell-sass index 4f98bbb8..8310f494 160000 --- a/data/gnome-shell-sass +++ b/data/gnome-shell-sass @@ -1 +1 @@ -Subproject commit 4f98bbb82f719d90378e2964f6d9f7be3433831f +Subproject commit 8310f4948547c503fe1502d8ecb9dff393a24118 From 4456b440d8c048a8785b3b4fa8a39d8dc34bc47e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 18 Feb 2020 00:36:15 +0100 Subject: [PATCH 31/31] Bump version to 3.35.91 Update NEWS. --- NEWS | 9 +++++++++ meson.build | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 06d332d3..dcbdece0 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ +3.35.91 +======= + +Contributors: + Florian Müllner + +Translators: + Zander Brown [en_GB] + 3.35.90 ======= * Adjust to gnome-shell changes [Florian; !100, !101, !102] diff --git a/meson.build b/meson.build index e366ab05..24a7ab50 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('gnome-shell-extensions', - version: '3.35.90', + version: '3.35.91', meson_version: '>= 0.44.0', license: 'GPL2+' )