Revision: 9296
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9296&view=rev
Author:   dnaber
Date:     2013-02-04 21:32:24 +0000 (Mon, 04 Feb 2013)
Log Message:
-----------
messages.properties is used as the fallback, so automatically build it from 
English and a common file to avoid redundancy

Modified Paths:
--------------
    trunk/ltcommunity/i18n_update.sh

Added Paths:
-----------
    trunk/ltcommunity/grails-app/i18n/messages_common.properties

Removed Paths:
-------------
    trunk/ltcommunity/grails-app/i18n/messages.properties

Deleted: trunk/ltcommunity/grails-app/i18n/messages.properties
===================================================================
--- trunk/ltcommunity/grails-app/i18n/messages.properties       2013-02-04 
21:30:20 UTC (rev 9295)
+++ trunk/ltcommunity/grails-app/i18n/messages.properties       2013-02-04 
21:32:24 UTC (rev 9296)
@@ -1,27 +0,0 @@
-default.doesnt.match.message=Property [{0}] of class [{1}] with value [{2}] 
does not match the required pattern [{3}]
-default.invalid.url.message=Property [{0}] of class [{1}] with value [{2}] is 
not a valid URL
-default.invalid.creditCard.message=Property [{0}] of class [{1}] with value 
[{2}] is not a valid credit card number
-default.invalid.email.message=Property [{0}] of class [{1}] with value [{2}] 
is not a valid e-mail address
-default.invalid.range.message=Property [{0}] of class [{1}] with value [{2}] 
does not fall within the valid range from [{3}] to [{4}]
-default.invalid.size.message=Property [{0}] of class [{1}] with value [{2}] 
does not fall within the valid size range from [{3}] to [{4}]
-default.invalid.max.message=Property [{0}] of class [{1}] with value [{2}] 
exceeds maximum value [{3}]
-default.invalid.min.message=Property [{0}] of class [{1}] with value [{2}] is 
less than minimum value [{3}]
-default.invalid.max.size.message=Property [{0}] of class [{1}] with value 
[{2}] exceeds the maximum size of [{3}]
-default.invalid.min.size.message=Property [{0}] of class [{1}] with value 
[{2}] is less than the minimum size of [{3}]
-default.invalid.validator.message=Property [{0}] of class [{1}] with value 
[{2}] does not pass custom validation
-default.not.inlist.message=Property [{0}] of class [{1}] with value [{2}] is 
not contained within the list [{3}]
-default.blank.message=Property [{0}] of class [{1}] cannot be blank
-default.not.equal.message=Property [{0}] of class [{1}] with value [{2}] 
cannot equal [{3}]
-default.null.message=Property [{0}] of class [{1}] cannot be null
-default.not.unique.message=Property [{0}] of class [{1}] with value [{2}] must 
be unique
-
-# Data binding errors. Use "typeMismatch.$className.$propertyName to customize 
(eg typeMismatch.Book.author)
-typeMismatch.java.net.URL=Property {0} must be a valid URL
-typeMismatch.java.net.URI=Property {0} must be a valid URI
-typeMismatch.java.util.Date=Property {0} must be a valid Date
-typeMismatch.java.lang.Double=Property {0} must be a valid number
-typeMismatch.java.lang.Integer=Property {0} must be a valid number
-typeMismatch.java.lang.Long=Property {0} must be a valid number
-typeMismatch.java.lang.Short=Property {0} must be a valid number
-typeMismatch.java.math.BigDecimal=Property {0} must be a valid number
-typeMismatch.java.math.BigInteger=Property {0} must be a valid number

Copied: trunk/ltcommunity/grails-app/i18n/messages_common.properties (from rev 
9284, trunk/ltcommunity/grails-app/i18n/messages.properties)
===================================================================
--- trunk/ltcommunity/grails-app/i18n/messages_common.properties                
                (rev 0)
+++ trunk/ltcommunity/grails-app/i18n/messages_common.properties        
2013-02-04 21:32:24 UTC (rev 9296)
@@ -0,0 +1,27 @@
+default.doesnt.match.message=Property [{0}] of class [{1}] with value [{2}] 
does not match the required pattern [{3}]
+default.invalid.url.message=Property [{0}] of class [{1}] with value [{2}] is 
not a valid URL
+default.invalid.creditCard.message=Property [{0}] of class [{1}] with value 
[{2}] is not a valid credit card number
+default.invalid.email.message=Property [{0}] of class [{1}] with value [{2}] 
is not a valid e-mail address
+default.invalid.range.message=Property [{0}] of class [{1}] with value [{2}] 
does not fall within the valid range from [{3}] to [{4}]
+default.invalid.size.message=Property [{0}] of class [{1}] with value [{2}] 
does not fall within the valid size range from [{3}] to [{4}]
+default.invalid.max.message=Property [{0}] of class [{1}] with value [{2}] 
exceeds maximum value [{3}]
+default.invalid.min.message=Property [{0}] of class [{1}] with value [{2}] is 
less than minimum value [{3}]
+default.invalid.max.size.message=Property [{0}] of class [{1}] with value 
[{2}] exceeds the maximum size of [{3}]
+default.invalid.min.size.message=Property [{0}] of class [{1}] with value 
[{2}] is less than the minimum size of [{3}]
+default.invalid.validator.message=Property [{0}] of class [{1}] with value 
[{2}] does not pass custom validation
+default.not.inlist.message=Property [{0}] of class [{1}] with value [{2}] is 
not contained within the list [{3}]
+default.blank.message=Property [{0}] of class [{1}] cannot be blank
+default.not.equal.message=Property [{0}] of class [{1}] with value [{2}] 
cannot equal [{3}]
+default.null.message=Property [{0}] of class [{1}] cannot be null
+default.not.unique.message=Property [{0}] of class [{1}] with value [{2}] must 
be unique
+
+# Data binding errors. Use "typeMismatch.$className.$propertyName to customize 
(eg typeMismatch.Book.author)
+typeMismatch.java.net.URL=Property {0} must be a valid URL
+typeMismatch.java.net.URI=Property {0} must be a valid URI
+typeMismatch.java.util.Date=Property {0} must be a valid Date
+typeMismatch.java.lang.Double=Property {0} must be a valid number
+typeMismatch.java.lang.Integer=Property {0} must be a valid number
+typeMismatch.java.lang.Long=Property {0} must be a valid number
+typeMismatch.java.lang.Short=Property {0} must be a valid number
+typeMismatch.java.math.BigDecimal=Property {0} must be a valid number
+typeMismatch.java.math.BigInteger=Property {0} must be a valid number

Modified: trunk/ltcommunity/i18n_update.sh
===================================================================
--- trunk/ltcommunity/i18n_update.sh    2013-02-04 21:30:20 UTC (rev 9295)
+++ trunk/ltcommunity/i18n_update.sh    2013-02-04 21:32:24 UTC (rev 9296)
@@ -20,5 +20,12 @@
   mv $SOURCE $TARGET
 done
 
+# messages.properties is used as the fallback, so automatically build it from 
English to avoid redundancy: 
+TARGET=../grails-app/i18n/messages.properties
+echo "# --- DO NOT MODIFY --- auto-generated by i18n_update.sh" >$TARGET
+cat ../grails-app/i18n/messages_common.properties >>$TARGET
+echo "" >>$TARGET
+cat ../grails-app/i18n/messages_en.properties 
>>../grails-app/i18n/messages.properties >>$TARGET
+
 cd ..
 rm -r i18n-temp

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to