mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-03 13:38:04 +02:00
Don't mention presets.yaml; it's generated
This commit is contained in:
+2
-3
@@ -87,9 +87,8 @@ iD translates strings with a `t` function - `t('foo.bar')` translate the key
|
|||||||
`foo.bar` into the current language. If you introduce new translatable strings
|
`foo.bar` into the current language. If you introduce new translatable strings
|
||||||
to iD, only display them in the interface through the `t()` function.
|
to iD, only display them in the interface through the `t()` function.
|
||||||
|
|
||||||
Then, add the new string to `data/core.yaml` or `data/presets.yaml` (depending
|
Then, add the new string to `data/core.yaml`. The translation system, Transifex,
|
||||||
on whether it pertains to core code or presets). The translation system,
|
will automatically detect the change.
|
||||||
Transiflex, will automatically detect the change.
|
|
||||||
|
|
||||||
Use `make` to build the translations with the local changes.
|
Use `make` to build the translations with the local changes.
|
||||||
`make translate` can be used to pull the latest translations from Transifex.
|
`make translate` can be used to pull the latest translations from Transifex.
|
||||||
|
|||||||
Reference in New Issue
Block a user