Skip to content

Commit

Permalink
add weblate to docs - forcepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
Apfelwurm committed Nov 15, 2023
1 parent 2745c82 commit cd851c0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 27 deletions.
34 changes: 17 additions & 17 deletions Docs/source/develop/translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@ Translation / i18n

Currently there is no i18n implemented, but this will follow soon.

.. * The client has i18n abillity
.. * The documentation will be in english only at the moment
* PugSharp itself has i18n abillity
* The documentation will be in english only at the moment


.. Client Translation
.. ----------------------------------------
.. translation status
.. ^^^^^^^^^^^^^^^^^^^
.. .. image:: https://translate.lan2play.de/widgets/pugsharp-client/-/pugsharp-client/multi-auto.svg
.. :alt: Translation status
.. :target: https://translate.lan2play.de/engage/pugsharp-client/
PugSharp Translation
----------------------------------------
translation status
^^^^^^^^^^^^^^^^^^^
.. image:: https://translate.lan2play.de/widgets/pugsharp/-/pugsharp/multi-auto.svg
:alt: Translation status
:target: https://translate.lan2play.de/engage/pugsharp/

.. translate with weblate
.. ^^^^^^^^^^^^^^^^^^^^^^^
translate with weblate
^^^^^^^^^^^^^^^^^^^^^^^

.. You can find the client translation on our `Weblate project`_
You can find the client translation on our `Weblate project`_

.. .. _Weblate project: https://translate.lan2play.de/engage/pugsharp-client/
.. _Weblate project: https://translate.lan2play.de/engage/pugsharp/


.. translate without weblate
.. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
translate without weblate
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. * The resource files are located in ``PugSharp/Client/Resources/`` .
.. * The ``App.resx`` is the english and default resource file and for every other language there either is a a ``App.lc.resx`` (lc = two letter language code. for example: de for german) file or you can create one.
* The resource files are located in ``PugSharp.Translation/Properties/`` .
* The ``Resources.resx`` is the english and default resource file and for every other language there either is a a ``Resources.lc.resx`` (lc = two letter language code. for example: de for german) file or you can create one.


12 changes: 4 additions & 8 deletions Docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PugSharp

|PugSharp_test_and_build| |PugSharp_website_build| |Lines of Code| |Quality Gate Status|
|Duplicated Lines (%)| |Coverage| |Maintainability Rating| |Reliability
Rating| |Security Rating| |Vulnerabilities| |Code Smells| |Bugs|
Rating| |Security Rating| |Vulnerabilities| |Code Smells| |Bugs| |PugSharp Translation|

`Pugsharp <https://github.com/Lan2Play/PugSharp>`_ is a PUG System Plugin for CS2 based on the awsome `CounterStrikeSharp by roflmuffin <https://github.com/roflmuffin/CounterStrikeSharp>`_.

Expand Down Expand Up @@ -87,13 +87,9 @@ Table of contents
:target: https://sonarcloud.io/summary/new_code?id=Lan2Play_PugSharp
.. |Bugs| image:: https://sonarcloud.io/api/project_badges/measure?project=Lan2Play_PugSharp&metric=bugs
:target: https://sonarcloud.io/summary/new_code?id=Lan2Play_PugSharp



.. .. |Client Translation| image:: https://translate.lan2play.de/widgets/pugsharp-client/-/pugsharp-client/svg-badge.svg
.. :alt: Client Translation status
.. :target: https://translate.lan2play.de/engage/pugsharp-client/
.. readd |Client Translation| to the top
.. |PugSharp Translation| image:: https://translate.lan2play.de/widgets/pugsharp/-/pugsharp/svg-badge.svg
:alt: PugSharp Translation status
:target: https://translate.lan2play.de/engage/pugsharp/



Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ If you want to know how to use PugSharp, hop over to our [Documentation](https:/

- Api compatibility for the awesome [Get5](https://github.com/splewis/get5)

<!--

## Tanslation

[![Translation status](https://translate.lan2play.de/widgets/eventula-manager/-/multi-auto.svg)](https://translate.lan2play.de/engage/eventula-manager/) -->
[![Translation status](https://translate.lan2play.de/widgets/pugsharp/-/multi-auto.svg)](https://translate.lan2play.de/engage/pugsharp/)

## Credits

Expand Down

0 comments on commit cd851c0

Please sign in to comment.