Skip to content

Commit

Permalink
Ant: import-translations
Browse files Browse the repository at this point in the history
- added ability to enable/disable the download from poedit.com
- only import the Documentation/Translations/UniTime4.7_cs.pot by running
  ant -Dlocale=cs -Ddownload=false import-translations
  • Loading branch information
tomas-muller committed Dec 20, 2022
1 parent ad6487d commit be24ae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.properties
Expand Up @@ -42,4 +42,5 @@ java.optimize=true
build.tag=\ (dev)

#Import/export translation locale
locale=cs
locale=cs
download=true
2 changes: 1 addition & 1 deletion build.xml
Expand Up @@ -633,7 +633,7 @@
<classpath refid="build.classpath"/>
<classpath path="${build.dir}"/>
</taskdef>
<import-translations source="${src.dir}" generatePageNames="false" download="true" token="b191dd443ab1800fc1e09ef23e50cdb0">
<import-translations source="${src.dir}" generatePageNames="false" download="${download}" token="b191dd443ab1800fc1e09ef23e50cdb0">
<locale value="${locale}"/>
</import-translations>
<delete dir="${build.dir}" failonerror="false"/>
Expand Down

0 comments on commit be24ae2

Please sign in to comment.