Converts the last X translations to a specified format consisting of raw steno and/or a translation
Project description
plover-retro-untranslator
- Converts the last X translations to a specified format consisting of any of the following:
- raw steno
- translation
- definition
- american translation
- british translation
(video)
Examples
put these into your dictionary:
{
"RA*UD": "=retro_untranslator:`%r`",
"STRO*EBGD": "=retro_untranslator:`%r` → `%T`",
"TKAO*EFPBD": "=retro_untranslator:`%r` → `%D`",
"-P": "=retro_untranslator:%G",
"SPH-P": "=retro_untranslator:%A",
"PWR-P: "=retro_untranslator:%B",
}
example stroke ⇒ output:
KWRURPB/RA*UD ⇒ `KWRURPB`
KWRURPB/STRO*EBGD ⇒ `KWRURPB` → `yes, your Honor`
KWRURPB/TKAO*EFPBD ⇒ `KWRURPB` → `yes{,}your Honor`
Configuration
(literally the same thing as tapey-tape)
Code | Item | Example |
---|---|---|
%r |
raw steno | KWRURPB |
%D |
definition | yes{,}your Honor |
%T |
translation | Yes, your Honor |
%A |
american translation | customize |
%B |
british translation | customise |
%G |
toggle translation | customise/customize |
%% |
an actual % |
% |
Prerequisites
- Download plover and find the executable
- see this website for finding the location of plover depending on which platform you are using (Linux, Windows, etc.)
Installation
- Now run this command to install the library
<plover_executable> -s plover_plugins install plover-retro-untranslator
Developers
- This section shows how you can have an editable version of this project
- Firstly, fork this repository (in GitHub), then clone it:
git clone https://github.com/your_user_name/plover-retro-untranslator
- cd into this repo
- Then install for use!
- Note that "plover" is the executable that you downloaded to make Plover work in the first place
- See this [[https://plover.readthedocs.io/en/latest/cli_reference.html][website]] for the different locations depending on which platform you are using (Linux, Windows, etc)
cd plover-retro-translator
plover -s plover_plugins install -e .
Acknowledgments
- Sachac's plover-retro-stroke for motivating the creation of this plugin
- rabbitgrowth's tapey-tape for motivating the format of this plugin
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file plover_retro_untranslator-0.4.0.tar.gz
.
File metadata
- Download URL: plover_retro_untranslator-0.4.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecfbfb016d74322bcc873c6562b905e58c6ee65646f1f0393c98a5e1bdef4d06 |
|
MD5 | fcda52d3b89511b97aad40d57c4403f4 |
|
BLAKE2b-256 | 8800c26d22d153d1725fd45315376329f05fcc44d9f930ae9bf561d164c7f7e8 |
File details
Details for the file plover_retro_untranslator-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: plover_retro_untranslator-0.4.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ecbd6a43277dcc018edc807466a26ae0fbfa83755d2bae4a08cc8a351aa444b |
|
MD5 | 7cc55d725e38a6a13d98a1f3739e0e6e |
|
BLAKE2b-256 | ddf1cf3d37b26bcb3c8257b1a143beb839c4d146e5a364c074c9ef045f9c2ffc |