diff --git a/langs/en.json b/langs/en.json index bcde33de0..4959dcab6 100644 --- a/langs/en.json +++ b/langs/en.json @@ -1,448 +1,174 @@ { "image": { - "addPicture": { - "en": "Add picture" - }, - "uploadingPicture": { - "en": "Uploading your picture..." - }, - "uploadingMultiple": { - "en": "Uploading {count} pictures..." - }, - "pleaseLogin": { - "en": "Please login to add a picture" - }, - "willBePublished": { - "en": "Your picture will be published: " - }, - "cco": { - "en": "in the public domain" - }, - "ccbs": { - "en": "under the CC-BY-SA-license" - }, - "ccb": { - "en": "under the CC-BY-license" - }, - "uploadFailed": { - "en": "Could not upload your picture. Do you have internet and are third party API's allowed? Brave browser or UMatrix might block them." - }, - "respectPrivacy": { - "en": "Do not photograph people nor license plates. Do not upload Google Maps, Google Streetview or other copyrighted sources." - }, - "uploadDone": { - "en": "Your picture has been added. Thanks for helping out!" - }, - "dontDelete": { - "en": "Cancel" - }, - "doDelete": { - "en": "Remove image" - }, - "isDeleted": { - "en": "Deleted" - } + "addPicture": "Add picture", + "uploadingPicture": "Uploading your picture...", + "uploadingMultiple": "Uploading {count} pictures...", + "pleaseLogin": "Please login to add a picture", + "willBePublished": "Your picture will be published: ", + "cco": "in the public domain", + "ccbs": "under the CC-BY-SA-license", + "ccb": "under the CC-BY-license", + "uploadFailed": "Could not upload your picture. Do you have internet and are third party API's allowed? Brave browser or UMatrix might block them.", + "respectPrivacy": "Do not photograph people nor license plates. Do not upload Google Maps, Google Streetview or other copyrighted sources.", + "uploadDone": "Your picture has been added. Thanks for helping out!", + "dontDelete": "Cancel", + "doDelete": "Remove image", + "isDeleted": "Deleted" }, "centerMessage": { - "loadingData": { - "en": "Loading data..." - }, - "zoomIn": { - "en": "Zoom in to view or edit the data" - }, - "ready": { - "en": "Done!" - }, - "retrying": { - "en": "Loading data failed. Trying again in {count} seconds..." - } + "loadingData": "Loading data...", + "zoomIn": "Zoom in to view or edit the data", + "ready": "Done!", + "retrying": "Loading data failed. Trying again in {count} seconds..." }, "index": { "#": "These texts are shown above the theme buttons when no theme is loaded", - "title": { - "en": "Welcome to MapComplete" - }, - "intro": { - "en": "MapComplete is an OpenStreetMap-viewer and editor, which shows you information about a specific theme." - }, - "pickTheme": { - "en": "Pick a theme below to get started." - } + "title": "Welcome to MapComplete", + "intro": "MapComplete is an OpenStreetMap-viewer and editor, which shows you information about a specific theme.", + "pickTheme": "Pick a theme below to get started." }, "general": { - "loginWithOpenStreetMap": { - "en": "Login with OpenStreetMap" - }, - "welcomeBack": { - "en": "You are logged in, welcome back!" - }, - "loginToStart": { - "en": "Login to answer this question" - }, + "loginWithOpenStreetMap": "Login with OpenStreetMap", + "welcomeBack": "You are logged in, welcome back!", + "loginToStart": "Login to answer this question", "search": { - "search": { - "en": "Search a location" - }, - "searching": { - "en": "Searching..." - }, - "nothing": { - "en": "Nothing found..." - }, - "error": { - "en": "Something went wrong..." - } - }, - "returnToTheMap": { - "en": "Return to the map" - }, - "save": { - "en": "Save" - }, - "cancel": { - "en": "Cancel" - }, - "skip": { - "en": "Skip this question" - }, - "oneSkippedQuestion": { - "en": "One question is skipped" - }, - "skippedQuestions": { - "en": "Some questions are skipped" - }, - "number": { - "en": "number" - }, - "osmLinkTooltip": { - "en": "See this object on OpenStreetMap for history and more editing options" + "search": "Search a location", + "searching": "Searching...", + "nothing": "Nothing found...", + "error": "Something went wrong..." }, + "returnToTheMap": "Return to the map", + "save": "Save", + "cancel": "Cancel", + "skip": "Skip this question", + "oneSkippedQuestion": "One question is skipped", + "skippedQuestions": "Some questions are skipped", + "number": "number", + "osmLinkTooltip": "See this object on OpenStreetMap for history and more editing options", "add": { - "addNew": { - "en": "Add a new {category} here" - }, - "title": { - "en": "Add a new point?" - }, - "intro": { - "en": "You clicked somewhere where no data is known yet.
" - }, - "pleaseLogin": { - "en": "Please log in to add a new point" - }, - "zoomInFurther": { - "en": "Zoom in further to add a point." - }, - "stillLoading": { - "en": "The data is still loading. Please wait a bit before you add a new point." - }, - "confirmIntro": { - "en": "

Add a {title} here?

The point you create here will be visible for everyone. Please, only add things on to the map if they truly exist. A lot of applications use this data." - }, - "confirmButton": { - "en": "Add a {category} here.
Your addition is visible for everyone
" - }, - "openLayerControl": { - "en": "Open the layer control box" - }, - "layerNotEnabled": { - "en": "The layer {layer} is not enabled. Enable this layer to add a point" - } - }, - "pickLanguage": { - "en": "Choose a language: " - }, - "about": { - "en": "Easily edit and add OpenStreetMap for a certain theme" - }, - "nameInlineQuestion": { - "en": "The name of this {category} is $$$" - }, - "noNameCategory": { - "en": "{category} without a name" + "addNew": "Add a new {category} here", + "title": "Add a new point?", + "intro": "You clicked somewhere where no data is known yet.
", + "pleaseLogin": "Please log in to add a new point", + "zoomInFurther": "Zoom in further to add a point.", + "stillLoading": "The data is still loading. Please wait a bit before you add a new point.", + "confirmIntro": "

Add a {title} here?

The point you create here will be visible for everyone. Please, only add things on to the map if they truly exist. A lot of applications use this data.", + "confirmButton": "Add a {category} here.
Your addition is visible for everyone
", + "openLayerControl": "Open the layer control box", + "layerNotEnabled": "The layer {layer} is not enabled. Enable this layer to add a point" }, + "pickLanguage": "Choose a language: ", + "about": "Easily edit and add OpenStreetMap for a certain theme", + "nameInlineQuestion": "The name of this {category} is $$$", + "noNameCategory": "{category} without a name", "questions": { - "phoneNumberOf": { - "en": "What is the phone number of {category}?" - }, - "phoneNumberIs": { - "en": "The phone number of this {category} is {phone}" - }, - "websiteOf": { - "en": "What is the website of {category}?" - }, - "websiteIs": { - "en": "Website: {website}" - }, - "emailOf": { - "en": "What is the email address of {category}?" - }, - "emailIs": { - "en": "The email address of this {category} is {email}" - } - }, - "openStreetMapIntro": { - "en": "

An Open Map

Wouldn't it be cool if there was a single map, which everyone could freely use and edit? A single place to store all geo-information? Then, all those websites with different, small and incompatible maps (which are always outdated) wouldn't be needed anymore.

OpenStreetMap is this map. The map data can be used for free (with attribution and publication of changes to that data). On top of that, everyone can freely add new data and fix errors. This website uses OpenStreetMap as well. All the data is from there, and your answers and corrections are added there as well.

A ton of people and application already use OpenStreetMap: Maps.me, OsmAnd, but also the maps at Facebook, Instagram, Apple-maps and Bing-maps are (partly) powered by OpenStreetMap. If you change something here, it'll be reflected in those applications too - after their next update!

" + "phoneNumberOf": "What is the phone number of {category}?", + "phoneNumberIs": "The phone number of this {category} is {phone}", + "websiteOf": "What is the website of {category}?", + "websiteIs": "Website: {website}", + "emailOf": "What is the email address of {category}?", + "emailIs": "The email address of this {category} is {email}" }, + "openStreetMapIntro": "

An Open Map

Wouldn't it be cool if there was a single map, which everyone could freely use and edit? A single place to store all geo-information? Then, all those websites with different, small and incompatible maps (which are always outdated) wouldn't be needed anymore.

OpenStreetMap is this map. The map data can be used for free (with attribution and publication of changes to that data). On top of that, everyone can freely add new data and fix errors. This website uses OpenStreetMap as well. All the data is from there, and your answers and corrections are added there as well.

A ton of people and application already use OpenStreetMap: Maps.me, OsmAnd, but also the maps at Facebook, Instagram, Apple-maps and Bing-maps are (partly) powered by OpenStreetMap. If you change something here, it'll be reflected in those applications too - after their next update!

", "attribution": { - "attributionTitle": { - "en": "Attribution notice" - }, - "attributionContent": { - "en": "

All data is provided by OpenStreetMap, freely reusable under the Open DataBase License.

" - }, - "themeBy": { - "en": "Theme maintained by {author}" - }, + "attributionTitle": "Attribution notice", + "attributionContent": "

All data is provided by OpenStreetMap, freely reusable under the Open DataBase License.

", + "themeBy": "Theme maintained by {author}", "iconAttribution": { - "title": { - "en": "Used icons" - } + "title": "Used icons" }, - "mapContributionsBy": { - "en": "The current visible data has edits made by {contributors}" - }, - "mapContributionsByAndHidden": { - "en": "The current visible data has edits made by {contributors} and {hiddenCount} more contributors" - } + "mapContributionsBy": "The current visible data has edits made by {contributors}", + "mapContributionsByAndHidden": "The current visible data has edits made by {contributors} and {hiddenCount} more contributors" }, "sharescreen": { - "intro": { - "en": "

Share this map

Share this map by copying the link below and sending it to friends and family:" - }, - "addToHomeScreen": { - "en": "

Add to your home screen

You can easily add this website to your smartphone home screen for a native feel. Click the 'add to home screen button' in the URL bar to do this." - }, - "embedIntro": { - "en": "

Embed on your website

Please, embed this map into your website.
We encourage you to do it - you don't even have to ask permission.
It is free, and always will be. The more people using this, the more valuable it becomes." - }, - "copiedToClipboard": { - "en": "Link copied to clipboard" - }, - "thanksForSharing": { - "en": "Thanks for sharing!" - }, - "editThisTheme": { - "en": "Edit this theme" - }, - "editThemeDescription": { - "en": "Add or change questions to this map theme" - }, - "fsUserbadge": { - "en": "Enable the login button" - }, - "fsSearch": { - "en": "Enable the search bar" - }, - "fsWelcomeMessage": { - "en": "Show the welcome message popup and associated tabs" - }, - "fsLayers": { - "en": "Enable the layer control" - }, - "fsLayerControlToggle": { - "en": "Start with the layer control expanded" - }, - "fsAddNew": { - "en": "Enable the 'add new POI' button" - }, - "fsGeolocation": { - "en": "Enable the 'geolocate-me' button (mobile only)" - }, - "fsIncludeCurrentBackgroundMap": { - "en": "Include the current background choice {name}" - }, - "fsIncludeCurrentLayers": { - "en": "Include the current layer choices" - }, - "fsIncludeCurrentLocation": { - "en": "Include current location" - } + "intro": "

Share this map

Share this map by copying the link below and sending it to friends and family:", + "addToHomeScreen": "

Add to your home screen

You can easily add this website to your smartphone home screen for a native feel. Click the 'add to home screen button' in the URL bar to do this.", + "embedIntro": "

Embed on your website

Please, embed this map into your website.
We encourage you to do it - you don't even have to ask permission.
It is free, and always will be. The more people using this, the more valuable it becomes.", + "copiedToClipboard": "Link copied to clipboard", + "thanksForSharing": "Thanks for sharing!", + "editThisTheme": "Edit this theme", + "editThemeDescription": "Add or change questions to this map theme", + "fsUserbadge": "Enable the login button", + "fsSearch": "Enable the search bar", + "fsWelcomeMessage": "Show the welcome message popup and associated tabs", + "fsLayers": "Enable the layer control", + "fsLayerControlToggle": "Start with the layer control expanded", + "fsAddNew": "Enable the 'add new POI' button", + "fsGeolocation": "Enable the 'geolocate-me' button (mobile only)", + "fsIncludeCurrentBackgroundMap": "Include the current background choice {name}", + "fsIncludeCurrentLayers": "Include the current layer choices", + "fsIncludeCurrentLocation": "Include current location" }, "morescreen": { - "intro": { - "en": "

More thematic maps?

Do you enjoy collecting geodata?
There are more themes available." - }, - "requestATheme": { - "en": "If you want a custom-built quest, request it here." - }, - "streetcomplete": { - "en": "Another, similar application is StreetComplete." - }, - "createYourOwnTheme": { - "en": "Create your own MapComplete theme from scratch" - } - }, - "readYourMessages": { - "en": "Please, read all your OpenStreetMap-messages before adding a new point." - }, - "fewChangesBefore": { - "en": "Please, answer a few questions of existing points before adding a new point." - }, - "goToInbox": { - "en": "Open inbox" - }, - "getStartedLogin": { - "en": "Login with OpenStreetMap to get started" - }, - "getStartedNewAccount": { - "en": " or create a new account" - }, - "noTagsSelected": { - "en": "No tags selected" - }, - "customThemeIntro": { - "en": "

Custom themes

These are previously visited user-generated themes." - }, - "aboutMapcomplete": { - "en": "

About MapComplete

With MapComplete you can enrich OpenStreetMap with information on a single theme. Answer a few questions, and within minutes your contributions will be available around the globe! The theme maintainer defines elements, questions and languages for the theme.

Find out more

MapComplete always offers the next step to learn more about OpenStreetMap.


Did you notice an issue? Do you have a feature request? Want to help translate? Head over to the source code or issue tracker.

Want to see your progress? Follow the edit count on OsmCha.

" - }, - "backgroundMap": { - "en": "Background map" + "intro": "

More thematic maps?

Do you enjoy collecting geodata?
There are more themes available.", + "requestATheme": "If you want a custom-built quest, request it here.", + "streetcomplete": "Another, similar application is StreetComplete.", + "createYourOwnTheme": "Create your own MapComplete theme from scratch" }, + "readYourMessages": "Please, read all your OpenStreetMap-messages before adding a new point.", + "fewChangesBefore": "Please, answer a few questions of existing points before adding a new point.", + "goToInbox": "Open inbox", + "getStartedLogin": "Login with OpenStreetMap to get started", + "getStartedNewAccount": " or create a new account", + "noTagsSelected": "No tags selected", + "customThemeIntro": "

Custom themes

These are previously visited user-generated themes.", + "aboutMapcomplete": "

About MapComplete

With MapComplete you can enrich OpenStreetMap with information on a single theme. Answer a few questions, and within minutes your contributions will be available around the globe! The theme maintainer defines elements, questions and languages for the theme.

Find out more

MapComplete always offers the next step to learn more about OpenStreetMap.


Did you notice an issue? Do you have a feature request? Want to help translate? Head over to the source code or issue tracker.

Want to see your progress? Follow the edit count on OsmCha.

", + "backgroundMap": "Background map", "layerSelection": { - "zoomInToSeeThisLayer": { - "en": "Zoom in to see this layer" - }, - "title": { - "en": "Select layers" - } + "zoomInToSeeThisLayer": "Zoom in to see this layer", + "title": "Select layers" }, "weekdays": { "abbreviations": { - "monday": { - "en": "Mon" - }, - "tuesday": { - "en": "Tue" - }, - "wednesday": { - "en": "Wed" - }, - "thursday": { - "en": "Thu" - }, - "friday": { - "en": "Fri" - }, - "saturday": { - "en": "Sat" - }, - "sunday": { - "en": "Sun" - } + "monday": "Mon", + "tuesday": "Tue", + "wednesday": "Wed", + "thursday": "Thu", + "friday": "Fri", + "saturday": "Sat", + "sunday": "Sun" }, - "monday": { - "en": "Monday" - }, - "tuesday": { - "en": "Tuesday" - }, - "wednesday": { - "en": "Wednesday" - }, - "thursday": { - "en": "Thursday" - }, - "friday": { - "en": "Friday" - }, - "saturday": { - "en": "Saturday" - }, - "sunday": { - "en": "Sunday" - } + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday" }, "opening_hours": { - "error_loading": { - "en": "Error: could not visualize these opening hours." - }, - "open_during_ph": { - "en": "During a public holiday, this amenity is" - }, - "opensAt": { - "en": "from" - }, - "openTill": { - "en": "till" - }, - "not_all_rules_parsed": { - "en": "The opening hours of this shop are complicated. The following rules are ignored in the input element:" - }, - "closed_until": { - "en": "Closed until {date}" - }, - "closed_permanently": { - "en": "Closed for an unkown duration" - }, - "open_24_7": { - "en": "Opened around the clock" - }, - "ph_not_known": { - "en": " " - }, - "ph_closed": { - "en": "closed" - }, - "ph_open": { - "en": "opened" - } + "error_loading": "Error: could not visualize these opening hours.", + "open_during_ph": "During a public holiday, this amenity is", + "opensAt": "from", + "openTill": "till", + "not_all_rules_parsed": "The opening hours of this shop are complicated. The following rules are ignored in the input element:", + "closed_until": "Closed until {date}", + "closed_permanently": "Closed for an unkown duration", + "open_24_7": "Opened around the clock", + "ph_not_known": " ", + "ph_closed": "closed", + "ph_open": "opened" } }, "favourite": { - "panelIntro": { - "en": "

Your personal theme

Activate your favourite layers from all the official themes" - }, - "loginNeeded": { - "en": "

Log in

A personal layout is only available for OpenStreetMap users" - }, - "reload": { - "en": "Reload the data" - } + "panelIntro": "

Your personal theme

Activate your favourite layers from all the official themes", + "loginNeeded": "

Log in

A personal layout is only available for OpenStreetMap users", + "reload": "Reload the data" }, "reviews": { - "title": { - "en": "{count} reviews" - }, - "title_singular": { - "en": "One review" - }, - "name_required": { - "en": "A name is required in order to display and create reviews" - }, - "no_reviews_yet": { - "en": "There are no reviews yet. Be the first to write one and help open data and the business!" - }, - "write_a_comment": { - "en": "Leave a review..." - }, - "no_rating": { - "en": "No rating given" - }, - "posting_as": { - "en": "Posting as" - }, - "i_am_affiliated": { - "en": "I am affiliated with this object
Check if you are an owner, creator, employee, ..." - }, - "affiliated_reviewer_warning": { - "en": "(Affiliated review)" - }, - "saving_review": { - "en": "Saving..." - }, - "saved": { - "en": "Review saved. Thanks for sharing!" - }, - "tos": { - "en": "If you create a review, you agree to the TOS and privacy policy of Mangrove.reviews" - }, - "attribution": { - "en": "Reviews are powered by Mangrove Reviews and are available under CC-BY 4.0." - }, - "plz_login": { - "en": "Login to leave a review" - } + "title": "{count} reviews", + "title_singular": "One review", + "name_required": "A name is required in order to display and create reviews", + "no_reviews_yet": "There are no reviews yet. Be the first to write one and help open data and the business!", + "write_a_comment": "Leave a review...", + "no_rating": "No rating given", + "posting_as": "Posting as", + "i_am_affiliated": "I am affiliated with this object
Check if you are an owner, creator, employee, ...", + "affiliated_reviewer_warning": "(Affiliated review)", + "saving_review": "Saving...", + "saved": "Review saved. Thanks for sharing!", + "tos": "If you create a review, you agree to the TOS and privacy policy of Mangrove.reviews", + "attribution": "Reviews are powered by Mangrove Reviews and are available under CC-BY 4.0.", + "plz_login": "Login to leave a review" } } diff --git a/langs/genEn.sh b/langs/genEn.sh index 84f47ca77..2b7826983 100755 --- a/langs/genEn.sh +++ b/langs/genEn.sh @@ -1,5 +1,9 @@ #! /bin/bash -cd .. -cat assets/translations.json | grep -v '"gl"\|"es"\|"nl"\|"fr"\|"de"\|"ca"' | tr -d "\n" | sed "s/ \+/ /g" | sed "s/\", *}/\"}/g" | jq > langs/en.json +for LANG in "en" "nl" "gl" "es" "fr" "de" "ca" +do + RM_LANGS=`echo '"gl"|"es"|"nl"|"fr"|"de"|"ca"|"en"' | sed "s/\"$LANG\"//" | sed "s/|$//" | sed "s/^|//" | sed "s/||/|/" | sed "s/|/\\\\\\\\|/g"` + echo $RM_LANGS + cat ../assets/translations.json | grep -v $RM_LANGS | tr -d "\n" | sed "s/ \+/ /g" | sed "s/\", *}/\"}/g" | sed "s/{ *\"$LANG\" *: *\"\([^\"]*\)\" *}/\"\1\"/g" | jq > $LANG.json +done