Index: trunk/wp-content/plugins/xpressme/include/custom_functions.php
===================================================================
--- trunk/wp-content/plugins/xpressme/include/custom_functions.php	(revision 140)
+++ trunk/wp-content/plugins/xpressme/include/custom_functions.php	(revision 141)
@@ -264,19 +264,19 @@
 function xpress_conditional_title($display = true)
 {
-	$output = __('Main', 'xpress');
+	$output = __('Main', 'xpressme');
 	if (is_category())
-		$output = sprintf(__('Archive for the &#8216;%s&#8217; Category', 'xpress'), single_cat_title('', false));
+		$output = sprintf(__('Archive for the &#8216;%s&#8217; Category', 'xpressme'), single_cat_title('', false));
 	if (is_tag())
-		$output = sprintf(__('Posts Tagged &#8216;%s&#8217;', 'xpress'), single_tag_title('', false) );
+		$output = sprintf(__('Posts Tagged &#8216;%s&#8217;', 'xpressme'), single_tag_title('', false) );
 	if (is_day())
-		$output = sprintf(_c('Archive for %s|Daily archive page', 'xpress'), get_the_time(__('F jS, Y', 'xpress')));
+		$output = sprintf(__('Archive for %s|Daily archive page', 'xpressme'), get_the_time(__('F jS, Y', 'xpressme')));
 	if (is_month())
-		$output = sprintf(_c('Archive for %s|Monthly archive page', 'xpress'), get_the_time(__('F, Y', 'xpress')));
+		$output = sprintf(__('Archive for %s|Monthly archive page', 'xpressme'), get_the_time(__('F, Y', 'xpressme')));
 	if (is_year())
-		$output = sprintf(_c('Archive for %s|Yearly archive page', 'xpress'), get_the_time(__('Y', 'xpress')));
+		$output = sprintf(__('Archive for %s|Yearly archive page', 'xpressme'), get_the_time(__('Y', 'xpressme')));
 	if (is_author())
-		$output = get_author_name( get_query_var('author')); __('Author Archive', 'xpress');
+		$output = sprintf(__('Archive for the &#8216;%s&#8217; Author', 'xpressme'), get_author_name( get_query_var('author')));
 	if (is_search())
-		$output = __('Search Results', 'xpress');
+		$output = __('Search Results', 'xpressme');
 		
 	if ($display) 
Index: trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php
===================================================================
--- trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 140)
+++ trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 141)
@@ -128,3 +128,29 @@
 }
 
+function block_cache_refresh() 
+{ 
+	global $xoops_db; 
+	$mid = get_xpress_modid(); 
+	$sql = "SELECT bid,options,func_file FROM " . get_xoops_prefix() . "newblocks WHERE mid = $mid"; 
+	$blocks = $xoops_db->get_results($sql); 
+	$mydirname = get_xpress_dir_name(); 
+	require_once get_xpress_dir_path() . '/include/xpress_block_render.php'; 
+
+
+	foreach($blocks as $block){ 
+		$func_file = $block->func_file; 
+		$call_theme_function_name = str_replace(".php", "", $func_file); 
+		$inc_theme_file_name = str_replace(".php", "", $func_file) . '_theme.php'; 
+		$cache_title = str_replace(".php", "", $func_file); 
+		$blockID = $block->bid; 
+		$options = explode("|", $block->options); 
+
+		$block_theme_file = get_block_file_path($mydirname,$inc_theme_file_name); 
+		require_once $block_theme_file; 
+		$block_render = $call_theme_function_name($options);            //The block name and the called function name should be assumed to be the same name.                     
+		$xml['block'] = $block_render; 
+		$xml['block']['options'] = $block->options; 
+		xpress_block_cache_write($mydirname,$cache_title. $blockID, $xml); 
+	} 
+}
 ?>
Index: trunk/wp-content/plugins/xpressme/language/xpressme-ja.po
===================================================================
--- trunk/wp-content/plugins/xpressme/language/xpressme-ja.po	(revision 140)
+++ trunk/wp-content/plugins/xpressme/language/xpressme-ja.po	(revision 141)
@@ -3,5 +3,5 @@
 "Project-Id-Version: XPressME Plugin\n"
 "POT-Creation-Date: \n"
-"PO-Revision-Date: 2009-03-25 00:47+0900\n"
+"PO-Revision-Date: 2009-03-29 13:01+0900\n"
 "Last-Translator: toemon <toychee@toemon.com>\n"
 "Language-Team: \n"
@@ -30,16 +30,16 @@
 
 #: xpressme_class.php:204
-#: xpressme_class.php:410
-#: xpressme_class.php:415
-#: xpressme_class.php:436
-#: xpressme_class.php:441
+#: xpressme_class.php:416
+#: xpressme_class.php:421
+#: xpressme_class.php:442
+#: xpressme_class.php:447
 msgid "YES"
 msgstr "はい"
 
 #: xpressme_class.php:205
-#: xpressme_class.php:411
-#: xpressme_class.php:416
-#: xpressme_class.php:437
-#: xpressme_class.php:442
+#: xpressme_class.php:417
+#: xpressme_class.php:422
+#: xpressme_class.php:443
+#: xpressme_class.php:448
 msgid "NO"
 msgstr "いいえ"
@@ -61,141 +61,141 @@
 msgstr "ログイン時、常に権限を更新する"
 
-#: xpressme_class.php:269
-#: xpressme_class.php:273
-#: xpressme_class.php:276
+#: xpressme_class.php:274
+#: xpressme_class.php:278
+#: xpressme_class.php:281
 msgid "Default Role of WordPress"
 msgstr "WordPressのデフォルト権限"
 
-#: xpressme_class.php:270
-#: xpressme_class.php:274
-#: xpressme_class.php:277
+#: xpressme_class.php:275
+#: xpressme_class.php:279
+#: xpressme_class.php:282
 msgid "Group User Doesn't Register"
 msgstr "ユーザ登録しない"
 
-#: xpressme_class.php:305
+#: xpressme_class.php:311
 msgid "Do Not Comment Integration."
 msgstr "コメント統合しません。"
 
-#: xpressme_class.php:339
+#: xpressme_class.php:345
 msgid "Comment integration with D3Forum"
 msgstr "D3Forumとのコメント統合"
 
-#: xpressme_class.php:341
+#: xpressme_class.php:347
 msgid "Select the forum of D3Forum that does the comment integration from the following lists."
 msgstr "以下のリストからコメント統合をするD3Forumのフォーラムを選択してください。"
 
-#: xpressme_class.php:345
+#: xpressme_class.php:351
 msgid "Select the Type of display of D3Forum comment."
 msgstr "D3Forumの表示タイプを選択"
 
-#: xpressme_class.php:347
-#: xpressme_class.php:350
+#: xpressme_class.php:353
+#: xpressme_class.php:356
 msgid "Flat"
 msgstr "フラット"
 
-#: xpressme_class.php:348
-#: xpressme_class.php:351
+#: xpressme_class.php:354
+#: xpressme_class.php:357
 msgid "Threaded"
 msgstr "スレッド"
 
-#: xpressme_class.php:354
+#: xpressme_class.php:360
 msgid "Select the order of display of D3Forum comment."
 msgstr "D3Forumコメントの表示順を選択"
 
-#: xpressme_class.php:356
-#: xpressme_class.php:359
+#: xpressme_class.php:362
+#: xpressme_class.php:365
 msgid "DESC"
 msgstr "降順"
 
-#: xpressme_class.php:357
-#: xpressme_class.php:360
+#: xpressme_class.php:363
+#: xpressme_class.php:366
 msgid "ASC"
 msgstr "昇順"
 
-#: xpressme_class.php:363
+#: xpressme_class.php:369
 msgid "Number of displays of D3Forum comments."
 msgstr "D3Forumのコメント表示数"
 
-#: xpressme_class.php:367
+#: xpressme_class.php:373
 msgid "The import and the export between Wordpress Comments and the D3Forum Posts can be done. "
 msgstr "WordPressコメントとD3Forumポスト間の一括転送（エクスポート・インポート）"
 
-#: xpressme_class.php:368
+#: xpressme_class.php:374
 msgid "Export to D3Forum"
 msgstr "D3Forumへ一括エクスポート"
 
-#: xpressme_class.php:369
+#: xpressme_class.php:375
 msgid "Import from D3Forum"
 msgstr "D3Forumから一括インポート"
 
-#: xpressme_class.php:400
+#: xpressme_class.php:406
 msgid "XPressME Configuration Page"
 msgstr "XPressMEの設定ページ"
 
-#: xpressme_class.php:404
+#: xpressme_class.php:410
 msgid "Media Upload Base Path"
 msgstr "メディアアップロードのベースパス設定"
 
-#: xpressme_class.php:405
+#: xpressme_class.php:411
 msgid "Use XOOPS UPLOAD PATH"
 msgstr "XOOPSのアップロードパスを使用する。"
 
-#: xpressme_class.php:406
+#: xpressme_class.php:412
 msgid "USE WordPress BASE_PATH"
 msgstr "WordPressのベースパスを使用する。"
 
-#: xpressme_class.php:409
+#: xpressme_class.php:415
 msgid "Thema Sidebar Display"
 msgstr "テーマ表示時にサイドバー表示する。"
 
-#: xpressme_class.php:414
+#: xpressme_class.php:420
 msgid "The change tracking of the post is preserved"
 msgstr "投稿の変更履歴を有効にする。"
 
-#: xpressme_class.php:419
+#: xpressme_class.php:425
 msgid "Display Navi Title of Old Post Link"
 msgstr "古い記事へのナビタイトルを設定"
 
-#: xpressme_class.php:422
+#: xpressme_class.php:428
 msgid "Display Navi Title of Newer Post Link"
 msgstr "新しい記事へのナビタイトルを設定"
 
-#: xpressme_class.php:425
+#: xpressme_class.php:431
 msgid "Select Display name of PostNavi Link"
 msgstr "投稿記事リンクナビのタイトル設定"
 
-#: xpressme_class.php:426
+#: xpressme_class.php:432
 msgid "Title of post"
 msgstr "投稿記事のタイトルを表示"
 
-#: xpressme_class.php:427
+#: xpressme_class.php:433
 msgid "Title of Navi"
 msgstr "ナビタイトルを表示"
 
-#: xpressme_class.php:430
+#: xpressme_class.php:436
 msgid "Adjustment of Navi link display position"
 msgstr "投稿記事ナビリンクの表示位置設定"
 
-#: xpressme_class.php:431
+#: xpressme_class.php:437
 msgid "'Old Post Link' is displayed in the left, and 'Newer Post Link' is displayed in the right"
 msgstr "古い記事へのリンクを左に、より新しい記事へのリンクを右に表示"
 
-#: xpressme_class.php:432
+#: xpressme_class.php:438
 msgid "'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right"
 msgstr "より新しい記事へのリンクを左に、古い記事へのリンクを右に表示"
 
-#: xpressme_class.php:435
+#: xpressme_class.php:441
 msgid "Is the posts author views counted?"
 msgstr "投稿者の閲覧をカウントしますか？"
 
-#: xpressme_class.php:440
+#: xpressme_class.php:446
 msgid "Is SQL debugging window displayed?"
 msgstr "SQLデバッグウィンドを表示しますか？"
 
-#: xpressme_class.php:452
+#: xpressme_class.php:458
 msgid "Update Config"
 msgstr "更新"
 
-#: xpressme_class.php:453
+#: xpressme_class.php:459
 msgid "Preset Config"
 msgstr "プリセット"
@@ -206,2 +206,52 @@
 msgstr "閲覧数 :%d"
 
+#: include/custom_functions.php:266
+msgid "Main"
+msgstr "メイン"
+
+#: include/custom_functions.php:268
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Category"
+msgstr "カテゴリー &#8216;%s&#8217; のアーカイブ"
+
+#: include/custom_functions.php:270
+#, php-format
+msgid "Posts Tagged &#8216;%s&#8217;"
+msgstr ""
+
+#: include/custom_functions.php:272
+#, php-format
+msgid "Archive for %s|Daily archive page"
+msgstr "%sの日別アーカイブ"
+
+#: include/custom_functions.php:272
+msgid "F jS, Y"
+msgstr "Y年n月j日"
+
+#: include/custom_functions.php:274
+#, php-format
+msgid "Archive for %s|Monthly archive page"
+msgstr "%sの月別アーカイブ"
+
+#: include/custom_functions.php:274
+msgid "F, Y"
+msgstr "Y年n月"
+
+#: include/custom_functions.php:276
+#, php-format
+msgid "Archive for %s|Yearly archive page"
+msgstr "%sの年別アーカイブ "
+
+#: include/custom_functions.php:276
+msgid "Y"
+msgstr "Y年"
+
+#: include/custom_functions.php:278
+#, php-format
+msgid "Archive for the &#8216;%s&#8217; Author"
+msgstr "投稿者 &#8216;%s&#8217; のアーカイブ"
+
+#: include/custom_functions.php:280
+msgid "Search Results"
+msgstr "検索結果"
+
