]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Fix i18n build
authorDan Scott <dan@coffeecode.net>
Fri, 29 Jul 2011 20:09:58 +0000 (16:09 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 4 Aug 2011 18:55:43 +0000 (14:55 -0400)
commitefdf2b16c664924ee66fa2e48a8da343aa16a43d
treeed409a5b5f75736585ba3f8f58cd42619c3f5b4a
parentdf25d34fb5cad303a21b0f9df64b3c8e299b8222
Fix i18n build

Two problems thrown at the i18n build:

  * $$ quoting is not understood by db-seed-i18n.py; simple approach is
    to use standard single-quote escaping of the single-quote in
    950.data.seed-values.sql (warning: this might lead to other problems
    with the regular expression in db-seed-i18n.py)
  * authority.js includes Unicode values (shock!) and so we must treat
    the incoming strings as unicode() instead of plain old str()

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
build/i18n/scripts/dojo_resource.py