X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticeform.php;h=62df5c94100c6b2db4b7d1a2a7386b5653f86e74;hb=cac6d4234a4ef8fea1d487f44062ae06dd9c0c52;hp=02e35a8d79bd50d16e26d6a7806499ca011c31db;hpb=c7b768b4c853693c997b5b47c1fa83c22ecdffdf;p=quix0rs-gnu-social.git diff --git a/lib/noticeform.php b/lib/noticeform.php index 02e35a8d79..62df5c9410 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -211,8 +211,10 @@ class NoticeForm extends Form 'title' => common_local_url('geocode'))); $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));