Skip to content

Commit

Permalink
Update messages.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegRyazancev committed Mar 22, 2024
1 parent 1fa483a commit a76d058
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 14 deletions.
2 changes: 2 additions & 0 deletions admin/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#EXCEPTION MESSAGES
OS-ADMIN-101-400=Invalid request status: {0}
OS-ADMIN-201-404=Request not found by this id: {0}
OS-ADMIN-SERVICE_UNAVAILABLE-503=The {0} service is currently unavailable. Please try again later
OS-ADMIN-SECURITY=Security Exception: {0}
OS-ADMIN-INTERNAL-500=Internal: {0}
#SERVICE MESSAGES
service.admin.change_status_request=Request to {0} {1} with id: {2} was successfully sent
service.admin.toggle_account_lock_request=Request to set locked to: {0} of user with id: {1} was successfully sent
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#EXCEPTION MESSAGES
OS-API_GATEWAY-101-401=Unauthorized
OS-API_GATEWAY-102-401=Unauthorized request
OS-API_GATEWAY-103-401=Insufficient privileges for admin microservice
Expand Down
2 changes: 2 additions & 0 deletions auth/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#EXCEPTION MESSAGES
OS-AUTH-101-403=Access denied. We're sorry {0}, but this account was deleted at {1}
OS-AUTH-102-403=Invalid refresh token
OS-AUTH-201-400=This email address has already been confirmed
Expand All @@ -11,4 +12,5 @@ OS-AUTH-403-404=The user was not found with this customer id {0}
OS-AUTH-SERVICE_UNAVAILABLE-503=The {0} service is currently unavailable. Please try again later
OS-AUTH-SECURITY=Security Exception: {0}
OS-AUTH-INTERNAL-500=Internal: {0}
#SERVICE MESSAGES
service.auth.email_confirmed_successfully=Email confirmed successfully!
2 changes: 2 additions & 0 deletions customer/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#EXCEPTION MESSAGES
OS-CUSTOMER-101-403=You do not have permission to access this customer with id: {0}
OS-CUSTOMER-102-403=You do not have permission to access this notifications
OS-CUSTOMER-103-403=You do not have permission to access this private notification with id: {0}
Expand All @@ -8,4 +9,5 @@ OS-CUSTOMER-301-404=Customer not found with this ID: {0}
OS-CUSTOMER-SERVICE_UNAVAILABLE-503=The {0} service is currently unavailable. Please try again later
OS-CUSTOMER-SECURITY=Security Exception: {0}
OS-CUSTOMER-INTERNAL-500=Internal: {0}
#SERVICE MESSAGES
service.customer.deleted=Customer with id: {0} was successfully deleted
1 change: 1 addition & 0 deletions logo/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#EXCEPTION MESSAGES
OS-LOGO-101-400=Logo upload failed: {0}
OS-LOGO-102-400=Logo must have name
OS-LOGO-INTERNAL-500=Internal: {0}
4 changes: 3 additions & 1 deletion mail/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#EXCEPTION MESSAGES
OS-MAIL-INTERNAL-500=Internal: {0}
#SERVICE MESSAGES
service.mail.rejected_registration_subject=Dear {0}! Your registration request were rejected!
service.mail.accepted_registration_subject=Dear {0}! Your registration request were accepted!
service.mail.confirm_mail_subject=Please, confirm your email address
service.mail.registration_welcome_subject=Thank you for registration, {0}!
OS-MAIL-INTERNAL-500=Internal: {0}
12 changes: 5 additions & 7 deletions notification/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#EXCEPTION MESSAGES
OS-NOTIFICATION-101-404={0} notification with id {1} not found
OS-NOTIFICATION-201-400=Invalid scope provided
OS-NOTIFICATION-SERVICE_UNAVAILABLE-503=The {0} service is currently unavailable. Please try again later
OS-NOTIFICATION-INTERNAL-500=Internal: {0}
#CONTENT MESSAGES
content.notification.product_reg_accepted.header=Product Registration Accepted
content.notification.product_reg_accepted.body=Dear User, your request to register the new product '{0}' has been accepted. The product has been successfully registered.
Expand All @@ -23,10 +28,3 @@ content.notification.object_activate.header={0} Was Activated
content.notification.object_activate.body=Dear User, '{0}' was activated.
content.notification.new_reg_request_received.header=New Registration Request
content.notification.new_reg_request_received.body=Dear admin, you have new registration request of {0}.
#EXCEPTION MESSAGES
OS-NOTIFICATION-101-404={0} notification with id {1} not found
OS-NOTIFICATION-201-400=Invalid scope provided
OS-NOTIFICATION-SERVICE_UNAVAILABLE-503=The {0} service is currently unavailable. Please try again later
OS-NOTIFICATION-INTERNAL-500=Internal: {0}


2 changes: 2 additions & 0 deletions organization/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#EXCEPTION MESSAGES
OS-ORGANIZATION-101-403=You do not have permission to access this {0} with id {1}
OS-ORGANIZATION-102-403=Access denied because your account is locked
OS-ORGANIZATION-103-403=Access denied because your email has not been confirmed
Expand All @@ -8,5 +9,6 @@ OS-ORGANIZATION-301-404=Organization not found with this id {0}
OS-ORGANIZATION-SERVICE_UNAVAILABLE-503=The {0} service is currently unavailable. Please try again later
OS-ORGANIZATION-SECURITY=Security Exception: {0}
OS-ORGANIZATION-INTERNAL-500=Internal: {0}
#SERVICE MESSAGES
service.organization.logo_uploaded=Logo successfully uploaded to organization with id: {0}. File name: {1}
service.organization.deleted=Organization with id: {0} successfully deleted
6 changes: 3 additions & 3 deletions product/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#EXCEPTION MESSAGES
OS-PRODUCT-101-403=You do not have permission to access this {0} with id {1}
OS-PRODUCT-102-403=Access denied because your account is locked
OS-PRODUCT-103-403=Access denied because your email has not been confirmed
Expand All @@ -6,8 +7,7 @@ OS-PRODUCT-201-400=A product with this name already exists
OS-PRODUCT-301-404=Product not found by id: {0}
OS-PRODUCT-302-404=Product not found by organization id: {0}
OS-PRODUCT-SERVICE_UNAVAILABLE-503=The {0} service is currently unavailable. Please try again later
OS-PRODUCT-INTERNAL-500=Internal: {0}
OS-PRODUCT-SECURITY=Security Exception: {0}

OS-PRODUCT-INTERNAL-500=Internal: {0}
#SERVICE MESSAGES
service.product.deleted=Product was successfully deleted

3 changes: 2 additions & 1 deletion purchase/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#EXCEPTION MESSAGES
OS-PURCHASE-101-404=Purchase not found with this id: {0}
OS-PURCHASE-201-400=The customer does not have enough funds to purchase the product
OS-PURCHASE-301-409=No products are currently available in stock
OS-PURCHASE-SERVICE_UNAVAILABLE-503=The {0} service is currently unavailable. Please try again later
OS-PURCHASE-INTERNAL-500=Internal: {0}
OS-PURCHASE-SECURITY=Security Exception: {0}
OS-PURCHASE-INTERNAL-500=Internal: {0}
5 changes: 3 additions & 2 deletions review/src/main/resources/messages/messages.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#EXCEPTION MESSAGES
OS-REVIEW-101-400=A review with the same purchase ID: {0} already exists
OS-REVIEW-SERVICE_UNAVAILABLE-503=The {0} service is currently unavailable. Please try again later
OS-REVIEW-INTERNAL-500=Internal: {0}
OS-REVIEW-SECURITY=Security Exception: {0}

OS-REVIEW-INTERNAL-500=Internal: {0}
#SERVICE MESSAGES
service.review.deleted={0} reviews was successfully deleted

0 comments on commit a76d058

Please sign in to comment.