From 7ff212b80be5064536725399cf58e6ac9e6d779b Mon Sep 17 00:00:00 2001 From: dbs Date: Thu, 16 Oct 2008 18:10:40 +0000 Subject: [PATCH] Add Conify i18n build rules and POT files git-svn-id: svn://svn.open-ils.org/ILS/trunk@10848 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- build/i18n/Makefile.in | 17 ++++- build/i18n/po/en-US/conify.aou.pot | 128 ++++++++++++++++++++++++++++++++++++ build/i18n/po/en-US/conify.aout.pot | 68 +++++++++++++++++++ 3 files changed, 211 insertions(+), 2 deletions(-) create mode 100644 build/i18n/po/en-US/conify.aou.pot create mode 100644 build/i18n/po/en-US/conify.aout.pot diff --git a/build/i18n/Makefile.in b/build/i18n/Makefile.in index 946335e70d..439b434553 100644 --- a/build/i18n/Makefile.in +++ b/build/i18n/Makefile.in @@ -6,6 +6,8 @@ LOCALE=fr-CA DTDDIR=../../Open-ILS/web/opac/locale CHROME_PROPSDIR=../../Open-ILS/xul/staff_client/chrome/locale SERVER_PROPSDIR=../../Open-ILS/xul/staff_client/server/locale +DOJO_LOCALE := $(shell echo ${LOCALE} | tr '[:upper:]-' '[:lower:]/') +DOJOSRC=../../Open-ILS/web/js/dojo/openils/conify/nls FMIDLSRC=../../Open-ILS/examples/fm_IDL.xml FMIDLOUT=fm_IDL.pot FMIDLENT=fm_IDL.xml @@ -50,12 +52,12 @@ newpo: @echo "Generated new PO files for locale $(LOCALE)" # Generate a new set of POT files and entityized fieldmapper IDL -newpot: dtds2pot fmidl2pot fmidl2fmidlent ils2pot props2pot sql2pot +newpot: dtds2pot fmidl2pot fmidl2fmidlent ils2pot props2pot sql2pot dojo2pot @echo "Generated new POT files" # Generate DTD, JavaScript message catalogs, fieldmapper IDL, # and SQL insert files from PO for locale LOCALE -project: po2dtds po2props po2sql fmidlpo2entity po2ils +project: po2dtds po2props po2sql fmidlpo2entity po2ils po2dojo @echo "Generated project files for locale $(LOCALE)" # Update PO files with new and changed strings from POT files @@ -78,6 +80,14 @@ props2po: dtds2pot: @moz2po -P $(PROGRESS) -o $(POTSRC) -i $(DTDDIR)/en-US/ 2>&1 +dojo2pot: + @scripts/dojo_resource.py --pot $(DOJOSRC)/aou.js --output $(POTSRC)/conify.aou.pot + @scripts/dojo_resource.py --pot $(DOJOSRC)/aout.js --output $(POTSRC)/conify.aout.pot + +po2dojo: + @scripts/dojo_resource.py --create $(POINDIR)/$(LOCALE)/conify.aou.po --output $(PROJECT)/$(LOCALE)/conify.aou.js + @scripts/dojo_resource.py --create $(POINDIR)/$(LOCALE)/conify.aout.po --output $(PROJECT)/$(LOCALE)/conify.aout.js + ils2pot: @scripts/ils_events.py --pot $(EVTSRC) --output $(POTSRC)/$(EVTOUT) @@ -135,3 +145,6 @@ install: updatepo project fmidl2fmidlent @scripts/merge_ils_events.py --master $(EVTSRC) --localization $(PROJECT)/$(LOCALE)/$(EVTXML) --output $(EVTSRC) cp $(PROJECT)/$(LOCALE)/$(SQLOUT).sql $(SQLSRCDIR)/$(SQLOUT)-$(LOCALE).sql cp $(POOUTDIR)/$(FMIDLENT) $(REPORTDIR)/$(FMIDLENT) + mkdir -p $(DOJOSRC)/$(DOJO_LOCALE) + cp $(PROJECT)/$(LOCALE)/conify.aou.js $(DOJOSRC)/$(DOJO_LOCALE)/aou.js + cp $(PROJECT)/$(LOCALE)/conify.aout.js $(DOJOSRC)/$(DOJO_LOCALE)/aout.js diff --git a/build/i18n/po/en-US/conify.aou.pot b/build/i18n/po/en-US/conify.aou.pot new file mode 100644 index 0000000000..ea14505a89 --- /dev/null +++ b/build/i18n/po/en-US/conify.aou.pot @@ -0,0 +1,128 @@ +# +msgid "" +msgstr "" +"Project-Id-Version: Evergreen 1.4\n" +"Report-Msgid-Bugs-To: open-ils-dev@list.georgialibraries.org\n" +"POT-Creation-Date: 2008-10-16 14:07:01-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8-bit\n" + +#: aou.js:SUCCESS_SAVING_PHYSICAL +msgid "Saved changes to the Physical Address of ${0}" +msgstr "Saved changes to the Physical Address of ${0}" + +#: aou.js:ERROR_FETCHING_TYPES +msgid "Problem fetching organizational unit type data" +msgstr "Problem fetching organizational unit type data" + +#: aou.js:ERROR_FETCHING_PHYSICAL +msgid "Problem fetching Physical Address for ${0}" +msgstr "Problem fetching Physical Address for ${0}" + +#: aou.js:ERROR_SAVING_DATA +msgid "Problem saving data for ${0}" +msgstr "Problem saving data for ${0}" + +#: aou.js:LABEL_NEW_BRANCH +msgid "New Branch" +msgstr "New Branch" + +#: aou.js:ERROR_FETCHING_HOURS +msgid "Problem fetching hours of operation for ${0}" +msgstr "Problem fetching hours of operation for ${0}" + +#: aou.js:ERROR_FETCHING_ILL +msgid "Problem fetching ILL Address for ${0}" +msgstr "Problem fetching ILL Address for ${0}" + +#: aou.js:SUCCESS_CREATING_CHILD +msgid "New child Organizational Unit created for ${0}" +msgstr "New child Organizational Unit created for ${0}" + +#: aou.js:SUCCESS_SAVING_HOO +msgid "Hours of Operation updated for ${0}" +msgstr "Hours of Operation updated for ${0}" + +#: aou.js:ERROR_DELETING_LAST +msgid "Cannot delete ${0}, you need at least one." +msgstr "Cannot delete ${0}, you need at least one." + +#: aou.js:ERROR_SAVING_HOO +msgid "Problem saving Hours of Operation data for ${0}" +msgstr "Problem saving Hours of Operation data for ${0}" + +#: aou.js:ERROR_SAVING_PHYSICAL +msgid "Problem saving Physical Address data for ${0}" +msgstr "Problem saving Physical Address data for ${0}" + +#: aou.js:CONFIRM_EXIT +msgid "There are unsaved changes to one or more organizational units. Click OK to save these changes, or Cancel to abandon them." +msgstr "There are unsaved changes to one or more organizational units. Click OK to save these changes, or Cancel to abandon them." + +#: aou.js:SUCCESS_SAVE +msgid "Saved changes to ${0}" +msgstr "Saved changes to ${0}" + +#: aou.js:SUCCESS_SAVING_MAILING +msgid "Saved changes to the Mailing Address of ${0}" +msgstr "Saved changes to the Mailing Address of ${0}" + +#: aou.js:ERROR_FETCHING_MAILING +msgid "Problem fetching Mailing Address for ${0}" +msgstr "Problem fetching Mailing Address for ${0}" + +#: aou.js:ERROR_FETCHING_ORGS +msgid "Problem fetching organizational unit data" +msgstr "Problem fetching organizational unit data" + +#: aou.js:SUCCESS_SAVING_HOLDS +msgid "Saved changes to the Holds Address of ${0}" +msgstr "Saved changes to the Holds Address of ${0}" + +#: aou.js:SUCCESS_SAVING_ILL +msgid "Saved changes to the ILL Address of ${0}" +msgstr "Saved changes to the ILL Address of ${0}" + +#: aou.js:ERROR_DELETING +msgid "Problem deleting ${0}" +msgstr "Problem deleting ${0}" + +#: aou.js:STATUS_EDITING +msgid "Now editing ${0}" +msgstr "Now editing ${0}" + +#: aou.js:ERROR_CREATING_CHILD +msgid "Problem creating child Organizational Unit" +msgstr "Problem creating child Organizational Unit" + +#: aou.js:CONFIRM_DELETE +msgid "Are you sure you want to delete ${0}?" +msgstr "Are you sure you want to delete ${0}?" + +#: aou.js:ERROR_ORPHANS +msgid "Cannot delete ${0}, ${1} subordinates still exist." +msgstr "Cannot delete ${0}, ${1} subordinates still exist." + +#: aou.js:ERROR_SAVING_HOLDS +msgid "Problem saving Holds Address data for ${0}" +msgstr "Problem saving Holds Address data for ${0}" + +#: aou.js:ERROR_FETCHING_HOLDS +msgid "Problem fetching Holds Address for ${0}" +msgstr "Problem fetching Holds Address for ${0}" + +#: aou.js:ERROR_SAVING_MAILING +msgid "Problem saving Mailing Address data for ${0}" +msgstr "Problem saving Mailing Address data for ${0}" + +#: aou.js:STATUS_DELETED +msgid "${0} deleted" +msgstr "${0} deleted" + +#: aou.js:ERROR_SAVING_ILL +msgid "Problem saving ILL Address data for ${0}" +msgstr "Problem saving ILL Address data for ${0}" diff --git a/build/i18n/po/en-US/conify.aout.pot b/build/i18n/po/en-US/conify.aout.pot new file mode 100644 index 0000000000..2639d71c03 --- /dev/null +++ b/build/i18n/po/en-US/conify.aout.pot @@ -0,0 +1,68 @@ +# +msgid "" +msgstr "" +"Project-Id-Version: Evergreen 1.4\n" +"Report-Msgid-Bugs-To: open-ils-dev@list.georgialibraries.org\n" +"POT-Creation-Date: 2008-10-16 14:07:02-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8-bit\n" + +#: aout.js:ERROR_FETCHING_TYPES +msgid "Problem fetching organization types" +msgstr "Problem fetching organization types" + +#: aout.js:SUCCESS_SAVING_DATA +msgid "Saved changes to ${0}" +msgstr "Saved changes to ${0}" + +#: aout.js:LABEL_NEW_TYPE +msgid "New Type" +msgstr "New Type" + +#: aout.js:STATUS_DELETED +msgid "${0} deleted" +msgstr "${0} deleted" + +#: aout.js:ERROR_DELETING +msgid "Problem deleting ${0}" +msgstr "Problem deleting ${0}" + +#: aout.js:STATUS_EDITING +msgid "Now editing ${0}" +msgstr "Now editing ${0}" + +#: aout.js:SUCCESS_CREATING_CHILD +msgid "New child Organization Type created for ${0}" +msgstr "New child Organization Type created for ${0}" + +#: aout.js:ERROR_CREATING_CHILD +msgid "Problem creating child Organization Type" +msgstr "Problem creating child Organization Type" + +#: aout.js:CONFIRM_DELETE +msgid "Are you sure you want to delete ${0}?" +msgstr "Are you sure you want to delete ${0}?" + +#: aout.js:CONFIRM_UNSAVED_CHANGES +msgid "There are unsaved changes to one or more organization types. Click OK to save these changes, or Cancel to abandon them." +msgstr "There are unsaved changes to one or more organization types. Click OK to save these changes, or Cancel to abandon them." + +#: aout.js:ERROR_ORPHANS +msgid "Cannot delete ${0}; ${1} subordinates still exist." +msgstr "Cannot delete ${0}; ${1} subordinates still exist." + +#: aout.js:ERROR_SAVING_DATA +msgid "Problem saving data for ${0}" +msgstr "Problem saving data for ${0}" + +#: aout.js:ERROR_CREATING_CHILD_METHOD +msgid "Problem calling method to create child Organization Type" +msgstr "Problem calling method to create child Organization Type" + +#: aout.js:ERROR_DELETING_LAST +msgid "Cannot delete ${0}. You need at least one organization type." +msgstr "Cannot delete ${0}. You need at least one organization type." -- 2.11.0