forked from practicalparticipation/iati-datastore
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #388 from codeforIATI/localised_organisation_names…
…_part1 Localised organisation names - part 1
- Loading branch information
Showing
8 changed files
with
291 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
iati_datastore/iatilib/test/fixtures/localised-org-names-default.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<iati-activities version="2.03"> | ||
<iati-activity default-currency="EUR" hierarchy="1" xml:lang="de"> | ||
<iati-identifier>DE-1-998966376</iati-identifier> | ||
<reporting-org ref="DE-1" secondary-reporter="0" type="10"> | ||
<narrative>Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung (BMZ)</narrative> | ||
<narrative xml:lang="en">Federal Ministry for Economic Cooperation and Development (BMZ)</narrative> | ||
</reporting-org> | ||
<title> | ||
<narrative xml:lang="pt">Esgotamento Sanitário Pernambuco</narrative> | ||
<narrative>Abwasserentsorgung Pernambuco (Invest.)</narrative> | ||
</title> | ||
<participating-org ref="DE-1" role="1" type="10"> | ||
<narrative>Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung (BMZ)</narrative> | ||
<narrative xml:lang="en">Federal Ministry for Economic Cooperation and Development (BMZ)</narrative> | ||
</participating-org> | ||
<participating-org ref="XM-DAC-5-2" role="2"> | ||
<narrative>KfW Bankengruppe (KfW)</narrative> | ||
</participating-org> | ||
<participating-org ref="XM-DAC-5-2" role="3"> | ||
<narrative>KfW Bankengruppe (KfW)</narrative> | ||
</participating-org> | ||
<transaction> | ||
<transaction-type code="11"/> | ||
<transaction-date iso-date="2015-09-08"/> | ||
<value value-date="2015-09-08">1749796.82</value> | ||
<description> | ||
<narrative xml:lang="en">Aid from other bilateral donors</narrative> | ||
</description> | ||
<provider-org ref="NO-BRC-971277882" type="10"> | ||
<narrative>Norwegische Agentur für Entwicklungszusammenarbeit (NORAD)</narrative> | ||
</provider-org> | ||
<receiver-org ref="DK-CVR-12921047" receiver-activity-id="DK-CVR-12921047-2018-21LotCivSPA" type="22"> | ||
<narrative>Pflege Dänemark</narrative> | ||
</receiver-org> | ||
</transaction> | ||
<transaction> | ||
<transaction-type code="11"/> | ||
<transaction-date iso-date="2016-12-22"/> | ||
<value value-date="2016-12-22">4555468.00</value> | ||
<description> | ||
<narrative xml:lang="en">Aid from other bilateral donors</narrative> | ||
</description> | ||
<provider-org ref="BD-NAB-0210" provider-activity-id="BD-NAB-0210-POWER" type="21"> | ||
<narrative>ActionAid Bangladesch</narrative> | ||
</provider-org> | ||
<receiver-org type="22"> | ||
<narrative>SKS-Stiftung</narrative> | ||
</receiver-org> | ||
</transaction> | ||
</iati-activity> | ||
</iati-activities> |
51 changes: 51 additions & 0 deletions
51
iati_datastore/iatilib/test/fixtures/localised-org-names.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<iati-activities version="2.03"> | ||
<iati-activity default-currency="EUR" hierarchy="1" xml:lang="de"> | ||
<iati-identifier>DE-1-198966376</iati-identifier> | ||
<reporting-org ref="DE-1" secondary-reporter="0" type="10"> | ||
<narrative xml:lang="de">Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung (BMZ)</narrative> | ||
<narrative xml:lang="en">Federal Ministry for Economic Cooperation and Development (BMZ)</narrative> | ||
</reporting-org> | ||
<title> | ||
<narrative xml:lang="pt">Esgotamento Sanitário Pernambuco</narrative> | ||
<narrative xml:lang="de">Abwasserentsorgung Pernambuco (Invest.)</narrative> | ||
</title> | ||
<participating-org ref="DE-1" role="1" type="10"> | ||
<narrative xml:lang="de">Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung (BMZ)</narrative> | ||
<narrative xml:lang="en">Federal Ministry for Economic Cooperation and Development (BMZ)</narrative> | ||
</participating-org> | ||
<participating-org ref="XM-DAC-5-2" role="2"> | ||
<narrative xml:lang="de">KfW Bankengruppe (KfW)</narrative> | ||
</participating-org> | ||
<participating-org ref="XM-DAC-5-2" role="3"> | ||
<narrative xml:lang="de">KfW Bankengruppe (KfW)</narrative> | ||
</participating-org> | ||
<transaction> | ||
<transaction-type code="11"/> | ||
<transaction-date iso-date="2015-09-08"/> | ||
<value value-date="2015-09-08">1749796.82</value> | ||
<description> | ||
<narrative xml:lang="en">Aid from other bilateral donors</narrative> | ||
</description> | ||
<provider-org ref="NO-BRC-971277882" type="10"> | ||
<narrative xml:lang="en">Norwegian Agency for Development Cooperation (NORAD)</narrative> | ||
</provider-org> | ||
<receiver-org ref="DK-CVR-12921047" receiver-activity-id="DK-CVR-12921047-2018-21LotCivSPA" type="22"> | ||
<narrative xml:lang="en">Care Danmark</narrative> | ||
</receiver-org> | ||
</transaction> | ||
<transaction> | ||
<transaction-type code="11"/> | ||
<transaction-date iso-date="2016-12-22"/> | ||
<value value-date="2016-12-22">4555468.00</value> | ||
<description> | ||
<narrative xml:lang="en">Aid from other bilateral donors</narrative> | ||
</description> | ||
<provider-org ref="BD-NAB-0210" provider-activity-id="BD-NAB-0210-POWER" type="21"> | ||
<narrative xml:lang="en">ActionAid Bangladesh</narrative> | ||
</provider-org> | ||
<receiver-org type="22"> | ||
<narrative xml:lang="en">SKS Foundation</narrative> | ||
</receiver-org> | ||
</transaction> | ||
</iati-activity> | ||
</iati-activities> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
"""merging two heads | ||
Revision ID: 864375812164 | ||
Revises: c6fe2cf16adb, 3daa1d4ab046 | ||
Create Date: 2022-12-13 17:03:56.861063 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '864375812164' | ||
down_revision = ('c6fe2cf16adb', '3daa1d4ab046') | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
pass | ||
|
||
|
||
def downgrade(): | ||
pass |
Oops, something went wrong.