Skip to content

Commit

Permalink
Update Style-Guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
taoeffect authored Oct 4, 2023
1 parent 6a52430 commit 91fbeaf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/Style-Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ There was a problem with {nr} of your payments.
There was a problem with {number} of your payments.
```

Another common mistake is to construct strings out of other strings that are individually translated. For example, say we have the following string:
### Constructing strings out of strings

While sometimes it is safe to use variables (when inserting numbers or proper nouns like names), other times it is better to avoid them entirely.

For example, a common mistake is to construct strings out of other strings that are individually translated. Say we have the following string:

```
Export your {sent_or_received} payment history to .csv
Expand Down

0 comments on commit 91fbeaf

Please sign in to comment.