[Slashdotjp-dev 1397] [928] japanize comments

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 1月 8日 (木) 21:57:14 JST


Revision: 928
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=928
Author:   tach
Date:     2009-01-08 21:57:14 +0900 (Thu, 08 Jan 2009)

Log Message:
-----------
japanize comments

Modified Paths:
--------------
    test/images/Makefile
    test/images/comments.js


-------------- next part --------------
Modified: test/images/Makefile
===================================================================
--- test/images/Makefile	2009-01-08 07:16:31 UTC (rev 927)
+++ test/images/Makefile	2009-01-08 12:57:14 UTC (rev 928)
@@ -68,6 +68,15 @@
 		sed -e 's/Get More Comments/さらにコメントを取得/' | \
 		sed -e 's/Get 1 More Comment/もう一つコメントを取得/' | \
 		sed -e "s/'Get ' + num + ' More Comments'/'さらにコメントを' + num + '個取得'/" | \
+		sed -e "s/'No More Comments At This Threshold'/'このしきい値ではもうコメントはありません'/" | \
+		sed -e 's/>There are no more comments available at Score:--SCORE--, but there might be more at Score:--SCORE1--.</>スコア: --SCORE-- ではもう表示できるコメントはありませんが、スコア: --SCORE1-- ならありそうです。</' | \
+		sed -e 's/>Would you like to lower your threshold for/>しきい値を下げますか?/' | \
+		sed -e 's/value="this"/value="この議論だけ"/' | \
+		sed -e 's/value="all"/value="すべての議論で"/' | \
+		sed -e 's/value="No Thanks"/value="やりません"/' | \
+		sed -e 's/>(Remember that you can always adjust these controls with the slider widget/>(コメントの--LEFTORTOP--に見えるスライダーで制御できますよ)/' | \
+		sed -e 's/visible to the --LEFTORTOP-- of the discussion.)</</' | \
+		sed -e "s/'top' : 'left';/'上の' : '左の';/" | \
 		sed -e 's/hidden comment</個の隠れコメント</' | \
 		sed -e 's/hidden comments</個の隠れコメント</' > $@
 	echo >> $@

Modified: test/images/comments.js
===================================================================
--- test/images/comments.js	2009-01-08 07:16:31 UTC (rev 927)
+++ test/images/comments.js	2009-01-08 12:57:14 UTC (rev 928)
@@ -2213,27 +2213,27 @@
 	if (currents['hidden'] <= 0 || user_threshold <= -1 || no_lower_threshold)
 		return;
 
-	$('#preference_title').html('No More Comments At This Threshold');
+	$('#preference_title').html('このしきい値ではもうコメントはありません');
 	show_modal_box();
 
 	var html = '<div>\
-<p>There are no more comments available at Score:--SCORE--, but there might be more at Score:--SCORE1--.</p><p>Would you like to lower your threshold for \
-<input type="button" value="this" onclick="D2.reduceThreshold(--HIGHLIGHT--,1)"> ';
+<p>スコア: --SCORE-- ではもう表示できるコメントはありませんが、スコア: --SCORE1-- ならありそうです。</p><p>しきい値を下げますか? \
+<input type="button" value="この議論だけ" onclick="D2.reduceThreshold(--HIGHLIGHT--,1)"> ';
 	if (!user_is_anon)
-		html = html + '<input type="button" value="all"  onclick="D2.reduceThreshold(--HIGHLIGHT--)"> ';
+		html = html + '<input type="button" value="すべての議論で"  onclick="D2.reduceThreshold(--HIGHLIGHT--)"> ';
 	html = html + 'discussion(s)?<br>\
-<input type="button" value="No Thanks" onclick="D2.reduceThreshold(-1)">\
+<input type="button" value="やりません" onclick="D2.reduceThreshold(-1)">\
 </p>\
 \
-<p><i>(Remember that you can always adjust these controls with the slider widget \
-visible to the --LEFTORTOP-- of the discussion.)</i></p>\
+<p><i>(コメントの--LEFTORTOP--に見えるスライダーで制御できますよ) \
+</i></p>\
 </div>';
 
 	html = html.replace(/\-\-SCORE\-\-/g, user_threshold);
 	html = html.replace(/\-\-SCORE1\-\-/g, (user_threshold-1));
 	html = html.replace(/\-\-HIGHLIGHT\-\-/g, highlight);
 
-	var leftortop = $('#d2out').hasClass('horizontal') ? 'top' : 'left';
+	var leftortop = $('#d2out').hasClass('horizontal') ? '上の' : '左の';
 	html = html.replace(/\-\-LEFTORTOP\-\-/g, leftortop);
 
 	$('#modal_box_content').html(html);


Slashdotjp-dev メーリングリストの案内
Back to archive index