From 42cfce1b934cb64619f07c6e9b68cdb733dd4b67 Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Thu, 25 Feb 2021 00:47:48 +0100 Subject: [PATCH] Updated translations a tiny bit, and first draft of makefile --- .gitignore | 1 + Makefile | 38 ++++++++++++++++++ .../plasma_applet_cqcb.plasma.webslice.mo | Bin 8968 -> 8968 bytes .../plasma_applet_cqcb.plasma.webslice.po | 10 ++--- .../plasma_applet_cqcb.plasma.webslice.po | 2 +- .../plasma_applet_cqcb.plasma.webslice.po | 2 +- .../plasma_applet_cqcb.plasma.webslice.pot | 2 +- .../plasma_applet_cqcb.plasma.webslice.mo | Bin 8193 -> 8167 bytes .../plasma_applet_cqcb.plasma.webslice.po | 8 ++-- 9 files changed, 51 insertions(+), 12 deletions(-) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index 2936f39..58b582c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *.jsc *.plasmoid *.png +transifex.token diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9ae42a6 --- /dev/null +++ b/Makefile @@ -0,0 +1,38 @@ +SHELL := /bin/bash + + +test: ## Run Plasmaviewer to test the plasmoid + plasmoidviewer -a ./cqcb.plasma.webslice/ + +locales: ## Run the Messages.sh to compile languages + ./cqcb.plasma.webslice/contents/locale/Messages.sh + +dl-locales-de: ## Download from transifex all the locales + transifex_token=`cat transifex.token`; curl -L --user api:$$transifex_token -X GET "https://www.transifex.com/api/2/project/webslice/resource/cqcbplasmawebslicepot/translation/de/?file" -o cqcb.plasma.webslice/contents/locale/de/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po + +dl-locales-es: ## Download from transifex all the locales + transifex_token=`cat transifex.token`; curl -L --user api:$$transifex_token -X GET "https://www.transifex.com/api/2/project/webslice/resource/cqcbplasmawebslicepot/translation/es/?file" -o cqcb.plasma.webslice/contents/locale/es/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po + +dl-locales-nl: ## Download from transifex all the locales + transifex_token=`cat transifex.token`; curl -L --user api:$$transifex_token -X GET "https://www.transifex.com/api/2/project/webslice/resource/cqcbplasmawebslicepot/translation/nl/?file" -o cqcb.plasma.webslice/contents/locale/nl/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po + +dl-locales-ru: ## Download from transifex all the locales + transifex_token=`cat transifex.token`; curl -L --user api:$$transifex_token -X GET "https://www.transifex.com/api/2/project/webslice/resource/cqcbplasmawebslicepot/translation/ru/?file" -o cqcb.plasma.webslice/contents/locale/ru/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po + +dl-locales-all: dl-locales-de dl-locales-es dl-locales-nl dl-locales-ru + + + +plasmoid: ## Make the .plasmoid file + rm -f cqcb.plasma.webslice.plasmoid + cd ./cqcb.plasma.webslice/; \ + zip -9 -r cqcb.plasma.webslice.plasmoid.zip contents/ metadata.desktop + mv ./cqcb.plasma.webslice/cqcb.plasma.webslice.plasmoid.zip ./cqcb.plasma.webslice.plasmoid + +help: ## Help target + @ag '^[a-zA-Z_-]+:.*?## .*$$' --nofilename $(MAKEFILE_LIST) \ + | sort \ + | awk 'BEGIN{FS=": ## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + + +.DEFAULT_GOAL := help diff --git a/cqcb.plasma.webslice/contents/locale/de/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.mo b/cqcb.plasma.webslice/contents/locale/de/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.mo index f1df3dc3e2b6bd9ba3bca6221a3058887ba73e2c..3e4442c33dbb95599a2b4e8442e1c5fa3ec7c00b 100644 GIT binary patch delta 39 ucmeBh>u}qkBf@K_Yha{nWT0SZVr6Qu*-~T@GrLb_UUo4<(B@0xX50YNuL{`! delta 39 ucmeBh>u}qkBf@K-YhbQxXry3hW@Tu+*-~T@GkZ>EUUo4<(dJ9yX50YQi3=Y9 diff --git a/cqcb.plasma.webslice/contents/locale/de/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po b/cqcb.plasma.webslice/contents/locale/de/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po index 80da5d2..05b7778 100644 --- a/cqcb.plasma.webslice/contents/locale/de/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po +++ b/cqcb.plasma.webslice/contents/locale/de/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po @@ -4,13 +4,13 @@ # # # Translators: -# Roland Reck , 2015,2018,2020 +# Roland Reck , 2015-2021 msgid "" msgstr "" "Project-Id-Version: Webslice\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-20 14:40+0100\n" -"PO-Revision-Date: 2020-07-12 16:13+0000\n" +"POT-Creation-Date: 2021-02-25 00:40+0100\n" +"PO-Revision-Date: 2021-02-20 14:50+0000\n" "Last-Translator: Roland Reck \n" "Language-Team: German (http://www.transifex.com/cqoicebordel/webslice/" "language/de/)\n" @@ -246,14 +246,14 @@ msgctxt "" "General setting, radio button, to chose the alignement of the pin button, to " "the left or the right" msgid "to the left" -msgstr "links" +msgstr "Links" #: ../ui/ConfigGeneral.qml:227 msgctxt "" "General setting, radio button, to chose the alignement of the pin button, to " "the left or the right" msgid "to the right" -msgstr "rechts" +msgstr "Rechts" #: ../ui/ConfigGeneral.qml:245 msgid "IconĀ :" diff --git a/cqcb.plasma.webslice/contents/locale/es/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po b/cqcb.plasma.webslice/contents/locale/es/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po index e51853b..1a82f14 100644 --- a/cqcb.plasma.webslice/contents/locale/es/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po +++ b/cqcb.plasma.webslice/contents/locale/es/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: Webslice\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-23 19:44+0100\n" +"POT-Creation-Date: 2021-02-25 00:40+0100\n" "PO-Revision-Date: 2021-02-23 15:52+0000\n" "Last-Translator: Facundo Olivera \n" "Language-Team: Spanish (http://www.transifex.com/cqoicebordel/webslice/" diff --git a/cqcb.plasma.webslice/contents/locale/nl/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po b/cqcb.plasma.webslice/contents/locale/nl/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po index 12d29b0..e6f9d86 100644 --- a/cqcb.plasma.webslice/contents/locale/nl/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po +++ b/cqcb.plasma.webslice/contents/locale/nl/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Webslice\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-24 18:45+0100\n" +"POT-Creation-Date: 2021-02-25 00:40+0100\n" "PO-Revision-Date: 2021-02-24 16:09+0000\n" "Last-Translator: Heimen Stoffels \n" "Language-Team: Dutch (http://www.transifex.com/cqoicebordel/webslice/" diff --git a/cqcb.plasma.webslice/contents/locale/plasma_applet_cqcb.plasma.webslice.pot b/cqcb.plasma.webslice/contents/locale/plasma_applet_cqcb.plasma.webslice.pot index 5b9ab63..a638bd6 100644 --- a/cqcb.plasma.webslice/contents/locale/plasma_applet_cqcb.plasma.webslice.pot +++ b/cqcb.plasma.webslice/contents/locale/plasma_applet_cqcb.plasma.webslice.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 2.4.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-24 18:45+0100\n" +"POT-Creation-Date: 2021-02-25 00:46+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/cqcb.plasma.webslice/contents/locale/ru/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.mo b/cqcb.plasma.webslice/contents/locale/ru/LC_MESSAGES/plasma_applet_cqcb.plasma.webslice.mo index cbaaf26f0baceab02996da1d6908f58c1567651f..6969ce8c6720a40e8beb01b7092b34493fd04660 100644 GIT binary patch delta 580 zcmXZZ%PT~26u|K_UNPRUK?c{9M{&6`Bu$FOLU~PuY^aNyh-w<9FoeIDr|wHd zIxvjXmN=?L4v`vif-3J4r|}vmv4ZYja21(B#>$;ROg!Tp!$Ai3dTgigVujOr47*7< zMiP zRT+(L!>=0wJz!}5&Y)qm7<}$wb8}0dh?;AgE9O=t8r1qXB1`kuTqL?+tt1l#vEo1K C*-C%_ delta 606 zcmXZZJugFH6u|MLXlROh*HFC%FA3!qQJTivB5BoBiNSIsjWpWcrrwI7F^It;U8RFG zHWAW^ZySG-Jvrw*?=y$9*IkxuwMFE+PNY^uejCbK9U?8n z4s63-v|#{sT)-yGpoS-y!b_Y$SEI-hMz9wP*oXHxjGq`lcavo0jKeC`G%VpfI-5o8 z>K?~1hSZiksz$Dm8gh#&?*Uiv3764J_pf-2%p@DFcz^>~KsDJTsz!fs1nn-7Aq?OV#!zkK1ADMF z+s!&T_|S_g9>*JW;~PfNN>GV$v|, 2020 # Niksn404 , 2018 +# Alexey Murz Korepov , 2020 msgid "" msgstr "" "Project-Id-Version: Webslice\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-20 14:40+0100\n" -"PO-Revision-Date: 2020-07-13 09:26+0000\n" -"Last-Translator: Alexey Murz Korepov \n" +"POT-Creation-Date: 2021-02-25 00:40+0100\n" +"PO-Revision-Date: 2021-02-20 14:00+0000\n" +"Last-Translator: Cqoicebordel\n" "Language-Team: Russian (http://www.transifex.com/cqoicebordel/webslice/" "language/ru/)\n" "Language: ru\n"