diff options
author | Joe Siltberg <git@joesiltberg.se> | 2019-07-05 10:36:52 +0200 |
---|---|---|
committer | Joe Siltberg <git@joesiltberg.se> | 2019-07-05 11:05:41 +0200 |
commit | 690b4f7b3404b9a9e0da8b51002576b826cb8423 (patch) | |
tree | 88e4d629eb93b049771c1e6d4156d22ce5b7efd1 | |
parent | a181e8aec84bf99037bce9d4dbb05215f886227b (diff) |
Localisation for 'optional' in contact forms.
Fixes #2546
-rw-r--r-- | templates/web/base/contact/enquiry/index.html | 2 | ||||
-rw-r--r-- | templates/web/base/contact/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/contact/enquiry/index.html b/templates/web/base/contact/enquiry/index.html index 8b8bba1b7..c88ca221e 100644 --- a/templates/web/base/contact/enquiry/index.html +++ b/templates/web/base/contact/enquiry/index.html @@ -23,7 +23,7 @@ <div class="form-group"> <label for="form_phone">[% loc('Your phone number') %]</label> - <span class="required-text required-text--optional">optional</span> + <span class="required-text required-text--optional">[% loc('optional') %]</span> <input type="text" class="form-control extra.phone" name="extra.phone" id="form_phone" value="[% report.user.phone | html %]" size="30"> </div> diff --git a/templates/web/base/contact/index.html b/templates/web/base/contact/index.html index 85fa40f89..90a2cd778 100644 --- a/templates/web/base/contact/index.html +++ b/templates/web/base/contact/index.html @@ -92,7 +92,7 @@ <div class="form-group"> <label for="form_phone">[% loc('Your phone number') %]</label> - <span class="required-text required-text--optional">optional</span> + <span class="required-text required-text--optional">[% loc('optional') %]</span> <input type="text" class="form-control extra.phone" name="extra.phone" id="form_phone" value="" size="30"> </div> |