Fix i18n build user/moodaepo/fix-i18n-build
authorDan Scott <dan@coffeecode.net>
Fri, 29 Jul 2011 20:09:58 +0000 (16:09 -0400)
committerAnoop Atre <anoop@atreya.net>
Tue, 2 Aug 2011 15:48:58 +0000 (10:48 -0500)
commit7c4b3161af441c60c29b8dbb08514936dbe078e5
treee95b68358e9b9f1094c9d0b5e62b1887f0de1927
parent9e8cc45fdbc0cf825eff6d22366521c6e286920f
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: Anoop Atre <anoop@atreya.net>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
build/i18n/scripts/dojo_resource.py