Skip to content

Commit

Permalink
Produced the internationalisation CSV file ready for translations to …
Browse files Browse the repository at this point in the history
…be entered.
  • Loading branch information
PeterWithers committed May 1, 2015
1 parent 4152e0c commit bc83867
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gwt-cordova/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<groupId>nl.ru.languageininteraction</groupId>
<artifactId>lingquest</artifactId>
<packaging>war</packaging>
<version>0.1.335-testing</version>
<version>0.1.336-testing</version>
<name>LingQuest</name>
<organization>
<name>Language In Interaction</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ public void writePropertyValues(String propertiesFileName) throws FileNotFoundEx
Properties properties = new Properties();
Properties properties_nl = new Properties();
Properties properties_de = new Properties();
final InputStream resourceAsStream = SimpleViewTest.class.getResourceAsStream("/nl/ru/languageininteraction/synaesthesia/client/" + propertiesFileName + ".properties");
final InputStream resourceAsStream = SimpleViewTest.class.getResourceAsStream("/nl/ru/languageininteraction/language/client/" + propertiesFileName + ".properties");
properties.load(resourceAsStream);
final InputStream resourceAsStream_nl = SimpleViewTest.class.getResourceAsStream("/nl/ru/languageininteraction/synaesthesia/client/" + propertiesFileName + "_nl.properties");
final InputStream resourceAsStream_nl = SimpleViewTest.class.getResourceAsStream("/nl/ru/languageininteraction/language/client/" + propertiesFileName + "_nl.properties");
properties_nl.load(resourceAsStream_nl);
final InputStream resourceAsStream_de = SimpleViewTest.class.getResourceAsStream("/nl/ru/languageininteraction/synaesthesia/client/" + propertiesFileName + "_de.properties");
final InputStream resourceAsStream_de = SimpleViewTest.class.getResourceAsStream("/nl/ru/languageininteraction/language/client/" + propertiesFileName + "_de.properties");
properties_de.load(resourceAsStream_de);
OutputStream outputStream = new FileOutputStream(outputFile, true);
try (OutputStreamWriter writer = new OutputStreamWriter(outputStream, "UTF-8")) {
Expand Down Expand Up @@ -87,7 +87,7 @@ public static void main(String[] args) throws IOException {
final Properties2Csv properties2Csv = new Properties2Csv();
properties2Csv.deleteOutputFile();
properties2Csv.writePropertyValues("Messages");
properties2Csv.writePropertyValues("Stimuli");
// properties2Csv.writePropertyValues("Stimuli");
properties2Csv.writePropertyValues("MetadataFields");
}
}

0 comments on commit bc83867

Please sign in to comment.