Replace string org.civicrm.search -> org.civicrm.search_kit
authorColeman Watts <coleman@civicrm.org>
Sat, 24 Apr 2021 15:30:21 +0000 (11:30 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 24 Apr 2021 15:30:21 +0000 (11:30 -0400)
Followup to renaming the extension, this fixes strings with the old name.

19 files changed:
ext/afform/core/managed/AfformType.mgd.php
ext/search_kit/ang/crmSearchActions/crmSearchActionDelete.ctrl.js
ext/search_kit/ang/crmSearchActions/crmSearchActionUpdate.ctrl.js
ext/search_kit/ang/crmSearchActions/crmSearchActions.component.js
ext/search_kit/ang/crmSearchActions/crmSearchBatchRunner.component.js
ext/search_kit/ang/crmSearchActions/crmSearchInput/crmSearchInput.component.js
ext/search_kit/ang/crmSearchActions/crmSearchInput/crmSearchInputVal.component.js
ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js
ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js
ext/search_kit/ang/crmSearchAdmin/crmSearchAdminLinkGroup.component.js
ext/search_kit/ang/crmSearchAdmin/crmSearchAdminLinkSelect.component.js
ext/search_kit/ang/crmSearchAdmin/crmSearchAdminTokenSelect.component.js
ext/search_kit/ang/crmSearchAdmin/crmSearchClause.component.js
ext/search_kit/ang/crmSearchAdmin/crmSearchFunction.component.js
ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayList.component.js
ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayTable.component.js
ext/search_kit/ang/crmSearchAdmin/searchList.controller.js
ext/search_kit/ang/crmSearchDisplayList/crmSearchDisplayList.component.js
ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js

index 17c72c6aac25064fce036fb9ead2d3201f1ccc70..baeaccb8c6c4daf6ac9cabd3007e42141861e667 100644 (file)
@@ -50,7 +50,7 @@ $mgd = [
 
 try {
   $search = civicrm_api3('Extension', 'getsingle', [
-    'full_name' => "org.civicrm.search",
+    'full_name' => 'org.civicrm.search_kit',
   ]);
   if ($search['status'] === 'installed') {
     $mgd[] = [
index 911e832eea87f7454c382811742085ff2d9ab4ee..6e54266ab222e00eb3839062947726d02c1817fa 100644 (file)
@@ -2,7 +2,7 @@
   "use strict";
 
   angular.module('crmSearchActions').controller('crmSearchActionDelete', function($scope, dialogService) {
-    var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+    var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
       model = $scope.model,
       ctrl = this;
 
index 55f704e0b3759c37dea5a4c32c0c054071a7ad02..f322613b86a4617a4502ecfe5e851b4c590f929b 100644 (file)
@@ -2,7 +2,7 @@
   "use strict";
 
   angular.module('crmSearchActions').controller('crmSearchActionUpdate', function ($scope, $timeout, crmApi4, dialogService) {
-    var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+    var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
       model = $scope.model,
       ctrl = this;
 
index 2f3570eeaa0889bf2a1fb1c2109598c98a5c423b..f278c00e3ad337f8d1992d3fa61154fe4b6b1edb 100644 (file)
@@ -9,7 +9,7 @@
     },
     templateUrl: '~/crmSearchActions/crmSearchActions.html',
     controller: function($scope, crmApi4, dialogService) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this,
         initialized = false,
         unwatchIDs = $scope.$watch('$ctrl.ids.length', watchIDs);
index 7be101beea7d08ae1fb4fed5cf7ff9308e72df25..ef66e518b819bae4068926105c7fcfd4e0bc5eb5 100644 (file)
@@ -12,7 +12,7 @@
     },
     templateUrl: '~/crmSearchActions/crmSearchBatchRunner.html',
     controller: function($scope, $timeout, $interval, crmApi4) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this,
         currentBatch = 0,
         totalBatches,
index c52c0e7092c98606a602613b7560275e2ec1bcf5..9accd4807ece7476ddf8afb4432651f040d99df2 100644 (file)
@@ -11,7 +11,7 @@
     require: {ngModel: 'ngModel'},
     templateUrl: '~/crmSearchActions/crmSearchInput/crmSearchInput.html',
     controller: function($scope) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.isMulti = function() {
index 20b5152760101dadf7b891451508327fffa3a1e4..f38f7a45e427ce0ddc6997d02a161ead52ef146b 100644 (file)
@@ -10,7 +10,7 @@
     require: {ngModel: 'ngModel'},
     template: '<div class="form-group" ng-include="$ctrl.getTemplate()"></div>',
     controller: function($scope, formatForSelect2) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.$onInit = function() {
index feac4a41e15dd2db18b16c4cc530e1c975e049a1..8c1934f6b4e24b1a446109abbac5e65ea08a1dc9 100644 (file)
@@ -7,7 +7,7 @@
     },
     templateUrl: '~/crmSearchAdmin/crmSearchAdmin.html',
     controller: function($scope, $element, $location, $timeout, crmApi4, dialogService, searchMeta, formatForSelect2) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.DEFAULT_AGGREGATE_FN = 'GROUP_CONCAT';
index f5806fcf4010751be54f7f0488c476b12a2c4c28..635af8e49c660fcf85c0534e7cba41f2f72398b6 100644 (file)
@@ -33,7 +33,7 @@
       return html;
     },
     controller: function($scope, $timeout, searchMeta) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.preview = this.stale = false;
index 3ff0962ecbd730bd718f0f47fe2abea446e7b0a5..d9145431a684e87e0df50a1fa3fa999720ca2f20 100644 (file)
@@ -10,7 +10,7 @@
     },
     templateUrl: '~/crmSearchAdmin/crmSearchAdminLinkGroup.html',
     controller: function ($scope, $element, $timeout, searchMeta) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.styles = CRM.crmSearchAdmin.styles;
index 6d39b945c8dca698d94ad2b887a728640afcae6e..16f4528bb2a2e4aafde07a1b0e80aa3ae0b444e8 100644 (file)
@@ -11,7 +11,7 @@
     },
     templateUrl: '~/crmSearchAdmin/crmSearchAdminLinkSelect.html',
     controller: function ($scope, $element, $timeout) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.setValue = function(val) {
index f03318acbe4f8d984ed418a52cac97add3fc2752..5ee4b2dd5e3217d72d63d2039ad55b6a45d96239 100644 (file)
@@ -10,7 +10,7 @@
     },
     templateUrl: '~/crmSearchAdmin/crmSearchAdminTokenSelect.html',
     controller: function ($scope, $element, searchMeta) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.initTokens = function() {
index e1ea2e0746655240184295a0ed17252f0e70bfcc..6c0b6378dce96ed4cdaed904e799d5b63a6a6b65 100644 (file)
@@ -13,7 +13,7 @@
     },
     templateUrl: '~/crmSearchAdmin/crmSearchClause.html',
     controller: function ($scope, $element, $timeout, searchMeta) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this,
         meta = {};
       this.conjunctions = {AND: ts('And'), OR: ts('Or'), NOT: ts('Not')};
index 7a4af26ad3644310f782fd20b37908522b32086a..c0049331f37d2f4306388e11d8146cfbb3c4983b 100644 (file)
@@ -8,7 +8,7 @@
     },
     templateUrl: '~/crmSearchAdmin/crmSearchFunction.html',
     controller: function($scope, formatForSelect2, searchMeta) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.$onInit = function() {
index 5780a6789564f8bc37a699406dac55748eaef875..ac8e3483dbc8a8160c6114be69a8b7abbcf5249f 100644 (file)
@@ -12,7 +12,7 @@
     },
     templateUrl: '~/crmSearchAdmin/displays/searchAdminDisplayList.html',
     controller: function($scope) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.symbols = {
index ab839cbb183b47077e3988832f8305309c4f2841..343c14cfc858b756f26459df57b684078cca4171 100644 (file)
@@ -12,7 +12,7 @@
     },
     templateUrl: '~/crmSearchAdmin/displays/searchAdminDisplayTable.html',
     controller: function($scope) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.$onInit = function () {
index 42a36d904eac74e2e3d9cda3d3f6f5413932018d..53e4ac32b156e7d1d7a2c4751f694686174a9a7d 100644 (file)
@@ -2,7 +2,7 @@
   "use strict";
 
   angular.module('crmSearchAdmin').controller('searchList', function($scope, savedSearches, crmApi4) {
-    var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+    var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
       ctrl = $scope.$ctrl = this;
     $scope.formatDate = CRM.utils.formatDate;
     this.savedSearches = savedSearches;
index fa2d9ea6bbeadb910461139c6f8bcc6c1cbdf46f..4c18ad614fb891168915987ae79b7927d50d9478 100644 (file)
@@ -15,7 +15,7 @@
     },
     templateUrl: '~/crmSearchDisplayList/crmSearchDisplayList.html',
     controller: function($scope, $element, crmApi4, searchDisplayUtils) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.page = 1;
index 9b4b9f18ee7697f9db8b02cd969c095a849c2d2c..5b824e944f48c265f2975116257a3a7521683275 100644 (file)
@@ -14,7 +14,7 @@
     },
     templateUrl: '~/crmSearchDisplayTable/crmSearchDisplayTable.html',
     controller: function($scope, $element, crmApi4, searchDisplayUtils) {
-      var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+      var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
         ctrl = this;
 
       this.page = 1;