mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-10 07:05:14 +00:00
Update translating-dev.md
This commit is contained in:
parent
ac16b9cfad
commit
2bc514357d
1 changed files with 0 additions and 4 deletions
|
@ -47,10 +47,6 @@ We are aiming for a set of common strings to be shared then some more localised
|
||||||
4. Otherwise, try to group keys logically and nest where appropriate, such as `keyboard_` for strings relating to keyboard shortcuts.
|
4. Otherwise, try to group keys logically and nest where appropriate, such as `keyboard_` for strings relating to keyboard shortcuts.
|
||||||
5. Ensure your translation keys do not include `.` or `|` or ` `. Try to balance string length against descriptiveness.
|
5. Ensure your translation keys do not include `.` or `|` or ` `. Try to balance string length against descriptiveness.
|
||||||
|
|
||||||
## matrix-react-sdk is still undergoing migration to translation keys
|
|
||||||
|
|
||||||
If you are fortunate enough to be modifying not yet migrated strings please treat them as a new string using instructions below.
|
|
||||||
|
|
||||||
## Adding new strings
|
## Adding new strings
|
||||||
|
|
||||||
1. Check if the import `import { _t } from 'matrix-react-sdk/src/languageHandler';` is present. If not add it to the other import statements. Also import `_td` if needed.
|
1. Check if the import `import { _t } from 'matrix-react-sdk/src/languageHandler';` is present. If not add it to the other import statements. Also import `_td` if needed.
|
||||||
|
|
Loading…
Reference in a new issue