From c647e2630cb0a66d520ed7c962e2232e73c4f546 Mon Sep 17 00:00:00 2001 From: Dave Roman <43916038+MrDave1999@users.noreply.github.com> Date: Tue, 2 Jul 2024 19:14:05 -0500 Subject: [PATCH] feat: Add resource files in English (#256) --- .../Resources/ApiResponses/Messages.en.resx | 382 ++++++++++++++++++ .../Resources/Genders/GenderName.en.resx | 126 ++++++ .../Resources/Kinships/KinshipName.en.resx | 132 ++++++ .../Resources/Statuses/StatusType.en.resx | 138 +++++++ .../Resources/Weekdays/WeekDayName.en.resx | 141 +++++++ 5 files changed, 919 insertions(+) create mode 100644 src/Shared/Resources/ApiResponses/Messages.en.resx create mode 100644 src/Shared/Resources/Genders/GenderName.en.resx create mode 100644 src/Shared/Resources/Kinships/KinshipName.en.resx create mode 100644 src/Shared/Resources/Statuses/StatusType.en.resx create mode 100644 src/Shared/Resources/Weekdays/WeekDayName.en.resx diff --git a/src/Shared/Resources/ApiResponses/Messages.en.resx b/src/Shared/Resources/ApiResponses/Messages.en.resx new file mode 100644 index 00000000..058886fa --- /dev/null +++ b/src/Shared/Resources/ApiResponses/Messages.en.resx @@ -0,0 +1,382 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + The access token is invalid. + + + The user account has already been verified. + + + Dear user {0}, your appointment scheduled at the dental office {1} for day {2} at {3} has been canceled for the following reason: {4} + + + You cannot change the appointment status from the previous day to the current date. + + + The appointment date you selected is not available because it is a public holiday. + + + Hello {0}, thank you for scheduling an appointment at the office {1}. Your appointment information is: +- Dentist: {2} +- Office: {3} +- Dental service: {4} +- Appointment date: {5} +- Appointment time: {6} +{7} + + + You cannot update an appointment that is already cancelled. + + + This appointment has not been assigned for you. + + + Dear user {0}, we remind you that on day {1} at {2} you have an appointment scheduled in the office {3} with the dentist {4} + + + You cannot cancel an appointment that has already passed. Our employees will take care of changing the status of this appointment later. + + + Some appointments could not be canceled because the stipulated date and time had passed. Count: {0}. + + + Sorry, you cannot edit a Super Administrator's data. + + + You cannot edit your own profile. + + + Sorry, you can't delete a Super Administrator. + + + You cannot delete your own profile. + + + You cannot update another user resource. + + + You can only access your own appointments. + + + The email could not be sent. + + + The basic user account has been created successfully. Please confirm your email address. + + + The employee's account has been created successfully. + + + The resource was created successfully. + + + The appointment date and time you have selected is not available. + + + The resource was successfully deleted. + + + Dental service is not available. An invalid ID may have been passed. + + + The dentist is not available on day {0}. Please choose another day. + + + Direct Line token API call failed. + + + The identity document is empty. + + + The identity document is invalid. + + + The identity document must have {0} characters. + + + The identity document must be numerical. + + + The email is not confirmed. + + + The email or password is incorrect. + + + Email successfully verified. + + + The email verification token is invalid. + + + Employee not found. + + + Successfully obtained resource. + + + You do not have a refresh-token to revoke. + + + Inactive user account. + + + One or more validation errors have occurred. + + + The attached file is not an image. + + + Missing claim in token: {0} + + + The dentist does not have morning or afternoon hours. + + + There are no times available. + + + Closed + + + The dental office will be closed during day {0}. + + + You cannot manage the resources of a branch to which it has not been assigned. + + + The old password is incorrect. + + + The password must have at least one lowercase letter. + + + The password must have at least one number. + + + The password must have at least one uppercase letter. + + + The password cannot be empty. + + + The password must be at least 5 characters. + + + The password reset token is invalid. + + + The password has been reset successfully. + + + The amount to pay is ${0} + + + You do not have permissions to grant those roles. + + + The range to pay is from ${0} to ${1} + + + A reference constraint violation has been detected from the database. + + + Refresh-token has expired. + + + Refresh-token is invalid. + + + The resource belongs to another user. + + + Resource not found. + + + Refresh token has been revoked. + + + Error. Choose a valid date. + + + Error. Choose a dental service. + + + Error. Choose a dentist. + + + Error. Choose a dental office. + + + Error. Choose a patient. + + + Error. Choose a schedule. + + + The email was successfully sent to reset the user's password. + + + The dentist attends on {0} + + + You have successfully logged in. + + + The appointments were successfully cancelled. + + + Appointment successfully scheduled. {0}. + + + Thank you for using our service. + +If you would like to schedule another appointment, please write something to start the process again. + + + Total hours available: {0}. + +Select the time for your appointment: + + + An unexpected error occurred, please try again. + + + Unexpected errors were encountered, please try again. + + + A unique restriction violation has been detected from the database. + + + The file is unrecognizable. It cannot be recognized by the system. + + + Access-token has been successfully updated. + + + The resource was successfully updated. + + + The e-mail address you entered is being used by another user. + + + User not found. + + \ No newline at end of file diff --git a/src/Shared/Resources/Genders/GenderName.en.resx b/src/Shared/Resources/Genders/GenderName.en.resx new file mode 100644 index 00000000..472ba7db --- /dev/null +++ b/src/Shared/Resources/Genders/GenderName.en.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Female + + + Male + + \ No newline at end of file diff --git a/src/Shared/Resources/Kinships/KinshipName.en.resx b/src/Shared/Resources/Kinships/KinshipName.en.resx new file mode 100644 index 00000000..179f3876 --- /dev/null +++ b/src/Shared/Resources/Kinships/KinshipName.en.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Child + + + Owner + + + Others + + + Spouse + + \ No newline at end of file diff --git a/src/Shared/Resources/Statuses/StatusType.en.resx b/src/Shared/Resources/Statuses/StatusType.en.resx new file mode 100644 index 00000000..a5038cb1 --- /dev/null +++ b/src/Shared/Resources/Statuses/StatusType.en.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ACTIVE + + + Assisted + + + Canceled + + + INACTIVE + + + Not Assisted + + + Scheduled + + \ No newline at end of file diff --git a/src/Shared/Resources/Weekdays/WeekDayName.en.resx b/src/Shared/Resources/Weekdays/WeekDayName.en.resx new file mode 100644 index 00000000..db68056b --- /dev/null +++ b/src/Shared/Resources/Weekdays/WeekDayName.en.resx @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Friday + + + Monday + + + Saturday + + + Sunday + + + Thursday + + + Tuesday + + + Wednesday + + \ No newline at end of file