Notification UI and house invitation

This commit is contained in:
2026-02-19 19:16:26 +07:00
parent 84ed1e6c21
commit fa689ea4aa
35 changed files with 2592 additions and 112 deletions

View File

@@ -13,7 +13,15 @@
"common_per_page": "Show",
"common_select_page_size": "Select page size",
"common_no_list": "Currently there is no data!",
"common_no_notify": "Không có thống báo",
"common_is_required": "{field} is required.",
"common_time_ago_second": "{value} giây trước",
"common_time_ago_minute": "{value} phút trước",
"common_time_ago_hour": "{value} giờ trước",
"common_time_ago_day": "{value} ngày trước",
"common_time_ago_week": "{value} tuần trước",
"common_time_ago_month": "{value} tháng trước",
"common_time_ago_year": "{value} năm trước",
"role_tags": [
{
"match": {
@@ -170,23 +178,42 @@
"houses_page_message_house_not_found": "House not found!",
"houses_page_message_update_house_success": "Updated house successfully!",
"houses_page_message_delete_house_success": "Delete house successfully!",
"houses_page_message_invite_member_success": "Invite member successfully!",
"houses_page_message_cancel_invitation_success": "Cancel invitation successfully!",
"houses_page_house_active_btn": "Active",
"houses_user_page_message_active_house_success": "Active \"<b>{house}</b>\" successfully!",
"houses_user_page_block_action_title": "Action",
"houses_user_page_action_invite_user": "Invite member",
"houses_user_page_invite_label_to": "To",
"houses_user_page_invite_label_status": "Status",
"invitation_not_found": "Invitation not found!",
"notification_page_notify_not_found": "Notification not found!",
"invite_status": [
{
"match": {
"status=pending": "Pending",
"status=accept": "Accept",
"status=reject": "Reject",
"status=accepted": "Accept",
"status=rejected": "Reject",
"status=expired": "Expired",
"status=canceled": "Cancel"
}
}
],
"templates_title_notification": [
{
"match": {
"title=INVITATION_HOUSE": "Invite to join house"
}
}
],
"templates_message_notification": [
{
"match": {
"message=INVITATION_HOUSE": "You have been invited to join house: {name}, do you accept?"
}
}
],
"notification_page_message_invitation_success": "You have been invited to join house!",
"backend_message": [
{
"match": {
@@ -197,7 +224,8 @@
"code=BANNED_USER": "Your account get banned, please contact administrator for more information!",
"code=VALIDATION_ERROR": "Some field value invalid!",
"code=USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION": "User is not a member of the house",
"code=USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION": "This member has already been invited, waiting for the member to join!"
"code=USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION": "This member has already been invited, waiting for the member to join!",
"code=INVITATION_NOT_FOUND": "Invitation not found!"
}
}
]

View File

@@ -13,7 +13,15 @@
"common_per_page": "Hiển thị",
"common_select_page_size": "Chọn số lượng",
"common_no_list": "Hiện tại chưa có dữ liệu nào!",
"common_no_notify": "Không có thống báo",
"common_is_required": "{field} là bắt buộc.",
"common_time_ago_second": "{value} giây trước",
"common_time_ago_minute": "{value} phút trước",
"common_time_ago_hour": "{value} giờ trước",
"common_time_ago_day": "{value} ngày trước",
"common_time_ago_week": "{value} tuần trước",
"common_time_ago_month": "{value} tháng trước",
"common_time_ago_year": "{value} năm trước",
"role_tags": [
{
"match": {
@@ -50,6 +58,8 @@
"ui_ban_btn": "Khóa",
"ui_unban_btn": "Mở khóa",
"ui_invite_btn": "Mời",
"ui_agree_btn": "Đồng ý",
"ui_reject_btn": "Từ chối",
"ui_update_password_btn": "Đặt lại mật khẩu",
"ui_change_role_btn": "Đặt lại quyền hạn",
"ui_edit_user_btn": "Chỉnh sửa người dùng",
@@ -172,23 +182,43 @@
"houses_page_message_house_not_found": "Không tìm thấy nhà này!",
"houses_page_message_update_house_success": "Cập nhật nhà thành công!",
"houses_page_message_delete_house_success": "Xóa nhà thành công!",
"houses_page_message_invite_member_success": "Mời thành viên thành công!",
"houses_page_message_cancel_invitation_success": "Hủy lời mời thành công!",
"houses_page_house_active_btn": "Kích hoạt",
"houses_user_page_message_active_house_success": "Kích hoạt \"<b>{house}</b>\" thành công!",
"houses_user_page_block_action_title": "Hành động",
"houses_user_page_action_invite_user": "Mời thành viên",
"houses_user_page_invite_label_to": "Đến",
"houses_user_page_invite_label_status": "Trạng thái",
"invitation_not_found": "Không tìm thấy lời mời!",
"notification_page_notify_not_found": "Không tìm thấy thống báo!",
"invite_status": [
{
"match": {
"status=pending": "Đang chờ",
"status=accept": "Đồng ý",
"status=reject": "Không đồng ý",
"status=accepted": "Đồng ý",
"status=rejected": "Không đồng ý",
"status=expired": "Hết hạn",
"status=canceled": "Đã hủy"
}
}
],
"templates_title_notification": [
{
"match": {
"title=INVITATION_HOUSE": "Mời tham gia nhà"
}
}
],
"templates_message_notification": [
{
"match": {
"message=INVITATION_HOUSE": "mời bạn tham gia nhà: {name}, bạn có đồng ý không?"
}
}
],
"notification_page_message_invitation_success": "Bạn đã đồng ý tham gia nhà!",
"notification_page_message_invitation_rejected": "Bạn đã từ chối tham gia nhà!",
"backend_message": [
{
"match": {
@@ -199,7 +229,8 @@
"code=BANNED_USER": "Bạn đã bị quản trị viên khóa tài khoản, hãy liên hệ quản trị viên để tìm hiểu thêm!",
"code=VALIDATION_ERROR": "Có giá trị không hợp lệ!",
"code=USER_IS_NOT_A_MEMBER_OF_THE_ORGANIZATION": "Người dùng này không phải thành viên nhà này",
"code=USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION": "Thành viên này đã được mời rồi, còn đang đợi thành viên đồng ý!"
"code=USER_IS_ALREADY_INVITED_TO_THIS_ORGANIZATION": "Thành viên này đã được mời rồi, còn đang đợi thành viên đồng ý!",
"code=INVITATION_NOT_FOUND": "Không tìm thấy lời mời!"
}
}
]