[Slashdotjp-dev 1366] [897] more js translation

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 12月 19日 (金) 19:32:45 JST


Revision: 897
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=897
Author:   tach
Date:     2008-12-19 19:32:45 +0900 (Fri, 19 Dec 2008)

Log Message:
-----------
more js translation

Modified Paths:
--------------
    test/images/Makefile
    test/images/all-minified.js


-------------- next part --------------
Modified: test/images/Makefile
===================================================================
--- test/images/Makefile	2008-12-19 08:03:16 UTC (rev 896)
+++ test/images/Makefile	2008-12-19 10:32:45 UTC (rev 897)
@@ -47,9 +47,12 @@
 $(patsubst %, %.js, $(jses)): %: %.orig
 	cat $@.orig | \
 		sed -e 's/ Firehose / アレたま /' | \
-		sed -e 's/innerHTML="Paused"/innerHTML="停止中"/' | \
-		sed -e 's/innerHTML="Updated"/innerHTML="更新中"/' | \
+		sed -e "s/html('Paused')/html('停止中')/" | \
+		sed -e "s/html('Updated')/html('更新中')/" | \
 		sed -e 's/sitename="Slashdot";/sitename="スラッシュドット ジャパン";/' | \
+		sed -e 's/Update failed or timed out\./更新に失敗したか、タイムアウトしました。/' | \
+		sed -e 's/Click to retry/もう一度やってみる/' | \
+		sed -e 's/Click to unpause/一時停止を解除する/' | \
 		sed -e 's/>Cancel Reply</>返信をキャンセル</' | \
 		sed -e 's/>Loading\.\.\./>読み込み中.../' | \
 		sed -e "s/' comments are beneath your threshhold'/'個のコメントが現在のしきい値以下です'/" | \

Modified: test/images/all-minified.js
===================================================================
--- test/images/all-minified.js	2008-12-19 08:03:16 UTC (rev 896)
+++ test/images/all-minified.js	2008-12-19 10:32:45 UTC (rev 897)
@@ -1454,10 +1454,10 @@
 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()'>Click to unpause</a>");show_modal_box();}
-function firehose_play(context){fh_play=1;setFirehoseAction();firehose_set_options('pause','0',context);$('#message_area').html('');$('#pauseorplay').html('Updated');$('#play').setClass('hide');$('#pause').setClass('show');}
+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_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('Paused');firehose_set_options('pause','1',context);}
+function firehose_pause(context){fh_play=0;$('#pause').setClass('hide');$('#play').setClass('show');$('#pauseorplay').html('停止中');firehose_set_options('pause','1',context);}
 function firehose_add_update_timerid(timerid){fh_update_timerids.push(timerid);}
 function firehose_collapse_entry(id){$('#firehoselist > #firehose-'+id).find('#fhbody-'+id+'.body').setClass('hide').end().setClass('briefarticle');tagsHideBody(id);}
 function firehose_remove_entry(id){var fh=$dom('firehose-'+id);if(fh){var attributes={height:{to:0}};if(!is_ie){attributes.opacity={to:0};}
@@ -1504,9 +1504,9 @@
 return;}
 function getModalPrefs(section,title,tabbed){if(!reskey_static){return show_login_box();}
 $('#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>Loading...</h4><img src='/images/spinner_large.gif'>");ajax_update({op:'firehose_get_media',id:id},'modal_box_content');}
+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('Update failed or timed out.  <a href="#" onclick="firehose_reinit_updates();hide_modal_box();">Click to retry</a>');show_modal_box();}
+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 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";}}}}


Slashdotjp-dev メーリングリストの案内
アーカイブの一覧に戻る