Magic Mirror -> MagicMirror²

Consistent spelling
This commit is contained in:
Kristjan SCHMIDT 2022-01-26 23:09:26 +01:00
parent 4b381f33b5
commit a5668b1b99
90 changed files with 94 additions and 93 deletions

View File

@ -1,4 +1,4 @@
/* Magic Mirror Config Sample
/* MagicMirror² Config Sample
*
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Custom CSS Sample
/* MagicMirror² Custom CSS Sample
*
* Change color and fonts here.
*

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* The Core App (Server)
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
*
* Check the configuration file for errors
*

View File

@ -1,6 +1,6 @@
/* global mmPort */
/* Magic Mirror
/* MagicMirror²
* Config Defaults
*
* By Michael Teeuw https://michaelteeuw.nl
@ -36,7 +36,7 @@ const defaults = {
position: "upper_third",
classes: "large thin",
config: {
text: "Magic Mirror<sup>2</sup>"
text: "MagicMirror²"
}
},
{

View File

@ -1,4 +1,4 @@
/* Magic Mirror Deprecated Config Options List
/* MagicMirror² Deprecated Config Options List
*
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.

View File

@ -1,6 +1,6 @@
/* global defaultModules, vendor */
/* Magic Mirror
/* MagicMirror²
* Module and File loaders.
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Log
*
* This logger is very simple, but needs to be extended.

View File

@ -1,6 +1,6 @@
/* global Loader, defaults, Translator */
/* Magic Mirror
/* MagicMirror²
* Main System
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* global Class, cloneObject, Loader, MMSocket, nunjucks, Translator */
/* Magic Mirror
/* MagicMirror²
* Module Blueprint.
* @typedef {Object} Module
*
@ -74,7 +74,7 @@ const Module = Class.extend({
},
/**
* Generates the dom which needs to be displayed. This method is called by the Magic Mirror core.
* Generates the dom which needs to be displayed. This method is called by the MagicMirror² core.
* This method can to be subclassed if the module wants to display info on the mirror.
* Alternatively, the getTemplate method could be subclassed.
*
@ -109,7 +109,7 @@ const Module = Class.extend({
/**
* Generates the header string which needs to be displayed if a user has a header configured for this module.
* This method is called by the Magic Mirror core, but only if the user has configured a default header for the module.
* This method is called by the MagicMirror² core, but only if the user has configured a default header for the module.
* This method needs to be subclassed if the module wants to display modified headers on the mirror.
*
* @returns {string} The header to display above the header.
@ -141,7 +141,7 @@ const Module = Class.extend({
},
/**
* Called by the Magic Mirror core when a notification arrives.
* Called by the MagicMirror² core when a notification arrives.
*
* @param {string} notification The identifier of the notification.
* @param {*} payload The payload of the notification.

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Node Helper Superclass
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Server
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* global io */
/* Magic Mirror
/* MagicMirror²
* TODO add description
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* global translations */
/* Magic Mirror
/* MagicMirror²
* Translator (l10n)
*
* By Christopher Fenner https://github.com/CFenner

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Utils
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com

View File

@ -1,6 +1,6 @@
/* global NotificationFx */
/* Magic Mirror
/* MagicMirror²
* Module: alert
*
* By Paul-Vincent Roll https://paulvincentroll.com/

View File

@ -1,6 +1,6 @@
/* global cloneObject */
/* Magic Mirror
/* MagicMirror²
* Module: Calendar
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Node Helper: Calendar - CalendarFetcher
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Calendar Util Methods
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Node Helper: Calendar
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* global SunCalc */
/* Magic Mirror
/* MagicMirror²
* Module: Clock
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Module: Compliments
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* eslint-disable */
/* Magic Mirror
/* MagicMirror²
* Module: CurrentWeather
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror Default Modules List
/* MagicMirror² Default Modules List
* Modules listed below can be loaded without the 'default/' prefix. Omitting the default folder name.
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Module: HelloWorld
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Module: NewsFeed
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Node Helper: Newsfeed - NewsfeedFetcher
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Node Helper: Newsfeed
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Module: UpdateNotification
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* global WeatherProvider, WeatherObject */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
* Provider: Dark Sky
*

View File

@ -1,6 +1,6 @@
/* global WeatherProvider, WeatherObject */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
* Provider: Environment Canada (EC)
*

View File

@ -1,6 +1,6 @@
/* global WeatherProvider, WeatherObject */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* global WeatherProvider, WeatherObject */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
* Provider: SMHI
*

View File

@ -1,6 +1,6 @@
/* global WeatherProvider, WeatherObject */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
*
* By Malcolm Oakes https://github.com/maloakes

View File

@ -1,6 +1,6 @@
/* global WeatherProvider, WeatherObject */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
*
* By Malcolm Oakes https://github.com/maloakes

View File

@ -1,6 +1,6 @@
/* global WeatherProvider, WeatherObject */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
* Provider: Weatherbit
*

View File

@ -1,6 +1,6 @@
/* global WeatherProvider, WeatherObject */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
* Provider: weather.gov
* https://weather-gov.github.io/api/general-faqs

View File

@ -1,6 +1,6 @@
/* global WeatherProvider */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* global SunCalc */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* global Class */
/* Magic Mirror
/* MagicMirror²
* Module: Weather
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -1,6 +1,6 @@
/* eslint-disable */
/* Magic Mirror
/* MagicMirror²
* Module: CurrentWeather
*
* By Michael Teeuw https://michaelteeuw.nl

View File

@ -32,6 +32,7 @@
},
"keywords": [
"magic mirror",
"magicmirror",
"smart mirror",
"mirror UI",
"modular"

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test default config for modules
/* MagicMirror² Test default config for modules
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config sample ipWhitelist
/* MagicMirror² Test config sample ipWhitelist
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config sample module alert
/* MagicMirror² Test config sample module alert
*
* By rejas
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default calendar with auth by default
/* MagicMirror² Test config default calendar with auth by default
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default calendar
/* MagicMirror² Test config default calendar
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default calendar with auth by default
/* MagicMirror² Test config default calendar with auth by default
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config custom calendar
/* MagicMirror² Test config custom calendar
*
* By Rejas
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default calendar
/* MagicMirror² Test config default calendar
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test calendar calendar
/* MagicMirror² Test calendar calendar
*
* This configuration is a wrong authentication
*

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default calendar
/* MagicMirror² Test config default calendar
* with authentication old config
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config custom calendar
/* MagicMirror² Test config custom calendar
*
* By Rejas
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
*
* By Sergey Morozov
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
*
* By Sergey Morozov
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for analog clock face
/* MagicMirror² Test config for analog clock face
*
* MIT Licensed.
*/

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
*
* By Sergey Morozov
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
*
* By Johan Hammar
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
*
* By Johan Hammar
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default clock module
/* MagicMirror² Test config for default clock module
* Language es for showWeek feature
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config compliments with anytime type
/* MagicMirror² Test config compliments with anytime type
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config compliments with date type
/* MagicMirror² Test config compliments with date type
*
* By Rejas
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config compliments with anytime type
/* MagicMirror² Test config compliments with anytime type
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for default compliments
/* MagicMirror² Test config for default compliments
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for display setters module using the helloworld module
/* MagicMirror² Test config for display setters module using the helloworld module
*
* By Rejas
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config sample module hello world
/* MagicMirror² Test config sample module hello world
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config sample module hello world default config
/* MagicMirror² Test config sample module hello world default config
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config newsfeed module
/* MagicMirror² Test config newsfeed module
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config newsfeed module
/* MagicMirror² Test config newsfeed module
*
* MIT Licensed.
*/

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config newsfeed module
/* MagicMirror² Test config newsfeed module
*
* MIT Licensed.
*/

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config newsfeed module
/* MagicMirror² Test config newsfeed module
*
* MIT Licensed.
*/

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config for position setters module using the helloworld module
/* MagicMirror² Test config for position setters module using the helloworld module
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config current weather compliments
/* MagicMirror² Test config current weather compliments
*
* By rejas https://github.com/rejas
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default weather
/* MagicMirror² Test config default weather
*
* By fewieden https://github.com/fewieden
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default weather
/* MagicMirror² Test config default weather
*
* By fewieden https://github.com/fewieden
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default weather
/* MagicMirror² Test config default weather
*
* By fewieden https://github.com/fewieden
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default weather
/* MagicMirror² Test config default weather
*
* By fewieden https://github.com/fewieden
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default weather
/* MagicMirror² Test config default weather
*
* By fewieden https://github.com/fewieden
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default weather
/* MagicMirror² Test config default weather
*
* By fewieden https://github.com/fewieden
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config default weather
/* MagicMirror² Test config default weather
*
* By rejas
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config sample ipWhitelist
/* MagicMirror² Test config sample ipWhitelist
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test config sample environment set port 8090
/* MagicMirror² Test config sample environment set port 8090
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -1,4 +1,4 @@
/* Magic Mirror Test default config for modules
/* MagicMirror² Test default config for modules
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.

View File

@ -12,7 +12,7 @@ describe("Check configuration without modules", function () {
it("Show the message MagicMirror title", function () {
helpers.waitForElement("#module_1_helloworld .module-content").then((elem) => {
expect(elem).not.toBe(null);
expect(elem.textContent).toContain("Magic Mirror2");
expect(elem.textContent).toContain("MagicMirror²");
});
});

View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Translation Definition
*
* By Michael Teeuw https://michaelteeuw.nl

2
vendor/vendor.js vendored
View File

@ -1,4 +1,4 @@
/* Magic Mirror
/* MagicMirror²
* Vendor File Definition
*
* By Michael Teeuw https://michaelteeuw.nl