Skip to content

Commit

Permalink
Replace deprecated ts() function with t() (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
blankse committed Aug 8, 2022
1 parent 4c358c7 commit 64e2c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/public/js/mutationoperator/LocaleSwitcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pimcore.plugin.datahub.mutationoperator.localeswitcher = Class.create(pimcore.pl
var data = [];
for (var i = 0; i < pimcore.settings.websiteLanguages.length; i++) {
var language = pimcore.settings.websiteLanguages[i];
data.push([language, ts(pimcore.available_languages[language])]);
data.push([language, t(pimcore.available_languages[language])]);
}

var store = new Ext.data.ArrayStore({
Expand Down

0 comments on commit 64e2c0f

Please sign in to comment.