Skip to content

Commit

Permalink
docs: add the before API
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Dec 19, 2023
1 parent f430808 commit 4fef785
Show file tree
Hide file tree
Showing 120 changed files with 1,049 additions and 1,049 deletions.
2 changes: 1 addition & 1 deletion docs/admin/continuous.rst
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ Each translation component can have a push URL set up (see
the remote repository. Weblate can be also be configured to automatically push
changes on every commit (this is default, see :ref:`component-push_on_commit`).
If you do not want changes to be pushed automatically, you can do that manually
under :guilabel:`Repository maintenance` or using API via :option:`wlc push`.
under :guilabel:`Repository maintenance` or using the API via :option:`wlc push`.

The push options differ based on the :ref:`vcs` used, more details are found in that chapter.

Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ token, which you can get in your profile. Use it in the ``Authorization`` header
:>json string next: next page URL for object lists
:>json string previous: previous page URL for object lists
:>json array results: results for object lists
:>json string url: URL to access this resource using API
:>json string url: URL to access this resource using the API
:>json string web_url: URL to access this resource using web browser
:status 200: when request was correctly handled
:status 201: when a new object was created successfully
Expand Down
2 changes: 1 addition & 1 deletion docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Released on October 25th 2023.

**Bug fixes**

* Added plurals validation when editing string using API.
* Added plurals validation when editing string using the API.
* Replacing a file using upload when existing is corrupted.

**Compatibility**
Expand Down
10 changes: 5 additions & 5 deletions docs/changes/v4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ Weblate 4.11
Released on February 25th 2022.

* Fixes stored XSS - CVE-2022-24710, see `GHSA-6jp6-9rf9-gc66 <https://github.com/WeblateOrg/weblate/security/advisories/GHSA-6jp6-9rf9-gc66>`_ for more details.
* Fixed add-on installation using API.
* Fixed add-on installation using the API.
* Renamed :guilabel:`Strings needing action` to :guilabel:`Unfinished strings`.
* Fixed false positives from :ref:`check-icu-message-format-syntax`.
* Indicate lock and contributor agreement on other occurrences listing.
Expand Down Expand Up @@ -609,7 +609,7 @@ Released on September 10th 2021.
* Fixed JavaScript error in glossary.
* Add limit to number of matches in consistency check.
* Improve handling of placeholders in machine translations.
* Fixed creating add-ons using API.
* Fixed creating add-ons using the API.
* Added :setting:`PRIVACY_URL` setting to add privacy policy link to the footer.
* Hide member e-mail addresses from project admins.
* Improved gettext PO merging in case of conflicts.
Expand Down Expand Up @@ -811,7 +811,7 @@ Released on March 5th 2021.
* Fixed editing of glossary flags in some corner cases.
* Extend metrics usage to improve performance of several pages.
* Store correct source language in TMX files.
* Better handling for uploads of monolingual PO using API.
* Better handling for uploads of monolingual PO using the API.
* Improved alerts behavior on glossary components.
* Improved Markdown link checks.
* Indicate glossary and source language in breadcrumbs.
Expand Down Expand Up @@ -1047,7 +1047,7 @@ Released on September 2nd 2020.
* Fixed LDAP authentication with group sync.
* Fixed crash in reporting automatic translation progress.
* Fixed Git commit squashing with trailers enabled.
* Fixed creating local VCS components using API.
* Fixed creating local VCS components using the API.

Weblate 4.2.1
-------------
Expand Down Expand Up @@ -1185,7 +1185,7 @@ Released on May 7th 2020.

* Fixed testsuite execution on some Python 3.8 environments.
* Typo fixes in the documentation.
* Fixed creating components using API in some cases.
* Fixed creating components using the API in some cases.
* Fixed JavaScript errors breaking mobile navigation.
* Fixed crash on displaying some checks.
* Fixed screenshots listing.
Expand Down
2 changes: 1 addition & 1 deletion docs/devel/integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ new strings into Weblate.

* Manually, using :guilabel:`Add new translation string` from :guilabel:`Tools`
menu in the source language.
* Programmatically, using API :http:post:`/api/translations/(string:project)/(string:component)/(string:language)/units/`.
* Programmatically, using the API :http:post:`/api/translations/(string:project)/(string:component)/(string:language)/units/`.
* By uploading source file as :guilabel:`Replace existing translation file`
(this overwrites existing strings, so please ensure the file includes both
old and new strings) or :guilabel:`Add new strings`, see :ref:`upload-method`.
Expand Down
18 changes: 9 additions & 9 deletions docs/locales/ab/LC_MESSAGES/docs.po
Original file line number Diff line number Diff line change
Expand Up @@ -8568,7 +8568,7 @@ msgid ""
"repository. Weblate can be also be configured to automatically push changes "
"on every commit (this is default, see :ref:`component-push_on_commit`). If "
"you do not want changes to be pushed automatically, you can do that manually "
"under :guilabel:`Repository maintenance` or using API via :option:`wlc push`."
"under :guilabel:`Repository maintenance` or using the API via :option:`wlc push`."
msgstr ""

#: ../../admin/continuous.rst:330
Expand Down Expand Up @@ -18932,7 +18932,7 @@ msgid "results for object lists"
msgstr ""

#: ../../api.rst:46
msgid "URL to access this resource using API"
msgid "URL to access this resource using the API"
msgstr ""

#: ../../api.rst:47
Expand Down Expand Up @@ -21885,7 +21885,7 @@ msgid "Reduced overhead of statistics collection."
msgstr ""

#: ../../changes.rst:119
msgid "Added plurals validation when editing string using API."
msgid "Added plurals validation when editing string using the API."
msgstr ""

#: ../../changes.rst:120
Expand Down Expand Up @@ -27618,7 +27618,7 @@ msgid ""
msgstr ""

#: ../../changes/v4.rst:466
msgid "Fixed add-on installation using API."
msgid "Fixed add-on installation using the API."
msgstr ""

#: ../../changes/v4.rst:467
Expand Down Expand Up @@ -28053,7 +28053,7 @@ msgid "Improve handling of placeholders in machine translations."
msgstr ""

#: ../../changes/v4.rst:612
msgid "Fixed creating add-ons using API."
msgid "Fixed creating add-ons using the API."
msgstr ""

#: ../../changes/v4.rst:613
Expand Down Expand Up @@ -28612,7 +28612,7 @@ msgid "Store correct source language in TMX files."
msgstr ""

#: ../../changes/v4.rst:814
msgid "Better handling for uploads of monolingual PO using API."
msgid "Better handling for uploads of monolingual PO using the API."
msgstr ""

#: ../../changes/v4.rst:815
Expand Down Expand Up @@ -29327,7 +29327,7 @@ msgid "Fixed Git commit squashing with trailers enabled."
msgstr ""

#: ../../changes/v4.rst:1050
msgid "Fixed creating local VCS components using API."
msgid "Fixed creating local VCS components using the API."
msgstr ""

#: ../../changes/v4.rst:1053
Expand Down Expand Up @@ -29767,7 +29767,7 @@ msgid "Typo fixes in the documentation."
msgstr ""

#: ../../changes/v4.rst:1188
msgid "Fixed creating components using API in some cases."
msgid "Fixed creating components using the API in some cases."
msgstr ""

#: ../../changes/v4.rst:1189
Expand Down Expand Up @@ -33071,7 +33071,7 @@ msgstr ""

#: ../../devel/integration.rst:78
msgid ""
"Programmatically, using API :http:post:`/api/translations/(string:project)/"
"Programmatically, using the API :http:post:`/api/translations/(string:project)/"
"(string:component)/(string:language)/units/`."
msgstr ""

Expand Down
18 changes: 9 additions & 9 deletions docs/locales/af/LC_MESSAGES/docs.po
Original file line number Diff line number Diff line change
Expand Up @@ -8575,7 +8575,7 @@ msgid ""
"repository. Weblate can be also be configured to automatically push changes "
"on every commit (this is default, see :ref:`component-push_on_commit`). If "
"you do not want changes to be pushed automatically, you can do that manually "
"under :guilabel:`Repository maintenance` or using API via :option:`wlc push`."
"under :guilabel:`Repository maintenance` or using the API via :option:`wlc push`."
msgstr ""

#: ../../admin/continuous.rst:330
Expand Down Expand Up @@ -18957,7 +18957,7 @@ msgid "results for object lists"
msgstr ""

#: ../../api.rst:46
msgid "URL to access this resource using API"
msgid "URL to access this resource using the API"
msgstr ""

#: ../../api.rst:47
Expand Down Expand Up @@ -21946,7 +21946,7 @@ msgid "Reduced overhead of statistics collection."
msgstr ""

#: ../../changes.rst:119
msgid "Added plurals validation when editing string using API."
msgid "Added plurals validation when editing string using the API."
msgstr ""

#: ../../changes.rst:120
Expand Down Expand Up @@ -27704,7 +27704,7 @@ msgid ""
msgstr ""

#: ../../changes/v4.rst:466
msgid "Fixed add-on installation using API."
msgid "Fixed add-on installation using the API."
msgstr ""

#: ../../changes/v4.rst:467
Expand Down Expand Up @@ -28139,7 +28139,7 @@ msgid "Improve handling of placeholders in machine translations."
msgstr ""

#: ../../changes/v4.rst:612
msgid "Fixed creating add-ons using API."
msgid "Fixed creating add-ons using the API."
msgstr ""

#: ../../changes/v4.rst:613
Expand Down Expand Up @@ -28698,7 +28698,7 @@ msgid "Store correct source language in TMX files."
msgstr ""

#: ../../changes/v4.rst:814
msgid "Better handling for uploads of monolingual PO using API."
msgid "Better handling for uploads of monolingual PO using the API."
msgstr ""

#: ../../changes/v4.rst:815
Expand Down Expand Up @@ -29413,7 +29413,7 @@ msgid "Fixed Git commit squashing with trailers enabled."
msgstr ""

#: ../../changes/v4.rst:1050
msgid "Fixed creating local VCS components using API."
msgid "Fixed creating local VCS components using the API."
msgstr ""

#: ../../changes/v4.rst:1053
Expand Down Expand Up @@ -29853,7 +29853,7 @@ msgid "Typo fixes in the documentation."
msgstr ""

#: ../../changes/v4.rst:1188
msgid "Fixed creating components using API in some cases."
msgid "Fixed creating components using the API in some cases."
msgstr ""

#: ../../changes/v4.rst:1189
Expand Down Expand Up @@ -33165,7 +33165,7 @@ msgstr ""

#: ../../devel/integration.rst:78
msgid ""
"Programmatically, using API :http:post:`/api/translations/(string:project)/"
"Programmatically, using the API :http:post:`/api/translations/(string:project)/"
"(string:component)/(string:language)/units/`."
msgstr ""

Expand Down
18 changes: 9 additions & 9 deletions docs/locales/afh/LC_MESSAGES/docs.po
Original file line number Diff line number Diff line change
Expand Up @@ -8568,7 +8568,7 @@ msgid ""
"repository. Weblate can be also be configured to automatically push changes "
"on every commit (this is default, see :ref:`component-push_on_commit`). If "
"you do not want changes to be pushed automatically, you can do that manually "
"under :guilabel:`Repository maintenance` or using API via :option:`wlc push`."
"under :guilabel:`Repository maintenance` or using the API via :option:`wlc push`."
msgstr ""

#: ../../admin/continuous.rst:330
Expand Down Expand Up @@ -18932,7 +18932,7 @@ msgid "results for object lists"
msgstr ""

#: ../../api.rst:46
msgid "URL to access this resource using API"
msgid "URL to access this resource using the API"
msgstr ""

#: ../../api.rst:47
Expand Down Expand Up @@ -21885,7 +21885,7 @@ msgid "Reduced overhead of statistics collection."
msgstr ""

#: ../../changes.rst:119
msgid "Added plurals validation when editing string using API."
msgid "Added plurals validation when editing string using the API."
msgstr ""

#: ../../changes.rst:120
Expand Down Expand Up @@ -27618,7 +27618,7 @@ msgid ""
msgstr ""

#: ../../changes/v4.rst:466
msgid "Fixed add-on installation using API."
msgid "Fixed add-on installation using the API."
msgstr ""

#: ../../changes/v4.rst:467
Expand Down Expand Up @@ -28053,7 +28053,7 @@ msgid "Improve handling of placeholders in machine translations."
msgstr ""

#: ../../changes/v4.rst:612
msgid "Fixed creating add-ons using API."
msgid "Fixed creating add-ons using the API."
msgstr ""

#: ../../changes/v4.rst:613
Expand Down Expand Up @@ -28612,7 +28612,7 @@ msgid "Store correct source language in TMX files."
msgstr ""

#: ../../changes/v4.rst:814
msgid "Better handling for uploads of monolingual PO using API."
msgid "Better handling for uploads of monolingual PO using the API."
msgstr ""

#: ../../changes/v4.rst:815
Expand Down Expand Up @@ -29327,7 +29327,7 @@ msgid "Fixed Git commit squashing with trailers enabled."
msgstr ""

#: ../../changes/v4.rst:1050
msgid "Fixed creating local VCS components using API."
msgid "Fixed creating local VCS components using the API."
msgstr ""

#: ../../changes/v4.rst:1053
Expand Down Expand Up @@ -29767,7 +29767,7 @@ msgid "Typo fixes in the documentation."
msgstr ""

#: ../../changes/v4.rst:1188
msgid "Fixed creating components using API in some cases."
msgid "Fixed creating components using the API in some cases."
msgstr ""

#: ../../changes/v4.rst:1189
Expand Down Expand Up @@ -33071,7 +33071,7 @@ msgstr ""

#: ../../devel/integration.rst:78
msgid ""
"Programmatically, using API :http:post:`/api/translations/(string:project)/"
"Programmatically, using the API :http:post:`/api/translations/(string:project)/"
"(string:component)/(string:language)/units/`."
msgstr ""

Expand Down
Loading

0 comments on commit 4fef785

Please sign in to comment.