Skip to content

Commit

Permalink
Updated translations a tiny bit, and first draft of makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Cqoicebordel committed Feb 24, 2021
1 parent f65c865 commit 42cfce1
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*.jsc
*.plasmoid
*.png
transifex.token
38 changes: 38 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
#
#
# Translators:
# Roland Reck <[email protected]>, 2015,2018,2020
# Roland Reck <[email protected]>, 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 <[email protected]>\n"
"Language-Team: German (http://www.transifex.com/cqoicebordel/webslice/"
"language/de/)\n"
Expand Down Expand Up @@ -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 :"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>\n"
"Language-Team: Spanish (http://www.transifex.com/cqoicebordel/webslice/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>\n"
"Language-Team: Dutch (http://www.transifex.com/cqoicebordel/webslice/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
#
#
# Translators:
# Alexey Murz Korepov <[email protected]>, 2020
# Niksn404 <[email protected]>, 2018
# Alexey Murz Korepov <[email protected]>, 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 <[email protected]>\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"
Expand Down

0 comments on commit 42cfce1

Please sign in to comment.