From cc59820bf14e55992e97a09b660b6f335cf1bd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Tue, 31 Jan 2017 06:44:26 +0100 Subject: [PATCH 01/27] Update admin_config.php --- e107_plugins/social/admin_config.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/e107_plugins/social/admin_config.php b/e107_plugins/social/admin_config.php index 8f9923e38..e09d26b6a 100644 --- a/e107_plugins/social/admin_config.php +++ b/e107_plugins/social/admin_config.php @@ -42,7 +42,7 @@ class social_adminarea extends e_admin_dispatcher 'main/edit' => 'main/list' ); - protected $menuTitle = 'Social'; + protected $menuTitle = LAN_PLUGIN_SOCIAL_NAME; } @@ -52,7 +52,7 @@ class social_adminarea extends e_admin_dispatcher class social_ui extends e_admin_ui { - protected $pluginTitle = 'Social'; + protected $pluginTitle = LAN_PLUGIN_SOCIAL_NAME; protected $pluginName = 'social'; // protected $eventName = 'social-social'; // remove comment to enable event triggers in admin. // protected $table = 'social'; @@ -96,12 +96,12 @@ class social_ui extends e_admin_ui 'sharing_mode' => array('title'=> LAN_SOCIAL_ADMIN_24, 'type'=>'dropdown', 'tab'=>1, 'writeParms'=>array('optArray'=>array('normal'=>LAN_SOCIAL_ADMIN_25,'dropdown'=>LAN_SOCIAL_ADMIN_26,'off'=>LAN_SOCIAL_ADMIN_27)), 'data' => 'str','help'=>''), 'sharing_hashtags' => array('title'=> 'Hashtags', 'type'=>'tags', 'tab'=>1, 'data' => 'str','help'=>LAN_SOCIAL_ADMIN_28), - 'sharing_providers' => array('title'=> 'Providers', 'type'=>'checkboxes', 'tab'=>1, 'writeParms'=>array(), 'data' => 'str','help'=>''), + 'sharing_providers' => array('title'=> LAN_SOCIAL_ADMIN_39, 'type'=>'checkboxes', 'tab'=>1, 'writeParms'=>array(), 'data' => 'str','help'=>''), - 'xup_login_update_username' => array('title'=> 'Update User Display Name ', 'type'=>'bool', 'tab'=>0, 'writeParms'=>array(), 'data' => 'str','help'=>''), - 'xup_login_update_avatar' => array('title'=> 'Update User Avatar', 'type'=>'bool', 'tab'=>0, 'writeParms'=>array(), 'data' => 'str','help'=>''), + 'xup_login_update_username' => array('title'=> LAN_SOCIAL_ADMIN_40, 'type'=>'bool', 'tab'=>0, 'writeParms'=>array(), 'data' => 'str','help'=>''), + 'xup_login_update_avatar' => array('title'=> LAN_SOCIAL_ADMIN_41, 'type'=>'bool', 'tab'=>0, 'writeParms'=>array(), 'data' => 'str','help'=>''), - 'og_image' => array('title'=> "Custom Image", 'type'=>'image', 'tab'=>5, 'data' => 'str','help'=>'og:image'), + 'og_image' => array('title'=> LAN_SOCIAL_ADMIN_42, 'type'=>'image', 'tab'=>5, 'data' => 'str','help'=>'og:image'), ); From f4d21aaa35e3bdf0b628688db40469f0e4acd606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Tue, 31 Jan 2017 06:45:59 +0100 Subject: [PATCH 02/27] Update English_global.php --- e107_plugins/social/languages/English/English_global.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/e107_plugins/social/languages/English/English_global.php b/e107_plugins/social/languages/English/English_global.php index 9e975f2ce..e91d0343f 100644 --- a/e107_plugins/social/languages/English/English_global.php +++ b/e107_plugins/social/languages/English/English_global.php @@ -12,5 +12,4 @@ define("LAN_PLUGIN_SOCIAL_DESCR", "Adds options to replace the e107 comment eng define("LAN_PLUGIN_SOCIAL_SIGNIN", "Sign in with:"); define("LAN_PLUGIN_SOCIAL_XUP_SIGNUP", "Sign-in with your [x] account"); define("LAN_PLUGIN_SOCIAL_XUP_REG", "Register with your [x] account"); - - +define("LAN_PLUGIN_SOCIAL_NAME", "Social"); From 4593cb1cfa238d6521be23945186e4ee6016b7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Tue, 31 Jan 2017 06:49:02 +0100 Subject: [PATCH 03/27] Update e_shortcode.php --- e107_plugins/social/e_shortcode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_plugins/social/e_shortcode.php b/e107_plugins/social/e_shortcode.php index 2ecc78073..4961ddfd3 100644 --- a/e107_plugins/social/e_shortcode.php +++ b/e107_plugins/social/e_shortcode.php @@ -366,7 +366,7 @@ class social_shortcodes extends e_shortcode $text = '