Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dist/nodes/sacn-in/locales/de/sacn-in.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"sacn-in": {
"paletteLabel": "sACN Eingang",
"label": {
"fallback": "sACN Eingang · U__universe__",
"interface": "IP-Adresse des Interfaces",
"mode": "Modus",
"mode_direct": "Direkt",
Expand Down
2 changes: 2 additions & 0 deletions dist/nodes/sacn-in/locales/en-US/sacn-in.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"sacn-in": {
"paletteLabel": "sACN in",
"label": {
"fallback": "sACN in · U__universe__",
"interface": "IP-address of interface",
"mode": "mode",
"mode_direct": "direct",
Expand Down
6 changes: 4 additions & 2 deletions dist/nodes/sacn-in/sacn-in.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,12 @@ <h3>References</h3>
},
inputs: 1,
outputs: 1,
paletteLabel: "sACN in",
paletteLabel: function () {
return this._("sacn-in.paletteLabel");
},
icon: "sacn-in.svg",
label: function () {
return this.name || `sACN in · U${this.universe}`;
return this.name || this._("sacn-in.label.fallback", { universe: this.universe });
},
labelStyle: function () {
return this.name ? "node_label_italic" : "";
Expand Down
2 changes: 2 additions & 0 deletions dist/nodes/sacn-out/locales/de/sacn-out.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"sacn-out": {
"paletteLabel": "sACN Ausgang",
"label": {
"fallback": "sACN Ausgang · U__universe__",
"interface": "IP-Adresse des Interfaces",
"port": "Port",
"priority": "Priorität",
Expand Down
2 changes: 2 additions & 0 deletions dist/nodes/sacn-out/locales/en-US/sacn-out.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"sacn-out": {
"paletteLabel": "sACN out",
"label": {
"fallback": "sACN out · U__universe__",
"interface": "IP-address of interface",
"port": "port",
"priority": "priority",
Expand Down
6 changes: 4 additions & 2 deletions dist/nodes/sacn-out/sacn-out.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,12 @@ <h3>References</h3>
},
inputs: 1,
outputs: 0,
paletteLabel: "sACN out",
paletteLabel: function () {
return this._("sacn-out.paletteLabel");
},
icon: "sacn-out.svg",
label: function () {
return this.name || `sACN out · U${this.universe}`;
return this.name || this._("sacn-out.label.fallback", { universe: this.universe });
},
labelStyle: function () {
return this.name ? "node_label_italic" : "";
Expand Down
2 changes: 2 additions & 0 deletions dist/nodes/scene-controller/locales/de/scene-controller.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"scene-controller": {
"paletteLabel": "Szenen-Controller",
"label": {
"fallback": "Szenen-Controller",
"values": "Werte",
"values_percent": "Prozent (0–100)",
"values_absolute": "Absolut (0–255)"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"scene-controller": {
"paletteLabel": "Scene-Controller",
"label": {
"fallback": "Scene-Controller",
"values": "values",
"values_percent": "percent (0–100)",
"values_absolute": "absolute (0–255)"
Expand Down
6 changes: 4 additions & 2 deletions dist/nodes/scene-controller/scene-controller.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,12 @@ <h3>References</h3>
},
inputs: 1,
outputs: 1,
paletteLabel: "Scene-Controller",
paletteLabel: function () {
return this._("scene-controller.paletteLabel");
},
icon: "scene-controller.svg",
label: function () {
return this.name || "Scene-Controller";
return this.name || this._("scene-controller.label.fallback");
},
labelStyle: function () {
return this.name ? "node_label_italic" : "";
Expand Down
6 changes: 4 additions & 2 deletions src/nodes/sacn-in/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ const def: EditorNodeDef<Defaults> = {
},
inputs: 1,
outputs: 1,
paletteLabel: "sACN in",
paletteLabel: function () {
return this._("sacn-in.paletteLabel");
},
icon: "sacn-in.svg",
label: function () {
return this.name || `sACN in · U${this.universe}`;
return this.name || this._("sacn-in.label.fallback", { universe: this.universe });
},
labelStyle: function () {
return this.name ? "node_label_italic" : "";
Expand Down
2 changes: 2 additions & 0 deletions src/nodes/sacn-in/locales/de.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"paletteLabel": "sACN Eingang",
"label": {
"fallback": "sACN Eingang · U__universe__",
"interface": "IP-Adresse des Interfaces",
"mode": "Modus",
"mode_direct": "Direkt",
Expand Down
2 changes: 2 additions & 0 deletions src/nodes/sacn-in/locales/en-US.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"paletteLabel": "sACN in",
"label": {
"fallback": "sACN in · U__universe__",
"interface": "IP-address of interface",
"mode": "mode",
"mode_direct": "direct",
Expand Down
6 changes: 4 additions & 2 deletions src/nodes/sacn-out/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,12 @@ const def: EditorNodeDef<Defaults> = {
},
inputs: 1,
outputs: 0,
paletteLabel: "sACN out",
paletteLabel: function () {
return this._("sacn-out.paletteLabel");
},
icon: "sacn-out.svg",
label: function () {
return this.name || `sACN out · U${this.universe}`;
return this.name || this._("sacn-out.label.fallback", { universe: this.universe });
},
labelStyle: function () {
return this.name ? "node_label_italic" : "";
Expand Down
2 changes: 2 additions & 0 deletions src/nodes/sacn-out/locales/de.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"paletteLabel": "sACN Ausgang",
"label": {
"fallback": "sACN Ausgang · U__universe__",
"interface": "IP-Adresse des Interfaces",
"port": "Port",
"priority": "Priorität",
Expand Down
2 changes: 2 additions & 0 deletions src/nodes/sacn-out/locales/en-US.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"paletteLabel": "sACN out",
"label": {
"fallback": "sACN out · U__universe__",
"interface": "IP-address of interface",
"port": "port",
"priority": "priority",
Expand Down
6 changes: 4 additions & 2 deletions src/nodes/scene-controller/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ const def: EditorNodeDef<Defaults> = {
},
inputs: 1,
outputs: 1,
paletteLabel: "Scene-Controller",
paletteLabel: function () {
return this._("scene-controller.paletteLabel");
},
icon: "scene-controller.svg",
label: function () {
return this.name || "Scene-Controller";
return this.name || this._("scene-controller.label.fallback");
},
labelStyle: function () {
return this.name ? "node_label_italic" : "";
Expand Down
2 changes: 2 additions & 0 deletions src/nodes/scene-controller/locales/de.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"paletteLabel": "Szenen-Controller",
"label": {
"fallback": "Szenen-Controller",
"values": "Werte",
"values_percent": "Prozent (0–100)",
"values_absolute": "Absolut (0–255)"
Expand Down
2 changes: 2 additions & 0 deletions src/nodes/scene-controller/locales/en-US.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"paletteLabel": "Scene-Controller",
"label": {
"fallback": "Scene-Controller",
"values": "values",
"values_percent": "percent (0–100)",
"values_absolute": "absolute (0–255)"
Expand Down
Loading