@@ -1,15 +1,15 @@
|
||||
import { UserStore } from "../store/Modules";
|
||||
import messages from "../statics/i18n";
|
||||
import { UserStore } from '../store/Modules'
|
||||
import messages from '../statics/i18n'
|
||||
|
||||
function translate(params) {
|
||||
let msg = params.split('.')
|
||||
let lang = UserStore.state.lang
|
||||
const msg = params.split('.')
|
||||
const lang = UserStore.state.lang
|
||||
|
||||
let stringa = messages[lang]
|
||||
const stringa = messages[lang]
|
||||
|
||||
let ris = stringa
|
||||
if (ris !== undefined) {
|
||||
msg.forEach(param => {
|
||||
msg.forEach((param) => {
|
||||
ris = ris[param]
|
||||
})
|
||||
} else {
|
||||
|
||||
@@ -30,7 +30,7 @@ else
|
||||
var owa_cmds = owa_cmds || [];
|
||||
owa_cmds.push(['setSiteId', getidtrack()]);
|
||||
owa_cmds.push(['trackPageView']);
|
||||
owa_cmds.push(['trackClicks']);
|
||||
// owa_cmds.push(['trackClicks']);
|
||||
|
||||
(function () {
|
||||
var _owa = document.createElement('script');
|
||||
|
||||
Reference in New Issue
Block a user