Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Add German Language Support (#1293)
Browse files Browse the repository at this point in the history
* Add German Language Support
  • Loading branch information
saeedbashir committed Aug 6, 2019
1 parent 284d0a0 commit 1ab4b2c
Show file tree
Hide file tree
Showing 12 changed files with 7,948 additions and 152 deletions.
2 changes: 2 additions & 0 deletions Source/OEXExternalRegistrationOptionsView.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ - (id)initWithFrame:(CGRect)frame providers:(NSArray *)providers {
self.signUpHeading.isAccessibilityElement = NO;
self.signUpHeading.accessibilityIdentifier = @"RegistrationViewController:register-with-label";
self.emailSuggestion = [[UILabel alloc] initWithFrame:CGRectZero];
self.emailSuggestion.adjustsFontSizeToFitWidth = true;
self.emailSuggestion.minimumScaleFactor = 0.7;
self.emailSuggestion.attributedText = [self.labelStyle attributedStringWithText:[Strings registrationRegisterAlternatePrompt]];
self.emailSuggestion.accessibilityIdentifier = @"RegistrationViewController:register-with-email-label";
[self.emailSuggestion setTextAlignment:NSTextAlignmentCenter];
Expand Down
182 changes: 182 additions & 0 deletions Source/SubjectsDiscovery/Subjects JSON/de.lproj/subjects.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
[
{
"name": "Architektur",
"image_name": "architecture",
"filter": "Architecture",
"type": "normal"
},
{
"name": "Art & Culture",
"image_name": "art",
"filter": "Art & Culture",
"type": "normal"
},
{
"name": "Biology & Life Sciences",
"image_name": "biology",
"filter": "Biology & Life Sciences",
"type": "normal"
},
{
"name": "Business & Management",
"image_name": "business",
"filter": "Business & Management",
"type": "popular"
},
{
"name": "Chemie",
"image_name": "chemistry",
"filter": "Chemistry",
"type": "normal"
},
{
"name": "Kommunikation",
"image_name": "communication",
"filter": "Communication",
"type": "normal"
},
{
"name": "Computerwissenschaften",
"image_name": "computer_science",
"filter": "Computer Science",
"type": "popular"
},
{
"name": "Datenanalyse & Statistik",
"image_name": "data_science",
"filter": "Data Analysis & Statistics",
"type": "popular"
},
{
"name": "Design",
"image_name": "design",
"filter": "Design",
"type": "normal"
},
{
"name": "Economics & Finance",
"image_name": "economics_finance",
"filter": "Economics & Finance",
"type": "normal"
},
{
"name": "Education & Teacher Training",
"image_name": "education",
"filter": "Education & Teacher Training",
"type": "normal"
},
{
"name": "Elektronik",
"image_name": "electronics",
"filter": "Electronics",
"type": "normal"
},
{
"name": "Energy & Earth Sciences",
"image_name": "energy",
"filter": "Energy & Earth Sciences",
"type": "normal"
},
{
"name": "Ingenieurwesen",
"image_name": "engineering",
"filter": "Engineering",
"type": "normal"
},
{
"name": "Environmental Studies",
"image_name": "environmental_studies",
"filter": "Environmental Studies",
"type": "normal"
},
{
"name": "Ethik",
"image_name": "ethics",
"filter": "Ethics",
"type": "normal"
},
{
"name": "Food & Nutrition",
"image_name": "food_nutrition",
"filter": "Food & Nutrition",
"type": "normal"
},
{
"name": "Gesundheit & Sicherheit",
"image_name": "health",
"filter": "Health & Safety",
"type": "normal"
},
{
"name": "Geschichte",
"image_name": "history",
"filter": "History",
"type": "normal"
},
{
"name": "Humanities",
"image_name": "humanities",
"filter": "Humanities",
"type": "popular"
},
{
"name": "Sprache",
"image_name": "language",
"filter": "Language",
"type": "popular"
},
{
"name": "Law",
"image_name": "law",
"filter": "Law",
"type": "normal"
},
{
"name": "Literatur",
"image_name": "literature",
"filter": "Literature",
"type": "normal"
},
{
"name": "Mathe",
"image_name": "math",
"filter": "Math",
"type": "normal"
},
{
"name": "Medizin",
"image_name": "medicine",
"filter": "Medicine",
"type": "normal"
},
{
"name": "Musik",
"image_name": "music",
"filter": "Music",
"type": "normal"
},
{
"name": "Philosophie & Ethik",
"image_name": "philosophy_ethics",
"filter": "Philosophy & Ethics",
"type": "normal"
},
{
"name": "Physik",
"image_name": "physics",
"filter": "Physics",
"type": "normal"
},
{
"name": "Wissenschaft",
"image_name": "science",
"filter": "Science",
"type": "normal"
},
{
"name": "Sozialwissenschaften",
"image_name": "social_sciences",
"filter": "Social Sciences",
"type": "normal"
}
]
10 changes: 10 additions & 0 deletions Source/de.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
InfoPlist.strings
edX

Created by Saeed Bashir on 7/10/17.
Copyright © 2017 edX. All rights reserved.
*/

NSPhotoLibraryUsageDescription = "So können Sie ein Profilbild auswählen";
NSCameraUsageDescription = "So können Sie ein Profilbild machen";
Loading

0 comments on commit 1ab4b2c

Please sign in to comment.