summaryrefslogtreecommitdiff
path: root/lib/noticeform.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-13 15:36:42 +0000
committerSarven Capadisli <csarven@status.net>2010-01-13 15:36:42 +0000
commit2000d2d36b466615e3867f0002ddeaf793cf666f (patch)
tree2dbe492103748d18e9e7a2c110323906d151df13 /lib/noticeform.php
parent9b2fdefe3925ca807ccf80339bef019306096cc6 (diff)
Added timeout error handling for geo location
Diffstat (limited to 'lib/noticeform.php')
-rw-r--r--lib/noticeform.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/noticeform.php b/lib/noticeform.php
index 41504b735..a00615ce7 100644
--- a/lib/noticeform.php
+++ b/lib/noticeform.php
@@ -213,7 +213,8 @@ class NoticeForm extends Form
$this->out->elementEnd('div');
$this->out->inlineScript(' var NoticeDataGeo_text = {'.
'ShareDisable: "'._('Do not share my location').'",'.
- 'InfoMinimize: "'._('Hide this info').'"'.
+ 'InfoMinimize: "'._('Hide this info').'",'.
+ 'ErrorTimeout: "'._('Sorry, retrieving your geo location is taking longer than expected, please try again later').'"'.
'}');
}