🌐 l10n

This commit is contained in:
2021-02-02 22:32:32 +01:00
committed by Patrick Müller
parent b8b1439bf1
commit c8a6ba8008
6 changed files with 63 additions and 23 deletions
@@ -24,7 +24,7 @@ private class Localizer {
}
extension String {
func localized(tableName: String = "Localizable", plural: Bool) -> String {
func localized(tableName: String = "Localizable", plural: Bool = false) -> String {
return Localizer.sharedInstance.localize(string: self, tableName: tableName, plural: plural)
}
}
@@ -0,0 +1,13 @@
/*
HomeView.strings
DHBW-Service
Created by Patrick Müller on 02.02.21.
*/
"today" = "Heute";
"tomorrow" = "Morgen";
"upcomingExams" = "Nächste Klausuren";
"noLectures" = "Keine Vorlesungen";
"noExams" = "Keine Klausuren";
@@ -0,0 +1,13 @@
/*
HomeView.strings
DHBW-Service
Created by Patrick Müller on 02.02.21.
*/
"today" = "Today";
"tomorrow" = "Tomorrow";
"upcomingExams" = "Upcoming exams";
"noLectures" = "No lectures";
"noExams" = "No exams";