From a26225ea3282ebad186fb9ba2662647dbde69943 Mon Sep 17 00:00:00 2001 From: mico12029 Date: Wed, 3 Jun 2015 13:57:57 +0900 Subject: [PATCH 1/3] fixed called class name to "WPPasswordHash" Fixed "class PasswordHash not found" on OC8.0 https://github.com/EELV-fr/user_wordpress/issues/20 --- user_wordpress.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_wordpress.php b/user_wordpress.php index bbd0787..5440c79 100644 --- a/user_wordpress.php +++ b/user_wordpress.php @@ -82,7 +82,7 @@ public function checkPassword($uid, $password){ $hash = $row['user_pass']; require_once('apps/user_wordpress/class-phpass.php'); - $wp_hasher = new PasswordHash(8, TRUE); + $wp_hasher = new WPPasswordHash(8, TRUE); $check = $wp_hasher->CheckPassword($password, $hash); if ($check==true) { From ea1383ac790a86cb907f4b307d1ddd4dcec1c53d Mon Sep 17 00:00:00 2001 From: mico12029 Date: Wed, 14 Oct 2015 13:10:45 +0900 Subject: [PATCH 2/3] add ja-JP --- l10n/ja.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 l10n/ja.php diff --git a/l10n/ja.php b/l10n/ja.php new file mode 100644 index 0000000..6c5146c --- /dev/null +++ b/l10n/ja.php @@ -0,0 +1,34 @@ + "Name", +"Visit" => "Visit", +"Creation" => "作成", +"my sites" => "Myサイト", +"site(s)" => "Webサイト", +"Publish" => "公開", +"File shared from" => "ファイルを共有する:", + +"(leave empty if same as Owncloud)"=>"(WPとOwncloudが同じデータベースの場合,空欄のままにする)", +"DB Host"=>"WPデータベース:ホスト名", +"DB User"=>"WPデータベース:ユーザー名", +"DB Name"=>"WPデータベース:データベース名", +"DB Password"=>"WPデータベース:パスワード", +"DB Prefix"=>"WPデータベース:テーブル接頭辞(Prefix)", +"Required fields for wordpress"=>"必須フィールド", +"Custom settings"=>"カスタム設定", +"Users have to be logged-in on the cloud to be visible"=>"ログインしたユーザーのみ閲覧可能", +"All users are visible"=>"すべてのユーザーが閲覧可能", +'Database'=>'データベース', +'Groups'=>'グループ', +"Create a group for all WordPress users"=>"WPのアカウントでログインする“すべてのユーザー”を次のグループに加える。", +'Restrict users to their WordPress groups'=>'ユーザーをWPのグループに制限する。', +'(excepting global group)'=>'(グローバルグループを除く)', +'Add a "sites" button to main menu'=>'Einen "WPサイトの「ボタン」をメニューに追加する。', +"Save"=>"保存", + +'Connection to WP database successfully established !'=>'WPデータベースへの接続が確立しました。', +'Error while connecting to WP database !'=>'WPデータベースに接続できませんでした', + +'You have no site registered, please check your'=>'あなたの情報は登録されていません。確認してください。', +'Site list on WordPress'=>'WordPress Webサイトのリスト', +'Open it in a new window'=>'新しいウィンドウで開く', +); From a25a8e7e84035dada75c484c53e16465dd0fc419 Mon Sep 17 00:00:00 2001 From: mico12029 Date: Mon, 19 Oct 2015 22:26:32 +0900 Subject: [PATCH 3/3] MinorFix --- user_wordpress.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/user_wordpress.php b/user_wordpress.php index 2ed6eb3..bd2326c 100644 --- a/user_wordpress.php +++ b/user_wordpress.php @@ -313,7 +313,4 @@ public function userExists($uid) { } return false; } -} - - ->>>>>>> upstream/master +} \ No newline at end of file