# 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](https://www.youtube.com/watch?v=pLYZl5_l0qg))
# Examples
put these into your dictionary:
```json
{
"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](https://plover.readthedocs.io/en/latest/cli_reference.html) 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
``` bash
<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:
``` bash
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)
``` bash
cd plover-retro-translator
plover -s plover_plugins install -e .
```
# Acknowledgments
- Sachac's [plover-retro-stroke](https://github.com/sachac/plover_retro_stroke) for motivating the creation of this plugin
- rabbitgrowth's [tapey-tape](https://github.com/rabbitgrowth/plover-tapey-tape) for motivating the format of this plugin
Raw data
{
"_id": null,
"home_page": "https://github.com/Josiah-tan/plover-retro-untranslator",
"name": "plover-retro-untranslator",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "plover plover_plugin plover_retro_untranslator",
"author": "Josiah-tan",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/af/ef/1e9b293f1860c789b982cf18a0cdeddfa278b99288e12227966b2b86b202/plover_retro_untranslator-0.4.4.tar.gz",
"platform": null,
"description": "# plover-retro-untranslator\n\n- Converts the last X translations to a specified format consisting of any of the following: \n - raw steno \n - translation \n - definition \n - american translation\n - british translation\n\n([video](https://www.youtube.com/watch?v=pLYZl5_l0qg))\n\n\n# Examples\n\nput these into your dictionary:\n\n```json\n{\n\"RA*UD\": \"=retro_untranslator:`%r`\",\n\"STRO*EBGD\": \"=retro_untranslator:`%r` \u2192 `%T`\",\n\"TKAO*EFPBD\": \"=retro_untranslator:`%r` \u2192 `%D`\",\n\"-P\": \"=retro_untranslator:%G\",\n\"SPH-P\": \"=retro_untranslator:%A\",\n\"PWR-P: \"=retro_untranslator:%B\",\n}\n```\n\nexample stroke \u21d2 output:\n\n```\nKWRURPB/RA*UD \u21d2 `KWRURPB`\nKWRURPB/STRO*EBGD \u21d2 `KWRURPB` \u2192 `yes, your Honor`\nKWRURPB/TKAO*EFPBD \u21d2 `KWRURPB` \u2192 `yes{,}your Honor`\n```\n\n# Configuration\n\n(literally the same thing as tapey-tape)\n\n| Code | Item | Example |\n|:-----|:---------------------|:--------------------|\n| `%r` | raw steno | `KWRURPB` |\n| `%D` | definition | yes{,}your Honor |\n| `%T` | translation | `Yes, your Honor` |\n| `%A` | american translation | customize |\n| `%B` | british translation | customise |\n| `%G` | toggle translation | customise/customize |\n| `%%` | an actual `%` | `%` |\n\n\n\n# Prerequisites\n\n- Download plover and find the executable\n\t- see this [website](https://plover.readthedocs.io/en/latest/cli_reference.html) for finding the location of plover depending on which platform you are using (Linux, Windows, etc.)\n\n# Installation\n\n- Now run this command to install the library\n``` bash\n<plover_executable> -s plover_plugins install plover-retro-untranslator\n```\n\n# Developers\n\n- This section shows how you can have an editable version of this project\n- Firstly, fork this repository (in GitHub), then clone it:\n\n``` bash\ngit clone https://github.com/your_user_name/plover-retro-untranslator\n```\n\n- cd into this repo\n- Then install for use!\n\t- Note that \"plover\" is the executable that you downloaded to make Plover work in the first place\n\t- 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)\n\n``` bash\ncd plover-retro-translator\nplover -s plover_plugins install -e .\n```\n\n# Acknowledgments\n\n- Sachac's [plover-retro-stroke](https://github.com/sachac/plover_retro_stroke) for motivating the creation of this plugin\n- rabbitgrowth's [tapey-tape](https://github.com/rabbitgrowth/plover-tapey-tape) for motivating the format of this plugin\n",
"bugtrack_url": null,
"license": "GNU General Public License v3 (GPLv3)",
"summary": "Converts the last X translations to a specified format consisting of raw steno and/or a translation",
"version": "0.4.4",
"project_urls": {
"Homepage": "https://github.com/Josiah-tan/plover-retro-untranslator"
},
"split_keywords": [
"plover",
"plover_plugin",
"plover_retro_untranslator"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "95840340cc2ecaf82d67e7600016333317248db15476cb0e9627cdec87384c55",
"md5": "6e69bc023f54d0e0fb41ea715336b7d6",
"sha256": "e1c9052f0f7b664940419ca343e1de4ee2e52850b503c0cbc0233e4e28e0a11a"
},
"downloads": -1,
"filename": "plover_retro_untranslator-0.4.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6e69bc023f54d0e0fb41ea715336b7d6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 27749,
"upload_time": "2024-05-03T12:50:18",
"upload_time_iso_8601": "2024-05-03T12:50:18.567491Z",
"url": "https://files.pythonhosted.org/packages/95/84/0340cc2ecaf82d67e7600016333317248db15476cb0e9627cdec87384c55/plover_retro_untranslator-0.4.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "afef1e9b293f1860c789b982cf18a0cdeddfa278b99288e12227966b2b86b202",
"md5": "c8149d41692177dc900c92aed7c3bd81",
"sha256": "803fa062b09c73cd375865b2b48a625c1a8c94afc69f05310de94582533228b0"
},
"downloads": -1,
"filename": "plover_retro_untranslator-0.4.4.tar.gz",
"has_sig": false,
"md5_digest": "c8149d41692177dc900c92aed7c3bd81",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 28907,
"upload_time": "2024-05-03T12:50:20",
"upload_time_iso_8601": "2024-05-03T12:50:20.615469Z",
"url": "https://files.pythonhosted.org/packages/af/ef/1e9b293f1860c789b982cf18a0cdeddfa278b99288e12227966b2b86b202/plover_retro_untranslator-0.4.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-03 12:50:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Josiah-tan",
"github_project": "plover-retro-untranslator",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "plover-retro-untranslator"
}