X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticeform.php;h=62df5c94100c6b2db4b7d1a2a7386b5653f86e74;hb=a43598c31ecee2ca77d8c686382c29ee5a0d42b1;hp=5545d03ae98e5355daa2740e1e74850715f1fd6a;hpb=0c4dbf158812da899ffe7969e0f2287bfc15ec5e;p=quix0rs-gnu-social.git diff --git a/lib/noticeform.php b/lib/noticeform.php index 5545d03ae9..62df5c9410 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -209,10 +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 my location.'), true); + $this->out->checkbox('notice_data-geo', _('Share my location'), true); $this->out->elementEnd('div'); - $this->out->inlineScript(' var NoticeDataGeoShareDisable_text = "'._('Do not share my location.').'";'. - ' var NoticeDataGeoInfoMinimize_text = "'._('Hide this info').'";'); + $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));