summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-08 18:07:02 +0000
committerSarven Capadisli <csarven@status.net>2010-01-08 18:07:02 +0000
commit8901e01692e6010a371a4aa2e5a9b3649e0bcc2f (patch)
tree2b8ae7dbdd78a77daadde2deb1fea5f0595b95d9 /lib
parentfebe64625e1f5f771715a024e267db42d11a5d5e (diff)
Added i18n text for @title values in geo sharing actions
Diffstat (limited to 'lib')
-rw-r--r--lib/noticeform.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/noticeform.php b/lib/noticeform.php
index ddfe45055..f0b704e87 100644
--- a/lib/noticeform.php
+++ b/lib/noticeform.php
@@ -209,8 +209,10 @@ 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 NoticeDataGeoShareDisable_text = "'._('Do not share my location.').'";'.
+ ' var NoticeDataGeoInfoMinimize_text = "'._('Hide this info').'";');
}
Event::handle('EndShowNoticeFormData', array($this));