mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Fix a few more typos
This commit is contained in:
parent
7345807871
commit
47c356692f
@ -54,8 +54,8 @@ Module.register("calendar", {
|
|||||||
|
|
||||||
// Define required translations.
|
// Define required translations.
|
||||||
getTranslations: function () {
|
getTranslations: function () {
|
||||||
// The translations for the defaut modules are defined in the core translation files.
|
// The translations for the default modules are defined in the core translation files.
|
||||||
// Therefor we can just return false. Otherwise we should have returned a dictionairy.
|
// Therefor we can just return false. Otherwise we should have returned a dictionary.
|
||||||
// If you're trying to build your own module including translations, check out the documentation.
|
// If you're trying to build your own module including translations, check out the documentation.
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
@ -409,11 +409,11 @@ Module.register("calendar", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
/* shorten(string, maxLength)
|
/* shorten(string, maxLength)
|
||||||
* Shortens a string if it's longer than maxLenthg.
|
* Shortens a string if it's longer than maxLength.
|
||||||
* Adds an ellipsis to the end.
|
* Adds an ellipsis to the end.
|
||||||
*
|
*
|
||||||
* argument string string - The string to shorten.
|
* argument string string - The string to shorten.
|
||||||
* argument maxLength number - The max lenth of the string.
|
* argument maxLength number - The max length of the string.
|
||||||
*
|
*
|
||||||
* return string - The shortened string.
|
* return string - The shortened string.
|
||||||
*/
|
*/
|
||||||
|
@ -79,8 +79,8 @@ Module.register("currentweather",{
|
|||||||
|
|
||||||
// Define required translations.
|
// Define required translations.
|
||||||
getTranslations: function() {
|
getTranslations: function() {
|
||||||
// The translations for the defaut modules are defined in the core translation files.
|
// The translations for the default modules are defined in the core translation files.
|
||||||
// Therefor we can just return false. Otherwise we should have returned a dictionairy.
|
// Therefor we can just return false. Otherwise we should have returned a dictionary.
|
||||||
// If you're trying to build yiur own module including translations, check out the documentation.
|
// If you're trying to build yiur own module including translations, check out the documentation.
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
@ -77,8 +77,8 @@ Module.register("weatherforecast",{
|
|||||||
|
|
||||||
// Define required translations.
|
// Define required translations.
|
||||||
getTranslations: function() {
|
getTranslations: function() {
|
||||||
// The translations for the defaut modules are defined in the core translation files.
|
// The translations for the default modules are defined in the core translation files.
|
||||||
// Therefor we can just return false. Otherwise we should have returned a dictionairy.
|
// Therefor we can just return false. Otherwise we should have returned a dictionary.
|
||||||
// If you're trying to build yiur own module including translations, check out the documentation.
|
// If you're trying to build yiur own module including translations, check out the documentation.
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user