add icons for Character groups

This commit is contained in:
coderkun 2014-04-29 14:18:04 +02:00
commit 2d9a41a5fe
3461 changed files with 594457 additions and 0 deletions

View file

@ -0,0 +1,30 @@
var Piwik_Overlay_Translations = (function () {
/** Translations strings */
var translations = [];
return {
/**
* Initialize translations module.
* Callback is triggered when data is available.
*/
initialize: function (callback) {
// Load translation data
Piwik_Overlay_Client.api('getTranslations', function (data) {
translations = data[0];
callback();
});
},
/** Get translation string */
get: function (identifier) {
if (typeof translations[identifier] == 'undefined') {
return identifier;
}
return translations[identifier];
}
};
})();