Skip to content

Commit

Permalink
update translation links
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed Jan 13, 2024
1 parent 1294a51 commit ae37275
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/About.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
2 changes: 1 addition & 1 deletion mycodo/config_translations_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion mycodo/mycodo_flask/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
<a class="dropdown-item" target="_blank" href="https://github.com/kizniche/Mycodo"><i class="fab fa-github"></i> {{_('Mycodo on Github')}}</a>
<a class="dropdown-item" target="_blank" href="https://github.com/kizniche/Mycodo/issues/new/choose"><i class="fas fa-bug"></i> {{_('Submit an Issue')}}</a>
<a class="dropdown-item" target="_blank" href="https://forum.radicaldiy.com/"><i class="fas fa-comments"></i> {{_('Discussion Forum')}}</a>
<a class="dropdown-item" target="_blank" href="http://translate.kylegabriel.com:8080/projects/mycodo/translations/"><i class="fas fa-edit"></i> {{_('Edit Translations')}}</a>
<a class="dropdown-item" target="_blank" href="https://translate.kylegabriel.com/projects/mycodo/translations/"><i class="fas fa-edit"></i> {{_('Edit Translations')}}</a>
<a class="dropdown-item" target="_blank" href="https://github.com/kizniche/Mycodo/blob/master/CHANGELOG.md"><i class="fas fa-book"></i> {{_('Changelog')}}</a>
<a class="dropdown-item" target="_blank" href="https://kylegabriel.com/donate/"><i class="fas fa-donate"></i> {{_('Donate')}}</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae37275

Please sign in to comment.