Skip to content

Commit

Permalink
Include i18n values for place name
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees committed Jan 29, 2024
1 parent a78d7db commit d83ca9c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions js/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const rerender = () => {
} else {
// All other languages should show street before house number
parent.append(street);
parent.append(placename);
parent.append(hnumber);
parent.append(city);
parent.append(postcode);
Expand Down
4 changes: 3 additions & 1 deletion locales/en-GB/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@
"cataltdesc": "Description",
"addressalt": "Help us by filling the complete address (housenumber, post code) or improving the previous one",
"street": "Street",
"housenumber": "Housenumber",
"placename": "Place Name",
"housenumber": "House Number",
"city": "City",
"postcode": "Postcode",
"addressaltplaceholder": "West Main Street",
"placenameplaceholder": "Woods Village",
"housenumberplaceholder": "501",
"cityplaceholder": "Alexandria",
"postcodeplaceholder": "50023",
Expand Down
2 changes: 2 additions & 0 deletions locales/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@
"cataltdesc": "Description",
"addressalt": "Help us by filling the complete address (housenumber, post code) or improving the previous one",
"street": "Street",
"placename": "Place Name",
"housenumber": "Housenumber",
"city": "City",
"postcode": "Zipcode",
"addressaltplaceholder": "West Main Street",
"placenameplaceholder": "Woods Village",
"housenumberplaceholder": "501",
"cityplaceholder": "Alexandria",
"postcodeplaceholder": "50023",
Expand Down
4 changes: 3 additions & 1 deletion locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
"cataltdesc": "Description",
"addressalt": "Help us by filling the complete address (housenumber, post code) or improving the previous one",
"street": "Street",
"housenumber": "Housenumber",
"placename": "Place Name",
"housenumber": "House Number",
"city": "City",
"postcode": "Postcode",
"addressaltplaceholder": "West Main Street",
"placenameplaceholder": "Woods Village",
"housenumberplaceholder": "501",
"cityplaceholder": "Alexandria",
"postcodeplaceholder": "50023",
Expand Down
2 changes: 2 additions & 0 deletions locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
"cataltdesc": "Descripción",
"addressalt": "Ayúdenos rellenando la dirección completa (número de casa, código postal) o mejorando la anterior",
"street": "Calle",
"placename": "Nombre del lugar",
"housenumber": "Número de casa",
"city": "Ciudad",
"postcode": "Código postal",
"addressaltplaceholder": "Avenida América, España",
"placenameplaceholder": "Pueblo del Bosque",
"housenumberplaceholder": "501",
"cityplaceholder": "Alexandria",
"postcodeplaceholder": "50023",
Expand Down

0 comments on commit d83ca9c

Please sign in to comment.