Prevents JavaDoc tooling issues because these tools check comments
starting with `/**`.
Depends on #2987
Signed-off-by: Wouter Born <github@maindrain.net>
The docker environment is (unfortunately) kept. It can be used to
compress SVG files. Conversion from SVG into PNG format has been
commented in the script .convert.sh.
Closes#2071Closes#1768
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* New translations en.json (Italian)
* New translations basic.properties (German)
* New translations opennlphli.properties (German)
* New translations iconset.properties (Danish)
* New translations basic.properties (Dutch)
* New translations opennlphli.properties (Dutch)
* New translations en.json (Dutch)
* New translations en.json (Portuguese)
* New translations en.json (Portuguese)
* New translations opennlphli.properties (Portuguese)
* New translations en.json (Portuguese)
* New translations en.json (Latvian)
* New translations en.json (Bulgarian)
* New translations en.json (German)
* New translations en.json (Portuguese)
* New translations en.json (Turkish)
* New translations en.json (Latvian)
* New translations en.json (Latvian)
* New translations en.json (German)
* New translations en.json (Lithuanian)
* New translations en.json (Turkish)
* New translations en.json (Turkish)
* New translations en.json (Hebrew)
* New translations en.json (Lithuanian)
* New translations en.json (Hebrew)
* New translations en.json (Turkish)
* New translations en.json (Hebrew)
* New translations en.json (Hebrew)
* New translations cometvisu.properties (Bulgarian)
* New translations cometvisu.properties (Catalan)
* New translations cometvisu.properties (Czech)
* New translations cometvisu.properties (German)
* New translations cometvisu.properties (Hebrew)
* New translations cometvisu.properties (Hungarian)
* New translations en.json (Turkish)
* New translations cometvisu.properties (Dutch)
* New translations cometvisu.properties (Russian)
* New translations opennlphli.properties (Catalan)
* New translations opennlphli.properties (Czech)
* New translations opennlphli.properties (German)
* New translations opennlphli.properties (Hebrew)
* New translations opennlphli.properties (Hungarian)
* New translations opennlphli.properties (Dutch)
* New translations opennlphli.properties (Russian)
* New translations opennlphli.properties (Bulgarian)
* New translations basic.properties (Bulgarian)
* New translations basic.properties (Dutch)
* New translations basic.properties (Hungarian)
* New translations basic.properties (Hebrew)
* New translations basic.properties (German)
* New translations basic.properties (Czech)
* New translations basic.properties (Catalan)
* New translations iconset.properties (German)
* New translations iconset.properties (Russian)
* New translations iconset.properties (Dutch)
* New translations iconset.properties (Hungarian)
* New translations iconset.properties (Hebrew)
* New translations iconset.properties (Czech)
* New translations iconset.properties (Catalan)
* New translations iconset.properties (Bulgarian)
* New translations basic.properties (Russian)
Adds the default translation strings so the UI configuration can be translated with Crowdin.
Other fixes/improvements:
* Adds config for this to crowdin.yml
* Adds the i18n Maven plugin dependency so it can be more easily used
* Fixes a few encoding issues
* Uses the ConfigurableService annotation
Signed-off-by: Wouter Born <github@maindrain.net>
- Added viewBox property to the none.svg file. This property is necessary to ensure error-free processing in the subsequent process.
- Replaced the svgcleaner tool with scour, which in our case not only produces better lossless compression results, but also automatically corrects the corrupted files. (all svg files, svgcleaner: 837.092 Byte -> scour: 794.586 Byte, -5.07%)
- Replaced pngout by optipng since pngout is is closed source, it's license prohibits bundled distribution and optipng delivers better lossless compression results) (all png files, pngout: 514.752 Byte -> optipng: 494.134 Byte, -4.01%)
- Added the pngquant tool for lossy compression to further reduce the size of the png files without noticeable loss of quality. (all png files, before: 494.134 Byte -> after: 236.338 Byte, -109.08%)
The conversion script has been refactored and renamed in order to use the new tooling.
Dockerfile has been added to execute the script platform independent.
The script as well as the new tooling can be tested most easily with the provided docker container. Just execute the following command in the bundles/org.openhab.ui.iconset.classic directory:
docker run --rm -it -v ${PWD}/src/main/resources/icons:/workdir $(docker build -q .) ./.convert.sh
Signed-off-by: Philipp Waller <1090452+philippwaller@users.noreply.github.com>