* add twilio sdk * add twilio config use app version in config * remove default config * phone regex * bun update * create client * fix env var * create Textarea component * move TextInput * allow snippets on labels * update with label and error * move button * make button children snippet * add form props * allow region code * add twilio FROM number * rename to twilioClient * implement simple messaging * add twilio phone number as empty var * format * move twilio client to local on requests * fix story * on second thought, dont use locals since we are only using twilio in one place Don't want to init a twilio client on every request when its only used in on a single page * use i18n for page text * validate env with a script * remove Zod validation when loading env vars
21 lines
826 B
JSON
21 lines
826 B
JSON
{
|
|
"$schema": "https://inlang.com/schema/inlang-message-format",
|
|
"nav_greeting": "Hello {name}!",
|
|
"login_tab_login": "Login",
|
|
"login_tab_register": "Register",
|
|
"login_label_email": "Email",
|
|
"login_label_password": "Password",
|
|
"login_label_name": "Name",
|
|
"login_button_submit": "Submit",
|
|
"login_error_email_required": "Email is required",
|
|
"login_error_password_required": "Password is required",
|
|
"login_error_name_required": "Name is required",
|
|
"login_error_email_incorrect": "Email is incorrect",
|
|
"login_error_password_incorrect": "Password is incorrect",
|
|
"login_error_email_inuse": "Email is already in use",
|
|
"login_error_user_not_found": "The user could not be found",
|
|
"sms_prompt": "Send a Message",
|
|
"sms_label_phone": "Phone Number",
|
|
"sms_label_message": "Message",
|
|
"sms_button_submit": "Send Message"
|
|
}
|