moshaorui před 1 dnem
rodič
revize
938d98d047

+ 1 - 1
app/Distributor/Controllers/SmmPostController.php

@@ -187,7 +187,7 @@ class SmmPostController extends AdminDistController
                     return Admin::json()->error(admin_trans_label('input_yutube_fields'));
                 }
                 $charCount = mb_strlen($post['yutube_title'], 'UTF-8');
-                if ($charCount > 70) {
+                if ($charCount > 90) {
                     return Admin::json()->error(admin_trans_label('yutube_title_limit'));
                 }
             }

+ 2 - 2
lang/en/global.php

@@ -254,8 +254,8 @@ return [
         'select_send_time' => 'Please select a delivery time',
         'youtube_category' => 'Youtube Category',
         'input_yutube_fields' => 'Please enter a YouTube title and category',
-        'yutube_title_limit' => 'The maximum length of the YouTube title is 70 characters',
-        'post_message_limit' => 'The maximum length of the post message is 500 characters',
+        'yutube_title_limit' => 'The length of the YouTube title exceeds the limit.',
+        'post_message_limit' => 'The length of the post exceeds the limit.',
         'post_message_help' => 'Tweets are limited to 280 characters and will be automatically intercepted if the limit is exceeded.',
     ],
     'options' => [

+ 2 - 2
lang/zh_CN/global.php

@@ -265,8 +265,8 @@ return [
         'select_send_time' => '请选择发送时间',
         'youtube_category'      => 'Youtube 分类',
         'input_yutube_fields'  => '请输入Youtube标题和分类',
-        'yutube_title_limit'   => 'Youtube标题长度不能超过70个字符',
-        'post_message_limit'    => '帖子内容长度不能超过50个字符',
+        'yutube_title_limit'   => 'Youtube标题长度超过限制',
+        'post_message_limit'    => '帖子内容长度超过限制',
         'post_message_help' => '推特仅可输入 280 字符,超限系统将自动截取。',
     ],
     'options' => [