Skip to content

Commit

Permalink
update i18n package
Browse files Browse the repository at this point in the history
  • Loading branch information
felixerdy committed Apr 29, 2020
1 parent 481ed79 commit 383ccef
Show file tree
Hide file tree
Showing 5 changed files with 251 additions and 92 deletions.
2 changes: 0 additions & 2 deletions app/scripts/controllers/account.box.edit.script.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@
vm.showWifiConfiguration = true;
}

console.log(boxData);

if (boxData.model === 'homeV2WifiFeinstaub' || boxData.sensorsArray.filter(function (s) {
return s.title === 'PM10';
}).length > 0) {
Expand Down
7 changes: 1 addition & 6 deletions app/views/account.box.edit.script.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,5 @@ <h3>{{'CONFIGURATION'|translate}}</h3>

<script type="text/ng-template" id="tooltip_ttn_keys.html">
<b>{{'DATA_NOT_STORED'|translate}}</b>
<p>Die TTN Keys findest Du auf der TTN Console unter deinem Device</p>
</script>

<script type="text/ng-template" id="tooltip_ttn_keys.html">
<b>{{'DATA_NOT_STORED'|translate}}</b>
<p>Die TTN Keys findest Du auf der TTN Console unter deinem Device</p>
<p>{{'TTN_KEYS'|translate}}</p>
</script>
13 changes: 11 additions & 2 deletions app/views/account.box.register.html
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ <h3 ng-if="register.tag != 'edu'">Arduino Code</h3>
ng-if="register.newSenseBox.model === 'homeV2WifiFeinstaub' || register.newSenseBox.model === 'homeV2Wifi' || register.newSenseBox.model === 'homeV2Lora'">
<h5 ng-bind-html="'COMPILE_SKETCH'|translate"></h5>
<div>
<div class="form-group" ng-if="register.newSenseBox.model === 'homeV2WifiFeinstaub'">
<div class="form-group" ng-if="register.newSenseBox.sensorTemplates.includes('sds 011')">
<label for="serialport">{{'PORT'|translate}}</label>
<div class="input-group" uib-tooltip-template="'tooltip_serialports.html'" tooltip-placement="bottom"
tooltip-trigger="'mouseenter'">
Expand Down Expand Up @@ -1463,4 +1463,13 @@ <h3>{{'USEFUL_LINKS' | translate}}</h3>
</wizard>
</div>
</div>
</div>
</div>

<script type="text/ng-template" id="tooltip_serialports.html">
<img src="/images/serialports.png" alt="" srcset="">
</script>

<script type="text/ng-template" id="tooltip_ttn_keys.html">
<b>{{'DATA_NOT_STORED'|translate}}</b>
<p>{{'TTN_KEYS'|translate}}</p>
</script>
Loading

0 comments on commit 383ccef

Please sign in to comment.