diff --git a/Makefile b/Makefile index f40e2d6..ff822ef 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,8 @@ build: --podir ../locale/ \ -o ../build/ -$(POT_FILE): $(SRC_DIR)/*.js - xgettext ${SRC_DIR}/*.js -L JavaScript -o $@ --package-name=${UUID} +$(POT_FILE): $(SRC_DIR)/**/*.js + xgettext ${SRC_DIR}/**/*.js -L JavaScript -o $@ --package-name=${UUID} translations: $(MO_FILES) diff --git a/locale/CoverflowAltTab@palatis.blogspot.com.pot b/locale/CoverflowAltTab@palatis.blogspot.com.pot index ddefb20..e719ab0 100644 --- a/locale/CoverflowAltTab@palatis.blogspot.com.pot +++ b/locale/CoverflowAltTab@palatis.blogspot.com.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab@palatis.blogspot.com\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -256,11 +256,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -316,35 +316,36 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/cs.po b/locale/cs.po index 84d68d5..ec273e6 100644 --- a/locale/cs.po +++ b/locale/cs.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab Gnome-Shell extension\n" -"Report-Msgid-Bugs-To: dsheeler@pobox.com\n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2024-04-28 12:07+0000\n" "Last-Translator: Anastasiia Anisimova \n" "Language-Team: Czech \n" "Language-Team: German \n" @@ -269,11 +269,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -330,36 +330,37 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/eo.po b/locale/eo.po index 5a9bdbf..f5b4b98 100644 --- a/locale/eo.po +++ b/locale/eo.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab@palatis.blogspot.com\n" -"Report-Msgid-Bugs-To: dsheeler@pobox.com\n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2024-04-25 19:07+0000\n" "Last-Translator: phlostically \n" -"Language-Team: Esperanto \n" +"Language-Team: Esperanto \n" "Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -258,11 +258,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "Koloro" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -318,35 +318,36 @@ msgstr "Movi kameraon" msgid "Adjust Angles" msgstr "Modifi angulojn" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "Kontribui" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "Donaci" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "Traduki" diff --git a/locale/es.po b/locale/es.po index a32d347..4a0aaf8 100644 --- a/locale/es.po +++ b/locale/es.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab\n" -"Report-Msgid-Bugs-To: dsheeler@pobox.com\n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2024-03-01 11:00+0000\n" "Last-Translator: gallegonovato \n" -"Language-Team: Spanish \n" +"Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -270,11 +270,11 @@ msgstr "Más grande significa más borroso." msgid "Tint" msgstr "Matiz" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "Color" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "Ajustar al color del tema" @@ -331,37 +331,39 @@ msgstr "Mover cámara" msgid "Adjust Angles" msgstr "Ajustar ángulos" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "Resaltar ventana debajo del cursor" -#: src/prefs.js:301 +#: src/prefs.js:300 +#, fuzzy msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" "Dibuja adornos en la ventana bajo el ratón para conocer los efectos del clic." -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "Alzar la ventana debajo del cursor" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "Alzar la ventana debajo del cursor por encima de todas las demás." -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "Contribuir" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "Código (crear pull request, reportar problemas, etc)" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "Donar" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "Traducir" diff --git a/locale/fa.po b/locale/fa.po index 9a8c34c..6f74ca6 100644 --- a/locale/fa.po +++ b/locale/fa.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab@palatis.blogspot.com\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -255,11 +255,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -315,35 +315,36 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/fr.po b/locale/fr.po index 5b2151f..1f65ddf 100644 --- a/locale/fr.po +++ b/locale/fr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab Gnome-Shell extension\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2022-11-19 10:41+0100\n" "Last-Translator: DAEM Q.\n" "Language-Team: \n" @@ -268,11 +268,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -329,36 +329,37 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/it.po b/locale/it.po index 44e5f80..f154c23 100644 --- a/locale/it.po +++ b/locale/it.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab Gnome-Shell extension\n" -"Report-Msgid-Bugs-To: dsheeler@pobox.com\n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2024-03-27 10:01+0000\n" "Last-Translator: Lorenzo Mirabella \n" -"Language-Team: Italian \n" +"Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -271,11 +271,11 @@ msgstr "Più grande significa più sfocato." msgid "Tint" msgstr "Tinta" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "Colore" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "Imposta il colore del tema" @@ -333,38 +333,40 @@ msgstr "Sposta la telecamera" msgid "Adjust Angles" msgstr "Aggiusta Angoli" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "Evidenzia la finestra sotto il mouse" -#: src/prefs.js:301 +#: src/prefs.js:300 +#, fuzzy msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" "Disegna un abbellimento sulla finestra sotto il mouse per conoscere gli " "effetti del clic." -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "Alza la finestra sotto il mouse" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "Alza la finestra sotto il mouse sopra tutte le altre." -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "Contribuisci" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "Codice (crea richieste di pull, segnala problemi, ecc.)" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "Dona" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "Traduci" diff --git a/locale/ja.po b/locale/ja.po index 09864bc..9920368 100644 --- a/locale/ja.po +++ b/locale/ja.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: coverflow\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2021-09-22 20:45+0900\n" "Last-Translator: \n" "Language-Team: \n" @@ -266,11 +266,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -327,36 +327,37 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/nb_NO.po b/locale/nb_NO.po index 4f4e573..f0f0872 100644 --- a/locale/nb_NO.po +++ b/locale/nb_NO.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab@palatis.blogspot.com\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2024-01-09 11:27+0000\n" "Last-Translator: Allan Nordhøy \n" "Language-Team: Norwegian Bokmål \n" "Language-Team: Dutch \n" @@ -268,11 +268,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -329,36 +329,37 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/pl.po b/locale/pl.po index 7442da1..1150b5c 100644 --- a/locale/pl.po +++ b/locale/pl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab Gnome-Shell extension\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2024-01-23 11:42+0000\n" "Last-Translator: Eryk Michalak \n" "Language-Team: Polish \n" "Language-Team: Portuguese (Brazil) \n" -"Language-Team: Romanian \n" +"Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -259,11 +259,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -319,35 +319,36 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/ru.po b/locale/ru.po index d1bf1ab..49291c2 100644 --- a/locale/ru.po +++ b/locale/ru.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"Report-Msgid-Bugs-To: dsheeler@pobox.com\n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2024-03-11 19:01+0000\n" "Last-Translator: Cobeta \n" -"Language-Team: Russian \n" +"Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -270,11 +270,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -331,36 +331,37 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/sv.po b/locale/sv.po index c23ac26..523ce86 100644 --- a/locale/sv.po +++ b/locale/sv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab Gnome-Shell extension\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2021-04-12 16:08+0200\n" "Last-Translator: Morgan Antonsson \n" "Language-Team: \n" @@ -267,11 +267,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -328,36 +328,37 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/tr.po b/locale/tr.po index 939b4dc..34f469d 100644 --- a/locale/tr.po +++ b/locale/tr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: CoverflowAltTab Gnome-Shell extension\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2023-09-02 18:52+0300\n" "Last-Translator: Muha Aliss \n" "Language-Team: Turkish \n" @@ -269,11 +269,11 @@ msgstr "Daha büyük, daha bulanık anlamına gelir." msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -330,38 +330,39 @@ msgstr "Kamerayı taşı" msgid "Adjust Angles" msgstr "Açıları ayarla" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "Farenin altındaki pencereyi vurgula" -#: src/prefs.js:301 +#: src/prefs.js:300 #, fuzzy msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" "Tıklamanın etkilerini göstermek için farenin altındaki pencereye süsleme çiz." -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "Farenin altındaki pencereyi belirginleştir" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "Farenin altındaki pencereyi diğerlerinin üzerine çıkar." -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "Katkı" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "Kod (çekme istekleri oluşturma, sorunları bildirme vb.)" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/locale/zh_CN.po b/locale/zh_CN.po index 00b9a99..e0d0eb7 100644 --- a/locale/zh_CN.po +++ b/locale/zh_CN.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"Report-Msgid-Bugs-To: dsheeler@pobox.com\n" -"POT-Creation-Date: 2024-02-24 05:50-0600\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-05-16 20:53-0500\n" "PO-Revision-Date: 2024-04-14 04:51+0000\n" "Last-Translator: 复予 \n" "Language-Team: Chinese (Simplified) \n" "Language-Team: \n" @@ -267,11 +267,11 @@ msgstr "" msgid "Tint" msgstr "" -#: src/prefs.js:217 +#: src/prefs.js:217 src/prefs.js:314 msgid "Color" msgstr "" -#: src/prefs.js:238 +#: src/prefs.js:238 src/prefs.js:335 msgid "Set to Theme Color" msgstr "" @@ -328,36 +328,37 @@ msgstr "" msgid "Adjust Angles" msgstr "" -#: src/prefs.js:299 src/prefs.js:301 +#: src/prefs.js:299 msgid "Highlight Window Under Mouse" msgstr "" -#: src/prefs.js:301 +#: src/prefs.js:300 msgid "" -"Draw embelishment on window under the mouse to know the effects of clicking." +"Draw a colored highlight on window under the mouse to know the effects of " +"clicking." msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise Window Under Mouse" msgstr "" -#: src/prefs.js:302 +#: src/prefs.js:372 msgid "Raise the window under the mouse above all others." msgstr "" -#: src/prefs.js:322 +#: src/prefs.js:392 msgid "Contribute" msgstr "" -#: src/prefs.js:358 +#: src/prefs.js:428 msgid "Code (create pull requests, report issues, etc.)" msgstr "" -#: src/prefs.js:366 +#: src/prefs.js:436 msgid "Donate" msgstr "" -#: src/prefs.js:387 +#: src/prefs.js:457 msgid "Translate" msgstr "" diff --git a/schemas/org.gnome.shell.extensions.coverflowalttab.gschema.xml b/schemas/org.gnome.shell.extensions.coverflowalttab.gschema.xml index 34be12b..fdf5b79 100644 --- a/schemas/org.gnome.shell.extensions.coverflowalttab.gschema.xml +++ b/schemas/org.gnome.shell.extensions.coverflowalttab.gschema.xml @@ -181,7 +181,7 @@ Amount to Desaturate the Background Application Switcher 0 for no desaturation, 1 for total desaturation. - + 0 Radius of Blur Applied to the Background Application Switcher @@ -224,5 +224,9 @@ false Swipe content instead of view + + (1.,1.,1.) + + diff --git a/src/platform.js b/src/platform.js index 3482459..0629774 100644 --- a/src/platform.js +++ b/src/platform.js @@ -132,6 +132,7 @@ class AbstractPlatform { use_tint: false, invert_swipes: false, overlay_icon_size: 128, + highlihght_color:(1., 1., 1.), }; } @@ -230,6 +231,7 @@ export class PlatformGnomeShell extends AbstractPlatform { "switcher-background-color", "use-glitch-effect", "invert-swipes", + "highlight-color", ]; let dkeys = [ @@ -341,7 +343,7 @@ export class PlatformGnomeShell extends AbstractPlatform { highlight_mouse_over: settings.get_boolean("highlight-mouse-over"), raise_mouse_over: settings.get_boolean("raise-mouse-over"), desaturate_factor: settings.get_double("desaturate-factor") === 1.0 ? 0.999 : settings.get_double("desaturate-factor"), - blur_radius: settings.get_int("blur-radius"), + blur_radius: settings.get_double("blur-radius"), switcher_looping_method: settings.get_string("switcher-looping-method"), switch_application_behaves_like_switch_windows: settings.get_boolean("switch-application-behaves-like-switch-windows"), tint_color: settings.get_value("tint-color").deep_unpack(), @@ -350,9 +352,10 @@ export class PlatformGnomeShell extends AbstractPlatform { use_glitch_effect: settings.get_boolean("use-glitch-effect"), use_tint: settings.get_boolean("use-tint"), invert_swipes: settings.get_boolean("invert-swipes"), + highlight_color: settings.get_value("highlight-color").deep_unpack(), }; } catch (e) { - global.log(e); + console.log(e); } return this.getDefaultSettings(); diff --git a/src/prefs.js b/src/prefs.js index 2509025..d7bef10 100644 --- a/src/prefs.js +++ b/src/prefs.js @@ -199,7 +199,7 @@ export default class CoverflowAltTabPreferences extends ExtensionPreferences { }); background_application_switcher_pref_group.add(buildSwitcherAdw(settings, "switch-application-behaves-like-switch-windows", [], [], _("Make the Application Switcher Behave Like the Window Switcher"), _("Don't group windows of the same application in a subswitcher."))); background_application_switcher_pref_group.add(buildRangeAdw(settings, "desaturate-factor", [0, 1, 0.001, [0.25, 0.5, 0.75]], _("Desaturate"), _("Larger means more desaturation."), true)); - background_application_switcher_pref_group.add(buildSpinAdw(settings, "blur-radius", [0, 20, 1, 1], _("Blur"), _("Larger means blurrier."))); + background_application_switcher_pref_group.add(buildRangeAdw(settings, "blur-radius", [0, 20, 0.1, [5, 10, 15]], _("Blur"), _("Larger means blurrier."), true)); let color_row = new Adw.ExpanderRow({ title: _("Tint"), @@ -295,11 +295,81 @@ export default class CoverflowAltTabPreferences extends ExtensionPreferences { { id: "Adjust Angles", name: _("Adjust Angles") }], _("Perspective Correction"), ("Method to make off-center switcher look centered."))); - let highlight_mouse_over_pref_group = new Adw.PreferencesGroup({ + let highlight_color_row = new Adw.ExpanderRow({ title: _("Highlight Window Under Mouse"), + subtitle: _("Draw a colored highlight on window under the mouse to know the effects of clicking."), }); - window_size_pref_group.add(buildSwitcherAdw(settings, "highlight-mouse-over", [], [], _("Highlight Window Under Mouse"), _("Draw embelishment on window under the mouse to know the effects of clicking."))); - window_size_pref_group.add(buildSwitcherAdw(settings, "raise-mouse-over", [], [], _("Raise Window Under Mouse"), _("Raise the window under the mouse above all others."))); + window_size_pref_group.add(highlight_color_row); + + choose_tint_box.append(use_theme_color_button); + choose_tint_box.append(color_button); + let highlight_switch = new Gtk.Switch({ + valign: Gtk.Align.CENTER, + active: settings.get_boolean("highlight-mouse-over"), + }); + settings.bind("highlight-mouse-over", highlight_switch, "active", Gio.SettingsBindFlags.DEFAULT); + highlight_color_row.add_suffix(highlight_switch); + + let highlight_chooser_row = new Adw.ActionRow({ + title: _("Color") + }); + let choose_highlight_box = new Gtk.Box({ + orientation: Gtk.Orientation.HORIZONTAL, + spacing: 10, + valign: Gtk.Align.CENTER, + }); + + highlight_chooser_row.add_suffix(choose_highlight_box); + highlight_color_row.add_row(highlight_chooser_row); + + let highlight_color_dialog = new Gtk.ColorDialog({ + with_alpha: false, + }); + + let highlight_color_button = new Gtk.ColorDialogButton({ + valign: Gtk.Align.CENTER, + dialog: highlight_color_dialog, + }); + + let highlight_use_theme_color_button = new Gtk.Button({ + label: _("Set to Theme Color"), + valign: Gtk.Align.CENTER, + }); + highlight_use_theme_color_button.connect('clicked', () => { + let c = settings.get_value("switcher-background-color").deep_unpack(); + let rgba = highlight_color_button.rgba; + rgba.red = c[0]; + rgba.green = c[1]; + rgba.blue = c[2]; + rgba.alpha = 1 + highlight_color_button.set_rgba(rgba); + }); + + choose_highlight_box.append(highlight_use_theme_color_button); + choose_highlight_box.append(highlight_color_button); + let hc = settings.get_value("highlight-color").deep_unpack(); + let hrgba = highlight_color_button.rgba; + hrgba.red = hc[0]; + hrgba.green = hc[1]; + hrgba.blue = hc[2]; + hrgba.alpha = 1 + highlight_color_button.set_rgba(hrgba); + highlight_color_button.connect('notify::rgba', _ => { + let c = highlight_color_button.rgba; + let val = new GLib.Variant("(ddd)", [c.red, c.green, c.blue]); + settings.set_value("highlight-color", val); + }); + highlight_switch.connect('notify::active', function(widget) { + highlight_color_row.set_expanded(widget.get_active()); + }); + + let highlight_reset_button = makeResetButton(); + highlight_reset_button.connect("clicked", function (widget) { + settings.reset("highlight-mouse-over"); + }); + highlight_color_row.add_suffix(highlight_reset_button); + + window_size_pref_group.add(buildSwitcherAdw(settings, "raise-mouse-over", [], [], _("Raise Window Under Mouse"), _("Raise the window under the mouse above all others."))); /*let tweaks_page = new Adw.PreferencesPage({ title: _('Tweaks'), @@ -333,7 +403,7 @@ export default class CoverflowAltTabPreferences extends ExtensionPreferences { let icon_image = new Gtk.Image({ icon_name: "coverflow-symbolic", - pixel_size: 128, + pixel_size: 256, }); let label_box = new Gtk.Box({ diff --git a/src/preview.js b/src/preview.js index 86971bd..a18afcb 100644 --- a/src/preview.js +++ b/src/preview.js @@ -217,8 +217,8 @@ export const Preview = GObject.registerClass({ } _getHighlightStyle(alpha) { - let bgcolor = this.switcher._getSwitcherBackgroundColor(); - let style =`background-color: rgba(${bgcolor.red}, ${bgcolor.green}, ${bgcolor.blue}, ${alpha})`; + let color = this.switcher._settings.highlight_color; + let style =`background-color: rgba(${255*color[0]}, ${255*color[1]}, ${255*color[2]}, ${alpha})`; return style; } diff --git a/src/switcher.js b/src/switcher.js index 67c7a64..90cef89 100644 --- a/src/switcher.js +++ b/src/switcher.js @@ -301,7 +301,7 @@ export class Switcher { } preview.addEffect(Clutter.DesaturateEffect, { factor: 0.0 }, 'desaturate', 'factor', 0.0, this._settings.desaturate_factor, this._settings.animation_time); - preview.addEffect(Shell.BlurEffect, { radius: 0.0 }, 'blur', 'raduis', 0.0, this._settings.blur_radius, this._settings.animation_time); + preview.addEffect(Shell.BlurEffect, { radius: 0.0 }, 'blur', 'radius', 0.0, this._settings.blur_radius, this._settings.animation_time); } }