Skip to content

Commit

Permalink
Merge pull request #14 from symcon/feature/renameToEnglish
Browse files Browse the repository at this point in the history
Add English Translation
  • Loading branch information
Sunnyka98 authored Dec 1, 2023
2 parents ae269fc + b7f5468 commit b58f81e
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 17 deletions.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions ActiveList/locale.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"translations": {
"de": {
"Variables": "Variablen",
"Variable": "Variable",
"Turn Off": "Ausschalten",
"Active List": "Aktivliste",
"https://www.symcon.de/en/service/documentation/module-reference/active-list/": "https://www.symcon.de/de/service/dokumentation/modulreferenz/aktivliste/"
}
}
}
6 changes: 3 additions & 3 deletions Aktivliste/module.json → ActiveList/module.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"id": "{C9B13047-8A35-F335-E58E-945CAF05CEE0}",
"name": "Aktivliste",
"name": "Active List",
"type": 3,
"vendor": "",
"aliases": [
"Aktivliste"
"Active List"
],
"parentRequirements": [],
"childRequirements": [],
"implemented": [],
"prefix": "AL",
"url": "https://github.com/symcon/Aktivliste/tree/master/Aktivliste"
"url": "https://www.symcon.de/en/service/documentation/module-reference/active-list/"
}
2 changes: 1 addition & 1 deletion Aktivliste/module.php → ActiveList/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

class Aktivliste extends IPSModule
class ActiveList extends IPSModule
{
public function Create()
{
Expand Down
9 changes: 0 additions & 9 deletions Aktivliste/locale.json

This file was deleted.

2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "{658E494A-2ACE-B8FE-3943-40B6638217F3}",
"author": "Symcon GmbH",
"name": "Aktivliste",
"name": "Active List",
"url": "https://www.symcon.de/",
"compatibility": {
"version": "5.0"
Expand Down
4 changes: 2 additions & 2 deletions tests/AktivlisteValidationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public function testValidateAktivliste(): void
{
$this->validateLibrary(__DIR__ . '/..');
}
public function testValidateAktivlisteModule(): void
public function testValidateActiveListModule(): void
{
$this->validateModule(__DIR__ . '/../Aktivliste');
$this->validateModule(__DIR__ . '/../ActiveList');
}
}
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">../Aktivliste</directory>
<directory suffix=".php">../ActiveList</directory>
</include>
</source>
</phpunit>

0 comments on commit b58f81e

Please sign in to comment.