X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticeform.php;h=62df5c94100c6b2db4b7d1a2a7386b5653f86e74;hb=cac6d4234a4ef8fea1d487f44062ae06dd9c0c52;hp=ddfe450556d45775c872a46f79fb7bf698b34d12;hpb=54c18e68dadc37174e8631db76dae064a88920a6;p=quix0rs-gnu-social.git diff --git a/lib/noticeform.php b/lib/noticeform.php index ddfe450556..62df5c9410 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));