Skip to content

Commit

Permalink
[#3605] Disable localization
Browse files Browse the repository at this point in the history
  • Loading branch information
vaszig committed Nov 27, 2023
1 parent c30240c commit 6ebe098
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
5 changes: 3 additions & 2 deletions src/stuf/stuf_bg/templates/stuf_bg/StufBgRequest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends "stuf/soap_envelope.xml" %}{% load stuf %}
{% extends "stuf/soap_envelope.xml" %}{% load stuf l10n %}
{% localize off %}
{% block body %}
<ns:npsLv01 xmlns:ns="http://www.egem.nl/StUF/sector/bg/0310">
<ns:stuurgegevens>
Expand Down Expand Up @@ -97,4 +98,4 @@
{% endif %}
</ns:object>
</ns:scope>
</ns:npsLv01>{% endblock %}
</ns:npsLv01>{% endlocalize %}{% endblock %}
5 changes: 3 additions & 2 deletions src/stuf/stuf_zds/templates/stuf_zds/soap/creeerZaak.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "stuf/soap_envelope.xml" %}{% load stuf l10n %}
{% block body %}
{% localize off %}
{# Parent template already defines some common namespaces #}
<ZKN:zakLk01
xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310"
Expand Down Expand Up @@ -31,7 +32,7 @@
<ZKN:omschrijving>{{ locatie.key }}</ZKN:omschrijving>
<ZKN:lokatie>
<GML:Point srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<GML:pos>{{ locatie.lat|unlocalize }} {{ locatie.lng|unlocalize }}</GML:pos>
<GML:pos>{{ locatie.lat }} {{ locatie.lng }}</GML:pos>
</GML:Point>
</ZKN:lokatie>
</ZKN:anderZaakObject>
Expand Down Expand Up @@ -148,4 +149,4 @@
</ZKN:heeft>
{% endif %}
</ZKN:object>
</ZKN:zakLk01>{% endblock %}
</ZKN:zakLk01>{% endlocalize %}{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{% extends "stuf/soap_envelope.xml" %}{% load stuf %}
{% extends "stuf/soap_envelope.xml" %}{% load stuf l10n %}
{% block body %}
{% localize off %}
{# Parent template already defines some common namespaces #}
<ZKN:genereerDocumentIdentificatie_Di02 xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310">
<ZKN:stuurgegevens>
<StUF:berichtcode>Di02</StUF:berichtcode>
{% render_stuurgegevens stuurgegevens referentienummer %}
<StUF:functie>genereerDocumentidentificatie</StUF:functie>
</ZKN:stuurgegevens>
</ZKN:genereerDocumentIdentificatie_Di02>{% endblock %}
</ZKN:genereerDocumentIdentificatie_Di02>{% endlocalize %}{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% extends "stuf/soap_envelope.xml" %}{% load stuf %}
{% extends "stuf/soap_envelope.xml" %}{% load stuf l10n %}
{% block body %}
{% localize off %}
{# Parent template already defines some common namespaces #}
<ZKN:genereerZaakIdentificatie_Di02 xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310">
<ZKN:stuurgegevens>
<StUF:berichtcode>Di02</StUF:berichtcode>
{% render_stuurgegevens stuurgegevens referentienummer %}
<StUF:functie>genereerZaakidentificatie</StUF:functie>
</ZKN:stuurgegevens>
</ZKN:genereerZaakIdentificatie_Di02>
{% endblock %}
</ZKN:genereerZaakIdentificatie_Di02>{% endlocalize %}{% endblock %}
5 changes: 3 additions & 2 deletions src/stuf/stuf_zds/templates/stuf_zds/soap/updateZaak.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "stuf/soap_envelope.xml" %}{% load stuf %}
{% extends "stuf/soap_envelope.xml" %}{% load stuf l10n %}
{% block body %}
{% localize off %}
{# Parent template already defines some common namespaces #}
<ZKN:zakLk01 xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310">
<ZKN:stuurgegevens>
Expand All @@ -16,4 +17,4 @@
{% if betalings_indicatie %}<ZKN:betalingsIndicatie>{{ betalings_indicatie }}</ZKN:betalingsIndicatie>{% endif %}
{% if laatste_betaaldatum %}<ZKN:laatsteBetaaldatum>{{ laatste_betaaldatum }}</ZKN:laatsteBetaaldatum>{% endif %}
</ZKN:object>
</ZKN:zakLk01>{% endblock %}
</ZKN:zakLk01>{% endlocalize %}{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "stuf/soap_envelope.xml" %}{% load stuf %}
{% extends "stuf/soap_envelope.xml" %}{% load stuf l10n %}
{% block body %}
{% localize off %}
{# Parent template already defines some common namespaces #}
<ZKN:edcLk01 xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
<ZKN:stuurgegevens>
Expand Down Expand Up @@ -38,4 +39,4 @@
<StUF:tijdstipRegistratie>{{ tijdstip_registratie }}</StUF:tijdstipRegistratie>
</ZKN:isRelevantVoor>
</ZKN:object>
</ZKN:edcLk01>{% endblock %}
</ZKN:edcLk01>{% endlocalize %}{% endblock %}

0 comments on commit 6ebe098

Please sign in to comment.