Skip to content

Instantly share code, notes, and snippets.

@adambankin
Last active January 2, 2016 17:29
Show Gist options
  • Save adambankin/8337592 to your computer and use it in GitHub Desktop.
Save adambankin/8337592 to your computer and use it in GitHub Desktop.

Send/Email

Found in www/shutterstock/comps/email_lightbox.md

{
	type: "server/invalid",
	text: "{% i18n INVALID_EMAIL_SHORT %}Please enter a valid email address.{% endi18n %}"
}

all other errors seem to be handled in client JS with www/shutterstock/js/lightboxes.js

{
	type: "client/technical",
	text: "{% i18n LB_TECHNICAL_ERROR_SENDING %}Unfortunately, there was a technical error sending this lightbox{% endi18n %}"
}

Share

Found in www/shutterstock/comps/share_lightbox.md

{
	type: "server/invalid",
	text: "{% i18n LB_SHARE_USERNAME_NOT_EXIST %}Sorry, we don't know  <b> __USERNAME__ </b>.{% endi18n %}"
}, {
	type: "server/preShared",
	text: "{% i18n LB_ALREADY_SHARED %}You have already shared this lightbox with __USERNAME__{% endi18n %}"
}

all other errors seem to be handled in client JS with www/shutterstock/js/lightboxes.js

{
	type: "client/technical",
	text: "{% i18n LB_TECHNICAL_ERROR_SHARING %}Unfortunately, there was a technical error sharing this lightbox{% endi18n %}"
}

Rename

None found

all other errors seem to be handled in client JS with www/shutterstock/js/lightboxes.js

{
	type: "client/technical",
	text: "{% i18n LB_TECHNICAL_ERROR_RENAMING %}Unfortunately, there was a technical error changing the lightbox name{% endi18n %}"
}

Delete

None found

all other errors seem to be handled in client JS with www/shutterstock/js/lightboxes.js

{
	type: "client/technical",
	text: "{% i18n LB_TECHNICAL_ERROR_DELETING %}Unfortunately, there was a technical error deleting this lightbox{% endi18n %}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment