Skip to content

Commit

Permalink
Merge pull request #670 from roramirez/translation-check
Browse files Browse the repository at this point in the history
Translation check
  • Loading branch information
MichMich authored Jan 31, 2017
2 parents 8e12914 + cb71667 commit ce6cd6a
Show file tree
Hide file tree
Showing 27 changed files with 7 additions and 88 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Run `npm test` on Travis automatically
- Show the splash screen image even when is reboot or halted.
- Added some missing translaton strings in the sv.json file.
- Run task jsonlint to check translation files.

### Added
- Calendar-specific support for `maximumEntries`, and ` maximumNumberOfDays`
Expand Down
4 changes: 3 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ module.exports = function(grunt) {
"serveronly/*.js", "*.js", "tests/*/*.js", "!modules/default/alert/notificationFx.js",
"!modules/default/alert/modernizr.custom.js", "!modules/default/alert/classie.js",
"config/*",
"translations/translations.js"

]
},
stylelint: {
Expand All @@ -22,7 +24,7 @@ module.exports = function(grunt) {
},
jsonlint: {
main: {
src: ["package.json", ".eslintrc.json", ".stylelint"],
src: ["package.json", ".eslintrc.json", ".stylelintrc", "translations/*.json", "modules/default/*/translations/*.json"],
options: {
reporter: "jshint"
}
Expand Down
2 changes: 1 addition & 1 deletion modules/default/alert/translations/ru.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sysTitle": "MagicMirror Уведомление",
"welcome": "Добро пожаловать, старт был успешным!""
"welcome": "Добро пожаловать, старт был успешным!"
}
4 changes: 0 additions & 4 deletions translations/af.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Besig om te laai …",

/* CALENDAR */
"TODAY": "Vandag",
"TOMORROW": "Môre",
"DAYAFTERTOMORROW": "Oormôre",
"RUNNING": "Eindig in",
"EMPTY": "Geen komende gebeurtenisse.",

/* WEATHER */
"N": "N",
"NNE": "NNO",
"NE": "NO",
Expand All @@ -27,7 +24,6 @@
"NW": "NW",
"NNW": "NNW",

/* UPDATE INFO */
"UPDATE_NOTIFICATION": "MagicMirror² update beskikbaar.",
"UPDATE_NOTIFICATION_MODULE": "Update beskikbaar vir MODULE_NAME module.",
"UPDATE_INFO": "Die huidige installasie is COMMIT_COUNT agter op die BRANCH_NAME branch."
Expand Down
4 changes: 0 additions & 4 deletions translations/da.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Indlæser …",

/* CALENDAR */
"TODAY": "I dag",
"TOMORROW": "I morgen",
"DAYAFTERTOMORROW": "I overmorgen",
"RUNNING": "Slutter om",
"EMPTY": "Ingen kommende begivenheder.",

/* WEATHER */
"N": "N",
"NNE": "NNØ",
"NE": "",
Expand All @@ -28,7 +25,6 @@
"NNW": "NNV",


/* UPDATE INFO */
"UPDATE_NOTIFICATION": "MagicMirror² opdatering tilgængelig.",
"UPDATE_NOTIFICATION_MODULE": "Opdatering tilgængelig for MODULE_NAME modulet.",
"UPDATE_INFO": "Den nuværende installation er COMMIT_COUNT bagud på BRANCH_NAME branch'en."
Expand Down
4 changes: 0 additions & 4 deletions translations/de.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Lade …",

/* CALENDAR */
"TODAY": "Heute",
"TOMORROW": "Morgen",
"DAYAFTERTOMORROW": "Übermorgen",
"RUNNING": "noch",
"EMPTY": "Keine Termine.",

/* WEATHER */
"N": "N",
"NNE": "NNO",
"NE": "NO",
Expand All @@ -27,7 +24,6 @@
"NW": "NW",
"NNW": "NNW",

/* UPDATE INFO */
"UPDATE_NOTIFICATION": "Aktualisierung für MagicMirror² verfügbar.",
"UPDATE_NOTIFICATION_MODULE": "Aktualisierung für das MODULE_NAME Modul verfügbar.",
"UPDATE_INFO": "Die aktuelle Installation ist COMMIT_COUNT hinter dem BRANCH_NAME branch."
Expand Down
4 changes: 0 additions & 4 deletions translations/en.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Loading …",

/* CALENDAR */
"TODAY": "Today",
"TOMORROW": "Tomorrow",
"DAYAFTERTOMORROW": "The day after tomorrow",
"RUNNING": "Ends in",
"EMPTY": "No upcoming events.",

/* WEATHER */
"N": "N",
"NNE": "NNE",
"NE": "NE",
Expand All @@ -27,7 +24,6 @@
"NW": "NW",
"NNW": "NNW",

/* UPDATE INFO */
"UPDATE_NOTIFICATION": "MagicMirror² update available.",
"UPDATE_NOTIFICATION_MODULE": "Update available for MODULE_NAME module.",
"UPDATE_INFO": "The current installation is COMMIT_COUNT behind on the BRANCH_NAME branch."
Expand Down
4 changes: 0 additions & 4 deletions translations/es.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Cargando …",

/* CALENDAR */
"TODAY": "Hoy",
"TOMORROW": "Mañana",
"DAYAFTERTOMORROW": "Pasado mañana",
"RUNNING": "Termina en",
"EMPTY": "No hay eventos programados.",

/* WEATHER */
"N": "N",
"NNE": "NNE",
"NE": "NE",
Expand All @@ -27,7 +24,6 @@
"NW": "NO",
"NNW": "NNO",

/* UPDATE INFO */
"UPDATE_NOTIFICATION": "MagicMirror² actualización disponible.",
"UPDATE_NOTIFICATION_MODULE": "Disponible una actualización para el módulo MODULE_NAME.",
"UPDATE_INFO": "Tu actual instalación está COMMIT_COUNT cambios detrás de la rama BRANCH_NAME."
Expand Down
4 changes: 0 additions & 4 deletions translations/fi.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Lataa …",

/* CALENDAR */
"TODAY": "Tänään",
"TOMORROW": "Huomenna",
"DAYAFTERTOMORROW": "Ylihuomenna",
"RUNNING": "Meneillään",
"EMPTY": "Ei tulevia tapahtumia.",

/* WEATHER */
"N": "P",
"NNE": "PPI",
"NE": "PI",
Expand All @@ -27,7 +24,6 @@
"NW": "PL",
"NNW": "PPL",

/* UPDATE INFO */
"UPDATE_NOTIFICATION": "MagicMirror² päivitys saatavilla.",
"UPDATE_NOTIFICATION_MODULE": "Päivitys saatavilla moduulille MODULE_NAME."
}
3 changes: 0 additions & 3 deletions translations/fr.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
/* GENERAL */
"LOADING": "Chargement …",

/* CALENDAR */
"TODAY": "Aujourd'hui",
"TOMORROW": "Demain",
"RUNNING": "Se termine dans",
"EMPTY": "Aucun RDV.",

/* WEATHER */
"N": "N",
"NNE": "NNE",
"NE": "NE",
Expand Down
3 changes: 0 additions & 3 deletions translations/fy.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Bezich mei laden …",

/* CALENDAR */
"TODAY": "Hjoed",
"TOMORROW": "Moarn",
"DAYAFTERTOMORROW": "Oaremoarn",
"RUNNING": "Einigest oer",
"EMPTY": "Gjin plande ôfspraken.",

/* WEATHER */
"N": "N",
"NNE": "NNE",
"NE": "NE",
Expand Down
3 changes: 0 additions & 3 deletions translations/gr.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
/* GENERAL */
"LOADING": "Φόρτωση …",

/* CALENDAR */
"TODAY": "Σήμερα",
"TOMORROW": "Αύριο",
"RUNNING": "Λήγει σε",
"EMPTY": "Δεν υπάρχουν προσεχείς εκδηλώσεις.",

/* WEATHER */
"N": "B",
"NNE": "BBA",
"NE": "BA",
Expand Down
6 changes: 1 addition & 5 deletions translations/hu.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Betöltés …",

/* CALENDAR */
"TODAY": "Ma",
"TOMORROW": "Holnap",
"DAYAFTERTOMORROW": "Holnapután",
"RUNNING": "Vége lesz",
"EMPTY": "Nincs közelgő esemény.",

/* WEATHER */
"N": "É",
"NNE": "ÉÉK",
"NE": "ÉK",
Expand All @@ -27,8 +24,7 @@
"NW": "ÉNy",
"NNW": "ÉÉNy",

/* UPDATE INFO */
"UPDATE_NOTIFICATION": "MagicMirror² elérhető egy frissítés!",
"UPDATE_NOTIFICATION_MODULE": "A frissítés MODULE_NAME modul néven érhető el.",
"UPDATE_INFO": "A jelenlegi telepítés COMMIT_COUNT mögött BRANCH_NAME ágon található."
}
}
4 changes: 0 additions & 4 deletions translations/is.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Hleð upp …",

/* CALENDAR */
"TODAY": "Í dag",
"TOMORROW": "Á morgun",
"DAYAFTERTOMORROW": "Ekki á morgun, heldur hinn",
"RUNNING": "Endar eftir",
"EMPTY": "Ekkert framundan.",

/* WEATHER */
"N": "N",
"NNE": "NNA",
"NE": "NA",
Expand All @@ -27,7 +24,6 @@
"NW": "NV",
"NNW": "NNV",

/* UPDATE INFO */
"UPDATE_NOTIFICATION": "MagicMirror² uppfærsla í boði.",
"UPDATE_NOTIFICATION_MODULE": "Uppfærsla í boði fyrir MODULE_NAME module.",
"UPDATE_INFO": "Núverandi kerfi er COMMIT_COUNT á eftir BRANCH_NAME branchinu."
Expand Down
3 changes: 0 additions & 3 deletions translations/it.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
/* GENERAL */
"LOADING": "Caricamento in corso …",

/* CALENDAR */
"TODAY": "Oggi",
"TOMORROW": "Domani",
"RUNNING": "Termina entro",
"EMPTY": "Nessun evento in arrivo.",

/* WEATHER */
"N": "N",
"NNE": "NNE",
"NE": "NE",
Expand Down
5 changes: 1 addition & 4 deletions translations/ja.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
/* GENERAL */
"LOADING": "ローディング …",
"LOADING": "ローディング …",

/* CALENDAR */
"TODAY": "今日",
"TOMORROW": "明日",
"RUNNING": "で終わります",
"EMPTY": "直近のイベントはありません",

/* WEATHER */
"N": "",
"NNE": "北北東",
"NE": "北東",
Expand Down
3 changes: 0 additions & 3 deletions translations/nb.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
/* GENERAL */
"LOADING": "Laster …",

/* CALENDAR */
"TODAY": "I dag",
"TOMORROW": "I morgen",
"RUNNING": "Slutter om",
"EMPTY": "Ingen kommende arrangementer.",

/* WEATHER */
"N": "N",
"NNE": "NNØ",
"NE": "",
Expand Down
4 changes: 0 additions & 4 deletions translations/nl.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
/* GENERAL */
"LOADING": "Bezig met laden …",

/* CALENDAR */
"TODAY": "Vandaag",
"TOMORROW": "Morgen",
"DAYAFTERTOMORROW": "Overmorgen",
"RUNNING": "Eindigt over",
"EMPTY": "Geen geplande afspraken.",

/* WEATHER */
"N": "N",
"NNE": "NNO",
"NE": "NO",
Expand All @@ -27,7 +24,6 @@
"NW": "NW",
"NNW": "NNW",

/* UPDATE INFO */
"UPDATE_NOTIFICATION": "MagicMirror² update beschikbaar.",
"UPDATE_NOTIFICATION_MODULE": "Update beschikbaar voor MODULE_NAME module.",
"UPDATE_INFO": "De huidige installatie loopt COMMIT_COUNT achter op de BRANCH_NAME branch."
Expand Down
3 changes: 0 additions & 3 deletions translations/nn.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
/* GENERAL */
"LOADING": "Lastar …",

/* CALENDAR */
"TODAY": "I dag",
"TOMORROW": "I morgon",
"RUNNING": "Sluttar om",
"EMPTY": "Ingen komande hendingar.",

/* WEATHER */
"N": "N",
"NNE": "NNA",
"NE": "NA",
Expand Down
4 changes: 0 additions & 4 deletions translations/pl.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
/* GENERAL */
"LOADING": "Ładowanie …",

/* CALENDAR */
"TODAY": "Dziś",
"TOMORROW": "Jutro",
"RUNNING": "Koniec za",
"EMPTY": "Brak wydarzeń.",

/* WEATHER */
"N": "N",
"NNE": "NNE",
"NE": "NE",
Expand All @@ -26,7 +23,6 @@
"NW": "NW",
"NNW": "NNW",

/* UPDATE INFO */
"UPDATE_NOTIFICATION": "Dostępna jest aktualizacja MagicMirror².",
"UPDATE_NOTIFICATION_MODULE": "Dostępna jest aktualizacja modułu MODULE_NAME.",
"UPDATE_INFO": "Zainstalowana wersja odbiega o COMMIT_COUNT commitów od gałęzi BRANCH_NAME."
Expand Down
3 changes: 0 additions & 3 deletions translations/pt.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
/* GENERAL */
"LOADING": "A carregar …",

/* CALENDAR */
"TODAY": "Hoje",
"TOMORROW": "Amanhã",
"RUNNING": "Termina em",
"EMPTY": "Sem eventos a chegar.",

/* WEATHER */
"N": "N",
"NNE": "NNE",
"NE": "NE",
Expand Down
Loading

0 comments on commit ce6cd6a

Please sign in to comment.