From 25ff64b0112564a424d418c1ad90cc279a515c25 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 7 Apr 2015 20:27:29 -0700 Subject: [PATCH] CRM-16145 - create-pot-files - Update to match new Angular locations --- tools/bin/scripts/create-pot-files | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/tools/bin/scripts/create-pot-files b/tools/bin/scripts/create-pot-files index 4d764768b4..2b02397b1a 100755 --- a/tools/bin/scripts/create-pot-files +++ b/tools/bin/scripts/create-pot-files @@ -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) -- 2.25.1