diff --git a/Models/Constants.ts b/Models/Constants.ts index ea63c94c9..344a71178 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import { Utils } from "../Utils"; export default class Constants { - public static vNumber = "0.7.2n"; + public static vNumber = "0.7.3"; // The user journey states thresholds when a new feature gets unlocked public static userJourney = { diff --git a/README.md b/README.md index 57ebc0be2..88fdae64f 100644 --- a/README.md +++ b/README.md @@ -82,19 +82,12 @@ To develop or deploy a version of MapComplete, have a look [to the guide](Docs/D ## Translating MapComplete -The core strings of MapComplete are translated on [Hosted Weblate](https://hosted.weblate.org/projects/mapcomplete/core/). +The core strings and builting themes of MapComplete are translated on [Hosted Weblate](https://hosted.weblate.org/projects/mapcomplete/core/). +You can easily make an account and start translating in their web-environment - no installation required. [![Translation status](https://hosted.weblate.org/widgets/mapcomplete/-/multi-blue.svg)](https://hosted.weblate.org/engage/mapcomplete/) +[![Translation status](https://hosted.weblate.org/widgets/mapcomplete/-/multi-blue.svg)](https://hosted.weblate.org/engage/mapcomplete/) -A theme has translations into the preset.json (`assets/themes/themename/themename.json`). To add a translation: - -0. Fork this repository -1. Modify `"language"` to contain the new language, e.g. `"language": "nl"` becomes `"language": ["nl", "en"]` -2. Add extra strings to the texts. If it used to be a single-language theme, one can replace the strings, e.g.: `"description": "Welcome to Open Bookcase Map"` to `"description": {"en": "Welcome to Open Bookcase Map", "nl": "Welkom bij de OpenBoekenruilkastenKaart", "fr": "Bienvenue sûr la carte des petites bibliotheques"}`. If the correct language is not found, it'll fallback to another supported language. -3. If you notice missing translations in the core of MapComplete, fork this project, open [the file containing all translations](https://github.com/pietervdvn/MapComplete/blob/master/assets/translations.json), add add a language string there -4. Send a pull request to update the languages, I'll gladly add it! It doesn't have to be a complete translation from the start ;) - -(Note that themes will be moved to weblate in the future too) ## Architecture