mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-27 00:09:50 -05:00
6dd80b459b
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Japanese) Currently translated at 52.1% (12 of 23 strings) Translated using Weblate (Greek) Currently translated at 100.0% (54 of 54 strings) Translated using Weblate (Greek) Currently translated at 100.0% (30 of 30 strings) Translated using Weblate (Norwegian Bokmål) Currently translated at 59.2% (32 of 54 strings) Translated using Weblate (Norwegian Bokmål) Currently translated at 72.7% (8 of 11 strings) Translated using Weblate (Norwegian Bokmål) Currently translated at 46.6% (14 of 30 strings) Translated using Weblate (Chinese (Simplified)) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/ Translated using Weblate (Greek) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/el/ Translated using Weblate (Norwegian Bokmål) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Icelandic) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/is/ Translated using Weblate (Spanish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/ Translated using Weblate (Icelandic) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/is/ Translated using Weblate (Turkish) Currently translated at 100.0% (54 of 54 strings) Translated using Weblate (Turkish) Currently translated at 100.0% (30 of 30 strings) Translated using Weblate (German) Currently translated at 100.0% (60 of 60 strings) Translated using Weblate (Ukrainian) Currently translated at 100.0% (54 of 54 strings) Translated using Weblate (Ukrainian) Currently translated at 100.0% (30 of 30 strings) Translated using Weblate (Ukrainian) Currently translated at 100.0% (11 of 11 strings) Translated using Weblate (Ukrainian) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/uk/ Translated using Weblate (Japanese) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ja/ Translated using Weblate (Chinese (Simplified)) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/ Translated using Weblate (Turkish) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/tr/ Translated using Weblate (German) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/de/ Translated using Weblate (Ukrainian) Currently translated at 100.0% (11 of 11 strings) Co-authored-by: Allan Nordhøy <epost@anotheragency.no> Co-authored-by: Deleted User <noreply+35918@weblate.org> Co-authored-by: Eric <hamburger1024@mailbox.org> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com> Co-authored-by: Oğuz Ersen <oguz@ersen.moe> Co-authored-by: Santiago Sáenz <smezaqs@gmail.com> Co-authored-by: Sveinn í Felli <sv1@fellsnet.is> Co-authored-by: Taro Tanaka <anon_japan@protonmail.com> Co-authored-by: Username1234567890 <danarauz@protonmail.com> Co-authored-by: carlosm2 <carlosm2@riseup.net> Co-authored-by: emma peel <emma.peel@riseup.net> Co-authored-by: eulalio <eulalio@disroot.org> Co-authored-by: george kitsoukakis <norhorn@gmail.com> Co-authored-by: nautilusx <translate@disroot.org> Co-authored-by: trace <dev_trace@tuta.io> Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/el/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/nb_NO/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/tr/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/uk/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/ja/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/de/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/nb_NO/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/uk/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/el/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/nb_NO/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/tr/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/uk/ Translation: OnionShare/Doc - Advanced Translation: OnionShare/Doc - Develop Translation: OnionShare/Doc - Features Translation: OnionShare/Doc - Security Translation: OnionShare/Doc - Tor |
||
---|---|---|
.. | ||
gettext | ||
source | ||
build.sh | ||
check-weblate.py | ||
make.bat | ||
Makefile | ||
poetry.lock | ||
pyproject.toml | ||
README.md |
OnionShare Documentation
All these commands must be run from the docs
folder.
You must have the python dependencies installed to build the docs:
poetry install
To build HTML docs:
poetry run make html
Then open docs/build/html/index.html
in a browser to see it.
To update all of the translations and build all the html, run:
poetry run ./build.sh
You will end up with the documentation in all supported locales in docs/localized_html
.
Here's how preparing translations works:
# Generate .po files in build/gettext
make gettext
# Create a new blank German locale in source/locale, based on .po files
sphinx-intl update -p build/gettext -l de
# Build German translated document
make -e SPHINXOPTS="-D language='de'" html
Discoving which translations are >90% complete
Each OnionShare release should only include a language if >90% of the strings have been translated into it. The script check-weblate.py
script can be used to make a few hundreds weblate API requests to determine this for you automatically. It requires using your weblate API key, which you can find in your user profile.
$ poetry run ./check-weblate.py $WEBLATE_API_KEY
GET https://hosted.weblate.org/api/projects/onionshare/languages/
GET https://hosted.weblate.org/api/translations/onionshare/translations/hr/
GET https://hosted.weblate.org/api/translations/onionshare/translations/eo/
GET https://hosted.weblate.org/api/translations/onionshare/translations/ja/
<...snip...>
GET https://hosted.weblate.org/api/translations/onionshare/doc-tor/wo/ | error 404
GET https://hosted.weblate.org/api/translations/onionshare/doc-tor/ar/
GET https://hosted.weblate.org/api/translations/onionshare/doc-tor/it/
App translations >= 100%
=======================
English (en), 100.0%
App translations >= 90%
=======================
Arabic (ar), 95.0%
Bengali (bn), 95.0%
Catalan (ca), 93.5%
Chinese (Simplified) (zh_Hans), 98.0%
Chinese (Traditional) (zh_Hant), 95.0%
Croatian (hr), 95.0%
Danish (da), 94.5%
Dutch (nl), 92.6%
French (fr), 98.0%
Galician (gl), 97.5%
German (de), 95.0%
Greek (el), 98.0%
Icelandic (is), 98.0%
Indonesian (id), 98.0%
Italian (it), 94.5%
Japanese (ja), 94.5%
Kurdish (Central) (ckb), 94.5%
Norwegian Bokmål (nb_NO), 98.0%
Polish (pl), 95.0%
Portuguese (Brazil) (pt_BR), 95.0%
Portuguese (Portugal) (pt_PT), 92.6%
Russian (ru), 95.0%
Serbian (latin) (sr_Latn), 95.0%
Slovak (sk), 94.5%
Spanish (es), 98.0%
Swedish (sv), 94.5%
Turkish (tr), 98.0%
Ukrainian (uk), 98.0%
App translations >= 80%
=======================
Finnish (fi), 88.1%
Docs translations >= 100%
========================
English (en), 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Turkish (tr), 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Ukrainian (uk), 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Docs translations >= 90%
========================
Docs translations >= 80%
========================
German (de), 90.6%, 100.0%, 82.1%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Greek (el), 90.6%, 100.0%, 82.1%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Russian (ru), 90.6%, 100.0%, 82.1%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%
Spanish (es), 90.6%, 100.0%, 82.1%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%, 100.0%