Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added category translation to google directions/geocoding & openweathermap #278

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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: 1 addition & 1 deletion google/directions.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

<script type="text/javascript">
RED.nodes.registerType('google directions',{
category: 'location',
category: RED._("node-red-node-google/google directions:directions.label.category"),
color: '#ff9999',
defaults: {
name: {value:""},
Expand Down
2 changes: 1 addition & 1 deletion google/geocoding.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

<script type="text/javascript">
RED.nodes.registerType('google geocoding',{
category: 'location',
category: RED._("node-red-node-google/google geocoding:geocoding.label.category"),
color: '#ff9999',
defaults: {
name: {value:""},
Expand Down
1 change: 1 addition & 0 deletions google/locales/de/directions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"directions": {
"label": {
"directions": "Google Directions",
"category": "Standort",
"name": "Name",
"apikey": "Google API Key",
"origin": "Startpunkt",
Expand Down
1 change: 1 addition & 0 deletions google/locales/de/geocoding.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"geocoding": {
"label": {
"geocoding": "Google Geocoding",
"category": "Standort",
"geocodeby-address": "Geocodierung anhand Adresse",
"geocodeby-coordinates": "Geocodierung anhand Koordinate",
"name": "Name",
Expand Down
1 change: 1 addition & 0 deletions google/locales/en-US/directions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"directions": {
"label": {
"directions": "Google Directions",
"category": "location",
"name": "Name",
"apikey": "Google API Key",
"origin": "Origin",
Expand Down
1 change: 1 addition & 0 deletions google/locales/en-US/geocoding.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"geocoding": {
"label": {
"geocoding": "Google Geocoding",
"category": "location",
"geocodeby-address": "Geocode by Address",
"geocodeby-coordinates": "Geocode by Coordinates",
"name": "Name",
Expand Down
1 change: 1 addition & 0 deletions openweathermap/locales/de/weather.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"weather": {
"label": {
"weather": "openweathermap",
"category": "Wetter",
"name": "Name",
"location": "Ort",
"option_current": "Aktuelles Wetter für",
Expand Down
1 change: 1 addition & 0 deletions openweathermap/locales/en-US/weather.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"weather": {
"label": {
"weather": "openweathermap",
"category": "weather",
"name": "Name",
"location": "Location",
"option_current": "Current weather for",
Expand Down
4 changes: 2 additions & 2 deletions openweathermap/weather.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@

<script type="text/javascript">
RED.nodes.registerType('openweathermap',{
category: 'weather',
category: RED._("node-red-node-openweathermap/openweathermap:weather.label.category"),
color: '#FFCC66',
defaults: {
name: {value:""},
Expand Down Expand Up @@ -240,7 +240,7 @@

<script type="text/javascript">
RED.nodes.registerType('openweathermap in',{
category: 'weather',
category: RED._("node-red-node-openweathermap/openweathermap:weather.label.category"),
color: '#FFCC66',
defaults: {
name: {value:""},
Expand Down