diff --git a/AvH Plan/Base.lproj/Main.storyboard b/AvH Plan/Base.lproj/Main.storyboard index bea1501..ff47c56 100644 --- a/AvH Plan/Base.lproj/Main.storyboard +++ b/AvH Plan/Base.lproj/Main.storyboard @@ -53,7 +53,7 @@ - + @@ -76,6 +76,7 @@ + @@ -105,7 +106,7 @@ - + @@ -136,7 +137,7 @@ - + @@ -212,7 +213,7 @@ - + @@ -243,7 +244,7 @@ - + @@ -596,13 +597,13 @@ - + Please click the button above to enter your username and password to verify that you're occupied at the Alexander-von-Humboldt-Gymnasium. This login is only required once and your information will not be shared with anybody. If you have logged in successfully, but the setup does not continue, please go back and try again. - + @@ -656,66 +657,66 @@ If you have logged in successfully, but the setup does not continue, please go b - + - + First, let's setup some things. Tell me your name. - + - - + + - - + + - - + + - - + + - - + + - + Lastly, please pick the type of substitution plan you want to see when you launch the app. Click the button at the top to finish setup. - + - + - + - + @@ -755,6 +756,7 @@ Tell me your name. + diff --git a/AvH Plan/ColourViewCell.xib b/AvH Plan/ColourViewCell.xib index 57a45db..fa0939b 100644 --- a/AvH Plan/ColourViewCell.xib +++ b/AvH Plan/ColourViewCell.xib @@ -24,7 +24,7 @@ - + diff --git a/AvH Plan/CustomizationViewController.swift b/AvH Plan/CustomizationViewController.swift index 75782f2..32b7138 100644 --- a/AvH Plan/CustomizationViewController.swift +++ b/AvH Plan/CustomizationViewController.swift @@ -91,15 +91,15 @@ class CustomizationViewController: UITableViewController, UITextFieldDelegate, U alert.addAction(UIAlertAction(title: NSLocalizedString("apply", comment: ""), style: .default, handler: { [weak alert] (action) -> Void in let toastMessage: String switch alert!.textFields![0].text { - case "_FIRSTTIME": + case "_firsttime": self.prefs.set(false, forKey: "setup_finished") toastMessage = "First time flag cleared" break - case "_LOGIN": + case "_login": self.prefs.set(false, forKey: "logged_in") toastMessage = "Login flag cleared" break - case "_DEVCHANNEL": + case "_devchannel": let newValue = !self.prefs.bool(forKey: "subscribed_to_dev_channel") self.prefs.set(newValue, forKey: "subscribed_to_dev_channel") let sub: String @@ -110,11 +110,11 @@ class CustomizationViewController: UITableViewController, UITextFieldDelegate, U } toastMessage = "\(sub) Firebase development channel" break - case "_CRASH": + case "_crash": toastMessage = "" Crashlytics.sharedInstance().crash() break - case "_TESTURLS": + case "_testurls": let newValue = !self.prefs.bool(forKey: "use_test_urls") self.prefs.set(newValue, forKey: "use_test_urls") toastMessage = "Test URLs set to \(newValue)" diff --git a/AvH Plan/MenuViewCell.xib b/AvH Plan/MenuViewCell.xib index 3ef3055..fb9206f 100644 --- a/AvH Plan/MenuViewCell.xib +++ b/AvH Plan/MenuViewCell.xib @@ -24,7 +24,7 @@ - + diff --git a/AvH Plan/PlanViewCell.xib b/AvH Plan/PlanViewCell.xib index abc08c1..8f3dbc1 100644 --- a/AvH Plan/PlanViewCell.xib +++ b/AvH Plan/PlanViewCell.xib @@ -1,11 +1,9 @@ - - - - + + - + @@ -22,45 +20,45 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -113,6 +111,7 @@ + diff --git a/AvH Plan/en.lproj/Localizable.strings b/AvH Plan/en.lproj/Localizable.strings index 7cba5c1..0282c5c 100644 --- a/AvH Plan/en.lproj/Localizable.strings +++ b/AvH Plan/en.lproj/Localizable.strings @@ -82,8 +82,8 @@ "enter_course_title" = "How to enter your courses"; "enter_order_title" = "Information on ordering systems"; "enter_grade_help" = "Enter your current grade to have it appear in your personal plan.\n\nNote:\n\nIn junior phase, put the number and letter together, as in \"5a\".\n\nIn E-Phase, separate them by a space, as in \"18 a\".\n\nIn Q1/Q2, only put in the number, as in \"17\".\n\nEntering multiple grades is not recommended."; -"enter_course_help" = "You need to enter the course abbreviation for every course you want in your personal plan. You can find them on your time table.\n\nHere\'s a few examples:\n\nMathematics in 5th grade (juniors) would be MAT.\n\nAdvanced English in E-Phase (seniors) for the English profile may be ENP1.\n\nBasic Biology in Q1 could be bio1.\n\nIn most cases, entering courses while in junior phase is redundant.\nSeparate multiple courses by spaces, commas are optional.\nCapitalisation is required."; -"enter_order_help" = "You may pick between two ordering systems that dictate the order in which the items on the substitution plan will appear in.\n\nThe default \'app order\' is an algorithm implemented in this app that provides a consistently-sorted substitution plan ordered just like the substitution plan on the website used to; sorted by classes, then by time.\n\n\'Website order\' offers the items on the substitution plan just like they\'re presented on the school website, but since these are not guaranteed to be consistent, \'app order\' is picked by default."; +"enter_course_help" = "You need to enter the course abbreviation for every course you want in your personal plan. You can find them on your time table.\n\nHere\'s a few examples:\n\nMathematics in 5th grade (juniors) would be MAT.\n\nAdvanced English in E-Phase (seniors) for the English profile may be ENP1.\n\nBasic Biology in Q1 could be bio1.\n\nIn most cases, entering courses while in junior phase is redundant.\nSeparate multiple courses by spaces, commas are optional.\nCapitalization is required."; +"enter_order_help" = "You may pick between two ordering systems that decide the order in which the items on the substitution plan will appear in.\n\nThe default \'app order\' is an algorithm implemented in this app that provides a consistently-sorted substitution plan ordered just like the substitution plan on the website used to; sorted by classes, then by time.\n\n\'Website order\' offers the items on the substitution plan just like they\'re presented on the school website, but since these are not guaranteed to be consistent, \'app order\' is picked by default."; "made_by_deniz" = "Developed by Deniz :)"; "customize_course_colors" = "Customize course colors";