]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Document the fact that CSV files should not have spaces after commas
authorBen Darnell <ben@bendarnell.com>
Fri, 25 Mar 2011 02:21:37 +0000 (19:21 -0700)
committerBen Darnell <ben@bendarnell.com>
Fri, 25 Mar 2011 02:21:37 +0000 (19:21 -0700)
tornado/locale.py

index b6e324b72519c5479d2babe5b6fd8176eaf2879f..25eee819c5f9a68507ac0a47a58d2f01d1e0927c 100644 (file)
@@ -94,6 +94,9 @@ def load_translations(directory):
     For strings with no verbs that would change on translation, simply
     use "unknown" or the empty string (or don't include the column at all).
 
+    The file is read using the csv module in the default "excel" dialect.
+    In this format there should not be spaces after the commas.
+
     Example translation es_LA.csv:
 
         "I love you","Te amo"