From eb94a9a991615871df424208f43e4a74d9a5c191 Mon Sep 17 00:00:00 2001 From: teramako Date: Wed, 30 Jul 2008 09:41:54 +0000 Subject: エンコード失敗ã�—ã�Ÿorz git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@16876 d0d07461-0603-4401-acd4-de1884942a52 --- ldr_unread_counter.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ldr_unread_counter.js b/ldr_unread_counter.js index 0288afe..e1564bb 100644 --- a/ldr_unread_counter.js +++ b/ldr_unread_counter.js @@ -2,14 +2,14 @@ * ==VimperatorPlugin== * @name LDR unread counter * @description Display unread count of LDR to statusbar - * @description-ja ¥¹¥Æ¡¼¥¿¥¹¥Ð¡¼¤ËLDR¤Î̤ÆÉ·ï¿ô¤òɽ¼¨ + * @description-ja ステータスãƒ�ーã�«LDRã�®æœªèª­ä»¶æ•°ã‚’表示 * @version 0.1a * @author teramako teramako@gmail.com * ==/VimperatorPlugin== * - * ¤Þ¤ººÇ½é¤Ë + * ã�¾ã�šæœ€åˆ�ã�« * let livedoor_id = "" - * ¤È¥æ¡¼¥¶ID¤òÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ + * ã�¨ãƒ¦ãƒ¼ã‚¶IDを設定ã�—ã�¦ã��ã� ã�•ã�„。 */ liberator.plugins.ldrUnreadCounter = (function(){ @@ -45,7 +45,7 @@ function createStatusButton(){ for (var name in attrs) elm.setAttribute(name, attrs[name]); return elm; } - // FIXME: onclick»þ¤ËLDR¤ò³«¤¯¤è¤¦¤ËÍ×½¤Àµ + // FIXME: onclick時ã�«LDRã‚’é–‹ã��よã�†ã�«è¦�修正 statusPanel = createElement("statusbarpanel", { id: "ldr_unread_count_panel", tooltiptext: "Count: " }); @@ -55,7 +55,7 @@ function createStatusButton(){ },"http://www.w3.org/1999/xhtml"); statusPanel.appendChild(canvas); - // Icon¤À¤±ºÇ½é¤ËÉÁ²è¤¬¤·¤Æ¤ª¤¯ + // Iconã� ã�‘最åˆ�ã�«æ��ç”»ã�Œã�—ã�¦ã�Šã�� var ctx = canvas.getContext("2d"); icon_image.onload=function(){ ctx.drawImage(icon_image,0,0); }; //ctx.drawImage(icon_image,0,0); @@ -77,22 +77,22 @@ function updateCanvasCount(count){ ctx.clearRect(0,0,24,16); ctx.save(); - // LDR Icon ¤ÎÉÁ²è + // LDR Icon ã�®æ��ç”» ctx.drawImage(icon_image,0,0); var width = ctx.canvas.width; var height = ctx.canvas.height; var len = ctx.mozMeasureText(count); - // ̤ÆÉ·ï¿ô¤ÎÇØ·Ê¤ò°Å¤¯¤¹¤ë - // XXX: ¤â¤Ã¤ÈÎɤ¤¿§Ê罸 + // 未読件数ã�®èƒŒæ™¯ã‚’æš—ã��ã�™ã‚‹ + // XXX: ã‚‚ã�£ã�¨è‰¯ã�„色募集 ctx.save(); ctx.fillStyle = "rgba(48,48,48,0.75)"; ctx.fillRect(width-len-1,4,len+1,12); ctx.restore(); - // ̤ÆÉ·ï¿ô¤ÎÉÁ²è - // XXX: ¤â¤Ã¤ÈÎɤ¤¿§Ê罸 + // 未読件数ã�®æ��ç”» + // XXX: ã‚‚ã�£ã�¨è‰¯ã�„色募集 ctx.fillStyle = "Cyan"; ctx.mozTextStyle = "12px sans-serif"; ctx.translate(width - len-1 ,height-1); @@ -107,7 +107,7 @@ function canvasDrawStop(){ ctx.clearRect(0,0,24,16); ctx.drawImage(icon_image,0,0); ctx.save(); - //¶Ø»ß¥Þ¡¼¥¯¤ÎÉÁ²è + //ç¦�止マークã�®æ��ç”» ctx.strokeStyle = "Red"; ctx.lineWidth = "2"; ctx.beginPath(); @@ -175,7 +175,7 @@ var manager = { start: function(){ if (!this.user_id) { liberator.echoerr("LDR Unread Counter: Please :let "+ userIdName + " = "); - // FIXME: ¤Ê¤ó¤«¥¨¥é¡¼¤¬½Ð¤ë¡£¸¶°ø¤¬Îɤ¯Ê¬¤«¤é¤ó + // FIXME: ã�ªã‚“ã�‹ã‚¨ãƒ©ãƒ¼ã�Œå‡ºã‚‹ã€‚原因ã�Œè‰¯ã��分ã�‹ã‚‰ã‚“ //this.stop(); return; } -- cgit v1.2.3