Skip to content

Commit

Permalink
Merge pull request #48 from velitasali/tasali/feat/gnome-45
Browse files Browse the repository at this point in the history
feat: Support GNOME 45
  • Loading branch information
velitasali authored Oct 30, 2023
2 parents 8c60292 + 0f403aa commit 78b7b95
Show file tree
Hide file tree
Showing 16 changed files with 1,376 additions and 1,710 deletions.
28 changes: 18 additions & 10 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,30 @@ NAME=awesome-tiles\@velitasali.com
function pack-extension {
echo "Packing extension..."
gnome-extensions pack src \
--force \
--podir="../po" \
--extra-source="constants.js" \
--extra-source="prefs.ui" \
--extra-source="prefs-shortcut-dialog.ui" \
--extra-source="utils.js" \
--extra-source="windowMover.js" \
--extra-source="../LICENSE"
--force \
--podir="../po" \
--extra-source="constants.js" \
--extra-source="utils.js" \
--extra-source="windowMover.js" \
--extra-source="prefs-shortcut-dialog.ui" \
--extra-source="../LICENSE"
}

function compile-preferences {
if [ -d src/resources ]; then
echo 'Compiling resources...'
glib-compile-resources --sourcedir=src/resources \
--target=src/resources/prefs.gresource \
src/resources/org.gnome.shell.extensions.awesome-tiles.prefs.gresource.xml
else
echo 'No resources to compile... Skipping'
fi

if [ -d src/schemas ]; then
echo 'Compiling preferences...'
echo 'Compiling schemas...'
glib-compile-schemas --targetdir=src/schemas src/schemas
else
echo 'No preferences to compile... Skipping'
echo 'No schemas to compile... Skipping'
fi
}

Expand Down
3 changes: 1 addition & 2 deletions po/POTFILES.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
src/extension.js
src/prefs.js
src/prefs.ui
src/prefs-shortcut-dialog.ui
src/prefs-shortcut-dialog.ui
163 changes: 91 additions & 72 deletions po/awesome-tiles@velitasali.com.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-08 05:15+0900\n"
"POT-Creation-Date: 2023-10-31 01:00+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -18,169 +18,188 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"

#: src/prefs.js:145
msgid "Disabled"
#: src/prefs-shortcut-dialog.ui:19
msgid "Press your keyboard shortcut or 'Backspace' to disable..."
msgstr ""

#: src/prefs.ui:34
msgid "Enable window animation"
#: src/prefs-shortcut-dialog.ui:28
msgid "Keyboard Shortcut"
msgstr ""

#: src/prefs.ui:41
msgid "Add animation on windows. (In Wayland, this option will very buggy)"
#: src/prefs.js:32
msgid "General"
msgstr ""

#: src/prefs.ui:79
msgid "Gap Between Window and Workspace"
#: src/prefs.js:49
msgid "Behavior"
msgstr ""

#: src/prefs.ui:86
msgid "Percentage to leave out as gap when the window in focus is tiled."
#: src/prefs.js:53
msgid "Enable Window Animations"
msgstr ""

#: src/prefs.ui:124
msgid "Keybinding iterate timeout"
#: src/prefs.js:54
msgid ""
"Animate windows when resized or repositioned (this may be buggy on Wayland)."
msgstr ""

#: src/prefs.ui:131
msgid ""
"Maximum time of you can adjust tiling step by iterating same keybinding in "
"milliseconds."
#: src/prefs.js:65
msgid "Shortcut Iteration Timeout in Milliseconds"
msgstr ""

#: src/prefs.ui:176
msgid "Gap Size Increments"
#: src/prefs.js:66
msgid "The time window to consider a new key press an iteration."
msgstr ""

#: src/prefs.js:85
msgid "Center Tiling Steps"
msgstr ""

#: src/prefs.js:86 src/prefs.js:102
msgid "Steps on each key press (values between 0-1)."
msgstr ""

#: src/prefs.js:101
msgid "Side Tiling Steps"
msgstr ""

#: src/prefs.ui:183
msgid "Determine how much gap size adjust by keybinding."
#: src/prefs.js:118
msgid "Gaps"
msgstr ""

#: src/prefs.ui:228
#: src/prefs.js:122
msgid "Gaps Between Windows"
msgstr ""

#: src/prefs.ui:235
#: src/prefs.js:123
msgid "Put gaps between windows."
msgstr ""

#: src/prefs.ui:273
msgid "Center Tiling Steps"
#: src/prefs.js:134
msgid "Gap Between Window and Workspace"
msgstr ""

#: src/prefs.ui:280 src/prefs.ui:326
msgid "Steps on each key press (values between 0-1)."
#: src/prefs.js:135
msgid "Percentage to leave out as gap when a window is tiled."
msgstr ""

#: src/prefs.ui:319
msgid "Side Tiling Steps"
#: src/prefs.js:151
msgid "Gap Size Increments"
msgstr ""

#: src/prefs.js:152
msgid "The change that the shorcuts make in the gap size."
msgstr ""

#: src/prefs.js:172
msgid "Shortcuts"
msgstr ""

#: src/prefs.ui:365
#: src/prefs.js:173
msgid "Assign shortcuts to the functionalities"
msgstr ""

#: src/prefs.js:181
msgid "Align Window to Center"
msgstr ""

#: src/prefs.ui:372
msgid "Shortcut to align the window in focus to center without resizing it."
#: src/prefs.js:182
msgid "Shortcut to align the active window to center without resizing it."
msgstr ""

#: src/prefs.ui:412
msgid "Increase the Gap Size"
#: src/prefs.js:192
msgid "Increase Gap Size"
msgstr ""

#: src/prefs.ui:419
#: src/prefs.js:193
msgid "Shortcut to increase the gap size."
msgstr ""

#: src/prefs.ui:459
msgid "Decrease the Gap Size"
#: src/prefs.js:203
msgid "Decrease Gap Size"
msgstr ""

#: src/prefs.ui:466
#: src/prefs.js:204
msgid "Shortcut to decrease the gap size."
msgstr ""

#: src/prefs.ui:506
#: src/prefs.js:214
msgid "Tile Window to Center"
msgstr ""

#: src/prefs.ui:513
msgid "Shortcut to tile the window in focus to center."
#: src/prefs.js:215
msgid "Shortcut to tile active window to center."
msgstr ""

#: src/prefs.ui:553
#: src/prefs.js:225
msgid "Tile Window to Left"
msgstr ""

#: src/prefs.ui:560
msgid "Shortcut to tile the window in focus to left."
#: src/prefs.js:226
msgid "Shortcut to tile the active window to left."
msgstr ""

#: src/prefs.ui:600
#: src/prefs.js:236
msgid "Tile Window to Right"
msgstr ""

#: src/prefs.ui:607
msgid "Shortcut to tile the window in focus to right."
#: src/prefs.js:237
msgid "Shortcut to tile the active window to right."
msgstr ""

#: src/prefs.ui:647
#: src/prefs.js:247
msgid "Tile Window to Top"
msgstr ""

#: src/prefs.ui:654
msgid "Shortcut to tile the window in focus to top."
#: src/prefs.js:248
msgid "Shortcut to tile the active window to top."
msgstr ""

#: src/prefs.ui:694
#: src/prefs.js:258
msgid "Tile Window to Bottom"
msgstr ""

#: src/prefs.ui:701
msgid "Shortcut to tile the window in focus to bottom."
#: src/prefs.js:259
msgid "Shortcut to tile the active window to bottom."
msgstr ""

#: src/prefs.ui:741
#: src/prefs.js:269
msgid "Tile Window to Top Left"
msgstr ""

#: src/prefs.ui:748
msgid "Shortcut to tile the window in focus to top left."
#: src/prefs.js:270
msgid "Shortcut to tile the active window to top left."
msgstr ""

#: src/prefs.ui:788
#: src/prefs.js:280
msgid "Tile Window to Top Right"
msgstr ""

#: src/prefs.ui:795
msgid "Shortcut to tile the window in focus to top right."
#: src/prefs.js:281
msgid "Shortcut to tile the active window to top right."
msgstr ""

#: src/prefs.ui:835
#: src/prefs.js:292
msgid "Tile Window to Bottom Left"
msgstr ""

#: src/prefs.ui:842
msgid "Shortcut to tile the window in focus to bottom left."
#: src/prefs.js:293
msgid "Shortcut to tile the active window to bottom left."
msgstr ""

#: src/prefs.ui:882
#: src/prefs.js:303
msgid "Tile Window to Bottom Right"
msgstr ""

#: src/prefs.ui:889
msgid "Shortcut to tile the window in focus to bottom right."
#: src/prefs.js:304
msgid "Shortcut to tile the active window to bottom right."
msgstr ""

#: src/prefs-shortcut-dialog.ui:19
msgid "Press your keyboard shortcut or 'Backspace' to disable..."
msgstr ""

#: src/prefs-shortcut-dialog.ui:28
msgid "Keyboard Shortcut"
#: src/prefs.js:347
msgid "Disabled"
msgstr ""

#: src/extension.js:183
#: src/extension.js:161
#, javascript-format
msgid "Gap size is now at %d percent"
msgid_plural "Gap size is now at %d percent"
Expand Down
Loading

0 comments on commit 78b7b95

Please sign in to comment.