From a594cd247339bd02642db5420bbcd49edb1398b0 Mon Sep 17 00:00:00 2001 From: Domenico Ferraro Date: Thu, 24 Oct 2024 19:52:21 +0200 Subject: [PATCH] fix: some corrections to translations and how the keybindings directions are represented --- src/components/tilingsystem/tilingLayout.ts | 157 +++++----- src/components/tilingsystem/tilingManager.ts | 29 +- src/extension.ts | 47 ++- src/keybindings.ts | 32 +- translations/it.po | 286 +++++++++--------- .../tilingshell@ferrarodomenico.com.pot | 282 +++++++++-------- 6 files changed, 430 insertions(+), 403 deletions(-) diff --git a/src/components/tilingsystem/tilingLayout.ts b/src/components/tilingsystem/tilingLayout.ts index 07fd602..ed8dba5 100644 --- a/src/components/tilingsystem/tilingLayout.ts +++ b/src/components/tilingsystem/tilingLayout.ts @@ -2,6 +2,7 @@ import Meta from 'gi://Meta'; import { registerGObjectClass } from '@/utils/gjs'; import Mtk from 'gi://Mtk'; import Clutter from 'gi://Clutter'; +import St from 'gi://St'; import TilePreview, { TilePreviewConstructorProperties, } from '../tilepreview/tilePreview'; @@ -11,11 +12,13 @@ import Tile from '../layout/Tile'; import { buildRectangle, buildTileGaps, + isPointInsideRect, squaredEuclideanDistance, } from '@utils/ui'; import TileUtils from '@components/layout/TileUtils'; import { logger } from '@utils/shell'; import GlobalState from '@utils/globalState'; +import { KeyBindingsDirection } from '@keybindings'; const debug = logger('TilingLayout'); @@ -372,102 +375,104 @@ export default class TilingLayout extends LayoutWidget { public findNearestTile( source: Mtk.Rectangle, ): { rect: Mtk.Rectangle; tile: Tile } | undefined { - let previewFound: DynamicTilePreview | undefined; - let bestDistance = -1; - - const sourceCenter = { + const sourceCoords = { x: source.x + source.width / 2, - y: source.x + source.height / 2, + y: source.y + source.height / 2, }; - for (let i = 0; i < this._previews.length; i++) { - const preview = this._previews[i]; - - const previewCenter = { - x: preview.innerX + preview.innerWidth / 2, - y: preview.innerY + preview.innerHeight / 2, - }; - - const euclideanDistance = squaredEuclideanDistance( - previewCenter, - sourceCenter, - ); + // uncomment to show debugging + /* global.windowGroup + .get_children() + .filter((c) => c.get_name() === 'debug-kb')[0] + ?.destroy(); + const debugWidget = new St.Widget({ + x: sourceCoords.x - 8, + y: sourceCoords.y - 8, + height: 16, + width: 16, + style: 'border: 2px solid red; border-radius: 8px;', + name: 'debug-kb', + }); + global.windowGroup.add_child(debugWidget);*/ - if (!previewFound || euclideanDistance < bestDistance) { - previewFound = preview; - bestDistance = euclideanDistance; + for (let i = 0; i < this._previews.length; i++) { + const previewFound = this._previews[i]; + if (isPointInsideRect(sourceCoords, previewFound.rect)) { + return { + rect: buildRectangle({ + x: previewFound.innerX, + y: previewFound.innerY, + width: previewFound.innerWidth, + height: previewFound.innerHeight, + }), + tile: previewFound.tile, + }; } } - if (!previewFound) return undefined; - - return { - rect: buildRectangle({ - x: previewFound.innerX, - y: previewFound.innerY, - width: previewFound.innerWidth, - height: previewFound.innerHeight, - }), - tile: previewFound.tile, - }; + return undefined; } public findNearestTileDirection( source: Mtk.Rectangle, - direction: Meta.DisplayDirection, + direction: KeyBindingsDirection, ): { rect: Mtk.Rectangle; tile: Tile } | undefined { - const sourceCenter = { + if (direction === KeyBindingsDirection.CENTER) return undefined; + + const sourceCoords = { x: source.x + source.width / 2, - y: source.x + source.height / 2, + y: source.y + source.height / 2, }; - const filtered = this._previews.filter((preview) => { - switch (direction) { - case Meta.DisplayDirection.RIGHT: - return preview.x >= source.x + source.width; - case Meta.DisplayDirection.LEFT: - return preview.x + preview.width <= source.x; - case Meta.DisplayDirection.DOWN: - return preview.y >= source.y + source.height; - case Meta.DisplayDirection.UP: - return preview.y + preview.height <= source.y; - default: - return false; - } - }); - - let previewFound: DynamicTilePreview | undefined; - let bestDistance = -1; - for (let i = 0; i < filtered.length; i++) { - const preview = filtered[i]; - - const previewCenter = { - x: preview.innerX + preview.innerWidth / 2, - y: preview.innerY + preview.innerHeight / 2, - }; + // enlarge the side of the direction and search a tile that contains that point + const enlarge = 64; + + switch (direction) { + case KeyBindingsDirection.RIGHT: + sourceCoords.x = source.x + source.width + enlarge; + break; + case KeyBindingsDirection.LEFT: + sourceCoords.x = source.x - enlarge; + break; + case KeyBindingsDirection.DOWN: + sourceCoords.y = source.y + source.height + enlarge; + break; + case KeyBindingsDirection.UP: + sourceCoords.y = source.y - enlarge; + break; + } - const euclideanDistance = squaredEuclideanDistance( - previewCenter, - sourceCenter, - ); + // uncomment to show debugging + /* global.windowGroup + .get_children() + .filter((c) => c.get_name() === 'debug-kb')[0] + ?.destroy(); + const debugWidget = new St.Widget({ + x: sourceCoords.x - 8, + y: sourceCoords.y - 8, + height: 16, + width: 16, + style: 'border: 2px solid red; border-radius: 8px;', + name: 'debug-kb', + }); + global.windowGroup.add_child(debugWidget);*/ - if (!previewFound || euclideanDistance < bestDistance) { - previewFound = preview; - bestDistance = euclideanDistance; + for (let i = 0; i < this._previews.length; i++) { + const previewFound = this._previews[i]; + if (isPointInsideRect(sourceCoords, previewFound.rect)) { + return { + rect: buildRectangle({ + x: previewFound.innerX, + y: previewFound.innerY, + width: previewFound.innerWidth, + height: previewFound.innerHeight, + }), + tile: previewFound.tile, + }; } } - if (!previewFound) return undefined; - - return { - rect: buildRectangle({ - x: previewFound.innerX, - y: previewFound.innerY, - width: previewFound.innerWidth, - height: previewFound.innerHeight, - }), - tile: previewFound.tile, - }; + return undefined; } public getRightmostTile(): { rect: Mtk.Rectangle; tile: Tile } { diff --git a/src/components/tilingsystem/tilingManager.ts b/src/components/tilingsystem/tilingManager.ts index e7a6b93..5f1e5f5 100644 --- a/src/components/tilingsystem/tilingManager.ts +++ b/src/components/tilingsystem/tilingManager.ts @@ -26,6 +26,7 @@ import { Monitor } from 'resource:///org/gnome/shell/ui/layout.js'; import ExtendedWindow from './extendedWindow'; import EdgeTilingManager from './edgeTilingManager'; import TouchPointer from './touchPointer'; +import { KeyBindingsDirection } from '@keybindings'; const MINIMUM_DISTANCE_TO_RESTORE_ORIGINAL_SIZE = 90; @@ -190,27 +191,27 @@ export class TilingManager { public onKeyboardMoveWindow( window: Meta.Window, - direction: Meta.DisplayDirection | undefined, // direction is undefined -> move to the center of the screen + direction: KeyBindingsDirection, force: boolean, spanFlag: boolean, ): boolean { let destination: { rect: Mtk.Rectangle; tile: Tile } | undefined; - if (window.get_maximized()) { - if (spanFlag) return false; + if (spanFlag && window.get_maximized()) return false; + if (window.get_maximized()) { switch (direction) { - case undefined: + case KeyBindingsDirection.CENTER: window.unmaximize(Meta.MaximizeFlags.BOTH); break; - case Meta.DisplayDirection.DOWN: + case KeyBindingsDirection.DOWN: window.unmaximize(Meta.MaximizeFlags.BOTH); return true; - case Meta.DisplayDirection.UP: + case KeyBindingsDirection.UP: return false; - case Meta.DisplayDirection.LEFT: + case KeyBindingsDirection.LEFT: destination = this._tilingLayout.getLeftmostTile(); break; - case Meta.DisplayDirection.RIGHT: + case KeyBindingsDirection.RIGHT: destination = this._tilingLayout.getRightmostTile(); break; } @@ -220,7 +221,7 @@ export class TilingManager { const windowRectCopy = window.get_frame_rect().copy(); if (!destination) { // if the window is not tiled, find the nearest tile in any direction - if (!direction) { + if (direction === KeyBindingsDirection.CENTER) { // direction is undefined -> move to the center of the screen const rect = buildRectangle({ x: @@ -255,7 +256,7 @@ export class TilingManager { // handle maximize of window if ( - direction === Meta.DisplayDirection.UP && + direction === KeyBindingsDirection.UP && window.can_maximize() ) { window.maximize(Meta.MaximizeFlags.BOTH); @@ -275,14 +276,14 @@ export class TilingManager { ); } + if (window.get_maximized()) window.unmaximize(Meta.MaximizeFlags.BOTH); + + this._easeWindowRect(window, destination.rect, false, force); + // ensure the assigned tile is a COPY (window as ExtendedWindow).assignedTile = new Tile({ ...destination.tile, }); - - if (window.get_maximized()) window.unmaximize(Meta.MaximizeFlags.BOTH); - - this._easeWindowRect(window, destination.rect, false, force); return true; } diff --git a/src/extension.ts b/src/extension.ts index cfda151..32fe8fe 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -14,7 +14,7 @@ import Indicator from './indicator/indicator'; import { Extension } from 'resource:///org/gnome/shell/extensions/extension.js'; import { ExtensionMetadata } from 'resource:///org/gnome/shell/extensions/extension.js'; import DBus from './dbus'; -import KeyBindings from './keybindings'; +import KeyBindings, { KeyBindingsDirection } from './keybindings'; import SettingsOverride from '@settings/settingsOverride'; import { ResizingManager } from '@components/tilingsystem/resizeManager'; import OverriddenWindowMenu from '@components/window_menu/overriddenWindowMenu'; @@ -196,7 +196,7 @@ export default class TilingShellExtension extends Extension { ( kb: KeyBindings, dp: Meta.Display, - dir: Meta.DisplayDirection, + dir: KeyBindingsDirection, ) => { this._onKeyboardMoveWin(dp, dir, false); }, @@ -207,7 +207,7 @@ export default class TilingShellExtension extends Extension { ( kb: KeyBindings, dp: Meta.Display, - dir: Meta.DisplayDirection, + dir: KeyBindingsDirection, ) => { this._onKeyboardMoveWin(dp, dir, true); }, @@ -231,7 +231,11 @@ export default class TilingShellExtension extends Extension { this._keybindings, 'move-window-center', (kb: KeyBindings, dp: Meta.Display) => { - this._onKeyboardMoveWin(dp, undefined, false); + this._onKeyboardMoveWin( + dp, + KeyBindingsDirection.CENTER, + false, + ); }, ); this._signals.connect( @@ -240,7 +244,7 @@ export default class TilingShellExtension extends Extension { ( kb: KeyBindings, dp: Meta.Display, - dir: Meta.DisplayDirection, + dir: KeyBindingsDirection, ) => { this._onKeyboardFocusWin(dp, dir); }, @@ -378,7 +382,7 @@ export default class TilingShellExtension extends Extension { private _onKeyboardMoveWin( display: Meta.Display, - direction: Meta.DisplayDirection | undefined, // undefined means move window to the center + direction: KeyBindingsDirection, spanFlag: boolean, ) { const focus_window = display.get_focus_window(); @@ -396,7 +400,7 @@ export default class TilingShellExtension extends Extension { // handle unmaximize of maximized window if ( focus_window.get_maximized() && - direction === Meta.DisplayDirection.DOWN + direction === KeyBindingsDirection.DOWN ) { focus_window.unmaximize(Meta.MaximizeFlags.BOTH); return; @@ -412,17 +416,30 @@ export default class TilingShellExtension extends Extension { false, spanFlag, ); - if (success || !direction) return; + if (success || direction === KeyBindingsDirection.CENTER) return; + + let displayDirection = Meta.DisplayDirection.DOWN; + switch (direction) { + case KeyBindingsDirection.LEFT: + displayDirection = Meta.DisplayDirection.LEFT; + break; + case KeyBindingsDirection.RIGHT: + displayDirection = Meta.DisplayDirection.RIGHT; + break; + case KeyBindingsDirection.UP: + displayDirection = Meta.DisplayDirection.UP; + break; + } const neighborMonitorIndex = display.get_monitor_neighbor_index( focus_window.get_monitor(), - direction, + displayDirection, ); // if the window is maximized, direction is UP and there is a monitor above, minimize the window if ( focus_window.get_maximized() && - direction === Meta.DisplayDirection.UP + direction === KeyBindingsDirection.UP ) { // @ts-expect-error "Main.wm has skipNextEffect function" Main.wm.skipNextEffect(focus_window.get_compositor_private()); @@ -443,7 +460,7 @@ export default class TilingShellExtension extends Extension { private _onKeyboardFocusWin( display: Meta.Display, - direction: Meta.DisplayDirection, + direction: KeyBindingsDirection, ) { const focus_window = display.get_focus_window(); if ( @@ -475,13 +492,13 @@ export default class TilingShellExtension extends Extension { const winRect = win.get_frame_rect(); switch (direction) { - case Meta.DisplayDirection.RIGHT: + case KeyBindingsDirection.RIGHT: return winRect.x > focusWindowRect.x; - case Meta.DisplayDirection.LEFT: + case KeyBindingsDirection.LEFT: return winRect.x < focusWindowRect.x; - case Meta.DisplayDirection.UP: + case KeyBindingsDirection.UP: return winRect.y < focusWindowRect.y; - case Meta.DisplayDirection.DOWN: + case KeyBindingsDirection.DOWN: return winRect.y > focusWindowRect.y; } return false; diff --git a/src/keybindings.ts b/src/keybindings.ts index a375bf0..1fcb43c 100644 --- a/src/keybindings.ts +++ b/src/keybindings.ts @@ -12,6 +12,14 @@ import { logger } from '@utils/shell'; const debug = logger('KeyBindings'); +export enum KeyBindingsDirection { + CENTER = 1, + UP, + DOWN, + LEFT, + RIGHT, +} + @registerGObjectClass export default class KeyBindings extends GObject.Object { static metaInfo: GObject.MetaInfo = { @@ -72,7 +80,7 @@ export default class KeyBindings extends GObject.Object { Meta.KeyBindingFlags.NONE, Shell.ActionMode.NORMAL, (display: Meta.Display) => { - this.emit('span-window', display, Meta.DisplayDirection.RIGHT); + this.emit('span-window', display, KeyBindingsDirection.RIGHT); }, ); @@ -82,7 +90,7 @@ export default class KeyBindings extends GObject.Object { Meta.KeyBindingFlags.NONE, Shell.ActionMode.NORMAL, (display: Meta.Display) => { - this.emit('span-window', display, Meta.DisplayDirection.LEFT); + this.emit('span-window', display, KeyBindingsDirection.LEFT); }, ); @@ -92,7 +100,7 @@ export default class KeyBindings extends GObject.Object { Meta.KeyBindingFlags.NONE, Shell.ActionMode.NORMAL, (display: Meta.Display) => { - this.emit('span-window', display, Meta.DisplayDirection.UP); + this.emit('span-window', display, KeyBindingsDirection.UP); }, ); @@ -102,7 +110,7 @@ export default class KeyBindings extends GObject.Object { Meta.KeyBindingFlags.NONE, Shell.ActionMode.NORMAL, (display: Meta.Display) => { - this.emit('span-window', display, Meta.DisplayDirection.DOWN); + this.emit('span-window', display, KeyBindingsDirection.DOWN); }, ); @@ -140,7 +148,7 @@ export default class KeyBindings extends GObject.Object { Meta.KeyBindingFlags.NONE, Shell.ActionMode.NORMAL, (display: Meta.Display) => { - this.emit('focus-window', display, Meta.DisplayDirection.RIGHT); + this.emit('focus-window', display, KeyBindingsDirection.RIGHT); }, ); @@ -150,7 +158,7 @@ export default class KeyBindings extends GObject.Object { Meta.KeyBindingFlags.NONE, Shell.ActionMode.NORMAL, (display: Meta.Display) => { - this.emit('focus-window', display, Meta.DisplayDirection.LEFT); + this.emit('focus-window', display, KeyBindingsDirection.LEFT); }, ); @@ -160,7 +168,7 @@ export default class KeyBindings extends GObject.Object { Meta.KeyBindingFlags.NONE, Shell.ActionMode.NORMAL, (display: Meta.Display) => { - this.emit('focus-window', display, Meta.DisplayDirection.UP); + this.emit('focus-window', display, KeyBindingsDirection.UP); }, ); @@ -170,7 +178,7 @@ export default class KeyBindings extends GObject.Object { Meta.KeyBindingFlags.NONE, Shell.ActionMode.NORMAL, (display: Meta.Display) => { - this.emit('focus-window', display, Meta.DisplayDirection.DOWN); + this.emit('focus-window', display, KeyBindingsDirection.DOWN); }, ); } @@ -183,7 +191,7 @@ export default class KeyBindings extends GObject.Object { this._overrideKeyBinding( Settings.SETTING_MOVE_WINDOW_RIGHT, (display: Meta.Display) => { - this.emit('move-window', display, Meta.DisplayDirection.RIGHT); + this.emit('move-window', display, KeyBindingsDirection.RIGHT); }, extensionSettings, mutterKeybindings, @@ -192,7 +200,7 @@ export default class KeyBindings extends GObject.Object { this._overrideKeyBinding( Settings.SETTING_MOVE_WINDOW_LEFT, (display: Meta.Display) => { - this.emit('move-window', display, Meta.DisplayDirection.LEFT); + this.emit('move-window', display, KeyBindingsDirection.LEFT); }, extensionSettings, mutterKeybindings, @@ -206,7 +214,7 @@ export default class KeyBindings extends GObject.Object { this._overrideKeyBinding( Settings.SETTING_MOVE_WINDOW_UP, (display: Meta.Display) => { - this.emit('move-window', display, Meta.DisplayDirection.UP); + this.emit('move-window', display, KeyBindingsDirection.UP); }, extensionSettings, desktopWm, @@ -215,7 +223,7 @@ export default class KeyBindings extends GObject.Object { this._overrideKeyBinding( Settings.SETTING_MOVE_WINDOW_DOWN, (display: Meta.Display) => { - this.emit('move-window', display, Meta.DisplayDirection.DOWN); + this.emit('move-window', display, KeyBindingsDirection.DOWN); }, extensionSettings, desktopWm, diff --git a/translations/it.po b/translations/it.po index 78c4245..8d8c4a3 100644 --- a/translations/it.po +++ b/translations/it.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Tiling Shell\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-10-24 11:52+0200\n" +"POT-Creation-Date: 2024-10-24 19:44+0200\n" "PO-Revision-Date: 2024-10-22 12:39+0200\n" "Last-Translator: Domenico Ferraro \n" "Language-Team: Italian <>\n" @@ -17,189 +17,189 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: dist/prefs.js:420 dist/prefs.js:617 +#: dist/prefs.js:617 msgid "General" msgstr "Generale" -#: dist/prefs.js:425 dist/prefs.js:622 +#: dist/prefs.js:622 msgid "Appearance" msgstr "Aspetto" -#: dist/prefs.js:426 dist/prefs.js:623 +#: dist/prefs.js:623 msgid "Configure the appearance of Tiling Shell" msgstr "Configura l'aspetto di Tiling Shell" -#: dist/prefs.js:431 dist/prefs.js:628 +#: dist/prefs.js:628 msgid "Show Indicator" msgstr "Mostra icona" -#: dist/prefs.js:432 dist/prefs.js:629 +#: dist/prefs.js:629 msgid "Whether to show the panel indicator" msgstr "Se mostrare l'indicatore del pannello oppure no" -#: dist/prefs.js:437 dist/prefs.js:634 +#: dist/prefs.js:634 msgid "Inner gaps" msgstr "Spazi interni" -#: dist/prefs.js:438 dist/prefs.js:635 +#: dist/prefs.js:635 msgid "Gaps between windows" msgstr "Spazi tra le finestre" -#: dist/prefs.js:443 dist/prefs.js:640 +#: dist/prefs.js:640 msgid "Outer gaps" msgstr "Spazi esterni" -#: dist/prefs.js:444 dist/prefs.js:641 +#: dist/prefs.js:641 msgid "Gaps between a window and the monitor borders" msgstr "Spazi tra una finestra e i bordi del monitor" -#: dist/prefs.js:448 dist/prefs.js:645 +#: dist/prefs.js:645 msgid "Blur (experimental feature)" msgstr "Sfocatura (funzione sperimentale)" -#: dist/prefs.js:450 dist/prefs.js:647 +#: dist/prefs.js:647 msgid "Apply blur effect to Snap Assistant and tile previews" msgstr "" "Applica l'effetto sfocatura allo Snap Assistant e alle anteprime dei riquadri" -#: dist/prefs.js:456 dist/prefs.js:653 +#: dist/prefs.js:653 msgid "Snap Assistant threshold" msgstr "Soglia di attivazione dello Snap Assistant" -#: dist/prefs.js:458 dist/prefs.js:655 +#: dist/prefs.js:655 msgid "Minimum distance from the Snap Assistant to the pointer to open it" msgstr "Distanza minima dallo Snap Assistant al puntatore per aprirlo" -#: dist/prefs.js:467 dist/prefs.js:664 +#: dist/prefs.js:664 msgid "Snap Assistant" msgstr "Snap Assistant" -#: dist/prefs.js:468 dist/prefs.js:665 +#: dist/prefs.js:665 msgid "Apply blur effect to Snap Assistant" msgstr "Applica l'effetto sfocatura allo Snap Assistant" -#: dist/prefs.js:474 dist/prefs.js:671 +#: dist/prefs.js:671 msgid "Selected tile preview" msgstr "Anteprima del riquadro selezionato" -#: dist/prefs.js:475 dist/prefs.js:672 +#: dist/prefs.js:672 msgid "Apply blur effect to selected tile preview" msgstr "Applica l'effetto sfocato all'anteprima del riquadro selezionato" -#: dist/prefs.js:479 dist/prefs.js:676 +#: dist/prefs.js:676 msgid "Window border" msgstr "Bordo della finestra" -#: dist/prefs.js:480 dist/prefs.js:487 dist/prefs.js:677 dist/prefs.js:684 +#: dist/prefs.js:677 dist/prefs.js:684 msgid "Show a border around focused window" msgstr "Mostra un bordo attorno alla finestra selezionata" -#: dist/prefs.js:486 dist/prefs.js:683 +#: dist/prefs.js:683 msgid "Enable" msgstr "Abilita" -#: dist/prefs.js:493 dist/prefs.js:690 +#: dist/prefs.js:690 msgid "Width" msgstr "Larghezza" -#: dist/prefs.js:494 dist/prefs.js:691 +#: dist/prefs.js:691 msgid "The size of the border" msgstr "La dimensione del bordo" -#: dist/prefs.js:500 dist/prefs.js:697 +#: dist/prefs.js:697 msgid "Border color" msgstr "Colore bordo" -#: dist/prefs.js:501 dist/prefs.js:698 +#: dist/prefs.js:698 msgid "Choose the color of the border" msgstr "Scegli il colore del bordo" -#: dist/prefs.js:507 dist/prefs.js:704 +#: dist/prefs.js:704 msgid "Animations" msgstr "Animazioni" -#: dist/prefs.js:508 dist/prefs.js:705 +#: dist/prefs.js:705 msgid "Customize animations" msgstr "Personalizza animazioni" -#: dist/prefs.js:514 dist/prefs.js:711 +#: dist/prefs.js:711 msgid "Snap assistant animation time" msgstr "Tempo di animazione dello Snap Assistant" -#: dist/prefs.js:515 dist/prefs.js:712 +#: dist/prefs.js:712 msgid "The snap assistant animation time in milliseconds" msgstr "Tempo di animazione delo Snap Assistant in millisecondi" -#: dist/prefs.js:523 dist/prefs.js:720 +#: dist/prefs.js:720 msgid "Tiles animation time" msgstr "Tempo di animazione dei riquadri" -#: dist/prefs.js:524 dist/prefs.js:721 +#: dist/prefs.js:721 msgid "The tiles animation time in milliseconds" msgstr "Il tempo di animazione dei riquadri in millisecondi" -#: dist/prefs.js:530 dist/prefs.js:727 +#: dist/prefs.js:727 msgid "Behaviour" msgstr "Comportamento" -#: dist/prefs.js:531 dist/prefs.js:728 +#: dist/prefs.js:728 msgid "Configure the behaviour of Tiling Shell" msgstr "Configura il comportamento di Tiling Shell" -#: dist/prefs.js:536 dist/prefs.js:733 +#: dist/prefs.js:733 msgid "Enable Snap Assistant" msgstr "Abilita Snap Assistant" -#: dist/prefs.js:537 dist/prefs.js:734 +#: dist/prefs.js:734 msgid "Move the window on top of the screen to snap assist it" msgstr "" "Sposta la finestra nella parte superiore dello schermo per usare lo Snap " "Assistant" -#: dist/prefs.js:542 dist/prefs.js:739 +#: dist/prefs.js:739 msgid "Enable Tiling System" msgstr "Abilita sistema di tiling" -#: dist/prefs.js:543 dist/prefs.js:740 +#: dist/prefs.js:740 msgid "Hold the activation key while moving a window to tile it" msgstr "" "Tieni premuto il tasto di attivazione mentre sposti una finestra per " "affiancarla" -#: dist/prefs.js:552 dist/prefs.js:749 +#: dist/prefs.js:749 msgid "Span multiple tiles" msgstr "Unisci più riquadri" -#: dist/prefs.js:553 dist/prefs.js:750 +#: dist/prefs.js:750 msgid "Hold the activation key to span multiple tiles" msgstr "Tieni premuto il tasto di attivazione per unire più riquadri" -#: dist/prefs.js:562 dist/prefs.js:759 +#: dist/prefs.js:759 msgid "Enable auto-resize of the complementing tiled windows" msgstr "Abilita il ridimensionamento automatico delle finestre affiancate" -#: dist/prefs.js:564 dist/prefs.js:761 +#: dist/prefs.js:761 msgid "" "When a tiled window is resized, auto-resize the other tiled windows near it" msgstr "" "Quando una finestra viene ridimensionata, ridimensiona automaticamente le " "altre finestre affiancate ad essa" -#: dist/prefs.js:570 dist/prefs.js:767 +#: dist/prefs.js:767 msgid "Restore window size" msgstr "Ripristina le dimensioni della finestra" -#: dist/prefs.js:572 dist/prefs.js:769 +#: dist/prefs.js:769 msgid "Whether to restore the windows to their original size when untiled" msgstr "Se ripristinare le finestre alle dimensioni originali oppure no" -#: dist/prefs.js:578 dist/prefs.js:775 +#: dist/prefs.js:775 msgid "Add snap assistant and auto-tile buttons to window menu" msgstr "" "Aggiungi lo Snap Assistant e i pulsanti di affiancamento automatico al menu " "della finestra" -#: dist/prefs.js:580 dist/prefs.js:777 +#: dist/prefs.js:777 msgid "" "Add snap assistant and auto-tile buttons in the menu that shows up when you " "right click on a window title" @@ -208,271 +208,225 @@ msgstr "" "visualizzato quando si fa clic con il pulsante destro del mouse sul titolo " "di una finestra" -#: dist/prefs.js:585 dist/prefs.js:782 +#: dist/prefs.js:782 msgid "Screen Edges" msgstr "Bordi dello schermo" -#: dist/prefs.js:587 dist/prefs.js:784 +#: dist/prefs.js:784 msgid "" "Drag windows against the top, left and right screen edges to resize them" msgstr "" "Trascina le finestre contro i bordi superiore, sinistro e destro dello " "schermo per ridimensionarle" -#: dist/prefs.js:601 dist/prefs.js:798 +#: dist/prefs.js:798 msgid "Drag against top edge to maximize window" msgstr "Trascina contro il bordo superiore per ingrandire la finestra" -#: dist/prefs.js:602 dist/prefs.js:799 +#: dist/prefs.js:799 msgid "Drag windows against the top edge to maximize them" msgstr "Trascina le finestre contro il bordo superiore per massimizzarle" -#: dist/prefs.js:611 dist/prefs.js:808 +#: dist/prefs.js:808 msgid "Quarter tiling activation area" msgstr "Area di attivazione della divisione in quarti" -#: dist/prefs.js:612 dist/prefs.js:809 +#: dist/prefs.js:809 #, javascript-format msgid "Activation area to trigger quarter tiling (% of the screen)" msgstr "" "Area di attivazione per attivare la divisione in quarti (% dello schermo)" -#: dist/prefs.js:629 dist/prefs.js:826 +#: dist/prefs.js:826 msgid "Layouts" msgstr "Layouts" -#: dist/prefs.js:630 dist/prefs.js:827 +#: dist/prefs.js:827 msgid "Configure the layouts of Tiling Shell" msgstr "Configura i layout di Tiling Shell" -#: dist/prefs.js:634 dist/prefs.js:635 dist/prefs.js:831 dist/prefs.js:832 +#: dist/prefs.js:831 dist/prefs.js:832 msgid "Edit layouts" msgstr "Modifica layouts" -#: dist/prefs.js:636 dist/prefs.js:833 +#: dist/prefs.js:833 msgid "Open the layouts editor" msgstr "Apre l'editor dei layouts" -#: dist/prefs.js:641 dist/prefs.js:642 dist/prefs.js:646 dist/prefs.js:838 -#: dist/prefs.js:839 dist/prefs.js:843 +#: dist/prefs.js:838 dist/prefs.js:839 dist/prefs.js:843 msgid "Export layouts" msgstr "Esporta layouts" -#: dist/prefs.js:643 dist/prefs.js:840 +#: dist/prefs.js:840 msgid "Export layouts to a file" msgstr "Esporta layouts in un file" -#: dist/prefs.js:658 dist/prefs.js:719 dist/prefs.js:847 dist/prefs.js:903 -#: dist/prefs.js:1190 dist/prefs.js:1247 +#: dist/prefs.js:847 dist/prefs.js:903 dist/prefs.js:1190 dist/prefs.js:1247 msgid "Cancel" msgstr "Annulla" -#: dist/prefs.js:659 dist/prefs.js:848 dist/prefs.js:1191 +#: dist/prefs.js:848 dist/prefs.js:1191 msgid "Save" msgstr "Salva" -#: dist/prefs.js:702 dist/prefs.js:703 dist/prefs.js:894 dist/prefs.js:895 +#: dist/prefs.js:894 dist/prefs.js:895 msgid "Import layouts" msgstr "Importa layouts" -#: dist/prefs.js:704 dist/prefs.js:896 +#: dist/prefs.js:896 msgid "Import layouts from a file" msgstr "Importa layouts da un file" -#: dist/prefs.js:707 dist/prefs.js:899 +#: dist/prefs.js:899 msgid "Select layouts file" msgstr "Seleziona file di layouts" -#: dist/prefs.js:720 dist/prefs.js:904 dist/prefs.js:1248 +#: dist/prefs.js:904 dist/prefs.js:1248 msgid "Open" msgstr "Apri" -#: dist/prefs.js:765 dist/prefs.js:766 dist/prefs.js:952 dist/prefs.js:953 +#: dist/prefs.js:952 dist/prefs.js:953 msgid "Reset layouts" msgstr "Ripristina layouts" -#: dist/prefs.js:767 dist/prefs.js:954 +#: dist/prefs.js:954 msgid "Bring back the default layouts" msgstr "Ripristina i layouts predefiniti" -#: dist/prefs.js:780 dist/prefs.js:967 +#: dist/prefs.js:967 msgid "Keybindings" msgstr "Scorciatoie da tastiera" -#: dist/prefs.js:782 dist/prefs.js:969 +#: dist/prefs.js:969 msgid "Use hotkeys to perform actions on the focused window" msgstr "" "Usa i tasti di scelta rapida per eseguire azioni sulla finestra selezionata" -#: dist/prefs.js:800 dist/prefs.js:987 +#: dist/prefs.js:987 msgid "Move window to right tile" msgstr "Sposta la finestra nel riquadro destro" -#: dist/prefs.js:802 dist/prefs.js:989 +#: dist/prefs.js:989 msgid "Move the focused window to the tile on its right" msgstr "Sposta la finestra selezionata sul riquadro alla sua destra" -#: dist/prefs.js:811 dist/prefs.js:998 +#: dist/prefs.js:998 msgid "Move window to left tile" msgstr "Sposta la finestra nel riquadro sinistro" -#: dist/prefs.js:812 dist/prefs.js:999 +#: dist/prefs.js:999 msgid "Move the focused window to the tile on its left" msgstr "Sposta la finestra selezionata sul riquadro alla sua sinistra" -#: dist/prefs.js:818 dist/prefs.js:1005 +#: dist/prefs.js:1005 msgid "Move window to tile above" msgstr "Sposta la finestra nel riquadro sopra" -#: dist/prefs.js:819 dist/prefs.js:1006 +#: dist/prefs.js:1006 msgid "Move the focused window to the tile above" msgstr "Sposta la finestra selezionata sul riquadro sopra" -#: dist/prefs.js:825 dist/prefs.js:1012 +#: dist/prefs.js:1012 msgid "Move window to tile below" msgstr "Sposta la finestra sul riquadro sottostante" -#: dist/prefs.js:826 dist/prefs.js:1013 +#: dist/prefs.js:1013 msgid "Move the focused window to the tile below" msgstr "Sposta la finestra selezionata sul riquadro sottostante" -#: dist/prefs.js:832 dist/prefs.js:1019 +#: dist/prefs.js:1019 msgid "Span window to right tile" msgstr "Estendi la finestra al riquadro destro" -#: dist/prefs.js:833 dist/prefs.js:1020 +#: dist/prefs.js:1020 msgid "Span the focused window to the tile on its right" msgstr "Extendi la finestra selezionata sul riquadro alla sua destra" -#: dist/prefs.js:839 dist/prefs.js:1026 +#: dist/prefs.js:1026 msgid "Span window to left tile" msgstr "Estendi la finestra al riquadro sinistro" -#: dist/prefs.js:840 dist/prefs.js:1027 +#: dist/prefs.js:1027 msgid "Span the focused window to the tile on its left" msgstr "Estendi la finestra selezionata al riquadro alla sua sinistra" -#: dist/prefs.js:846 dist/prefs.js:1033 +#: dist/prefs.js:1033 msgid "Span window above" msgstr "Estendi finestra verso l'alto" -#: dist/prefs.js:847 dist/prefs.js:1034 +#: dist/prefs.js:1034 msgid "Span the focused window to the tile above" msgstr "Estendi la finestra selezionata al riquadro in alto" -#: dist/prefs.js:853 dist/prefs.js:1040 +#: dist/prefs.js:1040 msgid "Span window down" msgstr "Estendi finestra verso il basso" -#: dist/prefs.js:854 dist/prefs.js:1041 +#: dist/prefs.js:1041 msgid "Span the focused window to the tile below" msgstr "Estendi la finestra selezionata al riquadro sottostante" -#: dist/prefs.js:860 dist/prefs.js:1047 +#: dist/prefs.js:1047 msgid "Span window to all tiles" msgstr "Estendi la finestra a tutti i riquadri" -#: dist/prefs.js:861 dist/prefs.js:1048 +#: dist/prefs.js:1048 msgid "Span the focused window to all the tiles" msgstr "Estendi la finestra selezionata a tutti i riquadri" -#: dist/prefs.js:867 dist/prefs.js:1054 +#: dist/prefs.js:1054 msgid "Untile focused window" msgstr "Sgancia la finestra selezionata" -#: dist/prefs.js:875 dist/prefs.js:1062 +#: dist/prefs.js:1062 msgid "Move window to the center" msgstr "Sposta la finestra al centro" -#: dist/prefs.js:877 dist/prefs.js:1064 +#: dist/prefs.js:1064 msgid "Move the focused window to the center of the screen" msgstr "Sposta la finestra selezionata al centro dello schermo" -#: dist/prefs.js:886 dist/prefs.js:1073 +#: dist/prefs.js:1073 msgid "Focus window to the right" msgstr "Seleziona finestra a destra" -#: dist/prefs.js:888 dist/prefs.js:1075 +#: dist/prefs.js:1075 msgid "Focus the window to the right of the current focused window" msgstr "Seleziona la finestra a destra della finestra attualmente selezionata" -#: dist/prefs.js:895 dist/prefs.js:1082 +#: dist/prefs.js:1082 msgid "Focus window to the left" msgstr "Seleziona finestra a sinistra" -#: dist/prefs.js:896 dist/prefs.js:1083 +#: dist/prefs.js:1083 msgid "Focus the window to the left of the current focused window" msgstr "" "Seleziona la finestra a sinistra della finestra attualmente selezionata" -#: dist/prefs.js:902 dist/prefs.js:1089 +#: dist/prefs.js:1089 msgid "Focus window above" msgstr "Seleziona finestra in alto" -#: dist/prefs.js:903 dist/prefs.js:1090 +#: dist/prefs.js:1090 msgid "Focus the window above the current focused window" msgstr "Seleziona la finestra in alto alla finestra attualmente selezionata" -#: dist/prefs.js:909 dist/prefs.js:1096 +#: dist/prefs.js:1096 msgid "Focus window below" msgstr "Seleziona la finestra in basso" -#: dist/prefs.js:910 dist/prefs.js:1097 +#: dist/prefs.js:1097 msgid "Focus the window below the current focused window" msgstr "Seleziona la finestra in basso alla finestra attualmente selezionata" -#: dist/prefs.js:937 dist/prefs.js:1124 +#: dist/prefs.js:1124 msgid "View and Customize all the Shortcuts" msgstr "Visualizza e personalizza tutte le scorciatoie" -#: dist/prefs.js:965 dist/prefs.js:966 dist/prefs.js:1152 dist/prefs.js:1153 +#: dist/prefs.js:1152 dist/prefs.js:1153 msgid "View and Customize Shortcuts" msgstr "Visualizza e personalizza le scorciatoie" -#: dist/prefs.js:996 dist/prefs.js:1304 -msgid "Donate on ko-fi" -msgstr "Fai una donazione" - -#: dist/prefs.js:1002 dist/prefs.js:1310 -msgid "Report a bug" -msgstr "Segnala un bug" - -#: dist/prefs.js:1008 dist/prefs.js:1316 -msgid "Request a feature" -msgstr "Richiedi una funzionalità" - -#: dist/prefs.js:1016 dist/prefs.js:1324 -msgid "Have issues, you want to suggest a new feature or contribute?" -msgstr "Hai problemi, vuoi suggerire una nuova funzionalità o contribuire?" - -#: dist/prefs.js:1023 dist/prefs.js:1331 -msgid "Open a new issue on" -msgstr "Apri una nuova issue su" - -#: dist/extension.js:3832 dist/extension.js:3865 -msgid "to split a tile" -msgstr "per dividere un riquadro" - -#: dist/extension.js:3871 dist/extension.js:3904 -msgid "to split a tile vertically" -msgstr "per dividere un riquadro verticalmente" - -#: dist/extension.js:3891 dist/extension.js:3924 -msgid "to delete a tile" -msgstr "per cancellare un riquadro" - -#: dist/extension.js:3916 dist/extension.js:3949 -msgid "use the indicator button to save or cancel" -msgstr "usa l'icona sul pannello superiore per salvare o annullare" - -#: dist/extension.js:3642 dist/extension.js:3675 -msgid "Edit Layouts" -msgstr "Modifica layouts" - -#: dist/extension.js:3652 dist/extension.js:3685 -msgid "New Layout" -msgstr "Nuovo layout" - #: dist/prefs.js:1174 msgid "Import, export and reset" msgstr "Importa, esporta e resetta" @@ -519,3 +473,47 @@ msgstr "Resetta le impostazioni" #, fuzzy msgid "Bring back the default settings" msgstr "Ripristina le impostazioni predefinite" + +#: dist/prefs.js:1304 +msgid "Donate on ko-fi" +msgstr "Fai una donazione" + +#: dist/prefs.js:1310 +msgid "Report a bug" +msgstr "Segnala un bug" + +#: dist/prefs.js:1316 +msgid "Request a feature" +msgstr "Richiedi una funzionalità" + +#: dist/prefs.js:1324 +msgid "Have issues, you want to suggest a new feature or contribute?" +msgstr "Hai problemi, vuoi suggerire una nuova funzionalità o contribuire?" + +#: dist/prefs.js:1331 +msgid "Open a new issue on" +msgstr "Apri una nuova issue su" + +#: dist/extension.js:4064 +msgid "Edit Layouts" +msgstr "Modifica layouts" + +#: dist/extension.js:4074 +msgid "New Layout" +msgstr "Nuovo layout" + +#: dist/extension.js:4254 +msgid "to split a tile" +msgstr "per dividere un riquadro" + +#: dist/extension.js:4293 +msgid "to split a tile vertically" +msgstr "per dividere un riquadro verticalmente" + +#: dist/extension.js:4313 +msgid "to delete a tile" +msgstr "per cancellare un riquadro" + +#: dist/extension.js:4338 +msgid "use the indicator button to save or cancel" +msgstr "usa l'icona sul pannello superiore per salvare o annullare" diff --git a/translations/tilingshell@ferrarodomenico.com.pot b/translations/tilingshell@ferrarodomenico.com.pot index 78b5a50..32596e0 100644 --- a/translations/tilingshell@ferrarodomenico.com.pot +++ b/translations/tilingshell@ferrarodomenico.com.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-10-24 11:58+0200\n" +"POT-Creation-Date: 2024-10-24 19:44+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,481 +17,479 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: dist/prefs.js:420 dist/prefs.js:617 +#: dist/prefs.js:617 msgid "General" msgstr "" -#: dist/prefs.js:425 dist/prefs.js:622 +#: dist/prefs.js:622 msgid "Appearance" msgstr "" -#: dist/prefs.js:426 dist/prefs.js:623 +#: dist/prefs.js:623 msgid "Configure the appearance of Tiling Shell" msgstr "" -#: dist/prefs.js:431 dist/prefs.js:628 +#: dist/prefs.js:628 msgid "Show Indicator" msgstr "" -#: dist/prefs.js:432 dist/prefs.js:629 +#: dist/prefs.js:629 msgid "Whether to show the panel indicator" msgstr "" -#: dist/prefs.js:437 dist/prefs.js:634 +#: dist/prefs.js:634 msgid "Inner gaps" msgstr "" -#: dist/prefs.js:438 dist/prefs.js:635 +#: dist/prefs.js:635 msgid "Gaps between windows" msgstr "" -#: dist/prefs.js:443 dist/prefs.js:640 +#: dist/prefs.js:640 msgid "Outer gaps" msgstr "" -#: dist/prefs.js:444 dist/prefs.js:641 +#: dist/prefs.js:641 msgid "Gaps between a window and the monitor borders" msgstr "" -#: dist/prefs.js:448 dist/prefs.js:645 +#: dist/prefs.js:645 msgid "Blur (experimental feature)" msgstr "" -#: dist/prefs.js:450 dist/prefs.js:647 +#: dist/prefs.js:647 msgid "Apply blur effect to Snap Assistant and tile previews" msgstr "" -#: dist/prefs.js:456 dist/prefs.js:653 +#: dist/prefs.js:653 msgid "Snap Assistant threshold" msgstr "" -#: dist/prefs.js:458 dist/prefs.js:655 +#: dist/prefs.js:655 msgid "Minimum distance from the Snap Assistant to the pointer to open it" msgstr "" -#: dist/prefs.js:467 dist/prefs.js:664 +#: dist/prefs.js:664 msgid "Snap Assistant" msgstr "" -#: dist/prefs.js:468 dist/prefs.js:665 +#: dist/prefs.js:665 msgid "Apply blur effect to Snap Assistant" msgstr "" -#: dist/prefs.js:474 dist/prefs.js:671 +#: dist/prefs.js:671 msgid "Selected tile preview" msgstr "" -#: dist/prefs.js:475 dist/prefs.js:672 +#: dist/prefs.js:672 msgid "Apply blur effect to selected tile preview" msgstr "" -#: dist/prefs.js:479 dist/prefs.js:676 +#: dist/prefs.js:676 msgid "Window border" msgstr "" -#: dist/prefs.js:480 dist/prefs.js:487 dist/prefs.js:677 dist/prefs.js:684 +#: dist/prefs.js:677 dist/prefs.js:684 msgid "Show a border around focused window" msgstr "" -#: dist/prefs.js:486 dist/prefs.js:683 +#: dist/prefs.js:683 msgid "Enable" msgstr "" -#: dist/prefs.js:493 dist/prefs.js:690 +#: dist/prefs.js:690 msgid "Width" msgstr "" -#: dist/prefs.js:494 dist/prefs.js:691 +#: dist/prefs.js:691 msgid "The size of the border" msgstr "" -#: dist/prefs.js:500 dist/prefs.js:697 +#: dist/prefs.js:697 msgid "Border color" msgstr "" -#: dist/prefs.js:501 dist/prefs.js:698 +#: dist/prefs.js:698 msgid "Choose the color of the border" msgstr "" -#: dist/prefs.js:507 dist/prefs.js:704 +#: dist/prefs.js:704 msgid "Animations" msgstr "" -#: dist/prefs.js:508 dist/prefs.js:705 +#: dist/prefs.js:705 msgid "Customize animations" msgstr "" -#: dist/prefs.js:514 dist/prefs.js:711 +#: dist/prefs.js:711 msgid "Snap assistant animation time" msgstr "" -#: dist/prefs.js:515 dist/prefs.js:712 +#: dist/prefs.js:712 msgid "The snap assistant animation time in milliseconds" msgstr "" -#: dist/prefs.js:523 dist/prefs.js:720 +#: dist/prefs.js:720 msgid "Tiles animation time" msgstr "" -#: dist/prefs.js:524 dist/prefs.js:721 +#: dist/prefs.js:721 msgid "The tiles animation time in milliseconds" msgstr "" -#: dist/prefs.js:530 dist/prefs.js:727 +#: dist/prefs.js:727 msgid "Behaviour" msgstr "" -#: dist/prefs.js:531 dist/prefs.js:728 +#: dist/prefs.js:728 msgid "Configure the behaviour of Tiling Shell" msgstr "" -#: dist/prefs.js:536 dist/prefs.js:733 +#: dist/prefs.js:733 msgid "Enable Snap Assistant" msgstr "" -#: dist/prefs.js:537 dist/prefs.js:734 +#: dist/prefs.js:734 msgid "Move the window on top of the screen to snap assist it" msgstr "" -#: dist/prefs.js:542 dist/prefs.js:739 +#: dist/prefs.js:739 msgid "Enable Tiling System" msgstr "" -#: dist/prefs.js:543 dist/prefs.js:740 +#: dist/prefs.js:740 msgid "Hold the activation key while moving a window to tile it" msgstr "" -#: dist/prefs.js:552 dist/prefs.js:749 +#: dist/prefs.js:749 msgid "Span multiple tiles" msgstr "" -#: dist/prefs.js:553 dist/prefs.js:750 +#: dist/prefs.js:750 msgid "Hold the activation key to span multiple tiles" msgstr "" -#: dist/prefs.js:562 dist/prefs.js:759 +#: dist/prefs.js:759 msgid "Enable auto-resize of the complementing tiled windows" msgstr "" -#: dist/prefs.js:564 dist/prefs.js:761 +#: dist/prefs.js:761 msgid "" "When a tiled window is resized, auto-resize the other tiled windows near it" msgstr "" -#: dist/prefs.js:570 dist/prefs.js:767 +#: dist/prefs.js:767 msgid "Restore window size" msgstr "" -#: dist/prefs.js:572 dist/prefs.js:769 +#: dist/prefs.js:769 msgid "Whether to restore the windows to their original size when untiled" msgstr "" -#: dist/prefs.js:578 dist/prefs.js:775 +#: dist/prefs.js:775 msgid "Add snap assistant and auto-tile buttons to window menu" msgstr "" -#: dist/prefs.js:580 dist/prefs.js:777 +#: dist/prefs.js:777 msgid "" "Add snap assistant and auto-tile buttons in the menu that shows up when you " "right click on a window title" msgstr "" -#: dist/prefs.js:585 dist/prefs.js:782 +#: dist/prefs.js:782 msgid "Screen Edges" msgstr "" -#: dist/prefs.js:587 dist/prefs.js:784 +#: dist/prefs.js:784 msgid "" "Drag windows against the top, left and right screen edges to resize them" msgstr "" -#: dist/prefs.js:601 dist/prefs.js:798 +#: dist/prefs.js:798 msgid "Drag against top edge to maximize window" msgstr "" -#: dist/prefs.js:602 dist/prefs.js:799 +#: dist/prefs.js:799 msgid "Drag windows against the top edge to maximize them" msgstr "" -#: dist/prefs.js:611 dist/prefs.js:808 +#: dist/prefs.js:808 msgid "Quarter tiling activation area" msgstr "" -#: dist/prefs.js:612 dist/prefs.js:809 +#: dist/prefs.js:809 #, javascript-format msgid "Activation area to trigger quarter tiling (% of the screen)" msgstr "" -#: dist/prefs.js:629 dist/prefs.js:826 +#: dist/prefs.js:826 msgid "Layouts" msgstr "" -#: dist/prefs.js:630 dist/prefs.js:827 +#: dist/prefs.js:827 msgid "Configure the layouts of Tiling Shell" msgstr "" -#: dist/prefs.js:634 dist/prefs.js:635 dist/prefs.js:831 dist/prefs.js:832 +#: dist/prefs.js:831 dist/prefs.js:832 msgid "Edit layouts" msgstr "" -#: dist/prefs.js:636 dist/prefs.js:833 +#: dist/prefs.js:833 msgid "Open the layouts editor" msgstr "" -#: dist/prefs.js:641 dist/prefs.js:642 dist/prefs.js:646 dist/prefs.js:838 -#: dist/prefs.js:839 dist/prefs.js:843 +#: dist/prefs.js:838 dist/prefs.js:839 dist/prefs.js:843 msgid "Export layouts" msgstr "" -#: dist/prefs.js:643 dist/prefs.js:840 +#: dist/prefs.js:840 msgid "Export layouts to a file" msgstr "" -#: dist/prefs.js:658 dist/prefs.js:719 dist/prefs.js:847 dist/prefs.js:903 -#: dist/prefs.js:1190 dist/prefs.js:1247 +#: dist/prefs.js:847 dist/prefs.js:903 dist/prefs.js:1190 dist/prefs.js:1247 msgid "Cancel" msgstr "" -#: dist/prefs.js:659 dist/prefs.js:848 dist/prefs.js:1191 +#: dist/prefs.js:848 dist/prefs.js:1191 msgid "Save" msgstr "" -#: dist/prefs.js:702 dist/prefs.js:703 dist/prefs.js:894 dist/prefs.js:895 +#: dist/prefs.js:894 dist/prefs.js:895 msgid "Import layouts" msgstr "" -#: dist/prefs.js:704 dist/prefs.js:896 +#: dist/prefs.js:896 msgid "Import layouts from a file" msgstr "" -#: dist/prefs.js:707 dist/prefs.js:899 +#: dist/prefs.js:899 msgid "Select layouts file" msgstr "" -#: dist/prefs.js:720 dist/prefs.js:904 dist/prefs.js:1248 +#: dist/prefs.js:904 dist/prefs.js:1248 msgid "Open" msgstr "" -#: dist/prefs.js:765 dist/prefs.js:766 dist/prefs.js:952 dist/prefs.js:953 +#: dist/prefs.js:952 dist/prefs.js:953 msgid "Reset layouts" msgstr "" -#: dist/prefs.js:767 dist/prefs.js:954 +#: dist/prefs.js:954 msgid "Bring back the default layouts" msgstr "" -#: dist/prefs.js:780 dist/prefs.js:967 +#: dist/prefs.js:967 msgid "Keybindings" msgstr "" -#: dist/prefs.js:782 dist/prefs.js:969 +#: dist/prefs.js:969 msgid "Use hotkeys to perform actions on the focused window" msgstr "" -#: dist/prefs.js:800 dist/prefs.js:987 +#: dist/prefs.js:987 msgid "Move window to right tile" msgstr "" -#: dist/prefs.js:802 dist/prefs.js:989 +#: dist/prefs.js:989 msgid "Move the focused window to the tile on its right" msgstr "" -#: dist/prefs.js:811 dist/prefs.js:998 +#: dist/prefs.js:998 msgid "Move window to left tile" msgstr "" -#: dist/prefs.js:812 dist/prefs.js:999 +#: dist/prefs.js:999 msgid "Move the focused window to the tile on its left" msgstr "" -#: dist/prefs.js:818 dist/prefs.js:1005 +#: dist/prefs.js:1005 msgid "Move window to tile above" msgstr "" -#: dist/prefs.js:819 dist/prefs.js:1006 +#: dist/prefs.js:1006 msgid "Move the focused window to the tile above" msgstr "" -#: dist/prefs.js:825 dist/prefs.js:1012 +#: dist/prefs.js:1012 msgid "Move window to tile below" msgstr "" -#: dist/prefs.js:826 dist/prefs.js:1013 +#: dist/prefs.js:1013 msgid "Move the focused window to the tile below" msgstr "" -#: dist/prefs.js:832 dist/prefs.js:1019 +#: dist/prefs.js:1019 msgid "Span window to right tile" msgstr "" -#: dist/prefs.js:833 dist/prefs.js:1020 +#: dist/prefs.js:1020 msgid "Span the focused window to the tile on its right" msgstr "" -#: dist/prefs.js:839 dist/prefs.js:1026 +#: dist/prefs.js:1026 msgid "Span window to left tile" msgstr "" -#: dist/prefs.js:840 dist/prefs.js:1027 +#: dist/prefs.js:1027 msgid "Span the focused window to the tile on its left" msgstr "" -#: dist/prefs.js:846 dist/prefs.js:1033 +#: dist/prefs.js:1033 msgid "Span window above" msgstr "" -#: dist/prefs.js:847 dist/prefs.js:1034 +#: dist/prefs.js:1034 msgid "Span the focused window to the tile above" msgstr "" -#: dist/prefs.js:853 dist/prefs.js:1040 +#: dist/prefs.js:1040 msgid "Span window down" msgstr "" -#: dist/prefs.js:854 dist/prefs.js:1041 +#: dist/prefs.js:1041 msgid "Span the focused window to the tile below" msgstr "" -#: dist/prefs.js:860 dist/prefs.js:1047 +#: dist/prefs.js:1047 msgid "Span window to all tiles" msgstr "" -#: dist/prefs.js:861 dist/prefs.js:1048 +#: dist/prefs.js:1048 msgid "Span the focused window to all the tiles" msgstr "" -#: dist/prefs.js:867 dist/prefs.js:1054 +#: dist/prefs.js:1054 msgid "Untile focused window" msgstr "" -#: dist/prefs.js:875 dist/prefs.js:1062 +#: dist/prefs.js:1062 msgid "Move window to the center" msgstr "" -#: dist/prefs.js:877 dist/prefs.js:1064 +#: dist/prefs.js:1064 msgid "Move the focused window to the center of the screen" msgstr "" -#: dist/prefs.js:886 dist/prefs.js:1073 +#: dist/prefs.js:1073 msgid "Focus window to the right" msgstr "" -#: dist/prefs.js:888 dist/prefs.js:1075 +#: dist/prefs.js:1075 msgid "Focus the window to the right of the current focused window" msgstr "" -#: dist/prefs.js:895 dist/prefs.js:1082 +#: dist/prefs.js:1082 msgid "Focus window to the left" msgstr "" -#: dist/prefs.js:896 dist/prefs.js:1083 +#: dist/prefs.js:1083 msgid "Focus the window to the left of the current focused window" msgstr "" -#: dist/prefs.js:902 dist/prefs.js:1089 +#: dist/prefs.js:1089 msgid "Focus window above" msgstr "" -#: dist/prefs.js:903 dist/prefs.js:1090 +#: dist/prefs.js:1090 msgid "Focus the window above the current focused window" msgstr "" -#: dist/prefs.js:909 dist/prefs.js:1096 +#: dist/prefs.js:1096 msgid "Focus window below" msgstr "" -#: dist/prefs.js:910 dist/prefs.js:1097 +#: dist/prefs.js:1097 msgid "Focus the window below the current focused window" msgstr "" -#: dist/prefs.js:937 dist/prefs.js:1124 +#: dist/prefs.js:1124 msgid "View and Customize all the Shortcuts" msgstr "" -#: dist/prefs.js:965 dist/prefs.js:966 dist/prefs.js:1152 dist/prefs.js:1153 +#: dist/prefs.js:1152 dist/prefs.js:1153 msgid "View and Customize Shortcuts" msgstr "" -#: dist/prefs.js:996 dist/prefs.js:1304 -msgid "Donate on ko-fi" +#: dist/prefs.js:1174 +msgid "Import, export and reset" msgstr "" -#: dist/prefs.js:1002 dist/prefs.js:1310 -msgid "Report a bug" +#: dist/prefs.js:1176 +msgid "Import, export and reset the settings of Tiling Shell" msgstr "" -#: dist/prefs.js:1008 dist/prefs.js:1316 -msgid "Request a feature" +#: dist/prefs.js:1181 dist/prefs.js:1182 +msgid "Export settings" msgstr "" -#: dist/prefs.js:1016 dist/prefs.js:1324 -msgid "Have issues, you want to suggest a new feature or contribute?" +#: dist/prefs.js:1183 +msgid "Export settings to a file" msgstr "" -#: dist/prefs.js:1023 dist/prefs.js:1331 -msgid "Open a new issue on" +#: dist/prefs.js:1186 +msgid "Export settings to a text file" msgstr "" -#: dist/extension.js:3832 dist/extension.js:3865 -msgid "to split a tile" +#: dist/prefs.js:1238 dist/prefs.js:1239 +msgid "Import settings" msgstr "" -#: dist/extension.js:3871 dist/extension.js:3904 -msgid "to split a tile vertically" +#: dist/prefs.js:1240 +msgid "Import settings from a file" msgstr "" -#: dist/extension.js:3891 dist/extension.js:3924 -msgid "to delete a tile" +#: dist/prefs.js:1243 +msgid "Select a text file to import from" msgstr "" -#: dist/extension.js:3916 dist/extension.js:3949 -msgid "use the indicator button to save or cancel" +#: dist/prefs.js:1287 dist/prefs.js:1288 +msgid "Reset settings" msgstr "" -#: dist/extension.js:3642 dist/extension.js:3675 -msgid "Edit Layouts" +#: dist/prefs.js:1289 +msgid "Bring back the default settings" msgstr "" -#: dist/extension.js:3652 dist/extension.js:3685 -msgid "New Layout" +#: dist/prefs.js:1304 +msgid "Donate on ko-fi" msgstr "" -#: dist/prefs.js:1174 -msgid "Import, export and reset" +#: dist/prefs.js:1310 +msgid "Report a bug" msgstr "" -#: dist/prefs.js:1176 -msgid "Import, export and reset the settings of Tiling Shell" +#: dist/prefs.js:1316 +msgid "Request a feature" msgstr "" -#: dist/prefs.js:1181 dist/prefs.js:1182 -msgid "Export settings" +#: dist/prefs.js:1324 +msgid "Have issues, you want to suggest a new feature or contribute?" msgstr "" -#: dist/prefs.js:1183 -msgid "Export settings to a file" +#: dist/prefs.js:1331 +msgid "Open a new issue on" msgstr "" -#: dist/prefs.js:1186 -msgid "Export settings to a text file" +#: dist/extension.js:4064 +msgid "Edit Layouts" msgstr "" -#: dist/prefs.js:1238 dist/prefs.js:1239 -msgid "Import settings" +#: dist/extension.js:4074 +msgid "New Layout" msgstr "" -#: dist/prefs.js:1240 -msgid "Import settings from a file" +#: dist/extension.js:4254 +msgid "to split a tile" msgstr "" -#: dist/prefs.js:1243 -msgid "Select a text file to import from" +#: dist/extension.js:4293 +msgid "to split a tile vertically" msgstr "" -#: dist/prefs.js:1287 dist/prefs.js:1288 -msgid "Reset settings" +#: dist/extension.js:4313 +msgid "to delete a tile" msgstr "" -#: dist/prefs.js:1289 -msgid "Bring back the default settings" +#: dist/extension.js:4338 +msgid "use the indicator button to save or cancel" msgstr ""