CRM-16145 - create-pot-files - Update to match new Angular locations
authorTim Otten <totten@civicrm.org>
Wed, 8 Apr 2015 03:27:29 +0000 (20:27 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 8 Apr 2015 04:22:15 +0000 (21:22 -0700)
tools/bin/scripts/create-pot-files

index 4d764768b495702d924108258a00e82ef8adc5a7..2b02397b1a77b88229f6145b7d89a7f2f9391a79 100755 (executable)
@@ -139,9 +139,7 @@ function build_raw_pot() {
         xml/templates/civicrm_msg_template.tpl \
         xml/templates/message_templates/friend_* \
         xml/templates/message_templates/uf_notify_* \
-        js/angular-crmApp.js \
-        js/angular-crmAttachment.js \
-        js/angular-crm-ui.js \
+        ang/crm{App,Attachment,Example,Ui,Util}{,.js}  \
         js/Common.js \
         js/crm.ajax.js \
         js/crm.backbone.js \
@@ -152,11 +150,7 @@ function build_raw_pot() {
         js/model/crm.designer.js \
         js/model/crm.uf.js \
         js/view/crm.designer.js \
-        packages/HTML/QuickForm \
-        partials/crmAttachment \
-        partials/crmExample \
-        partials/crmUi
-
+        packages/HTML/QuickForm
 
       ## The CRM/Upgrade folder includes *.tpl files which, for some reason,
       ## have been omitted from past pot's. Omitting these requires more
@@ -225,7 +219,7 @@ function build_raw_pot() {
     Case)
       _civistrings -o "$filepath" \
         {CRM,templates/CRM}/$name \
-        partials/crmCaseType \
+        ang/crmCaseType{,.js} \
         xml/templates/message_templates/case_*
       ;;
 
@@ -246,14 +240,7 @@ function build_raw_pot() {
     Mailing)
       _civistrings -o "$filepath" \
         {CRM,templates/CRM}/$name \
-        js/angular-crmCaseType.js \
-        js/angular-crmMailingAB.js \
-        js/angular-crmMailingAB/services.js \
-        js/angular-crmMailing/directives.js \
-        js/angular-crmMailing.js \
-        js/angular-crmMailing/services.js \
-        partials/crmMailing \
-        partials/crmMailingAB
+        ang/crm{Mailing,MailingAB}{,.js}
       ;;
 
     Member)