-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add dprint
step to TRANSLATIONS.md
#1363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Closes Update TRANSLATIONS.MD with `dprint fmt` step google#1362
Ref.: #1359 |
Need to address an error following the described procedure |
Nvm, #1359 already adds instructions to TRANSLATIONS.md 🤦 |
On MacOS with [Homebrew](https://brew.sh/), you can install with: | ||
|
||
```shell | ||
brew install gettext | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I think it would be good to add instructions for MacOS like you do here.
### Formatting a Translation | ||
|
||
You should run `dprint` on your `.po` file to ensure it is formatted correctly. | ||
You can do this with: | ||
|
||
```shell | ||
dprint fmt po/xx.po | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also a nice thing to add!
Closes Update TRANSLATIONS.MD with
dprint fmt
step #1362