Skip to content

Commit

Permalink
Merge pull request #7 from symcon/fixes/upgrade-style-to-v3
Browse files Browse the repository at this point in the history
Update style
  • Loading branch information
Sunnyka98 committed Nov 16, 2023
2 parents 552e101 + f7ef2e8 commit 8ee7d31
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
- name: Checkout module
uses: actions/checkout@master
- name: Check style
uses: symcon/action-style@master
uses: symcon/action-style@v3
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
.idea/
.phpunit.*
.php_cs.cache
.php_cs.cache
.php-cs-fixer.cache
2 changes: 1 addition & 1 deletion .style
Submodule .style updated 3 files
+42 −33 .php-cs-fixer.php
+22 −0 README.md
+85 −0 json-check.php
15 changes: 11 additions & 4 deletions Countdown/form.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"elements":
[
{"type": "SelectDateTime", "name": "DateTime", "caption": "Date and Time"},
{"type": "ValidationTextBox", "name": "Event", "caption": "Event"}
"elements": [
{
"type": "SelectDateTime",
"name": "DateTime",
"caption": "Date and Time"
},
{
"type": "ValidationTextBox",
"name": "Event",
"caption": "Event"
}
]
}
25 changes: 12 additions & 13 deletions Countdown/locale.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"translations": {
"de": {
"There are %a days, %h hours and %i minutes left": "Es sind noch %a Tage, %h Stunden und %i Minuten",
"%s until %s.": "%s bis %s.",
"Christmas": "Weihnachten",
"Event": "Ereignis",
"Date and Time": "Datum und Uhrzeit",
"It's ": "Es ist ",
"Time Remaining": "Verbleibende Zeit",
"Event Reached": "Ereignis erreicht"

}
}
"translations": {
"de": {
"There are %a days, %h hours and %i minutes left": "Es sind noch %a Tage, %h Stunden und %i Minuten",
"%s until %s.": "%s bis %s.",
"Christmas": "Weihnachten",
"Event": "Ereignis",
"Date and Time": "Datum und Uhrzeit",
"It's ": "Es ist ",
"Time Remaining": "Verbleibende Zeit",
"Event Reached": "Ereignis erreicht"
}
}
}
7 changes: 3 additions & 4 deletions Countdown/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
"name": "Countdown",
"type": 3,
"vendor": "",
"aliases":
[
"aliases": [
"Countdown"
],
],
"parentRequirements": [],
"childRequirements": [],
"implemented": [],
"prefix": "CD",
"url": "https://github.com/symcon/Countdown/tree/master/Countdown"
}
}
22 changes: 11 additions & 11 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"id": "{575F1657-1B98-8F0F-3F65-48303FF0B516}",
"author": "Symcon GmbH",
"name": "Countdown",
"url": "https://www.symcon.de/",
"compatibility": {
"version": "5.0"
},
"version": "1.0",
"build": 0,
"date": 0
}
"id": "{575F1657-1B98-8F0F-3F65-48303FF0B516}",
"author": "Symcon GmbH",
"name": "Countdown",
"url": "https://www.symcon.de/",
"compatibility": {
"version": "5.0"
},
"version": "1.0",
"build": 0,
"date": 0
}

0 comments on commit 8ee7d31

Please sign in to comment.