From ae37275546f3b8a3a308fc40bea25b9f0fec7129 Mon Sep 17 00:00:00 2001 From: Kyle Gabriel Date: Fri, 12 Jan 2024 22:59:10 -0500 Subject: [PATCH] update translation links --- README.rst | 8 ++++---- docs/About.md | 2 +- mycodo/config_translations_docs.py | 2 +- mycodo/mycodo_flask/templates/layout.html | 2 +- release-checklist.md | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 0f6de83cd..bc1cfd3fe 100644 --- a/README.rst +++ b/README.rst @@ -318,10 +318,10 @@ Mycodo is made possible, in part, by the many fine open source libraries, below. :target: https://github.com/kizniche/Mycodo/actions/workflows/main.yml .. |Codacy Badge| image:: https://app.codacy.com/project/badge/Grade/bb5ffc43e4444231b813ca6e81359336 :target: https://www.codacy.com/gh/kizniche/Mycodo/dashboard?utm_source=github.com&utm_medium=referral&utm_content=kizniche/Mycodo&utm_campaign=Badge_Grade -.. |Translation Badge| image:: http://translate.kylegabriel.com:8080/widgets/mycodo/-/svg-badge.svg - :target: http://translate.kylegabriel.com:8080/engage/mycodo/ -.. |Translation Table| image:: http://translate.kylegabriel.com:8080/widgets/mycodo/-/multi-auto.svg - :target: http://translate.kylegabriel.com:8080/engage/mycodo/ +.. |Translation Badge| image:: https://translate.kylegabriel.com/widgets/mycodo/-/svg-badge.svg + :target: https://translate.kylegabriel.com/engage/mycodo/ +.. |Translation Table| image:: https://translate.kylegabriel.com/widgets/mycodo/-/multi-auto.svg + :target: https://translate.kylegabriel.com/engage/mycodo/ .. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.824199.svg :target: https://doi.org/10.5281/zenodo.824199 .. |Mycodo| image:: https://kylegabriel.com/projects/wp-content/uploads/sites/3/2016/05/Mycodo-3.6.0-tango-Graph-2016-05-21-11-15-26.png diff --git a/docs/About.md b/docs/About.md index 384541933..353a4dfbf 100644 --- a/docs/About.md +++ b/docs/About.md @@ -12,4 +12,4 @@ When Inputs and Outputs are combined, Function controllers may be used to create Triggers can be set to activate events based on specific dates and times, according to durations of time, or the sunrise/sunset at a specific latitude and longitude. -Mycodo has been translated to several languages. By default, the language of the browser will determine which language is used, but may be overridden in the General Settings, on the `[Gear Icon] -> Configure -> General` page. If you find an issue and would like to correct a translation or would like to add another language, this can be done at [https://translate.kylegabriel.com](http://translate.kylegabriel.com:8080/engage/mycodo/). +Mycodo has been translated to several languages. By default, the language of the browser will determine which language is used, but may be overridden in the General Settings, on the `[Gear Icon] -> Configure -> General` page. If you find an issue and would like to correct a translation or would like to add another language, this can be done at [https://translate.kylegabriel.com](https://translate.kylegabriel.com/engage/mycodo/). diff --git a/mycodo/config_translations_docs.py b/mycodo/config_translations_docs.py index 249a97e9f..e40e21328 100644 --- a/mycodo/config_translations_docs.py +++ b/mycodo/config_translations_docs.py @@ -40,7 +40,7 @@ "text_1_5": lazy_gettext("Output controllers produce changes to the general input/output (GPIO) pins or may be configured to execute Linux Bash or Python commands, enabling a variety of potential uses. There are a few different types of outputs: simple switching of GPIO pins (HIGH/LOW), generating pulse-width modulated (PWM) signals, controlling peristaltic pumps, MQTT publishing, and more."), "text_1_6": lazy_gettext("When Inputs and Outputs are combined, Function controllers may be used to create feedback loops that uses the Output device to modulate an environmental condition the Input measures. Certain Inputs may be coupled with certain Outputs to create a variety of different control and regulation applications. Beyond simple regulation, Methods may be used to create a changing setpoint over time, enabling such things as thermal cyclers, reflow ovens, environmental simulation for terrariums, food and beverage fermentation or curing, and cooking food ([sous-vide](https://en.wikipedia.org/wiki/Sous-vide)), to name a few."), "text_1_7": lazy_gettext('Triggers can be set to activate events based on specific dates and times, according to durations of time, or the sunrise/sunset at a specific latitude and longitude.'), - "text_1_8": lazy_gettext("Mycodo has been translated to several languages. By default, the language of the browser will determine which language is used, but may be overridden in the General Settings, on the `[Gear Icon] -> Configure -> General` page. If you find an issue and would like to correct a translation or would like to add another language, this can be done at [https://translate.kylegabriel.com](http://translate.kylegabriel.com:8080/engage/mycodo/).") + "text_1_8": lazy_gettext("Mycodo has been translated to several languages. By default, the language of the browser will determine which language is used, but may be overridden in the General Settings, on the `[Gear Icon] -> Configure -> General` page. If you find an issue and would like to correct a translation or would like to add another language, this can be done at [https://translate.kylegabriel.com](https://translate.kylegabriel.com/engage/mycodo/).") }, "Data-Viewing.md": { diff --git a/mycodo/mycodo_flask/templates/layout.html b/mycodo/mycodo_flask/templates/layout.html index cf3309511..02b35c424 100644 --- a/mycodo/mycodo_flask/templates/layout.html +++ b/mycodo/mycodo_flask/templates/layout.html @@ -243,7 +243,7 @@ {{_('Mycodo on Github')}} {{_('Submit an Issue')}} {{_('Discussion Forum')}} - {{_('Edit Translations')}} + {{_('Edit Translations')}} {{_('Changelog')}} {{_('Donate')}} diff --git a/release-checklist.md b/release-checklist.md index 6d5e070c9..80ebd8103 100644 --- a/release-checklist.md +++ b/release-checklist.md @@ -9,7 +9,7 @@ Notes to keep track of the steps involved in making a new release. - [ ] Run ```sudo /bin/bash ~/Mycodo/mycodo/scripts/generate_all.sh``` - Generates Input/Output/Function/Widget/API manual pages in Mycodo/docs/, and translatable .po files in Mycodo/mycodo/mycodo_flask/translations, and translated docs. - [ ] Verify the Input information was successfully inserted into the Mycodo Manuals. -- [ ] Pull, translate words/phrases, and submit pull request, at http://translate.kylegabriel.com:8080/projects/mycodo/translations/ then merge into Mycodo repo +- [ ] Pull, translate words/phrases, and submit pull request, at https://translate.kylegabriel.com/projects/mycodo/translations/ then merge into Mycodo repo - Note: f-strings cannot be used with gettext() for translations, use format() - [ ] Update config.py variables MYCODO_VERSION and ALEMBIC_VERSION (if applicable). - [ ] Update version in README.rst