From 9ab2ca18474ec0b407b7ab757558eff7186a1424 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 17 Feb 2023 13:39:11 +0100 Subject: [PATCH] [weblate] migration to https://hosted.weblate.org/projects/searxng/ Suggested by: @comradekingu https://github.com/searxng/searxng/issues/2076#issuecomment-1399516892 Closes: https://github.com/searxng/searxng/issues/2076 Signed-off-by: Markus Heiser --- .weblate | 2 +- README.rst | 12 ++++++------ docs/dev/translation.rst | 18 +++++++++--------- manage | 4 ++-- searx/infopage/de/about.md | 2 +- searx/infopage/en/about.md | 2 +- searx/infopage/id/about.md | 2 +- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.weblate b/.weblate index d50a09600..4a986a67d 100644 --- a/.weblate +++ b/.weblate @@ -1,3 +1,3 @@ [weblate] -url = https://translate.codeberg.org/api/ +url = https://hosted.weblate.org/api/ translation = searxng/searxng diff --git a/README.rst b/README.rst index 5a1b50e6b..7abdc4e29 100644 --- a/README.rst +++ b/README.rst @@ -59,8 +59,8 @@ our homepage_. .. |commits| image:: https://img.shields.io/github/commit-activity/y/searxng/searxng?color=yellow&label=commits :target: https://github.com/searxng/searxng/commits/master -.. |weblate| image:: https://translate.codeberg.org/widgets/searxng/-/searxng/svg-badge.svg - :target: https://translate.codeberg.org/projects/searxng/ +.. |weblate| image:: https://hosted.weblate.org/widgets/searxng/-/searxng/svg-badge.svg + :target: https://hosted.weblate.org/projects/searxng/ Contact @@ -134,7 +134,7 @@ Contributing is easier .. _Morty: https://github.com/asciimoo/morty .. _Filtron: https://github.com/searxng/filtron .. _limiter: https://docs.searxng.org/src/searx.plugins.limiter.html -.. _Weblate: https://translate.codeberg.org/projects/searxng/searxng/ +.. _Weblate: https://hosted.weblate.org/projects/searxng/searxng/ .. _Development Quickstart: https://docs.searxng.org/dev/quickstart.html @@ -142,10 +142,10 @@ Translations ============ We need translators, suggestions are welcome at -https://translate.codeberg.org/projects/searxng/searxng/ +https://hosted.weblate.org/projects/searxng/searxng/ -.. figure:: https://translate.codeberg.org/widgets/searxng/-/multi-auto.svg - :target: https://translate.codeberg.org/projects/searxng/ +.. figure:: https://hosted.weblate.org/widgets/searxng/-/multi-auto.svg + :target: https://hosted.weblate.org/projects/searxng/ Make a donation diff --git a/docs/dev/translation.rst b/docs/dev/translation.rst index 693f6d2da..030677d84 100644 --- a/docs/dev/translation.rst +++ b/docs/dev/translation.rst @@ -4,15 +4,15 @@ Translation =========== -.. _translate.codeberg.org: https://translate.codeberg.org/projects/searxng/ +.. _hosted.weblate.org: https://hosted.weblate.org/projects/searxng/ .. _Weblate: https://docs.weblate.org .. _translations branch: https://github.com/searxng/searxng/tree/translations .. _orphan branch: https://git-scm.com/docs/git-checkout#Documentation/git-checkout.txt---orphanltnewbranchgt -.. _Weblate repository: https://translate.codeberg.org/projects/searxng/searxng/#repository +.. _Weblate repository: https://hosted.weblate.org/projects/searxng/searxng/#repository .. _wlc: https://docs.weblate.org/en/latest/wlc.html -.. |translated| image:: https://translate.codeberg.org/widgets/searxng/-/searxng/svg-badge.svg - :target: https://translate.codeberg.org/projects/searxng/ +.. |translated| image:: https://hosted.weblate.org/widgets/searxng/-/searxng/svg-badge.svg + :target: https://hosted.weblate.org/projects/searxng/ .. sidebar:: |translated| @@ -24,11 +24,11 @@ Translation - Babel Command-Line: `pybabel `_ - `weblate workflow `_ -Translation takes place on translate.codeberg.org_. +Translation takes place on hosted.weblate.org_. -Translations which has been added by translators on the translate.codeberg.org_ UI are +Translations which has been added by translators on the hosted.weblate.org_ UI are committed to Weblate's counterpart of the SearXNG *origin* repository which is -located at ``https://translate.codeberg.org/git/searxng/searxng``. +located at ``https://hosted.weblate.org/git/searxng/searxng``. There is no need to clone this repository, :ref:`SearXNG Weblate workflow` take care of the synchronization with the *origin*. To avoid merging commits from @@ -68,7 +68,7 @@ wlc === .. _wlc configuration: https://docs.weblate.org/en/latest/wlc.html#wlc-config -.. _API key: https://translate.codeberg.org/accounts/profile/#api +.. _API key: https://hosted.weblate.org/accounts/profile/#api All weblate integration is done by GitHub workflows, but if you want to use wlc_, copy this content into `wlc configuration`_ in your HOME ``~/.config/weblate`` @@ -76,6 +76,6 @@ copy this content into `wlc configuration`_ in your HOME ``~/.config/weblate`` .. code-block:: ini [keys] - https://translate.codeberg.org/api/ = APIKEY + https://hosted.weblate.org/api/ = APIKEY Replace ``APIKEY`` by your `API key`_. diff --git a/manage b/manage index c51d76ddb..591584f1d 100755 --- a/manage +++ b/manage @@ -191,11 +191,11 @@ weblate.translations.worktree() { # 'translations' from Weblate's counterpart (weblate) of the SearXNG # (origin). # - # remote weblate https://translate.codeberg.org/git/searxng/searxng/ + # remote weblate https://hosted.weblate.org/git/searxng/searxng/ ( set -e if ! git remote get-url weblate 2> /dev/null; then - git remote add weblate https://translate.codeberg.org/git/searxng/searxng/ + git remote add weblate https://hosted.weblate.org/git/searxng/searxng/ fi if [ -d "${TRANSLATIONS_WORKTREE}" ]; then pushd . diff --git a/searx/infopage/de/about.md b/searx/infopage/de/about.md index aaf3bffda..5caf93e18 100644 --- a/searx/infopage/de/about.md +++ b/searx/infopage/de/about.md @@ -79,7 +79,7 @@ machen. Je dezentraler das Internet ist, desto mehr Freiheit haben wir! [SearXNG Dokumentation]: {{get_setting('brand.docs_url')}} [searx]: https://github.com/searx/searx [Metasuchmaschine]: https://de.wikipedia.org/wiki/Metasuchmaschine -[Weblate]: https://translate.codeberg.org/projects/searxng/ +[Weblate]: https://hosted.weblate.org/projects/searxng/ [Seeks-Projekt]: https://beniz.github.io/seeks/ [OpenSearch]: https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md [Firefox]: https://support.mozilla.org/en-US/kb/add-or-remove-search-engine-firefox diff --git a/searx/infopage/en/about.md b/searx/infopage/en/about.md index b868813a3..5e63a30fc 100644 --- a/searx/infopage/en/about.md +++ b/searx/infopage/en/about.md @@ -71,7 +71,7 @@ internet is, the more freedom we have! [SearXNG docs]: {{get_setting('brand.docs_url')}} [searx]: https://github.com/searx/searx [metasearch engine]: https://en.wikipedia.org/wiki/Metasearch_engine -[Weblate]: https://translate.codeberg.org/projects/searxng/ +[Weblate]: https://hosted.weblate.org/projects/searxng/ [Seeks project]: https://beniz.github.io/seeks/ [OpenSearch]: https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md [Firefox]: https://support.mozilla.org/en-US/kb/add-or-remove-search-engine-firefox diff --git a/searx/infopage/id/about.md b/searx/infopage/id/about.md index 1cb8d5ad3..bc13ca4b4 100644 --- a/searx/infopage/id/about.md +++ b/searx/infopage/id/about.md @@ -74,7 +74,7 @@ terdesentralisasinya internet, lebih banyak kebebasan yang kita punya! [dokumentasi SearXNG]: {{get_setting('brand.docs_url')}} [searx]: https://github.com/searx/searx [mesin pencari meta]: https://id.wikipedia.org/wiki/Mesin_pencari_web#Mesin_Pencari_dan_Mesin_Pencari-meta -[Weblate]: https://translate.codeberg.org/projects/searxng/ +[Weblate]: https://hosted.weblate.org/projects/searxng/ [proyek Seeks]: https://beniz.github.io/seeks/ [OpenSearch]: https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md [Firefox]: https://support.mozilla.org/id/kb/add-or-remove-search-engine-firefox