From 91595d8e6f955d9f6daa8d3824b14d12db6db306 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Tue, 8 Aug 2017 21:25:53 +0200 Subject: [PATCH] Added japanese language file --- lang_de.php | 1 + lang_ja.php | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++ onions.php | 2 +- 3 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 lang_ja.php diff --git a/lang_de.php b/lang_de.php index 61ef928..d4e799e 100644 --- a/lang_de.php +++ b/lang_de.php @@ -18,6 +18,7 @@ * along with this program. If not, see . */ +//Native language name: Deutsch $T=[ 'all' => 'Alle', 'lastadded' => 'Zuletzt hinzugefügt', diff --git a/lang_ja.php b/lang_ja.php new file mode 100644 index 0000000..067afcc --- /dev/null +++ b/lang_ja.php @@ -0,0 +1,94 @@ + +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +*/ +$T=[ + 'all' => '全て', + 'lastadded' => '最近の追加', + 'offline' => '1週間以上オフライン', + 'removed' => '削除済', + 'phishingclones'=> '詐欺サイト(クローン)', + 'title' => 'Onionリンクの一覧', + 'error' => 'エラー', + 'nodb' => 'データベースの接続がありません!', + 'addonion' => 'Onion アドレス', + 'adddesc' => '詳細', + 'category' => 'カテゴリ', + 'search' => '検索', + 'searchterm' => '検索キーワード', + 'specialcat' => '特別な分類', + 'categories' => 'カテゴリ', + 'pages' => 'ページ', + 'invalonion' => 'Onionアドレスが不正です。', + 'valid' => '正しいアドレスはこんな感じのはず:', + 'succadd' => 'Onionアドレスを追加しました。', + 'faillocked' => 'ごめん、このOnionアドレスはロックされていて編集できない。', + 'succupddesc' => '説明の更新に成功しました。', + 'succupdcat' => 'カテゴリの変更に成功しました。', + 'alreadyknown' => 'ありがとう、でも、このアドレスはもう知ってるんだ。', + 'searchresult' => '検索キーワード "%1$s" - %2$d 件見つかりました:', + 'link' => 'Onion リンク', + 'description' => '説明', + 'lasttested' => '接続試験日', + 'lastup' => '最後に見た日', + 'timeadded' => '追加された日', + 'actions' => '操作', + 'edit' => '編集', + 'test' => 'テスト', + 'never' => 'なし', + 'cloneof' => 'クローン元(オリジナル)', + 'admintitle' => '管理者の操作画面', + 'password' => 'パスワード', + 'login' => 'ログイン', + 'bitcoins' => 'ビットコイン', + 'remove' => '削除', + 'readd' => '再追加', + 'lock' => '施錠', + 'unlock' => '解錠', + 'promote' => '宣伝', + 'unpromote' => '宣伝解除', + 'phishing' => '詐欺サイト', + 'unphishing' => '詐欺サイトではない', + 'update' => '更新', + 'succremove' => 'Onionアドレスを削除しました。', + 'succreadd' => 'Onionアドレスを再度追加しました。', + 'succlock' => 'Onionアドレスをロックしました。', + 'succunlock' => 'Onionアドレスのロックを解除しました。', + 'succpromote' => 'Onionアドレスを次の日まで宣伝します: %1$s!', + 'succunpromote' => 'Onionアドレスの宣伝をやめました。', + 'succaddphish' => '詐欺サイトを追加しました。', + 'samephish' => '追加できませんでした。詐欺サイトとオリジナルのアドレスが同一です。', + 'succrmphish' => '詐欺サイトを削除しました。', + 'noaction' => '何も操作していません。', + 'wrongpass' => 'パスワードが違います。', + 'testtitle' => 'オンラインテスト', + 'testdesc' => 'ここで、Onionアドレスが「オンライン」かどうかを試すことができます。', + 'testonline' => '対象はオンラインです。', + 'testoffline' => '対象はオフラインです!', + 'testphishing' => '警告。これは知られた詐欺サイト(クローン)です。オリジナルは %s です。', + 'unknown' => '不明', + 'language' => '言語', + 'format' => '形式', + 'pdo_mysqlextrequired' => 'PHPのpdo_mysqlが必要です。先にインストールしてください。', + 'pcreextrequired' => 'PHPのpcre拡張が必要です。先にインストールしてください。', + 'jsonextrequired' => 'PHPのjson拡張が必要です。先にインストールしてください。', + 'curlextrequired' => 'PHPのcurl拡張が必要です。先にインストールしてください。', + 'dateextrequired' => 'PHPのdate拡張が必要です。先にインストールしてください。', + 'succdbcreate' => 'データベースの作成に成功しました!', + 'statusok' => '状態: 良好', +]; diff --git a/onions.php b/onions.php index 88e9b08..b024a48 100644 --- a/onions.php +++ b/onions.php @@ -131,7 +131,7 @@ function send_html(){ $pages=1; foreach($special as $name=>$query){ if($cat===count($categories)+1){ - $num[0]=100; + $num[0]=PER_PAGE; }else{ $num=$db->query('SELECT COUNT(*) FROM ' . PREFIX . "onions WHERE $query;")->fetch(PDO::FETCH_NUM); }