diff --git a/assets/translations/en-US.json b/assets/translations/en-US.json index 41eabda..001d012 100644 --- a/assets/translations/en-US.json +++ b/assets/translations/en-US.json @@ -381,9 +381,23 @@ "celebrateBirthday": "Happy birthday, {}!", "celebrateMerryXmas": "Merry christmas, {}!", "celebrateNewYear": "Happy new year, {}!", + "celebrateValentineDay": "Today is valentine's day, {}!", + "celebrateLaborDay": "Today is labor day, {}.", + "celebrateMotherDay": "Today is mother's day, {}.", + "celebrateChildrenDay": "Today is children's day, {}!", + "celebrateFatherDay": "Today is father's day, {}.", + "celebrateHalloween": "Happy halloween, {}!", + "celebrateThanksgiving": "Today is thanksgiving day, {}!", "pendingBirthday": "Birthday in {}", "pendingMerryXmas": "Christmas in {}", "pendingNewYear": "New year in {}", + "pendingValentineDay": "Valentine's day in {}", + "pendingLaborDay": "Labor day in {}", + "pendingMotherDay": "Mother's day in {}", + "pendingChildrenDay": "Children's day in {}", + "pendingFatherDay": "Father's day in {}", + "pendingHalloween": "Halloween in {}", + "pendingThanksgiving": "Thanksgiving day in {}", "friendNew": "Add Friend", "friendRequests": "Friend Requests", "friendRequestsDescription": { diff --git a/assets/translations/zh-CN.json b/assets/translations/zh-CN.json index 43dd431..a90afa8 100644 --- a/assets/translations/zh-CN.json +++ b/assets/translations/zh-CN.json @@ -379,9 +379,23 @@ "celebrateBirthday": "生日快乐,{}!", "celebrateMerryXmas": "圣诞快乐,{}!", "celebrateNewYear": "新年快乐,{}!", + "celebrateValentineDay": "今天是情人节,{}!", + "celebrateLaborDay": "今天是劳动节,{}。", + "celebrateMotherDay": "今天是母亲节,{}。", + "celebrateChildrenDay": "今天是儿童节,{}!", + "celebrateFatherDay": "今天是父亲节,{}。", + "celebrateHalloween": "快乐在圣诞节,{}!", + "celebrateThanksgiving": "今天是感恩节,{}!", "pendingBirthday": "{} 过生日", "pendingMerryXmas": "{} 过圣诞节", "pendingNewYear": "{} 跨年", + "pendingValentineDay": "{} 过情人节", + "pendingLaborDay": "{} 过劳动节", + "pendingMotherDay": "{} 过母亲节", + "pendingChildrenDay": "{} 过儿童节", + "pendingFatherDay": "{} 过父亲节", + "pendingHalloween": "{} 过圣诞节", + "pendingThanksgiving": "{} 过感恩节", "friendNew": "添加好友", "friendRequests": "好友请求", "friendRequestsDescription": { diff --git a/assets/translations/zh-HK.json b/assets/translations/zh-HK.json index 4d1a265..6eb690f 100644 --- a/assets/translations/zh-HK.json +++ b/assets/translations/zh-HK.json @@ -379,9 +379,23 @@ "celebrateBirthday": "生日快樂,{}!", "celebrateMerryXmas": "聖誕快樂,{}!", "celebrateNewYear": "新年快樂,{}!", + "celebrateValentineDay": "今天是情人節,{}!", + "celebrateLaborDay": "今天是勞動節,{}。", + "celebrateMotherDay": "今天是母親節,{}。", + "celebrateChildrenDay": "今天是兒童節,{}!", + "celebrateFatherDay": "今天是父親節,{}。", + "celebrateHalloween": "快樂在聖誕節,{}!", + "celebrateThanksgiving": "今天是感恩節,{}!", "pendingBirthday": "{} 過生日", "pendingMerryXmas": "{} 過聖誕節", "pendingNewYear": "{} 跨年", + "pendingValentineDay": "{} 過情人節", + "pendingLaborDay": "{} 過勞動節", + "pendingMotherDay": "{} 過母親節", + "pendingChildrenDay": "{} 過兒童節", + "pendingFatherDay": "{} 過父親節", + "pendingHalloween": "{} 過聖誕節", + "pendingThanksgiving": "{} 過感恩節", "friendNew": "添加好友", "friendRequests": "好友請求", "friendRequestsDescription": { diff --git a/assets/translations/zh-TW.json b/assets/translations/zh-TW.json index 2b93fe5..5ca6d6e 100644 --- a/assets/translations/zh-TW.json +++ b/assets/translations/zh-TW.json @@ -379,9 +379,23 @@ "celebrateBirthday": "生日快樂,{}!", "celebrateMerryXmas": "聖誕快樂,{}!", "celebrateNewYear": "新年快樂,{}!", + "celebrateValentineDay": "今天是情人節,{}!", + "celebrateLaborDay": "今天是勞動節,{}。", + "celebrateMotherDay": "今天是母親節,{}。", + "celebrateChildrenDay": "今天是兒童節,{}!", + "celebrateFatherDay": "今天是父親節,{}。", + "celebrateHalloween": "快樂在聖誕節,{}!", + "celebrateThanksgiving": "今天是感恩節,{}!", "pendingBirthday": "{} 過生日", "pendingMerryXmas": "{} 過聖誕節", "pendingNewYear": "{} 跨年", + "pendingValentineDay": "{} 過情人節", + "pendingLaborDay": "{} 過勞動節", + "pendingMotherDay": "{} 過母親節", + "pendingChildrenDay": "{} 過兒童節", + "pendingFatherDay": "{} 過父親節", + "pendingHalloween": "{} 過聖誕節", + "pendingThanksgiving": "{} 過感恩節", "friendNew": "新增好友", "friendRequests": "好友請求", "friendRequestsDescription": { diff --git a/lib/providers/special_day.dart b/lib/providers/special_day.dart index fbb3d5c..8530e85 100644 --- a/lib/providers/special_day.dart +++ b/lib/providers/special_day.dart @@ -6,6 +6,13 @@ import 'package:surface/providers/userinfo.dart'; const Map kSpecialDays = { // Birthday is dynamically generated according to the user's profile 'NewYear': (1, 1), + 'ValentineDay': (2, 14), + 'LaborDay': (5, 1), + 'MotherDay': (5, 11), + 'ChildrenDay': (6, 1), + 'FatherDay': (8, 8), + 'Halloween': (10, 31), + 'Thanksgiving': (11, 28), 'MerryXmas': (12, 25), }; @@ -13,6 +20,13 @@ const Map kSpecialDaysSymbol = { 'Birthday': '🎂', 'NewYear': '🎉', 'MerryXmas': '🎄', + 'ValentineDay': '💑', + 'LaborDay': '🏋️', + 'MotherDay': '👩', + 'ChildrenDay': '👶', + 'FatherDay': '👨', + 'Halloween': '🎃', + 'Thanksgiving': '🎅', }; class SpecialDayProvider {