Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Publish 10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandruradovici committed Mar 30, 2016
1 parent f3af509 commit d3732a8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Wyliodrin STUDIO 10.2
* added serial port title to mixpanel
* fixed ui_lang in mixpanel
* fixed board mdns list (removed forceDiscovery)

Wyliodrin STUDIO 10.1
* added anonymoys statistics data (version, ui_lang)
* added forum
Expand Down
2 changes: 1 addition & 1 deletion extra/mixpanel
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Schematics Controller
Schematics Erase - erase schematics (language of the project)

Serial Port Controller
SerialPort Connect - connect (connection style serial, address ...)
SerialPort Connect - connect (connection style serial, address, serial port ...)

Software Example Controller
Software Example - open the software example (language of the project)
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "__MSG_appName__",
"description":"__MSG_appDesc__",
"version": "10.1",
"version": "10.2",
"manifest_version": 2,
"default_locale":"en",
"author":"Wyliodrin SRL",
Expand Down
6 changes: 5 additions & 1 deletion source/public/controllers/TranslateController.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,13 @@ module.exports = function ()
{
if (language)
{
mixpanel.language (language);
// mixpanel.language (language);
that.changeLanguage (language);
}
else
{
mixpanel.language ($translate.use ());
}
});

// console.log (available);
Expand Down
8 changes: 1 addition & 7 deletions source/public/mixpanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ library.retrieveValue ('usage', true, function (value)
global.usage = value;
});

library.retrieveValue ('language', true, function (value)
{
debug ('Language '+value);
language (value);
});

function init(token, userid) {
debug ('startup');
if (token && token !== '')
Expand Down Expand Up @@ -73,7 +67,7 @@ function track(event, properties) {
version: settings.VERSION,
$os: mixpanel.os,
architecture: mixpanel.architecture,
ui_lang: ln
ui_lang: ln?ln:'en'
// browser: app.browser.name
},
properties)
Expand Down

0 comments on commit d3732a8

Please sign in to comment.