X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticeform.php;h=7278c41a9cf2640323e34430c79c7118d3e6b8e7;hb=c6f09306b1c72296db8b55500a5d6a2ea8cd5dd2;hp=ddfe450556d45775c872a46f79fb7bf698b34d12;hpb=54c18e68dadc37174e8631db76dae064a88920a6;p=quix0rs-gnu-social.git diff --git a/lib/noticeform.php b/lib/noticeform.php index ddfe450556..7278c41a9c 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -209,8 +209,12 @@ class NoticeForm extends Form $this->out->elementStart('div', array('id' => 'notice_data-geo_wrap', 'title' => common_local_url('geocode'))); - $this->out->checkbox('notice_data-geo', _('Share your location'), true); + $this->out->checkbox('notice_data-geo', _('Share my location'), true); $this->out->elementEnd('div'); + $this->out->inlineScript(' var NoticeDataGeo_text = {'. + 'ShareDisable: "'._('Do not share my location').'",'. + 'ErrorTimeout: "'._('Sorry, retrieving your geo location is taking longer than expected, please try again later').'"'. + '}'); } Event::handle('EndShowNoticeFormData', array($this)); @@ -229,6 +233,6 @@ class NoticeForm extends Form 'class' => 'submit', 'name' => 'status_submit', 'type' => 'submit', - 'value' => _('Send'))); + 'value' => _m('Send button for sending notice', 'Send'))); } }