Update of /cvsroot/phpwebapp/web_app/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19477/doc
Modified Files:
changes.txt
Log Message:
- solved multiple lines problem
- fixed some problems with translating JS messages
Index: changes.txt
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/doc/changes.txt,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** changes.txt 21 Jun 2005 13:21:06 -0000 1.20
--- changes.txt 22 Jun 2005 12:56:29 -0000 1.21
***************
*** 223,226 ****
--- 223,239 ----
}
+ Tip: Since xgettext has the C syntax in mind, for strings
+ in multiple lines, it gives a warning: "unterminated string
+ literal" and it does not get them right. To bypass this
+ problem, a slash (\) can be added at the end of the lines,
+ like in C strings. The framework will take care to remove it
+ automatically and the lines will be as if there was no break
+ between them. In case that you do want to preserve the break
+ between the lines, then use '\n\' at the end of the lines.
+
+ This is just a dirty trick, the clean solution would be to
+ modify xgettext so that it reckognizes the syntax of php and
+ html strings, but it is not so easy for me to do this, and
+ until somebody does it, this trick solves the problem.
-------------------------------------------------------------------
|