mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-25 11:57:17 +08:00
124 lines
2.4 KiB
ReStructuredText
124 lines
2.4 KiB
ReStructuredText
|
|
.. AUTOGENERATED START: events
|
|
.. This section is automatically generated by `./manage.py list_addons`. Do not edit manually.
|
|
|
|
Events that trigger add-ons
|
|
+++++++++++++++++++++++++++
|
|
.. _addon-event-add-on-installation:
|
|
|
|
Add-on installation
|
|
-------------------
|
|
|
|
Triggered when add-on is being installed.
|
|
|
|
.. _addon-event-component-update:
|
|
|
|
Component update
|
|
----------------
|
|
|
|
Triggered whenever a change happens in a component such as:
|
|
|
|
* Strings are changed in the repository.
|
|
* A string is added.
|
|
* A new translation is added.
|
|
|
|
.. _addon-event-daily:
|
|
|
|
Daily
|
|
-----
|
|
|
|
Triggered daily, but add-ons usually split the daily load between components depending on :setting:`BACKGROUND_TASKS`.
|
|
|
|
.. _addon-event-event-change:
|
|
|
|
Event change
|
|
------------
|
|
|
|
Triggered after a Change event is created.
|
|
|
|
.. _addon-event-manual-trigger:
|
|
|
|
Manual trigger
|
|
--------------
|
|
|
|
Triggered when an add-on is run manually from add-on management or the API.
|
|
|
|
.. _addon-event-repository-post-add:
|
|
|
|
Repository post-add
|
|
-------------------
|
|
|
|
Triggered just after the new translation is added and committed.
|
|
|
|
.. _addon-event-repository-post-commit:
|
|
|
|
Repository post-commit
|
|
----------------------
|
|
|
|
Triggered just after the changes are committed.
|
|
|
|
.. _addon-event-repository-post-push:
|
|
|
|
Repository post-push
|
|
--------------------
|
|
|
|
Triggered just after the repository is pushed upstream.
|
|
|
|
.. _addon-event-repository-post-remove:
|
|
|
|
Repository post-remove
|
|
----------------------
|
|
|
|
Triggered just after a translation is removed.
|
|
|
|
.. _addon-event-repository-post-update:
|
|
|
|
Repository post-update
|
|
----------------------
|
|
|
|
Triggered whenever new changes are pulled from the upstream repository.
|
|
|
|
.. _addon-event-repository-pre-commit:
|
|
|
|
Repository pre-commit
|
|
---------------------
|
|
|
|
Triggered just before the changes are committed.
|
|
|
|
.. _addon-event-repository-pre-push:
|
|
|
|
Repository pre-push
|
|
-------------------
|
|
|
|
Triggered just before the repository is pushed upstream.
|
|
|
|
.. _addon-event-repository-pre-update:
|
|
|
|
Repository pre-update
|
|
---------------------
|
|
|
|
Triggered just before the repository update is attempted.
|
|
|
|
.. _addon-event-unit-post-save:
|
|
|
|
Unit post-save
|
|
--------------
|
|
|
|
Triggered just after the string is saved.
|
|
|
|
.. _addon-event-unit-post-sync:
|
|
|
|
Unit post-sync
|
|
--------------
|
|
|
|
Triggered after the string is synchronized with the VCS.
|
|
|
|
.. _addon-event-unit-pre-create:
|
|
|
|
Unit pre-create
|
|
---------------
|
|
|
|
Triggered just after the newly created string is saved.
|
|
|
|
|
|
.. AUTOGENERATED END: events
|