Skip to content

Commit 747ee89

Browse files
authored
Docs: Modify policy to not translate command-line help
1 parent 686e97a commit 747ee89

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

doc/translation_strings_policy.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,11 @@ On a high level, these strings are to be translated:
2121

2222
- GUI strings, anything that appears in a dialog or window
2323

24-
- Command-line option documentation
25-
2624
### GUI strings
2725

2826
Anything that appears to the user in the GUI is to be translated. This includes labels, menu items, button texts, tooltips and window titles.
2927
This includes messages passed to the GUI through the UI interface through `InitMessage`, `ThreadSafeMessageBox` or `ShowProgress`.
3028

31-
### Command-line options
32-
33-
Documentation for the command line options in the output of `--help` should be translated as well.
34-
35-
Make sure that default values do not end up in the string, but use string formatting like `strprintf(_("Threshold for disconnecting misbehaving peers (default: %u)"), 100)`. Putting default values in strings has led to accidental translations in the past, and forces the string to be retranslated every time the value changes.
36-
37-
Do not translate messages that are only shown to developers, such as those that only appear when `--help-debug` is used.
38-
3929
General recommendations
4030
------------------------
4131

0 commit comments

Comments
 (0)