Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ The EYP Member Database is a web application that allows you and your NC to keep

Some parts of the application, such as states and types of schools, have to be localized. The following localizations are currently available:

- Austria
- Germany
- Austria (at)
- Germany (de)
- Denmark (dk)

There are two ways to request a new localization:

Expand Down Expand Up @@ -55,4 +56,4 @@ If you are running the old EYP Member Database, you can migrate your existing da

## License

This software is licensed under the MIT License. See LICENSE.txt for more information.
This software is licensed under the MIT License. See LICENSE.txt for more information.
83 changes: 83 additions & 0 deletions backend/_Modules/press/data.json.dk.localized
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"press" : {
"regions" : [
{
"id" : "1",
"name" : "Zealand"
},
{
"id" : "2",
"name" : "Funen"
},
{
"id" : "3",
"name" : "Southern Denmark"
},
{
"id" : "4",
"name" : "Northern Jutland"
},
{
"id" : "5",
"name" : "Central Jutland"
},
{
"id" : "6",
"name" : "National"
},
],

"target_groups" : [
{
"id" : "1",
"name" : "Teenagers"
},
{
"id" : "2",
"name" : "Adults"
}
],

"kinds" : [
{
"id" : "1",
"name" : "TV"
},
{
"id" : "2",
"name" : "Radio"
},
{
"id" : "3",
"name" : "Newspaper"
},
{
"id" : "4",
"name" : "Magazine"
},
{
"id" : "5",
"name" : "Website"
}
],

"periodicities" : [
{
"id" : "1",
"name" : "Daily"
},
{
"id" : "2",
"name" : "Weekly"
},
{
"id" : "3",
"name" : "Monthly"
},
{
"id" : "4",
"name" : "Continously"
}
]
}
}
61 changes: 61 additions & 0 deletions backend/_Modules/schools/data.json.dk.localized
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"schools" : {
"regions" : [
{
"id" : "1",
"name" : "Zealand"
},
{
"id" : "2",
"name" : "Funen"
},
{
"id" : "3",
"name" : "Southern Denmark"
},
{
"id" : "4",
"name" : "Northern Jutland"
},
{
"id" : "5",
"name" : "Central Jutland"
},
{
"id" : "6",
"name" : "National"
},
],

"kinds" : [
{
"id" : "1",
"name" : "Gymnasium"
},
{
"id" : "2",
"name" : "Realschule"
},
{
"id" : "3",
"name" : "Gesamtschule"
},
{
"id" : "4",
"name" : "Berufsbildende Schule"
},
{
"id" : "5",
"name" : "Abendschule"
},
{
"id" : "6",
"name" : "Kolleg"
},
{
"id" : "7",
"name" : "Other"
}
]
}
}
76 changes: 76 additions & 0 deletions backend/_Modules/sponsors/data.json.dk.localized
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"sponsors" : {
"regions" : [
{
"id" : "1",
"name" : "Zealand"
},
{
"id" : "2",
"name" : "Funen"
},
{
"id" : "3",
"name" : "Southern Denmark"
},
{
"id" : "4",
"name" : "Northern Jutland"
},
{
"id" : "5",
"name" : "Central Jutland"
},
{
"id" : "6",
"name" : "National"
},
],

"kinds" : [
{
"id" : "1",
"name" : "Financial"
},
{
"id" : "2",
"name" : "Venues"
},
{
"id" : "3",
"name" : "Merchandise"
},
{
"id" : "4",
"name" : "Experts"
},
{
"id" : "5",
"name" : "Contacts / Networking"
},
{
"id" : "9999",
"name" : "Other"
}
],

"sizes" : [
{
"id" : "1",
"name" : "Local"
},
{
"id" : "2",
"name" : "Regional"
},
{
"id" : "3",
"name" : "National"
},
{
"id" : "4",
"name" : "International"
}
]
}
}
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ read version
localizations=(
"at"
"de"
"dk"
)

localized_files=(
Expand Down Expand Up @@ -75,4 +76,4 @@ zip -r "eyp-md-$version-$localization.zip" dist/ > /dev/null
rm -rf dist/

# Done
echo "-> Done. Please check the eyp-md-$version-$localization.zip file for your build."
echo "-> Done. Please check the eyp-md-$version-$localization.zip file for your build."