mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2026-04-28 18:30:09 +00:00
🌐 l10n
This commit is contained in:
@@ -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";
|
||||
Reference in New Issue
Block a user