diff --git a/src/SeleniumLibrary/__init__.py b/src/SeleniumLibrary/__init__.py index 7e7d07f39..1db59176c 100644 --- a/src/SeleniumLibrary/__init__.py +++ b/src/SeleniumLibrary/__init__.py @@ -578,8 +578,8 @@ class SeleniumLibrary(DynamicCore): Template translation file, with English language can be created by running: `rfselib translation /path/to/translation.json` command. Command does not provide translations to other languages, it only provides easy way to create full list keywords and their documentation in correct - format. It is also possible to add keywords from library plugins by providing `--plugings` arguments - to command. Example: `rfselib translation --plugings myplugin.SomePlugin /path/to/translation.json` The + format. It is also possible to add keywords from library plugins by providing `--plugins` arguments + to command. Example: `rfselib translation --plugins myplugin.SomePlugin /path/to/translation.json` The generated json file contains `sha256` key, which contains the sha256 sum of the library documentation. The sha256 sum is used by `rfselib translation --compare /path/to/translation.json` command, which compares the translation to the library and prints outs a table which tells if there are changes needed for diff --git a/src/SeleniumLibrary/entry/__main__.py b/src/SeleniumLibrary/entry/__main__.py index e8b886118..47e049233 100644 --- a/src/SeleniumLibrary/entry/__main__.py +++ b/src/SeleniumLibrary/entry/__main__.py @@ -75,7 +75,7 @@ def translation( The filename argument will tell where the default json file is saved. - The --plugin argument will add plugin keywords in addition to the library keywords + The --plugins argument will add plugin keywords in addition to the library keywords into the default translation json file. It is used the same as plugins argument in the library import. diff --git a/utest/test/api/approved_files/PluginDocumentation.test_many_plugins.approved.txt b/utest/test/api/approved_files/PluginDocumentation.test_many_plugins.approved.txt index 9d442556c..447445852 100644 --- a/utest/test/api/approved_files/PluginDocumentation.test_many_plugins.approved.txt +++ b/utest/test/api/approved_files/PluginDocumentation.test_many_plugins.approved.txt @@ -517,8 +517,8 @@ translated, instead ``name`` should be kept the same. Template translation file, with English language can be created by running: `rfselib translation /path/to/translation.json` command. Command does not provide translations to other languages, it only provides easy way to create full list keywords and their documentation in correct -format. It is also possible to add keywords from library plugins by providing `--plugings` arguments -to command. Example: `rfselib translation --plugings myplugin.SomePlugin /path/to/translation.json` The +format. It is also possible to add keywords from library plugins by providing `--plugins` arguments +to command. Example: `rfselib translation --plugins myplugin.SomePlugin /path/to/translation.json` The generated json file contains `sha256` key, which contains the sha256 sum of the library documentation. The sha256 sum is used by `rfselib translation --compare /path/to/translation.json` command, which compares the translation to the library and prints outs a table which tells if there are changes needed for