Fix failing Jenkins build on OrbisGIS-Sonar.

These new unit tests were failing because Jenkins runs in a headless
environment.
Add missing translations to buttons.

Forgot to do this in #538.
Merge pull request #580 from agouge/jenkins-orbisgis-sonar

Fix failing Jenkins build on OrbisGIS-Sonar