Changed Japanese catalog and fixed some bugs.

git-svn-id: https://plugins.svn.wordpress.org/sqlite-integration/trunk@773009 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
kjmtsh 2013-09-16 01:46:22 +00:00
parent c906f23f46
commit d7f68d81a6
3 changed files with 32 additions and 2 deletions

Binary file not shown.

View File

@ -1337,3 +1337,30 @@ msgstr "あなたのデータベースは正常です。修復の必要はあり
msgid "You can check your database and fix it if needed." msgid "You can check your database and fix it if needed."
msgstr "データベースのチェックと修復をすることができます。" msgstr "データベースのチェックと修復をすることができます。"
msgid "Table name is not selected."
msgstr "テーブル名が選択されていません。"
msgid "There's no such table."
msgstr "テーブルが存在しません。"
msgid "Columns Information"
msgstr "カラム情報"
msgid ""
"Select a table name and click \"Display Columns\" button, and you'll see "
"the column property of that table. This information is for debug use."
msgstr ""
"テーブル名を選択して「カラムを表示」ボタンをクリックしてください。そのテーブルのカラム属性を表示します。"
"この情報はデバッグのために利用されます。"
msgid ""
"Display columns in the selected table.\\n\\nClick [Cancel] to stop, [OK] to continue."
msgstr ""
"選択したテーブルのカラムを表示します。\\n\\nやめるなら、[キャンセル]を、続けるんら、[OK]をクリックしてください。"
msgid "Columns In %s"
msgstr "%sのカラム"
msgid "Columns Info"
msgstr "カラム情報"

View File

@ -351,7 +351,7 @@ class DatabaseMaintenance {
$message = __('Table name is not selected.', $domain); $message = __('Table name is not selected.', $domain);
return $message; return $message;
} elseif (!in_array($_POST['table'], $tables)) { } elseif (!in_array($_POST['table'], $tables)) {
$message = __('There\'s no such table', $domain); $message = __('There\'s no such table.', $domain);
return $message; return $message;
} else { } else {
$table_name = $_POST['table']; $table_name = $_POST['table'];
@ -391,7 +391,7 @@ class DatabaseMaintenance {
} }
function show_maintenance_page() { function show_maintenance_page() {
global $utils; global $utils, $wpdb;
$domain = $utils->text_domain; $domain = $utils->text_domain;
if (is_multisite() && !current_user_can('manage_network_options')) { if (is_multisite() && !current_user_can('manage_network_options')) {
die(__('You are not allowed to access this page!', $domain)); die(__('You are not allowed to access this page!', $domain));
@ -440,6 +440,9 @@ class DatabaseMaintenance {
<p> <p>
<?php _e('Select a table name and click "Display Columns" button, and you\'ll see the column property of that table. This information is for debug use.', $domain);?> <?php _e('Select a table name and click "Display Columns" button, and you\'ll see the column property of that table. This information is for debug use.', $domain);?>
</p> </p>
<?php
$wp_tables = $wpdb->tables('all');
?>
<form action="" method="post"> <form action="" method="post">
<?php <?php
if (function_exists('wp_nonce_field')) { if (function_exists('wp_nonce_field')) {