Author: sflanigan
Date: 2009-02-06 02:03:08 -0500 (Fri, 06 Feb 2009)
New Revision: 13504
Modified:
trunk/i18n/build.xml
trunk/i18n/i18n.properties
Log:
Changed handling of empty strings
Modified: trunk/i18n/build.xml
===================================================================
--- trunk/i18n/build.xml 2009-02-06 03:24:32 UTC (rev 13503)
+++ trunk/i18n/build.xml 2009-02-06 07:03:08 UTC (rev 13504)
@@ -108,6 +108,7 @@
regexpmapper below)
-->
<prop2pot srcDir="${jbt.srcdir}" dstDir="po"
+ whenEmptyString="${prop2pot_whenEmptyString}"
includesfile="prop2potincludes.txt">
<!-- we currently need to include properties from the following base directories:
src/main
@@ -338,7 +339,7 @@
destfile="${jardir}/plugins/${plugin}.nl-${locale}_${PLUGIN_VERSION}.jar"
filesonly="true"
update="false"
- whenmanifestonly="skip"
+ whenmanifestonly="${fragment_whenManifestOnly}"
duplicate="fail">
<fileset dir="${plugindir}"
includes="**/*_${locale}.properties" erroronmissingdir="false"/>
<manifest>
Modified: trunk/i18n/i18n.properties
===================================================================
--- trunk/i18n/i18n.properties 2009-02-06 03:24:32 UTC (rev 13503)
+++ trunk/i18n/i18n.properties 2009-02-06 07:03:08 UTC (rev 13504)
@@ -15,3 +15,9 @@
NAME_en=English
NAME_qps=Pseudo Locale (qps)
NAME_en_AA=Pseudo Locale (en_AA)
+
+fragment_whenManifestOnly=skip
+#fragment_whenManifestOnly=create
+
+# TODO mark empty strings NON-TRANSLATABLE, then change this to "fail"
+prop2pot_whenEmptyString=warnAndSkip
Show replies by date