From 9b5a19f1e3284ae359a73d8543a48b3676654e81 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 4 Jun 2013 12:01:32 +0300 Subject: [PATCH] Add missing dojo nls files to the i18n toolchain, and fix one of the files so they be built. Signed-off-by: Pasi Kallinen Signed-off-by: Dan Scott --- .../web/js/dojo/openils/vandelay/nls/vandelay.js | 4 ++-- build/i18n/Makefile | 26 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/vandelay/nls/vandelay.js b/Open-ILS/web/js/dojo/openils/vandelay/nls/vandelay.js index c7bfbe9afc..0551724eaf 100644 --- a/Open-ILS/web/js/dojo/openils/vandelay/nls/vandelay.js +++ b/Open-ILS/web/js/dojo/openils/vandelay/nls/vandelay.js @@ -1,5 +1,5 @@ { - NO_BUCKET_ITEMS : 'No bucket was created because the selected queue has no imported records', - BUCKET_CREATE_SUCCESS : 'Successfully added ${0} record(s) to bucket "${1}".\n\nThe bucket now has ${2} total records.' + "NO_BUCKET_ITEMS" : "No bucket was created because the selected queue has no imported records", + "BUCKET_CREATE_SUCCESS" : "Successfully added ${0} record(s) to bucket \"${1}\".\n\nThe bucket now has ${2} total records." } diff --git a/build/i18n/Makefile b/build/i18n/Makefile index 343909a85e..f513054873 100644 --- a/build/i18n/Makefile +++ b/build/i18n/Makefile @@ -16,7 +16,10 @@ DOJO_CIRC_SRC=../../Open-ILS/web/js/dojo/openils/circ/nls DOJO_CON_SRC=../../Open-ILS/web/js/dojo/openils/conify/nls DOJO_OPAC_SRC=../../Open-ILS/web/js/dojo/openils/opac/nls DOJO_RPT_SRC=../../Open-ILS/web/js/dojo/openils/reports/nls +DOJO_SERIAL_SRC=../../Open-ILS/web/js/dojo/openils/serial/nls +DOJO_URLVERIFY_SRC=../../Open-ILS/web/js/dojo/openils/URLVerify/nls DOJO_USER_SRC=../../Open-ILS/web/js/dojo/openils/User/nls +DOJO_VANDELAY_SRC=../../Open-ILS/web/js/dojo/openils/vandelay/nls DOJO_WIDGET_SRC=../../Open-ILS/web/js/dojo/openils/widget/nls FMIDLSRC=../../Open-ILS/examples/fm_IDL.xml FMIDLOUT=fm_IDL.dtd.pot @@ -101,6 +104,10 @@ newpo: @pot2po $(PROGRESS) -i po/TranslatorPopup.js/TranslatorPopup.js.pot -o $(PO)/TranslatorPopup.js/$(LOCALE).po @pot2po $(PROGRESS) -i po/XULTermLoader.js/XULTermLoader.js.pot -o $(PO)/XULTermLoader.js/$(LOCALE).po @pot2po $(PROGRESS) -i po/User.js/User.js.pot -o $(PO)/User.js/$(LOCALE).po + @pot2po $(PROGRESS) -i po/serial.js/serial.js.pot -o $(PO)/serial.js/$(LOCALE).po + @pot2po $(PROGRESS) -i po/URLVerify.js/URLVerify.js.pot -o $(PO)/URLVerify.js/$(LOCALE).po + @pot2po $(PROGRESS) -i po/match_set.js/match_set.js.pot -o $(PO)/match_set.js/$(LOCALE).po + @pot2po $(PROGRESS) -i po/vandelay.js/vandelay.js.pot -o $(PO)/vandelay.js/$(LOCALE).po @echo "Generated new PO files for locale $(LOCALE)" # Generate a new set of POT files and entityized fieldmapper IDL @@ -147,6 +154,10 @@ updatepo: prep_output @pot2po $(PROGRESS) -i po/TranslatorPopup.js/TranslatorPopup.js.pot -o $(PO)/TranslatorPopup.js/$(LOCALE).po -t $(PO)/TranslatorPopup.js/$(LOCALE).po @pot2po $(PROGRESS) -i po/User.js/User.js.pot -o $(PO)/User.js/$(LOCALE).po -t $(PO)/User.js/$(LOCALE).po @pot2po $(PROGRESS) -i po/XULTermLoader.js/XULTermLoader.js.pot -o $(PO)/XULTermLoader.js/$(LOCALE).po -t $(PO)/XULTermLoader.js/$(LOCALE).po + @pot2po $(PROGRESS) -i po/serial.js/serial.js.pot -o $(PO)/serial.js/$(LOCALE).po -t $(PO)/serial.js/$(LOCALE).po + @pot2po $(PROGRESS) -i po/URLVerify.js/URLVerify.js.pot -o $(PO)/URLVerify.js/$(LOCALE).po -t $(PO)/URLVerify.js/$(LOCALE).po + @pot2po $(PROGRESS) -i po/match_set.js/match_set.js.pot -o $(PO)/match_set.js/$(LOCALE).po -t $(PO)/match_set.js/$(LOCALE).po + @pot2po $(PROGRESS) -i po/vandelay.js/vandelay.js.pot -o $(PO)/vandelay.js/$(LOCALE).po -t $(PO)/vandelay.js/$(LOCALE).po @echo "Updated PO files for locale $(LOCALE)" dtds2pot: @@ -167,7 +178,11 @@ dojo2pot: @scripts/dojo_resource.py --pot $(DOJO_CON_SRC)/conify.js --output $(PO)/conify.js/conify.js.pot @scripts/dojo_resource.py --pot $(DOJO_OPAC_SRC)/opac.js --output $(PO)/opac.js/opac.js.pot @scripts/dojo_resource.py --pot $(DOJO_RPT_SRC)/reports.js --output $(PO)/reports.js/reports.js.pot + @scripts/dojo_resource.py --pot $(DOJO_SERIAL_SRC)/serial.js --output $(PO)/serial.js/serial.js.pot + @scripts/dojo_resource.py --pot $(DOJO_URLVERIFY_SRC)/URLVerify.js --output $(PO)/URLVerify.js/URLVerify.js.pot @scripts/dojo_resource.py --pot $(DOJO_USER_SRC)/User.js --output $(PO)/User.js/User.js.pot + @scripts/dojo_resource.py --pot $(DOJO_VANDELAY_SRC)/match_set.js --output $(PO)/match_set.js/match_set.js.pot + @scripts/dojo_resource.py --pot $(DOJO_VANDELAY_SRC)/vandelay.js --output $(PO)/vandelay.js/vandelay.js.pot @scripts/dojo_resource.py --pot $(DOJO_WIDGET_SRC)/AutoFieldWidget.js --output $(PO)/AutoFieldWidget.js/AutoFieldWidget.js.pot @scripts/dojo_resource.py --pot $(DOJO_WIDGET_SRC)/Searcher.js --output $(PO)/Searcher.js/Searcher.js.pot @scripts/dojo_resource.py --pot $(DOJO_WIDGET_SRC)/TranslatorPopup.js --output $(PO)/TranslatorPopup.js/TranslatorPopup.js.pot @@ -190,6 +205,10 @@ po2dojo: mklocale @scripts/dojo_resource.py --create $(PO)/TranslatorPopup.js/$(LOCALE).po --output $(PROJECT)/$(LOCALE)/TranslatorPopup.js @scripts/dojo_resource.py --create $(PO)/User.js/$(LOCALE).po --output $(PROJECT)/$(LOCALE)/User.js @scripts/dojo_resource.py --create $(PO)/XULTermLoader.js/$(LOCALE).po --output $(PROJECT)/$(LOCALE)/XULTermLoader.js + @scripts/dojo_resource.py --create $(PO)/serial.js/$(LOCALE).po --output $(PROJECT)/$(LOCALE)/serial.js + @scripts/dojo_resource.py --create $(PO)/URLVerify.js/$(LOCALE).po --output $(PROJECT)/$(LOCALE)/URLVerify.js + @scripts/dojo_resource.py --create $(PO)/match_set.js/$(LOCALE).po --output $(PROJECT)/$(LOCALE)/match_set.js + @scripts/dojo_resource.py --create $(PO)/vandelay.js/$(LOCALE).po --output $(PROJECT)/$(LOCALE)/vandelay.js ils2pot: @scripts/ils_events.py --pot $(EVTSRC) --output $(PO)/ils_events.xml/$(EVTOUT) @@ -313,6 +332,13 @@ install: updatepo project fmidl2fmidlent fmidlpo2entity-en cp $(PROJECT)/$(LOCALE)/reports.js $(DOJO_RPT_SRC)/$(DOJO_LOCALE)/reports.js mkdir -p $(DOJO_USER_SRC)/$(DOJO_LOCALE) cp $(PROJECT)/$(LOCALE)/User.js $(DOJO_USER_SRC)/$(DOJO_LOCALE)/User.js + mkdir -p $(DOJO_SERIAL_SRC)/$(DOJO_LOCALE) + cp $(PROJECT)/$(LOCALE)/serial.js $(DOJO_SERIAL_SRC)/$(DOJO_LOCALE)/serial.js + mkdir -p $(DOJO_URLVERIFY_SRC)/$(DOJO_LOCALE) + cp $(PROJECT)/$(LOCALE)/URLVerify.js $(DOJO_URLVERIFY_SRC)/$(DOJO_LOCALE)/URLVerify.js + mkdir -p $(DOJO_VANDELAY_SRC)/$(DOJO_LOCALE) + cp $(PROJECT)/$(LOCALE)/match_set.js $(DOJO_VANDELAY_SRC)/$(DOJO_LOCALE)/match_set.js + cp $(PROJECT)/$(LOCALE)/vandelay.js $(DOJO_VANDELAY_SRC)/$(DOJO_LOCALE)/vandelay.js mkdir -p $(DOJO_WIDGET_SRC)/$(DOJO_LOCALE) cp $(PROJECT)/$(LOCALE)/AutoFieldWidget.js $(DOJO_WIDGET_SRC)/$(DOJO_LOCALE)/AutoFieldWidget.js cp $(PROJECT)/$(LOCALE)/Searcher.js $(DOJO_WIDGET_SRC)/$(DOJO_LOCALE)/Searcher.js -- 2.11.0