Skip to content

Commit

Permalink
Merge pull request #22 from symcon/feature/renameToEnglish
Browse files Browse the repository at this point in the history
Add English Translation
  • Loading branch information
Sunnyka98 committed Dec 1, 2023
2 parents 4e5194f + a0a2492 commit 55c3c32
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
[submodule "tests/stubs"]
path = tests/stubs
url = https://github.com/symcon/SymconStubs
[submodule "Treppenhauslichtsteuerung/helper"]
path = Treppenhauslichtsteuerung/helper
url = https://github.com/symcon/SymconHelper
[submodule "StaircaseLightControls/helper"]
path = StaircaseLightControls/helper
url = https://github.com/symcon/SymconHelper/
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
"Inverted": "Invertiert",
"Invert value of night-mode active variable (required if IsDay variable from Location is used)": "Invertiere Wert der Nacht-Modus Aktiv Variable (Erforderlich wenn die Ist-Tag Variable von der Location Instanz verwendet wird)",
"Day/Night": "Tag/Nacht",
"Ambient Brightness": "Umgebungshelligkeit"
"Ambient Brightness": "Umgebungshelligkeit",
"Staircase Light Controls": "Treppenhauslichtsteuerung",
"https://www.symcon.de/en/service/documentation/module-reference/staircase-light-controls/": "https://www.symcon.de/de/service/dokumentation/modulreferenz/treppenhauslichtsteuerung/"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"id": "{9D5546FA-CDB2-49BB-9B1D-F40F21E8219B}",
"name": "Treppenhauslichtsteuerung",
"name": "Staircase Light Controls",
"type": 3,
"vendor": "",
"aliases": [
"Treppenhauslichtsteuerung"
"Staircase Light Controls"
],
"parentRequirements": [],
"childRequirements": [],
"implemented": [],
"prefix": "THL",
"url": "https://github.com/symcon/Treppenhauslichtsteuerung/tree/master/Treppenhauslichtsteuerung"
"url": "https://www.symcon.de/en/service/documentation/module-reference/staircase-light-controls/"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

include_once __DIR__ . '/helper/autoload.php';

class Treppenhauslichtsteuerung extends IPSModule
class StaircaseLightControls extends IPSModule
{
use HelperSwitchDevice;
use HelperDimDevice;
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "{D793B1C0-2C13-451F-9685-2272B2A5B8E8}",
"author": "Symcon GmbH",
"name": "Treppenhauslichtsteuerung",
"name": "Staircase Light Controls",
"url": "https://www.symcon.de/",
"compatibility": {
"version": "5.0"
Expand Down
4 changes: 2 additions & 2 deletions tests/ValidationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public function testValidateTreppenhauslichtsteuerung(): void
{
$this->validateLibrary(__DIR__ . '/..');
}
public function testValidateTreppenhauslichtsteuerungModule(): void
public function testValidateStaircaseLightControlsModule(): void
{
$this->validateModule(__DIR__ . '/../Treppenhauslichtsteuerung');
$this->validateModule(__DIR__ . '/../StaircaseLightControls');
}
}
2 changes: 1 addition & 1 deletion tests/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</php>
<source>
<include>
<directory suffix=".php">../Treppenhauslichtsteuerung</directory>
<directory suffix=".php">../StaircaseLightControls</directory>
</include>
</source>
</phpunit>

0 comments on commit 55c3c32

Please sign in to comment.