projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Translations
[vchess.git]
/
client
/
src
/
components
/
ContactForm.vue
diff --git
a/client/src/components/ContactForm.vue
b/client/src/components/ContactForm.vue
index
45b7c01
..
9ca337d
100644
(file)
--- a/
client/src/components/ContactForm.vue
+++ b/
client/src/components/ContactForm.vue
@@
-13,11
+13,11
@@
div
label(for="mailSubject") {{ st.tr["Subject"] }}
input#mailSubject(type="text")
fieldset
label(for="mailSubject") {{ st.tr["Subject"] }}
input#mailSubject(type="text")
fieldset
- label(for="mailContent") {{ st.tr["Content"] }}
+ label(for="mailContent") {{ st.tr["Content"] }}
*
br
textarea#mailContent
fieldset
br
textarea#mailContent
fieldset
- button(type="button" @click="trySendMessage")
Send
+ button(type="button" @click="trySendMessage")
{{ st.tr["Send"] }}
p#emailSent {{ st.tr["Email sent!"] }}
</template>
p#emailSent {{ st.tr["Email sent!"] }}
</template>
@@
-43,8
+43,8
@@
export default {
if (!!error)
return alert(error);
if (content.value.trim().length == 0)
if (!!error)
return alert(error);
if (content.value.trim().length == 0)
- return alert(
"Empty message"
);
- if (subject.value.trim().length == 0 && !confirm(
"No subject. Send anyway?"
))
+ return alert(
this.st.tr["Empty message"]
);
+ if (subject.value.trim().length == 0 && !confirm(
this.st.tr["No subject. Send anyway?"]
))
return;
// Message sending:
return;
// Message sending: