Skip to content

Commit

Permalink
j18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnos3 committed Jan 23, 2022
1 parent 98b1539 commit a2547ea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion german-holidays.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
</select>
</div>
<div class="form-row dialog-input-ovwtext-row">
<label for="dialog-input-ovwtext">text</label>
<label for="dialog-input-ovwtext" id="dialog-input-ovwtext-lbl">text</label>
<input type="text" name="dialog-input-ovwtext" id="dialog-input-ovwtext" class="text ui-widget-content ui-corner-all">
</div>
<div class="form-row">
Expand Down Expand Up @@ -1603,6 +1603,7 @@ <h3>References</h3>
$('.dialog-input-dowRel-row').hide();
$('.dialog-input-daysRel-row').hide();
$('.dialog-input-ovwtext-row').show();
$('#dialog-input-ovwtext-lbl').text(node._('german-holidays.label.'+$dialogDateType.val()));
break;
default:
$('.dialog-input-date-row').show();
Expand Down
5 changes: 4 additions & 1 deletion locales/de/german-holidays.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
"nameAlt": "Alternativer Name",
"exampleDate": "beispielhaftes Datum:",
"payload": "zus. Daten",
"ovwtext": "text zum überschreiben"
"ovwtext": "text",
"ovwpayloadequal":"payload text",
"ovwpayloadcontain":"payload text",
"ovwtopic":"topic text"
},
"placeholder": {
"region": "wähle region der Feiertage",
Expand Down
5 changes: 4 additions & 1 deletion locales/en-US/german-holidays.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
"nameAlt":"alternate name",
"exampleDate": "exemplary date:",
"payload": "add data",
"ovwtext": "text for overwrite"
"ovwtext": "text",
"ovwpayloadequal":"text of payload",
"ovwpayloadcontain":"text of payload",
"ovwtopic":"text of topic"
},
"placeholder": {
"region": "select state for holidays",
Expand Down

0 comments on commit a2547ea

Please sign in to comment.