mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Used momentjs' translations for every DateTime strings. No more need to add translations. Added config.js to use as a central file for configurations. Try to use Gmail's calendars and I've seen that there are some problems (with old events, when an event has "email remembers", and with TimeZones). I'll try to solve it soon.
24 lines
529 B
JavaScript
24 lines
529 B
JavaScript
// for navigator language
|
|
var lang = window.navigator.language;
|
|
// you can change the language
|
|
//var lang = 'en';
|
|
|
|
//change weather params here:
|
|
var weatherParams = {
|
|
'q':'Baarn,Netherlands',
|
|
'units':'metric',
|
|
'lang':lang
|
|
};
|
|
|
|
// compliments:
|
|
var compliments = [
|
|
'Hey, handsome!',
|
|
'Hi, sexy!',
|
|
'Hello, beauty!',
|
|
'You look sexy!',
|
|
'Wow, you look hot!',
|
|
'Looking good today!',
|
|
'You look nice!',
|
|
'Enjoy your day!'
|
|
];
|