File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ seleniumbase translate [SB_FILE].py [LANGUAGE] [ACTION]
37
37
``--ru`` / ``--Russian`` | ``--es`` / ``--Spanish``
38
38
39
39
* Actions:
40
- ``-p`` / ``--print`` (Only print output. No changes to files. )
40
+ ``-p`` / ``--print`` (Print translation output to the screen )
41
41
``-o`` / ``--overwrite`` (Overwrite the file being translated)
42
42
``-c`` / ``--copy`` (Copy the translation to a new ``.py`` file)
43
43
@@ -51,11 +51,12 @@ Translate test_3.py into Dutch and make a copy of the file:
51
51
52
52
* Output:
53
53
Translates a SeleniumBase Python file into the language
54
- specified. Method calls and " import" lines get swapped.
54
+ specified. Method calls and `` import`` lines get swapped.
55
55
Both a language and an action must be specified.
56
+ The ``-p`` action can be paired with one other action.
56
57
When running with ``-c`` (or ``--copy``) the new file name
57
58
will be the orginal name appended with an underscore
58
59
plus the 2-letter language code of the new language.
59
60
(Example: Translating ``test_1.py`` into Japanese with
60
- ``-c`` will create a new file called ``test_1_ja.py``).
61
+ ``-c`` will create a new file called ``test_1_ja.py``.)
61
62
```
You can’t perform that action at this time.
0 commit comments