@@ -1456,6 +1456,107 @@ Reset repository to upstream
14561456Discards all changes in the Weblate repository each night.
14571457
14581458.. AUTOGENERATED END: weblate.hosted.reset
1459+ .. AUTOGENERATED START: weblate.gettext.django
1460+ .. This section is automatically generated by `./manage.py list_addons`. Do not edit manually.
1461+
1462+ .. _addon-weblate.gettext.django :
1463+
1464+ Update POT file (Django)
1465+ ------------------------
1466+
1467+ .. versionadded :: 5.17
1468+
1469+ :Add-on ID: ``weblate.gettext.django ``
1470+ :Configuration: +----------------------+----------------------+----------------------------------------------------------------------------------+
1471+ | ``interval`` | Update frequency | How often the add-on should update the POT file when the component is refreshed. |
1472+ | | | |
1473+ | | | .. list-table:: Available choices: |
1474+ | | | :width: 100% |
1475+ | | | |
1476+ | | | * - ``daily`` |
1477+ | | | - Daily |
1478+ | | | * - ``weekly`` |
1479+ | | | - Weekly |
1480+ | | | * - ``monthly`` |
1481+ | | | - Monthly |
1482+ +----------------------+----------------------+----------------------------------------------------------------------------------+
1483+ | ``normalize_header `` | Normalize POT header | Updates selected gettext header fields using component configuration. |
1484+ +----------------------+----------------------+----------------------------------------------------------------------------------+
1485+
1486+ :Triggers: :ref: `addon-event-add-on-installation `, :ref: `addon-event-repository-post-update `
1487+
1488+ Updates the gettext template using Django's built-in makemessages command.
1489+
1490+ .. AUTOGENERATED END: weblate.gettext.django
1491+ .. AUTOGENERATED START: weblate.gettext.sphinx
1492+ .. This section is automatically generated by `./manage.py list_addons`. Do not edit manually.
1493+
1494+ .. _addon-weblate.gettext.sphinx :
1495+
1496+ Update POT file (Sphinx)
1497+ ------------------------
1498+
1499+ .. versionadded :: 5.17
1500+
1501+ :Add-on ID: ``weblate.gettext.sphinx ``
1502+ :Configuration: +----------------------+----------------------+----------------------------------------------------------------------------------+
1503+ | ``interval`` | Update frequency | How often the add-on should update the POT file when the component is refreshed. |
1504+ | | | |
1505+ | | | .. list-table:: Available choices: |
1506+ | | | :width: 100% |
1507+ | | | |
1508+ | | | * - ``daily`` |
1509+ | | | - Daily |
1510+ | | | * - ``weekly`` |
1511+ | | | - Weekly |
1512+ | | | * - ``monthly`` |
1513+ | | | - Monthly |
1514+ +----------------------+----------------------+----------------------------------------------------------------------------------+
1515+ | ``normalize_header `` | Normalize POT header | Updates selected gettext header fields using component configuration. |
1516+ +----------------------+----------------------+----------------------------------------------------------------------------------+
1517+
1518+ :Triggers: :ref: `addon-event-add-on-installation `, :ref: `addon-event-repository-post-update `
1519+
1520+ Updates the gettext template using Sphinx's gettext builder without loading
1521+ project configuration.
1522+
1523+ .. AUTOGENERATED END: weblate.gettext.sphinx
1524+ .. AUTOGENERATED START: weblate.gettext.xgettext
1525+ .. This section is automatically generated by `./manage.py list_addons`. Do not edit manually.
1526+
1527+ .. _addon-weblate.gettext.xgettext :
1528+
1529+ Update POT file (xgettext)
1530+ --------------------------
1531+
1532+ .. versionadded :: 5.17
1533+
1534+ :Add-on ID: ``weblate.gettext.xgettext ``
1535+ :Configuration: +----------------------+----------------------+-----------------------------------------------------------------------------------------+
1536+ | ``interval`` | Update frequency | How often the add-on should update the POT file when the component is refreshed. |
1537+ | | | |
1538+ | | | .. list-table:: Available choices: |
1539+ | | | :width: 100% |
1540+ | | | |
1541+ | | | * - ``daily`` |
1542+ | | | - Daily |
1543+ | | | * - ``weekly`` |
1544+ | | | - Weekly |
1545+ | | | * - ``monthly`` |
1546+ | | | - Monthly |
1547+ +----------------------+----------------------+-----------------------------------------------------------------------------------------+
1548+ | ``normalize_header `` | Normalize POT header | Updates selected gettext header fields using component configuration. |
1549+ +----------------------+----------------------+-----------------------------------------------------------------------------------------+
1550+ | ``language `` | xgettext language | Programming language passed to xgettext, for example Python or C. |
1551+ +----------------------+----------------------+-----------------------------------------------------------------------------------------+
1552+ | ``source_patterns `` | Source file patterns | Newline-separated repository-relative glob patterns for files to extract with xgettext. |
1553+ +----------------------+----------------------+-----------------------------------------------------------------------------------------+
1554+
1555+ :Triggers: :ref: `addon-event-add-on-installation `, :ref: `addon-event-repository-post-update `
1556+
1557+ Updates the gettext template using xgettext on selected source files.
1558+
1559+ .. AUTOGENERATED END: weblate.gettext.xgettext
14591560
14601561
14611562.. Depreciated Addons
0 commit comments