svnno****@sourc*****
svnno****@sourc*****
2008年 12月 19日 (金) 19:38:33 JST
Revision: 898 http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=898 Author: tach Date: 2008-12-19 19:38:33 +0900 (Fri, 19 Dec 2008) Log Message: ----------- more js translation (cont.) Modified Paths: -------------- test/images/Makefile test/images/all-minified.js -------------- next part -------------- Modified: test/images/Makefile =================================================================== --- test/images/Makefile 2008-12-19 10:32:45 UTC (rev 897) +++ test/images/Makefile 2008-12-19 10:38:33 UTC (rev 898) @@ -51,6 +51,8 @@ sed -e "s/html('Updated')/html('更新中')/" | \ sed -e 's/sitename="Slashdot";/sitename="スラッシュドット ジャパン";/' | \ sed -e 's/Update failed or timed out\./更新に失敗したか、タイムアウトしました。/' | \ + sed -e 's/Firehose updates failed/アレたまの更新に失敗しました/' | \ + sed -e 's/Firehose Paused due to inactivity/アクティブでないので、アレたまの更新を一時停止しました/' | \ sed -e 's/Click to retry/もう一度やってみる/' | \ sed -e 's/Click to unpause/一時停止を解除する/' | \ sed -e 's/>Cancel Reply</>返信をキャンセル</' | \ Modified: test/images/all-minified.js =================================================================== --- test/images/all-minified.js 2008-12-19 10:32:45 UTC (rev 897) +++ test/images/all-minified.js 2008-12-19 10:38:33 UTC (rev 898) @@ -1454,7 +1454,7 @@ interval=interval+(5*interval*getSecsSinceLastFirehoseAction()/inactivity_timeout);if(getSecsSinceLastFirehoseAction()>inactivity_timeout){interval=3600000;} return interval;} function run_before_update(){var secs=getSecsSinceLastFirehoseAction();if(secs>inactivity_timeout){fh_is_timed_out=1;firehose_inactivity_modal();}} -function firehose_inactivity_modal(){$('#preference_title').html('Firehose Paused due to inactivity');show_modal_box();$('#modal_box_content').html("<a href='#' onclick='setFirehoseAction();hide_modal_box()'>一時停止を解除する</a>");show_modal_box();} +function firehose_inactivity_modal(){$('#preference_title').html('アクティブでないので、アレたまの更新を一時停止しました');show_modal_box();$('#modal_box_content').html("<a href='#' onclick='setFirehoseAction();hide_modal_box()'>一時停止を解除する</a>");show_modal_box();} function firehose_play(context){fh_play=1;setFirehoseAction();firehose_set_options('pause','0',context);$('#message_area').html('');$('#pauseorplay').html('更新中');$('#play').setClass('hide');$('#pause').setClass('show');} function is_firehose_playing(){return fh_play==1;} function firehose_pause(context){fh_play=0;$('#pause').setClass('hide');$('#play').setClass('show');$('#pauseorplay').html('停止中');firehose_set_options('pause','1',context);} @@ -1506,7 +1506,7 @@ $('#preference_title').html(title);ajax_update({op:'getModalPrefs',section:section,reskey:reskey_static,tabbed:tabbed},'modal_box_content',{onComplete:show_modal_box});} function firehose_get_media_popup(id){$('#preference_title').html('Media');show_modal_box();$('#modal_box_content').html("<h4>読み込み中...</h4><img src='/images/spinner_large.gif'>");ajax_update({op:'firehose_get_media',id:id},'modal_box_content');} function firehose_reinit_updates(){fh_is_updating=0;firehose_add_update_timerid(setTimeout(firehose_get_updates,5000));} -function firehose_update_failed_modal(){$('#preference_title').html('Firehose updates failed');$('#modal_box_content').html('更新に失敗したか、タイムアウトしました。 <a href="#" onclick="firehose_reinit_updates();hide_modal_box();">もう一度やってみる</a>');show_modal_box();} +function firehose_update_failed_modal(){$('#preference_title').html('アレたまの更新に失敗しました');$('#modal_box_content').html('更新に失敗したか、タイムアウトしました。 <a href="#" onclick="firehose_reinit_updates();hide_modal_box();">もう一度やってみる</a>');show_modal_box();} function saveModalPrefs(){var params={};params.op='saveModalPrefs';params.data=jQuery("#modal_prefs").serialize();params.reskey=reskey_static;var handlers={onComplete:function(){hide_modal_box();if(document.forms.modal_prefs.refreshable.value){document.location=document.URL;}}};ajax_update(params,'',handlers);} function displayModalPrefHelp(id){var el=$('#'+id);el.css('display',el.css('display')!='none'?'none':'block');} function toggle_filter_prefs(){var fps=$dom('filter_play_status');var fp=$dom('filter_prefs');if(fps){if(fps.className===""){fps.className="hide";if(fp){fp.className="";setTimeout(firehose_slider_init,500);}}else if(fps.className=="hide"){fps.className="";if(fp){fp.className="hide";}}}}