Convert translation files from UTF-8 to (escaped) ISO-8859-1 during build.

This makes it *way* easier to view and edit the translation files and avoids
the danger of accidentally slipping UTF-8 encoded characters into existing
files during editing.
This commit is contained in:
Michael Bayne
2019-04-30 10:08:40 -07:00
parent 388ba71ec0
commit 047e3972a0
10 changed files with 419 additions and 420 deletions
+25 -3
View File
@@ -42,15 +42,37 @@
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native2ascii-maven-plugin</artifactId>
<version>2.0.1</version>
<executions>
<execution>
<id>utf8-to-latin1</id>
<goals>
<goal>inplace</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<dir>${project.build.outputDirectory}</dir>
<encoding>${project.build.sourceEncoding}</encoding>
<includes>
<include>**/*.properties</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.wvengen</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<version>2.0.14</version>
<executions>
<execution>
<phase>package</phase>
<execution>
<phase>package</phase>
<goals><goal>proguard</goal></goals>
</execution>
</execution>
</executions>
<dependencies>
<dependency>