diff --git a/ui.apps/src/main/content/jcr_root/apps/core/fd/components/formsportal/searchlister/v1/searchlister/clientlibs/editor/js/searchlistercomponent.js b/ui.apps/src/main/content/jcr_root/apps/core/fd/components/formsportal/searchlister/v1/searchlister/clientlibs/editor/js/searchlistercomponent.js index 9bd058b708..9f06bc1e20 100644 --- a/ui.apps/src/main/content/jcr_root/apps/core/fd/components/formsportal/searchlister/v1/searchlister/clientlibs/editor/js/searchlistercomponent.js +++ b/ui.apps/src/main/content/jcr_root/apps/core/fd/components/formsportal/searchlister/v1/searchlister/clientlibs/editor/js/searchlistercomponent.js @@ -13,8 +13,8 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ -/* global jQuery, Coral */ -(function ($, Coral) { +/* global jQuery, Coral, Granite */ +(function ($, Coral, Granite) { var initAssetSourcesTab = function () { var btn = $('.cmp-formsportal-searchandlister--editor-parameters > ._coral-Button')[0]; @@ -23,7 +23,7 @@ // overrides the default multi-field button btn.set({ label: { - innerHTML: "Add another location" + innerHTML: Granite.I18n.get("Add another location") }, icon: "add" }); @@ -35,4 +35,4 @@ $(document).on("dialog-ready", function () { initAssetSourcesTab(); }); -}(jQuery, Coral)); +}(jQuery, Coral, Granite));