Skip to content

Commit

Permalink
Merge pull request #16 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 fdcb7e1 + 5bc8965 commit aef8b7b
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 18 deletions.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions MeterOverflow/locale.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"translations": {
"de": {
"Source": "Quelle",
"Maximum value": "Maximalwert",
"Counter": "Zähler",
"Meter Overflow": "Zählerüberlauf",
"https://www.symcon.de/en/service/documentation/module-reference/meter-overflow/": "https://www.symcon.de/de/service/dokumentation/modulreferenz/zaehlerueberlauf/",
"MeterOverflow": "ZaehlerUeberlauf"
}
}
}
6 changes: 3 additions & 3 deletions ZaehlerUeberlauf/module.json → MeterOverflow/module.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"id": "{57A84449-AA15-4423-80B0-3F98C54EAC03}",
"name": "ZaehlerUeberlauf",
"name": "MeterOverflow",
"type": 3,
"vendor": "",
"aliases": [
"Zählerüberlauf"
"Meter Overflow"
],
"parentRequirements": [],
"childRequirements": [],
"implemented": [],
"prefix": "ZUL",
"url": "https://github.com/symcon/ZaehlerUeberlauf/tree/master/ZaehlerUeberlauf"
"url": "https://www.symcon.de/en/service/documentation/module-reference/meter-overflow/"
}
2 changes: 1 addition & 1 deletion ZaehlerUeberlauf/module.php → MeterOverflow/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

class ZaehlerUeberlauf extends IPSModule
class MeterOverflow extends IPSModule
{
public function Create()
{
Expand Down
9 changes: 0 additions & 9 deletions ZaehlerUeberlauf/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": "{173B5799-B5BF-4AB1-BD2D-19C1DD309B9C}",
"author": "Symcon GmbH",
"name": "ZaehlerUeberlauf",
"name": "MeterOverflow",
"url": "https://www.symcon.de/",
"compatibility": {
"version": "4.2"
Expand Down
6 changes: 3 additions & 3 deletions tests/ZaehlerUeberlaufValidationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public function testValidateZaehlerUeberlauf(): void
{
$this->validateLibrary(__DIR__ . '/..');
}
public function testValidateZaehlerUebrlaufModule(): void
public function testValidateMeterOverflowModule(): void
{
$this->validateModule(__DIR__ . '/../ZaehlerUeberlauf');
$this->validateModule(__DIR__ . '/../MeterOverflow');
}
}
}
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">../ZaeherUeberlauf</directory>
<directory suffix=".php">../MeterOverflow</directory>
</include>
</source>
</phpunit>

0 comments on commit aef8b7b

Please sign in to comment.