diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-08 18:07:02 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-08 18:07:02 +0000 |
commit | 8901e01692e6010a371a4aa2e5a9b3649e0bcc2f (patch) | |
tree | 2b8ae7dbdd78a77daadde2deb1fea5f0595b95d9 /js/util.js | |
parent | febe64625e1f5f771715a024e267db42d11a5d5e (diff) |
Added i18n text for @title values in geo sharing actions
Diffstat (limited to 'js/util.js')
-rw-r--r-- | js/util.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/util.js b/js/util.js index 4e588a3b6..0314668d9 100644 --- a/js/util.js +++ b/js/util.js @@ -480,7 +480,7 @@ var SN = { // StatusNet var NDGe = $('#'+SN.C.S.NoticeDataGeo); function removeNoticeDataGeo() { - $('label[for='+SN.C.S.NoticeDataGeo+']').removeClass('checked'); + $('label[for='+SN.C.S.NoticeDataGeo+']').removeClass('checked').attr('title', jQuery.trim($('label[for='+SN.C.S.NoticeDataGeo+']').text())); $('#'+SN.C.S.NoticeDataGeoSelected).hide(); $('#'+SN.C.S.NoticeLat).val(''); @@ -566,7 +566,7 @@ var SN = { // StatusNet } if ($('#'+SN.C.S.NoticeDataGeo).attr('checked') === true || $.cookie(SN.C.S.NoticeDataGeoCookie) === null) { - $('label[for='+SN.C.S.NoticeDataGeo+']').addClass('checked'); + $('label[for='+SN.C.S.NoticeDataGeo+']').addClass('checked').attr('title', NoticeDataGeoShareDisable_text); var S = '<div id="'+SN.C.S.NoticeDataGeoSelected+'" class="'+SN.C.S.Success+'"/>'; var NDGS = $('#'+SN.C.S.NoticeDataGeoSelected); @@ -579,7 +579,7 @@ var SN = { // StatusNet } NDGS = $('#'+SN.C.S.NoticeDataGeoSelected); - NDGS.prepend('<span id="'+SN.C.S.NoticeGeoName+'">Geo</span> <button class="minimize">_</button> <button class="close">×</button>'); + NDGS.prepend('<span id="'+SN.C.S.NoticeGeoName+'">Geo</span> <button class="minimize" title="'+NoticeDataGeoInfoMinimize_text+'">_</button> <button class="close" title="'+NoticeDataGeoShareDisable_text+'">×</button>'); var NLN = $('#'+SN.C.S.NoticeGeoName); NLN.addClass('processing'); |