feedback for language used

pull/1/head
ansuz 8 years ago
parent 086e5909dd
commit 52eb8e307c

@ -46,6 +46,7 @@ define(req, function($, Default, Language) {
}
messages._languages = map;
messages._languageUsed = language;
messages._checkTranslationState = function (cb) {
if (typeof(cb) !== "function") { return; }

@ -188,6 +188,9 @@ define([
var w = window.innerWidth;
feedback('DIMENSIONS:' + h + 'x' + w);
};
common.reportLanguage = function () {
feedback('LANG_' + Messages._languageUsed);
};
common.getUid = function () {
if (store && store.getProxy() && store.getProxy().proxy) {
@ -1722,6 +1725,7 @@ define([
}
common.reportScreenDimensions();
common.reportLanguage();
$(function() {
// Race condition : if document.body is undefined when alertify.js is loaded, Alertify

Loading…
Cancel
Save