Fix a few more typos

This commit is contained in:
Johan Hammar 2017-03-30 22:14:11 +02:00
parent 7345807871
commit 47c356692f
3 changed files with 8 additions and 8 deletions

View File

@ -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.
*/ */

View File

@ -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;
}, },

View File

@ -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;
}, },