Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/ap_common_flutter_core/lib/src/l10n/strings.g.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
/// To regenerate, run: `dart run slang`
///
/// Locales: 3
/// Strings: 1389 (463 per locale)
/// Strings: 1397 (465 per locale)
///
/// Built on 2026-04-10 at 17:56 UTC
/// Built on 2026-05-10 at 19:48 UTC

// coverage:ignore-file
// ignore_for_file: type=lint, unused_import
Expand Down
22 changes: 19 additions & 3 deletions packages/ap_common_flutter_core/lib/src/l10n/strings_en.g.dart
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ class ApLocalizations with BaseTranslations<AppLocale, ApLocalizations> {
/// en: 'Course Info'
String get courseInfo => 'Course Info';

/// en: 'Class Schedule'
String get course => 'Class Schedule';
/// en: 'Schedule'
String get course => 'Schedule';

/// en: 'Transcript'
String get score => 'Transcript';
Expand Down Expand Up @@ -1313,6 +1313,18 @@ class ApLocalizations with BaseTranslations<AppLocale, ApLocalizations> {
/// en: 'Summer Session'
String get summerSession => 'Summer Session';

/// en: 'Fall'
String get firstSemesterShort => 'Fall';

/// en: 'Spring'
String get secondSemesterShort => 'Spring';

/// en: 'Winter'
String get winterSessionShort => 'Winter';

/// en: 'Summer'
String get summerSessionShort => 'Summer';

/// en: 'Pre-course'
String get preCourse => 'Pre-course';

Expand Down Expand Up @@ -1581,7 +1593,7 @@ extension on ApLocalizations {
'announcementEmpty' => 'Oops!There is no latest news. 😋',
'offlineCourse' => 'Offline Class Schedule',
'courseInfo' => 'Course Info',
'course' => 'Class Schedule',
'course' => 'Schedule',
'score' => 'Transcript',
'leave' => 'Absence Records System',
'bus' => 'Campus Bus System',
Expand Down Expand Up @@ -1863,6 +1875,10 @@ extension on ApLocalizations {
'secondSemester' => 'Spring',
'winterSession' => 'Winter Session',
'summerSession' => 'Summer Session',
'firstSemesterShort' => 'Fall',
'secondSemesterShort' => 'Spring',
'winterSessionShort' => 'Winter',
'summerSessionShort' => 'Summer',
'preCourse' => 'Pre-course',
'summerSessionFirst' => 'Summer Session I',
'summerSessionSpecial' => 'Summer Session (Special)',
Expand Down
6 changes: 5 additions & 1 deletion packages/ap_common_flutter_core/lib/src/l10n/strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"announcementEmpty": "Oops!There is no latest news. 😋",
"offlineCourse": "Offline Class Schedule",
"courseInfo": "Course Info",
"course": "Class Schedule",
"course": "Schedule",
"score": "Transcript",
"leave": "Absence Records System",
"bus": "Campus Bus System",
Expand Down Expand Up @@ -423,6 +423,10 @@
"secondSemester": "Spring",
"winterSession": "Winter Session",
"summerSession": "Summer Session",
"firstSemesterShort": "Fall",
"secondSemesterShort": "Spring",
"winterSessionShort": "Winter",
"summerSessionShort": "Summer",
"preCourse": "Pre-course",
"summerSessionFirst": "Summer Session I",
"summerSessionSpecial": "Summer Session (Special)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"announcementEmpty": "Oops!沒有任何最新消息 😋",
"offlineCourse": "離線課表",
"courseInfo": "課程學習",
"course": "學期課表",
"course": "課表",
"score": "學期成績",
"leave": "缺曠系統",
"bus": "校車系統",
Expand Down Expand Up @@ -423,6 +423,10 @@
"secondSemester": "下學期",
"winterSession": "寒修",
"summerSession": "暑修",
"firstSemesterShort": "上",
"secondSemesterShort": "下",
"winterSessionShort": "寒",
"summerSessionShort": "暑",
"preCourse": "先修",
"summerSessionFirst": "暑修(一)",
"summerSessionSpecial": "暑修(特)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class ApLocalizationsZhHantTw extends ApLocalizations with BaseTranslations<AppL
@override String get announcementEmpty => 'Oops!沒有任何最新消息 😋';
@override String get offlineCourse => '離線課表';
@override String get courseInfo => '課程學習';
@override String get course => '學期課表';
@override String get course => '課表';
@override String get score => '學期成績';
@override String get leave => '缺曠系統';
@override String get bus => '校車系統';
Expand Down Expand Up @@ -463,6 +463,10 @@ class ApLocalizationsZhHantTw extends ApLocalizations with BaseTranslations<AppL
@override String get secondSemester => '下學期';
@override String get winterSession => '寒修';
@override String get summerSession => '暑修';
@override String get firstSemesterShort => '上';
@override String get secondSemesterShort => '下';
@override String get winterSessionShort => '寒';
@override String get summerSessionShort => '暑';
@override String get preCourse => '先修';
@override String get summerSessionFirst => '暑修(一)';
@override String get summerSessionSpecial => '暑修(特)';
Expand Down Expand Up @@ -654,7 +658,7 @@ extension on ApLocalizationsZhHantTw {
'announcementEmpty' => 'Oops!沒有任何最新消息 😋',
'offlineCourse' => '離線課表',
'courseInfo' => '課程學習',
'course' => '學期課表',
'course' => '課表',
'score' => '學期成績',
'leave' => '缺曠系統',
'bus' => '校車系統',
Expand Down Expand Up @@ -936,6 +940,10 @@ extension on ApLocalizationsZhHantTw {
'secondSemester' => '下學期',
'winterSession' => '寒修',
'summerSession' => '暑修',
'firstSemesterShort' => '上',
'secondSemesterShort' => '下',
'winterSessionShort' => '寒',
'summerSessionShort' => '暑',
'preCourse' => '先修',
'summerSessionFirst' => '暑修(一)',
'summerSessionSpecial' => '暑修(特)',
Expand Down
10 changes: 10 additions & 0 deletions packages/ap_common_flutter_core/lib/src/ui/ap_icon.dart
Original file line number Diff line number Diff line change
Expand Up @@ -454,4 +454,14 @@ class ApIcon {
return Icons.home_outlined;
}
}

static IconData get menu {
switch (ApIcon.code) {
case ApIcon.filled:
return Icons.menu;
case ApIcon.outlined:
default:
return Icons.menu_outlined;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export 'src/widgets/ap_network_image.dart';
export 'src/widgets/color_picker_widgets.dart';
export 'src/widgets/course_edit_sheet.dart';
export 'src/widgets/course_palette_picker_sheet.dart';
export 'src/widgets/course_settings.dart';
export 'src/widgets/default_dialog.dart';
export 'src/widgets/dialog_option.dart';
export 'src/widgets/hint_banner.dart';
Expand Down
Loading
Loading