Skip to content

Commit 779a4fb

Browse files
author
Heiko
committed
added category translation to google directions/geocoding, openweathermap
1 parent e0c0dd3 commit 779a4fb

File tree

9 files changed

+10
-4
lines changed

9 files changed

+10
-4
lines changed

google/directions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888

8989
<script type="text/javascript">
9090
RED.nodes.registerType('google directions',{
91-
category: 'location',
91+
category: RED._("node-red-node-google/google directions:directions.label.category"),
9292
color: '#ff9999',
9393
defaults: {
9494
name: {value:""},

google/geocoding.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
<script type="text/javascript">
6464
RED.nodes.registerType('google geocoding',{
65-
category: 'location',
65+
category: RED._("node-red-node-google/google geocoding:geocoding.label.category"),
6666
color: '#ff9999',
6767
defaults: {
6868
name: {value:""},

google/locales/de/directions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"directions": {
33
"label": {
44
"directions": "Google Directions",
5+
"category": "Standort",
56
"name": "Name",
67
"apikey": "Google API Key",
78
"origin": "Startpunkt",

google/locales/de/geocoding.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"geocoding": {
33
"label": {
44
"geocoding": "Google Geocoding",
5+
"category": "Standort",
56
"geocodeby-address": "Geocodierung anhand Adresse",
67
"geocodeby-coordinates": "Geocodierung anhand Koordinate",
78
"name": "Name",

google/locales/en-US/directions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"directions": {
33
"label": {
44
"directions": "Google Directions",
5+
"category": "location",
56
"name": "Name",
67
"apikey": "Google API Key",
78
"origin": "Origin",

google/locales/en-US/geocoding.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"geocoding": {
33
"label": {
44
"geocoding": "Google Geocoding",
5+
"category": "location",
56
"geocodeby-address": "Geocode by Address",
67
"geocodeby-coordinates": "Geocode by Coordinates",
78
"name": "Name",

openweathermap/locales/de/weather.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"weather": {
33
"label": {
44
"weather": "openweathermap",
5+
"category": "Wetter",
56
"name": "Name",
67
"location": "Ort",
78
"option_current": "Aktuelles Wetter für",

openweathermap/locales/en-US/weather.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"weather": {
33
"label": {
44
"weather": "openweathermap",
5+
"category": "weather",
56
"name": "Name",
67
"location": "Location",
78
"option_current": "Current weather for",

openweathermap/weather.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999

100100
<script type="text/javascript">
101101
RED.nodes.registerType('openweathermap',{
102-
category: 'weather',
102+
category: RED._("node-red-node-openweathermap/openweathermap:weather.label.category"),
103103
color: '#FFCC66',
104104
defaults: {
105105
name: {value:""},
@@ -240,7 +240,7 @@
240240

241241
<script type="text/javascript">
242242
RED.nodes.registerType('openweathermap in',{
243-
category: 'weather',
243+
category: RED._("node-red-node-openweathermap/openweathermap:weather.label.category"),
244244
color: '#FFCC66',
245245
defaults: {
246246
name: {value:""},

0 commit comments

Comments
 (0)