aboutsummaryrefslogtreecommitdiff
path: root/src/constants/strings.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-11 16:11:11 -0500
committerIvan Chen <ivan@tagg.id>2021-01-15 14:19:50 -0500
commit080e76350c2570eeb096fad40fe95f1b766b4539 (patch)
treebcb9f73f2c192f8c34f2064a5c3fd003756c2823 /src/constants/strings.ts
parent1dccfb1d3e9470d81de8d1ec0a0dbb3803372f7d (diff)
created strings.ts and linting
Diffstat (limited to 'src/constants/strings.ts')
-rw-r--r--src/constants/strings.ts46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/constants/strings.ts b/src/constants/strings.ts
new file mode 100644
index 00000000..3b9b6dad
--- /dev/null
+++ b/src/constants/strings.ts
@@ -0,0 +1,46 @@
+/* eslint-disable */
+// Below is the regex to convert this into a csv for the Google Sheet
+// export const (.*) = .*?(['|"|`])(.*)\2;
+export const COMING_SOON_MSG = 'Creating more fun things for you, surprises coming soon 😉';
+export const ERROR_AUTHENTICATION = 'An error occurred during authentication. Please login again!';
+export const ERROR_CATEGORY_CREATION = 'There was a problem creating categories!';
+export const ERROR_CATEGORY_UPDATE = 'There was a problem updating categories!';
+export const ERROR_DELETE_CATEGORY = 'There was a problem while deleting category!';
+export const ERROR_DELETE_MOMENT = 'We were unable to delete that moment 😭 , please try again later!';
+export const ERROR_DOUBLE_CHECK_CONNECTION = 'Please double-check your network connection and retry';
+export const ERROR_DUP_OLD_PWD = 'You may not use an already used password';
+export const ERROR_EMAIL_IN_USE = 'Email already in use, please try another one';
+export const ERROR_FAILED_LOGIN_INFO = 'Login failed, please try re-entering your login information';
+export const ERROR_FAILED_TO_COMMENT = 'Unable to post comment, refresh and try again!';
+export const ERROR_INVALID_INVITATION_CODE = 'Invitation code invalid, try again or talk to the friend that sent it 😬';
+export const ERROR_INVALID_LOGIN = 'Invalid login, Please login again';
+export const ERROR_INVALID_PWD_CODE = 'Looks like you have entered the wrong code';
+export const ERROR_INVALID_VERIFICATION_CODE = 'Invalid verification code, try again. 🤔 Tap the resend code button to get a new one';
+export const ERROR_INVALID_VERIFICATION_CODE_FORMAT = 'Please enter a valid 6 digit code';
+export const ERROR_INVLAID_CODE = 'The code entered is not valid!';
+export const ERROR_LINK = (str: string) => `Something went wrong, we can\'t link with ${str}, Please refresh and try again`;
+export const ERROR_LOGIN = 'There was a problem logging you in, please refresh and try again ';
+export const ERROR_LOGIN_FAILED = 'Login failed 😓';
+export const ERROR_NEXT_PAGE = 'There was a problem while loading the next page 😓, try again in a couple minutes. Were sorry for the inconvenience.';
+export const ERROR_PROFILE_CREATION = 'Profile creation failed 😓';
+export const ERROR_PWD_ACCOUNT = (str: string) => `Please make sure that the email / username entered is registered with us. You may contact our customer support at ${str}`;
+export const ERROR_REGISTRATION = (str: string) => `Registration failed 😔, ${str}`;
+export const ERROR_SELECT_CLASS_YEAR = 'Please select Class Year';
+export const ERROR_SERVER_DOWN = 'mhm, looks like our servers are down, please refresh and try again in a few mins';
+export const ERROR_SOMETHING_WENT_WRONG = "Something went wrong! We don't know what happened... Please give it another try";
+export const ERROR_SOMETHING_WENT_WRONG_REFRESH = "Ha, looks like this one's on us, please refresh and try again";
+export const ERROR_SOMETHING_WENT_WRONG_RELOAD = "You broke it, Just kidding! we don't know what happened... Please reload the app and try again";
+export const ERROR_UNABLE_TO_FIND_PROFILE = 'We were unable to find this profile 😔';
+export const ERROR_UNABLE_TO_VIEW_PROFILE = 'You cannot view this profile';
+export const ERROR_UPLOAD = 'An error occurred while uploading. Please try again!';
+export const ERROR_UPLOAD_LARGE_PROFILE_PIC = 'Cant have the first image seen on the profile be blank, please upload a large picture ';
+export const ERROR_UPLOAD_MOMENT = 'Unable to upload moment!';
+export const ERROR_UPLOAD_SMALL_PROFILE_PIC = 'Cant have a profile without a pic to represent you, please upload a small profile picture ';
+export const ERROR_VERIFICATION_FAILED = 'Verification failed 😓';
+export const MARKED_AS_MSG = (str: string) => `Marked as ${str}`;
+export const MOMENT_DELETED_MSG = 'Moment deleted!';
+export const SUCCESS_CATEGORY_DELETE = 'The category was successfully deleted!';
+export const SUCCESS_LINK = (str: string) => `Successfully linked ${str} 🎉`;
+export const SUCCESS_PIC_UPLOAD = 'The picture was uploaded successfully!';
+export const SUCCESS_PWD_RESET = 'Your password was reset successfully';
+export const SUCCESS_VERIFICATION_CODE_SENT = 'New verification code sent! Check your phone messages for your code';