Skip to content

Commit

Permalink
chore: add my to view all courses (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir authored Jul 25, 2024
1 parent d4d589e commit 4170de3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Dashboard/Dashboard/SwiftGen/Strings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ public enum DashboardLocalization {
public static let welcomeBack = DashboardLocalization.tr("Localizable", "HEADER.WELCOME_BACK", fallback: "Welcome back. Let's keep learning.")
}
public enum Learn {
/// All Courses
public static let allCourses = DashboardLocalization.tr("Localizable", "LEARN.ALL_COURSES", fallback: "All Courses")
/// All My Courses
public static let allCourses = DashboardLocalization.tr("Localizable", "LEARN.ALL_COURSES", fallback: "All My Courses")
/// Learn
public static let title = DashboardLocalization.tr("Localizable", "LEARN.TITLE", fallback: "Learn")
/// View All
public static let viewAll = DashboardLocalization.tr("Localizable", "LEARN.VIEW_ALL", fallback: "View All")
/// View All Courses (%@)
/// View All My Courses (%@)
public static func viewAllCourses(_ p1: Any) -> String {
return DashboardLocalization.tr("Localizable", "LEARN.VIEW_ALL_COURSES", String(describing: p1), fallback: "View All Courses (%@)")
return DashboardLocalization.tr("Localizable", "LEARN.VIEW_ALL_COURSES", String(describing: p1), fallback: "View All My Courses (%@)")
}
public enum Category {
/// All
Expand Down
4 changes: 2 additions & 2 deletions Dashboard/Dashboard/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

"LEARN.TITLE" = "Learn";
"LEARN.VIEW_ALL" = "View All";
"LEARN.VIEW_ALL_COURSES" = "View All Courses (%@)";
"LEARN.ALL_COURSES" = "All Courses";
"LEARN.VIEW_ALL_COURSES" = "View All My Courses (%@)";
"LEARN.ALL_COURSES" = "All My Courses";

"LEARN.PRIMARY_CARD.ONE_PAST_ASSIGNMENT" = "1 Past Due Assignment";
"LEARN.PRIMARY_CARD.VIEW_ASSIGNMENTS" = "View Assignments";
Expand Down
3 changes: 2 additions & 1 deletion Dashboard/Dashboard/uk.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

"LEARN.TITLE" = "Навчання";
"LEARN.VIEW_ALL" = "Переглянути все (%@)";
"LEARN.ALL_COURSES" = "Усі курси";
"LEARN.VIEW_ALL_COURSES" = "View All My Courses (%@)";
"LEARN.ALL_COURSES" = "All My Courses";

"LEARN.PRIMARY_CARD.ONE_PAST_ASSIGNMENT" = "1 прострочене завдання";
"LEARN.PRIMARY_CARD.VIEW_ASSIGNMENTS" = "Переглянути завдання";
Expand Down

0 comments on commit 4170de3

Please sign in to comment.