mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 21:00:57 +00:00
Added few improvements to make MagicMirror better
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.
This commit is contained in:
23
js/config.js
Normal file
23
js/config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
// 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!'
|
||||
];
|
Reference in New Issue
Block a user