X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoticeform.php;h=7278c41a9cf2640323e34430c79c7118d3e6b8e7;hb=49f1b1e8b290de22381a0e25b2b612bd6ddaf79d;hp=02e35a8d79bd50d16e26d6a7806499ca011c31db;hpb=60d6d73fcad007d525c037f655c21fa774d75d2b;p=quix0rs-gnu-social.git diff --git a/lib/noticeform.php b/lib/noticeform.php index 02e35a8d79..7278c41a9c 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)); @@ -231,6 +233,6 @@ class NoticeForm extends Form 'class' => 'submit', 'name' => 'status_submit', 'type' => 'submit', - 'value' => _('Send'))); + 'value' => _m('Send button for sending notice', 'Send'))); } }