diff options
-rw-r--r-- | .github/workflows/main.yml | 5 | ||||
-rw-r--r-- | .github/workflows/submodules.yml | 1 | ||||
-rw-r--r-- | .github/workflows/update-translations.yml | 58 | ||||
-rwxr-xr-x | .tx/config | 1017 | ||||
-rw-r--r-- | localazy.json | 32 |
5 files changed, 91 insertions, 1022 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eb04d97f..67556017 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,11 +13,6 @@ jobs: id: file_changes uses: trilom/file-changes-action@v1.2.3 - #- name: Vale - # uses: errata-ai/vale-action@v1.3.0 - # with: - # files: '${{ steps.file_changes.outputs.files_modified }}' - - name: Set up Python uses: actions/setup-python@v2 with: diff --git a/.github/workflows/submodules.yml b/.github/workflows/submodules.yml index 3adcba8d..9959825d 100644 --- a/.github/workflows/submodules.yml +++ b/.github/workflows/submodules.yml @@ -11,6 +11,7 @@ jobs: - uses: actions/checkout@v2 with: repository: ${{ github.repository }} + - name: update submodule run: | git submodule status diff --git a/.github/workflows/update-translations.yml b/.github/workflows/update-translations.yml new file mode 100644 index 00000000..1273693f --- /dev/null +++ b/.github/workflows/update-translations.yml @@ -0,0 +1,58 @@ +name: "translation: generate, upload, download" +on: + workflow_dispatch: + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v3 + + - name: Set Up Python + uses: actions/setup-python@v2 + with: + python-version: 3.x + + - name: Install Dev Dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Build Documentation + run: | + cd docs + make gettext + cd .. + + - name: upload pot files + uses: localazy/upload@v1 + with: + read_key: ${{ secrets.LOCALAZY_READ_KEY }} + write_key: ${{ secrets.LOCALAZY_WRITE_KEY }} + + - name: download translation files + uses: localazy/download@v1 + with: + read_key: ${{ secrets.LOCALAZY_READ_KEY }} + write_key: ${{ secrets.LOCALAZY_WRITE_KEY }} + + - name: set file ownership + run: | + sudo chown -R 1001 docs/_locale + ls -l docs/_locale/de + + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3 + with: + token: ${{secrets.GITHUB_TOKEN}} + add-paths: docs/_locale/* + commit-message: "Github: update translations" + committer: GitHub <noreply@github.com> + author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> + title: "Github: update translations" + body: | + Generate, upload new and download translation files + branch: update-translations-master + delete-branch: true
\ No newline at end of file diff --git a/.tx/config b/.tx/config deleted file mode 100755 index 15785ec0..00000000 --- a/.tx/config +++ /dev/null @@ -1,1017 +0,0 @@ -[main] -host = https://www.transifex.com -lang_map = de_DE: de - -[sagitta.404] -file_filter = locales/<lang>/LC_MESSAGES/404.po -source_file = docs/_build/gettext/404.pot -source_lang = en -type = PO - -[sagitta.cli] -file_filter = locales/<lang>/LC_MESSAGES/cli.po -source_file = docs/_build/gettext/cli.pot -source_lang = en -type = PO - -[sagitta.copyright] -file_filter = locales/<lang>/LC_MESSAGES/copyright.po -source_file = docs/_build/gettext/copyright.pot -source_lang = en -type = PO - -[sagitta.coverage] -file_filter = locales/<lang>/LC_MESSAGES/coverage.po -source_file = docs/_build/gettext/coverage.pot -source_lang = en -type = PO - -[sagitta.documentation] -file_filter = locales/<lang>/LC_MESSAGES/documentation.po -source_file = docs/_build/gettext/documentation.pot -source_lang = en -type = PO - -[sagitta.index] -file_filter = locales/<lang>/LC_MESSAGES/index.po -source_file = docs/_build/gettext/index.pot -source_lang = en -type = PO - -[sagitta.quick-start] -file_filter = locales/<lang>/LC_MESSAGES/quick-start.po -source_file = docs/_build/gettext/quick-start.pot -source_lang = en -type = PO - -[sagitta.automation--cloud-init] -file_filter = locales/<lang>/LC_MESSAGES/automation/cloud-init.po -source_file = docs/_build/gettext/automation/cloud-init.pot -source_lang = en -type = PO - -[sagitta.automation--command-scripting] -file_filter = locales/<lang>/LC_MESSAGES/automation/command-scripting.po -source_file = docs/_build/gettext/automation/command-scripting.pot -source_lang = en -type = PO - -[sagitta.automation--index] -file_filter = locales/<lang>/LC_MESSAGES/automation/index.po -source_file = docs/_build/gettext/automation/index.pot -source_lang = en -type = PO - -[sagitta.automation--vyos-ansible] -file_filter = locales/<lang>/LC_MESSAGES/automation/vyos-ansible.po -source_file = docs/_build/gettext/automation/vyos-ansible.pot -source_lang = en -type = PO - -[sagitta.automation--vyos-api] -file_filter = locales/<lang>/LC_MESSAGES/automation/vyos-api.po -source_file = docs/_build/gettext/automation/vyos-api.pot -source_lang = en -type = PO - -[sagitta.automation--vyos-napalm] -file_filter = locales/<lang>/LC_MESSAGES/automation/vyos-napalm.po -source_file = docs/_build/gettext/automation/vyos-napalm.pot -source_lang = en -type = PO - -[sagitta.automation--vyos-netmiko] -file_filter = locales/<lang>/LC_MESSAGES/automation/vyos-netmiko.po -source_file = docs/_build/gettext/automation/vyos-netmiko.pot -source_lang = en -type = PO - -[sagitta.changelog--1_2_1] -file_filter = locales/<lang>/LC_MESSAGES/changelog/1.2.1.po -source_file = docs/_build/gettext/changelog/1.2.1.pot -source_lang = en -type = PO - -[sagitta.changelog--1_2_2] -file_filter = locales/<lang>/LC_MESSAGES/changelog/1.2.2.po -source_file = docs/_build/gettext/changelog/1.2.2.pot -source_lang = en -type = PO - -[sagitta.changelog--1_2_3] -file_filter = locales/<lang>/LC_MESSAGES/changelog/1.2.3.po -source_file = docs/_build/gettext/changelog/1.2.3.pot -source_lang = en -type = PO - -[sagitta.changelog--1_2_4] -file_filter = locales/<lang>/LC_MESSAGES/changelog/1.2.4.po -source_file = docs/_build/gettext/changelog/1.2.4.pot -source_lang = en -type = PO - -[sagitta.changelog--1_2_5] -file_filter = locales/<lang>/LC_MESSAGES/changelog/1.2.5.po -source_file = docs/_build/gettext/changelog/1.2.5.pot -source_lang = en -type = PO - -[sagitta.changelog--1_2_6] -file_filter = locales/<lang>/LC_MESSAGES/changelog/1.2.6.po -source_file = docs/_build/gettext/changelog/1.2.6.pot -source_lang = en -type = PO - -[sagitta.changelog--1_3] -file_filter = locales/<lang>/LC_MESSAGES/changelog/1.3.po -source_file = docs/_build/gettext/changelog/1.3.pot -source_lang = en -type = PO - -[sagitta.changelog--1_4] -file_filter = locales/<lang>/LC_MESSAGES/changelog/1.4.po -source_file = docs/_build/gettext/changelog/1.4.pot -source_lang = en -type = PO - -[sagitta.changelog--index] -file_filter = locales/<lang>/LC_MESSAGES/changelog/index.po -source_file = docs/_build/gettext/changelog/index.pot -source_lang = en -type = PO - -[sagitta.configexamples--azure-vpn-bgp] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/azure-vpn-bgp.po -source_file = docs/_build/gettext/configexamples/azure-vpn-bgp.pot -source_lang = en -type = PO - -[sagitta.configexamples--azure-vpn-dual-bgp] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/azure-vpn-dual-bgp.po -source_file = docs/_build/gettext/configexamples/azure-vpn-dual-bgp.pot -source_lang = en -type = PO - -[sagitta.configexamples--bgp-ipv6-unnumbered] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/bgp-ipv6-unnumbered.po -source_file = docs/_build/gettext/configexamples/bgp-ipv6-unnumbered.pot -source_lang = en -type = PO - -[sagitta.configexamples--ha] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/ha.po -source_file = docs/_build/gettext/configexamples/ha.pot -source_lang = en -type = PO - -[sagitta.configexamples--index] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/index.po -source_file = docs/_build/gettext/configexamples/index.pot -source_lang = en -type = PO - -[sagitta.configexamples--inter-vrf-routing-vrf-lite] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/inter-vrf-routing-vrf-lite.po -source_file = docs/_build/gettext/configexamples/inter-vrf-routing-vrf-lite.pot -source_lang = en -type = PO - -[sagitta.configexamples--l3vpn-hub-and-spoke] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/l3vpn-hub-and-spoke.po -source_file = docs/_build/gettext/configexamples/l3vpn-hub-and-spoke.pot -source_lang = en -type = PO - -[sagitta.configexamples--ospf-unnumbered] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/ospf-unnumbered.po -source_file = docs/_build/gettext/configexamples/ospf-unnumbered.pot -source_lang = en -type = PO - -[sagitta.configexamples--pppoe-ipv6-basic] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/pppoe-ipv6-basic.po -source_file = docs/_build/gettext/configexamples/pppoe-ipv6-basic.pot -source_lang = en -type = PO - -[sagitta.configexamples--wan-load-balancing] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/wan-load-balancing.po -source_file = docs/_build/gettext/configexamples/wan-load-balancing.pot -source_lang = en -type = PO - -[sagitta.configexamples--zone-policy] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/zone-policy.po -source_file = docs/_build/gettext/configexamples/zone-policy.pot -source_lang = en -type = PO - -[sagitta.configexamples--autotest--DHCPRelay_through_GRE--DHCPRelay_through_GRE] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/autotest/DHCPRelay_through_GRE/DHCPRelay_through_GRE.po -source_file = docs/_build/gettext/configexamples/autotest/DHCPRelay_through_GRE/DHCPRelay_through_GRE.pot -source_lang = en -type = PO - -[sagitta.configexamples--autotest--L3VPN_EVPN--L3VPN_EVPN] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/autotest/L3VPN_EVPN/L3VPN_EVPN.po -source_file = docs/_build/gettext/configexamples/autotest/L3VPN_EVPN/L3VPN_EVPN.pot -source_lang = en -type = PO - -[sagitta.configexamples--autotest--Wireguard--Wireguard] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/autotest/Wireguard/Wireguard.po -source_file = docs/_build/gettext/configexamples/autotest/Wireguard/Wireguard.pot -source_lang = en -type = PO - -[sagitta.configexamples--autotest--tunnelbroker--tunnelbroker] -file_filter = locales/<lang>/LC_MESSAGES/configexamples/autotest/tunnelbroker/tunnelbroker.po -source_file = docs/_build/gettext/configexamples/autotest/tunnelbroker/tunnelbroker.pot -source_lang = en -type = PO - -[sagitta.configuration--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/index.po -source_file = docs/_build/gettext/configuration/index.pot -source_lang = en -type = PO - -[sagitta.configuration--container--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/container/index.po -source_file = docs/_build/gettext/configuration/container/index.pot -source_lang = en -type = PO - -[sagitta.configuration--firewall--general] -file_filter = locales/<lang>/LC_MESSAGES/configuration/firewall/general.po -source_file = docs/_build/gettext/configuration/firewall/general.pot -source_lang = en -type = PO - -[sagitta.configuration--firewall--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/firewall/index.po -source_file = docs/_build/gettext/configuration/firewall/index.pot -source_lang = en -type = PO - -[sagitta.configuration--firewall--zone] -file_filter = locales/<lang>/LC_MESSAGES/configuration/firewall/zone.po -source_file = docs/_build/gettext/configuration/firewall/zone.pot -source_lang = en -type = PO - -[sagitta.configuration--highavailability--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/highavailability/index.po -source_file = docs/_build/gettext/configuration/highavailability/index.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--bonding] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/bonding.po -source_file = docs/_build/gettext/configuration/interfaces/bonding.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--bridge] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/bridge.po -source_file = docs/_build/gettext/configuration/interfaces/bridge.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--dummy] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/dummy.po -source_file = docs/_build/gettext/configuration/interfaces/dummy.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--ethernet] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/ethernet.po -source_file = docs/_build/gettext/configuration/interfaces/ethernet.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--geneve] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/geneve.po -source_file = docs/_build/gettext/configuration/interfaces/geneve.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/index.po -source_file = docs/_build/gettext/configuration/interfaces/index.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--l2tpv3] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/l2tpv3.po -source_file = docs/_build/gettext/configuration/interfaces/l2tpv3.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--loopback] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/loopback.po -source_file = docs/_build/gettext/configuration/interfaces/loopback.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--macsec] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/macsec.po -source_file = docs/_build/gettext/configuration/interfaces/macsec.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--openvpn] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/openvpn.po -source_file = docs/_build/gettext/configuration/interfaces/openvpn.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--pppoe] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/pppoe.po -source_file = docs/_build/gettext/configuration/interfaces/pppoe.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--pseudo-ethernet] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/pseudo-ethernet.po -source_file = docs/_build/gettext/configuration/interfaces/pseudo-ethernet.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--tunnel] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/tunnel.po -source_file = docs/_build/gettext/configuration/interfaces/tunnel.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--vti] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/vti.po -source_file = docs/_build/gettext/configuration/interfaces/vti.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--vxlan] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/vxlan.po -source_file = docs/_build/gettext/configuration/interfaces/vxlan.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--wireguard] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/wireguard.po -source_file = docs/_build/gettext/configuration/interfaces/wireguard.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--wireless] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/wireless.po -source_file = docs/_build/gettext/configuration/interfaces/wireless.pot -source_lang = en -type = PO - -[sagitta.configuration--interfaces--wwan] -file_filter = locales/<lang>/LC_MESSAGES/configuration/interfaces/wwan.po -source_file = docs/_build/gettext/configuration/interfaces/wwan.pot -source_lang = en -type = PO - -[sagitta.configuration--loadbalancing--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/loadbalancing/index.po -source_file = docs/_build/gettext/configuration/loadbalancing/index.pot -source_lang = en -type = PO - -[sagitta.configuration--nat--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/nat/index.po -source_file = docs/_build/gettext/configuration/nat/index.pot -source_lang = en -type = PO - -[sagitta.configuration--nat--nat44] -file_filter = locales/<lang>/LC_MESSAGES/configuration/nat/nat44.po -source_file = docs/_build/gettext/configuration/nat/nat44.pot -source_lang = en -type = PO - -[sagitta.configuration--nat--nat66] -file_filter = locales/<lang>/LC_MESSAGES/configuration/nat/nat66.po -source_file = docs/_build/gettext/configuration/nat/nat66.pot -source_lang = en -type = PO - -[sagitta.configuration--pki--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/pki/index.po -source_file = docs/_build/gettext/configuration/pki/index.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--access-list] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/access-list.po -source_file = docs/_build/gettext/configuration/policy/access-list.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--as-path-list] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/as-path-list.po -source_file = docs/_build/gettext/configuration/policy/as-path-list.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--community-list] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/community-list.po -source_file = docs/_build/gettext/configuration/policy/community-list.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--examples] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/examples.po -source_file = docs/_build/gettext/configuration/policy/examples.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--extcommunity-list] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/extcommunity-list.po -source_file = docs/_build/gettext/configuration/policy/extcommunity-list.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/index.po -source_file = docs/_build/gettext/configuration/policy/index.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--large-community-list] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/large-community-list.po -source_file = docs/_build/gettext/configuration/policy/large-community-list.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--local-route] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/local-route.po -source_file = docs/_build/gettext/configuration/policy/local-route.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--prefix-list] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/prefix-list.po -source_file = docs/_build/gettext/configuration/policy/prefix-list.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--route-map] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/route-map.po -source_file = docs/_build/gettext/configuration/policy/route-map.pot -source_lang = en -type = PO - -[sagitta.configuration--policy--route] -file_filter = locales/<lang>/LC_MESSAGES/configuration/policy/route.po -source_file = docs/_build/gettext/configuration/policy/route.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--bfd] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/bfd.po -source_file = docs/_build/gettext/configuration/protocols/bfd.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--bgp] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/bgp.po -source_file = docs/_build/gettext/configuration/protocols/bgp.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--igmp] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/igmp.po -source_file = docs/_build/gettext/configuration/protocols/igmp.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/index.po -source_file = docs/_build/gettext/configuration/protocols/index.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--isis] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/isis.po -source_file = docs/_build/gettext/configuration/protocols/isis.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--mpls] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/mpls.po -source_file = docs/_build/gettext/configuration/protocols/mpls.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--ospf] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/ospf.po -source_file = docs/_build/gettext/configuration/protocols/ospf.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--rip] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/rip.po -source_file = docs/_build/gettext/configuration/protocols/rip.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--rpki] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/rpki.po -source_file = docs/_build/gettext/configuration/protocols/rpki.pot -source_lang = en -type = PO - -[sagitta.configuration--protocols--static] -file_filter = locales/<lang>/LC_MESSAGES/configuration/protocols/static.po -source_file = docs/_build/gettext/configuration/protocols/static.pot -source_lang = en -type = PO - -[sagitta.configuration--service--broadcast-relay] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/broadcast-relay.po -source_file = docs/_build/gettext/configuration/service/broadcast-relay.pot -source_lang = en -type = PO - -[sagitta.configuration--service--conntrack-sync] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/conntrack-sync.po -source_file = docs/_build/gettext/configuration/service/conntrack-sync.pot -source_lang = en -type = PO - -[sagitta.configuration--service--console-server] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/console-server.po -source_file = docs/_build/gettext/configuration/service/console-server.pot -source_lang = en -type = PO - -[sagitta.configuration--service--dhcp-relay] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/dhcp-relay.po -source_file = docs/_build/gettext/configuration/service/dhcp-relay.pot -source_lang = en -type = PO - -[sagitta.configuration--service--dhcp-server] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/dhcp-server.po -source_file = docs/_build/gettext/configuration/service/dhcp-server.pot -source_lang = en -type = PO - -[sagitta.configuration--service--dns] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/dns.po -source_file = docs/_build/gettext/configuration/service/dns.pot -source_lang = en -type = PO - -[sagitta.configuration--service--eventhandler] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/eventhandler.po -source_file = docs/_build/gettext/configuration/service/eventhandler.pot -source_lang = en -type = PO - -[sagitta.configuration--service--https] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/https.po -source_file = docs/_build/gettext/configuration/service/https.pot -source_lang = en -type = PO - -[sagitta.configuration--service--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/index.po -source_file = docs/_build/gettext/configuration/service/index.pot -source_lang = en -type = PO - -[sagitta.configuration--service--ipoe-server] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/ipoe-server.po -source_file = docs/_build/gettext/configuration/service/ipoe-server.pot -source_lang = en -type = PO - -[sagitta.configuration--service--lldp] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/lldp.po -source_file = docs/_build/gettext/configuration/service/lldp.pot -source_lang = en -type = PO - -[sagitta.configuration--service--mdns] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/mdns.po -source_file = docs/_build/gettext/configuration/service/mdns.pot -source_lang = en -type = PO - -[sagitta.configuration--service--monitoring] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/monitoring.po -source_file = docs/_build/gettext/configuration/service/monitoring.pot -source_lang = en -type = PO - -[sagitta.configuration--service--pppoe-server] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/pppoe-server.po -source_file = docs/_build/gettext/configuration/service/pppoe-server.pot -source_lang = en -type = PO - -[sagitta.configuration--service--router-advert] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/router-advert.po -source_file = docs/_build/gettext/configuration/service/router-advert.pot -source_lang = en -type = PO - -[sagitta.configuration--service--salt-minion] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/salt-minion.po -source_file = docs/_build/gettext/configuration/service/salt-minion.pot -source_lang = en -type = PO - -[sagitta.configuration--service--snmp] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/snmp.po -source_file = docs/_build/gettext/configuration/service/snmp.pot -source_lang = en -type = PO - -[sagitta.configuration--service--ssh] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/ssh.po -source_file = docs/_build/gettext/configuration/service/ssh.pot -source_lang = en -type = PO - -[sagitta.configuration--service--tftp-server] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/tftp-server.po -source_file = docs/_build/gettext/configuration/service/tftp-server.pot -source_lang = en -type = PO - -[sagitta.configuration--service--webproxy] -file_filter = locales/<lang>/LC_MESSAGES/configuration/service/webproxy.po -source_file = docs/_build/gettext/configuration/service/webproxy.pot -source_lang = en -type = PO - -[sagitta.configuration--system--acceleration] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/acceleration.po -source_file = docs/_build/gettext/configuration/system/acceleration.pot -source_lang = en -type = PO - -[sagitta.configuration--system--conntrack] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/conntrack.po -source_file = docs/_build/gettext/configuration/system/conntrack.pot -source_lang = en -type = PO - -[sagitta.configuration--system--console] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/console.po -source_file = docs/_build/gettext/configuration/system/console.pot -source_lang = en -type = PO - -[sagitta.configuration--system--default-route] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/default-route.po -source_file = docs/_build/gettext/configuration/system/default-route.pot -source_lang = en -type = PO - -[sagitta.configuration--system--flow-accounting] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/flow-accounting.po -source_file = docs/_build/gettext/configuration/system/flow-accounting.pot -source_lang = en -type = PO - -[sagitta.configuration--system--host-name] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/host-name.po -source_file = docs/_build/gettext/configuration/system/host-name.pot -source_lang = en -type = PO - -[sagitta.configuration--system--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/index.po -source_file = docs/_build/gettext/configuration/system/index.pot -source_lang = en -type = PO - -[sagitta.configuration--system--ip] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/ip.po -source_file = docs/_build/gettext/configuration/system/ip.pot -source_lang = en -type = PO - -[sagitta.configuration--system--ipv6] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/ipv6.po -source_file = docs/_build/gettext/configuration/system/ipv6.pot -source_lang = en -type = PO - -[sagitta.configuration--system--lcd] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/lcd.po -source_file = docs/_build/gettext/configuration/system/lcd.pot -source_lang = en -type = PO - -[sagitta.configuration--system--login] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/login.po -source_file = docs/_build/gettext/configuration/system/login.pot -source_lang = en -type = PO - -[sagitta.configuration--system--name-server] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/name-server.po -source_file = docs/_build/gettext/configuration/system/name-server.pot -source_lang = en -type = PO - -[sagitta.configuration--system--ntp] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/ntp.po -source_file = docs/_build/gettext/configuration/system/ntp.pot -source_lang = en -type = PO - -[sagitta.configuration--system--option] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/option.po -source_file = docs/_build/gettext/configuration/system/option.pot -source_lang = en -type = PO - -[sagitta.configuration--system--proxy] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/proxy.po -source_file = docs/_build/gettext/configuration/system/proxy.pot -source_lang = en -type = PO - -[sagitta.configuration--system--syslog] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/syslog.po -source_file = docs/_build/gettext/configuration/system/syslog.pot -source_lang = en -type = PO - -[sagitta.configuration--system--task-scheduler] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/task-scheduler.po -source_file = docs/_build/gettext/configuration/system/task-scheduler.pot -source_lang = en -type = PO - -[sagitta.configuration--system--time-zone] -file_filter = locales/<lang>/LC_MESSAGES/configuration/system/time-zone.po -source_file = docs/_build/gettext/configuration/system/time-zone.pot -source_lang = en -type = PO - -[sagitta.configuration--trafficpolicy--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/trafficpolicy/index.po -source_file = docs/_build/gettext/configuration/trafficpolicy/index.pot -source_lang = en -type = PO - -[sagitta.configuration--vpn--dmvpn] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vpn/dmvpn.po -source_file = docs/_build/gettext/configuration/vpn/dmvpn.pot -source_lang = en -type = PO - -[sagitta.configuration--vpn--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vpn/index.po -source_file = docs/_build/gettext/configuration/vpn/index.pot -source_lang = en -type = PO - -[sagitta.configuration--vpn--ipsec] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vpn/ipsec.po -source_file = docs/_build/gettext/configuration/vpn/ipsec.pot -source_lang = en -type = PO - -[sagitta.configuration--vpn--l2tp] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vpn/l2tp.po -source_file = docs/_build/gettext/configuration/vpn/l2tp.pot -source_lang = en -type = PO - -[sagitta.configuration--vpn--openconnect] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vpn/openconnect.po -source_file = docs/_build/gettext/configuration/vpn/openconnect.pot -source_lang = en -type = PO - -[sagitta.configuration--vpn--pptp] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vpn/pptp.po -source_file = docs/_build/gettext/configuration/vpn/pptp.pot -source_lang = en -type = PO - -[sagitta.configuration--vpn--rsa-keys] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vpn/rsa-keys.po -source_file = docs/_build/gettext/configuration/vpn/rsa-keys.pot -source_lang = en -type = PO - -[sagitta.configuration--vpn--site2site_ipsec] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vpn/site2site_ipsec.po -source_file = docs/_build/gettext/configuration/vpn/site2site_ipsec.pot -source_lang = en -type = PO - -[sagitta.configuration--vpn--sstp] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vpn/sstp.po -source_file = docs/_build/gettext/configuration/vpn/sstp.pot -source_lang = en -type = PO - -[sagitta.configuration--vrf--index] -file_filter = locales/<lang>/LC_MESSAGES/configuration/vrf/index.po -source_file = docs/_build/gettext/configuration/vrf/index.pot -source_lang = en -type = PO - -[sagitta.contributing--build-vyos] -file_filter = locales/<lang>/LC_MESSAGES/contributing/build-vyos.po -source_file = docs/_build/gettext/contributing/build-vyos.pot -source_lang = en -type = PO - -[sagitta.contributing--debugging] -file_filter = locales/<lang>/LC_MESSAGES/contributing/debugging.po -source_file = docs/_build/gettext/contributing/debugging.pot -source_lang = en -type = PO - -[sagitta.contributing--development] -file_filter = locales/<lang>/LC_MESSAGES/contributing/development.po -source_file = docs/_build/gettext/contributing/development.pot -source_lang = en -type = PO - -[sagitta.contributing--issues-features] -file_filter = locales/<lang>/LC_MESSAGES/contributing/issues-features.po -source_file = docs/_build/gettext/contributing/issues-features.pot -source_lang = en -type = PO - -[sagitta.contributing--testing] -file_filter = locales/<lang>/LC_MESSAGES/contributing/testing.po -source_file = docs/_build/gettext/contributing/testing.pot -source_lang = en -type = PO - -[sagitta.contributing--upstream-packages] -file_filter = locales/<lang>/LC_MESSAGES/contributing/upstream-packages.po -source_file = docs/_build/gettext/contributing/upstream-packages.pot -source_lang = en -type = PO - -[sagitta.installation--image] -file_filter = locales/<lang>/LC_MESSAGES/installation/image.po -source_file = docs/_build/gettext/installation/image.pot -source_lang = en -type = PO - -[sagitta.installation--index] -file_filter = locales/<lang>/LC_MESSAGES/installation/index.po -source_file = docs/_build/gettext/installation/index.pot -source_lang = en -type = PO - -[sagitta.installation--install] -file_filter = locales/<lang>/LC_MESSAGES/installation/install.po -source_file = docs/_build/gettext/installation/install.pot -source_lang = en -type = PO - -[sagitta.installation--migrate-from-vyatta] -file_filter = locales/<lang>/LC_MESSAGES/installation/migrate-from-vyatta.po -source_file = docs/_build/gettext/installation/migrate-from-vyatta.pot -source_lang = en -type = PO - -[sagitta.installation--update] -file_filter = locales/<lang>/LC_MESSAGES/installation/update.po -source_file = docs/_build/gettext/installation/update.pot -source_lang = en -type = PO - -[sagitta.installation--vyos-on-baremetal] -file_filter = locales/<lang>/LC_MESSAGES/installation/vyos-on-baremetal.po -source_file = docs/_build/gettext/installation/vyos-on-baremetal.pot -source_lang = en -type = PO - -[sagitta.installation--cloud--aws] -file_filter = locales/<lang>/LC_MESSAGES/installation/cloud/aws.po -source_file = docs/_build/gettext/installation/cloud/aws.pot -source_lang = en -type = PO - -[sagitta.installation--cloud--azure] -file_filter = locales/<lang>/LC_MESSAGES/installation/cloud/azure.po -source_file = docs/_build/gettext/installation/cloud/azure.pot -source_lang = en -type = PO - -[sagitta.installation--cloud--gcp] -file_filter = locales/<lang>/LC_MESSAGES/installation/cloud/gcp.po -source_file = docs/_build/gettext/installation/cloud/gcp.pot -source_lang = en -type = PO - -[sagitta.installation--cloud--index] -file_filter = locales/<lang>/LC_MESSAGES/installation/cloud/index.po -source_file = docs/_build/gettext/installation/cloud/index.pot -source_lang = en -type = PO - -[sagitta.installation--cloud--oracel] -file_filter = locales/<lang>/LC_MESSAGES/installation/cloud/oracel.po -source_file = docs/_build/gettext/installation/cloud/oracel.pot -source_lang = en -type = PO - -[sagitta.installation--virtual--docker] -file_filter = locales/<lang>/LC_MESSAGES/installation/virtual/docker.po -source_file = docs/_build/gettext/installation/virtual/docker.pot -source_lang = en -type = PO - -[sagitta.installation--virtual--eve-ng] -file_filter = locales/<lang>/LC_MESSAGES/installation/virtual/eve-ng.po -source_file = docs/_build/gettext/installation/virtual/eve-ng.pot -source_lang = en -type = PO - -[sagitta.installation--virtual--gns3] -file_filter = locales/<lang>/LC_MESSAGES/installation/virtual/gns3.po -source_file = docs/_build/gettext/installation/virtual/gns3.pot -source_lang = en -type = PO - -[sagitta.installation--virtual--index] -file_filter = locales/<lang>/LC_MESSAGES/installation/virtual/index.po -source_file = docs/_build/gettext/installation/virtual/index.pot -source_lang = en -type = PO - -[sagitta.installation--virtual--libvirt] -file_filter = locales/<lang>/LC_MESSAGES/installation/virtual/libvirt.po -source_file = docs/_build/gettext/installation/virtual/libvirt.pot -source_lang = en -type = PO - -[sagitta.installation--virtual--proxmox] -file_filter = locales/<lang>/LC_MESSAGES/installation/virtual/proxmox.po -source_file = docs/_build/gettext/installation/virtual/proxmox.pot -source_lang = en -type = PO - -[sagitta.installation--virtual--vmware] -file_filter = locales/<lang>/LC_MESSAGES/installation/virtual/vmware.po -source_file = docs/_build/gettext/installation/virtual/vmware.pot -source_lang = en -type = PO - -[sagitta.introducing--about] -file_filter = locales/<lang>/LC_MESSAGES/introducing/about.po -source_file = docs/_build/gettext/introducing/about.pot -source_lang = en -type = PO - -[sagitta.introducing--history] -file_filter = locales/<lang>/LC_MESSAGES/introducing/history.po -source_file = docs/_build/gettext/introducing/history.pot -source_lang = en -type = PO - -[sagitta.operation--boot-options] -file_filter = locales/<lang>/LC_MESSAGES/operation/boot-options.po -source_file = docs/_build/gettext/operation/boot-options.pot -source_lang = en -type = PO - -[sagitta.operation--index] -file_filter = locales/<lang>/LC_MESSAGES/operation/index.po -source_file = docs/_build/gettext/operation/index.pot -source_lang = en -type = PO - -[sagitta.operation--information] -file_filter = locales/<lang>/LC_MESSAGES/operation/information.po -source_file = docs/_build/gettext/operation/information.pot -source_lang = en -type = PO - -[sagitta.operation--password-recovery] -file_filter = locales/<lang>/LC_MESSAGES/operation/password-recovery.po -source_file = docs/_build/gettext/operation/password-recovery.pot -source_lang = en -type = PO - -[sagitta.operation--raid] -file_filter = locales/<lang>/LC_MESSAGES/operation/raid.po -source_file = docs/_build/gettext/operation/raid.pot -source_lang = en -type = PO - -[sagitta.troubleshooting--index] -file_filter = locales/<lang>/LC_MESSAGES/troubleshooting/index.po -source_file = docs/_build/gettext/troubleshooting/index.pot -source_lang = en -type = PO diff --git a/localazy.json b/localazy.json new file mode 100644 index 00000000..eb6b430a --- /dev/null +++ b/localazy.json @@ -0,0 +1,32 @@ +{ + "upload": { + "type": "pot", + "folder": "docs/_build/gettext", + "files": { + "pattern": "**.pot", + "excludes": [ + "changelog/*.pot", + "coverage.pot" + ], + "path": "${path}" + } + }, + + "transformations": [ + { + "name": "trans_path", + "source": "${path}", + "operations": "remove: docs/_build/gettext" + } + ], + + "download": { + "files": "docs/_locale/${lang}/${trans_path}/${fileWithoutExt}.pot" + }, + "conversion": { + "actions": { + "type": "mo", + "output": "docs/_locale/${lang}/LC_MESSAGES/${trans_path}/${fileWithoutExt}.mo" + } + } +}
\ No newline at end of file |