Discuz X3.2提示信息怎么修改?

站长提问:我想修改discuz站点的提示信息,比如:文章/帖子被删除后的“不存在,正在被审核”的提示,积分不足的提示,还有其他非正常操作的提示。

答:discuz提示信息的修改,能够帮助建站者使站点更具个性化,符合自己的网站特色。discuz X3.2建站程序较之前版本,提示信息发生了变化,文件名为:lang_message.php

操作步骤:

1、打开/source/language/lang_message.php

2、编辑需要修改的提示用语,保存上传覆盖即可。

3、后台-更新缓存

注:请养成良好的备份习惯

此文件包含了discuz站点几乎所有的提示信息,站长可选择性的根据实际情况进行修改。以下为截取的小部分可修改的提示信息。

‘undefined_action’ => ‘未定义操作’,
‘plugin_nonexistence’ => ‘插件不存在或已关闭’,
‘profile_username_protect’ => ‘用户名包含被系统屏蔽的字符’,
‘set_cover_faild’ => ‘封面设置失败’,
‘set_cover_succeed’ => ‘封面设置成功’,
‘quickclear_noperm’ => ‘您没有权限进行此操作’,
‘attachment_nonexistence’ => ‘抱歉,该附件无法读取’,
‘attachment_forum_nopermission’ => ‘抱歉,只有特定用户可以下载本站附件’,
‘forum_not_group’ => ‘该版块不是{_G/setting/navs/3/navname}’,
‘forum_group_status_off’ => ‘该{_G/setting/navs/3/navname}已关闭’,
‘forum_group_noallowed’ => ‘抱歉,您没有权限访问该{_G/setting/navs/3/navname}’,
‘forum_group_moderated’ => ‘请等待群主审核’,
‘group_name_empty’ => ‘请填写{_G/setting/navs/3/navname}名称’,
‘group_name_exist’ => ‘{_G/setting/navs/3/navname}名称已存在’,
‘group_admin_noallowed’ => ‘抱歉,您没有权限限管理此{_G/setting/navs/3/navname}’,
‘group_name_failed’ => ‘{_G/setting/navs/3/navname}名称含有敏感词语’,
‘group_category_empty’ => ‘请选择{_G/setting/navs/3/navname}分类’,
‘group_description_failed’ => ‘{_G/setting/navs/3/navname}简介含有敏感词语’,
‘group_setup_succeed’ => ‘{_G/setting/navs/3/navname}设置成功 ‘,
‘to_login’ => ‘您需要先登录才能继续本操作’,
‘postcomment_closed’ => ‘点评功能已关闭’,
‘group_nopermission’ => ‘抱歉,您所在的用户组({grouptitle})无法进行此操作’,
‘thread_nonexistence’ => ‘抱歉,指定的主题不存在或已被删除或正在被审核’,
‘parameters_error’ => ‘参数错误’,
‘thread_poll_succeed’ => ‘投票成功 ‘,
‘thread_hidden_error’ => ‘抱歉,指定的主题不能隐藏 ‘,
‘thread_hidden_success’ => ‘隐藏成功 ‘,
‘thread_hiderecover_success’ => ‘主题已从隐藏状态恢复 ‘,
‘thread_rate_range_invalid’ => ‘请输入正确的分值’,
‘rate_post_error’ => ‘帖子不存在或不能被推送’,
‘thread_rate_log_nonexistence’ => ‘抱歉,指定帖子在近一年内没有评分记录’,
‘targetpost_donotbelongto_thisthread’ => ‘目标帖子不属于本主题’,
‘credits_transaction_disabled’ => ‘抱歉,交易积分尚未启用,无法使用此功能’,
‘credits_balance_insufficient’ => ‘抱歉,{title}不足 {minbalance}’,
‘not_loggedin’ => ‘抱歉,您尚未登录,无法进行此操作’,
‘activity_is_not_manager’ => ‘抱歉,您不是此活动的管理者,没有权限进行此操作’,
‘activity_is_not_exists’ => ‘抱歉,指定的活动不存在’,
‘thread_poll_closed’ => ‘抱歉,本主题已关闭,无法继续投票’,
‘debate_nofound’ => ‘抱歉,该辩论主题不存在’,
‘debate_poll_voted’ => ‘您已投过票’,
‘debate_poll_end’ => ‘抱歉,投票已结束,不能再投票’,
‘debate_poll_succeed’ => ‘投票成功 ‘,
‘debate_umpire_bestdebater_invalid’ => ‘抱歉,您指定的最佳辩手不存在或者不合法’,
‘group_status_off’ => ‘抱歉,{_G/setting/navs/3/navname}功能尚未开启’,
‘thread_nopermission’ => ‘抱歉,本帖要求阅读权限高于 {readperm} 才能浏览’,
‘forum_passwd’ => ‘本版块需要密码’,
‘trade_credit_lack’ => ‘抱歉,您的积分不足无法购买’,
‘trade_closed’ => ‘本交易已关闭’,
‘trade_input_no’ => ‘抱歉,请输入正确的商品数’,
‘trade_lack’ => ‘抱歉,商品剩余数量不足’,
‘forum_access_view_disallow’ => ‘抱歉,您在本版没有权限进行此操作’,
‘view_log_invalid’ => ‘浏览量记录文件({logfile})无法写入,请设置其属性 777 或删除后重新建立’,
‘invite_code_error’ => ‘抱歉,您访问的邀请链接不正确’,
‘magics_nopermission’ => ‘抱歉,您所在的用户组不允许使用道具’,
‘magics_nonexistence’ => ‘抱歉,您选择的道具不存在,请到<a href=”home.php?mod=magic” target=”_blank”>道具商店</a>购买’,
‘magics_credits_no_enough_and_charge’ => ‘抱歉,您没有足够的 {credit} 购买此道具,请<a href=”home.php?mod=spacecp&ac=credit&op=base” target=”_blank”>【充值】</a>’,
‘magics_credits_no_enough’ => ‘抱歉,您没有足够的 {credit} 购买此道具’,
‘magics_num_no_enough’ => ‘抱歉,本道具已售完,请下次再来’,
‘magics_num_invalid’ => ‘抱歉,操作数量不合法’,
‘magics_filename_nonexistence’ => ‘道具所需文件 {file} 不存在’,
‘magics_amount_no_enough’ => ‘抱歉,您没有足够的道具可以操作,请修改’,
‘magics_username_nonexistence’ => ‘抱歉,您尚未输入要赠送的用户名’,
‘medal_apply_existence’ => ‘抱歉,您已申请过或领取过此勋章,请不要重复申请或领取’,
‘space_does_not_exist’ => ‘抱歉,您指定的用户空间不存在’,
‘login_before_enter_home’ => ‘请先登录后才能继续浏览’,
‘home_status_off’ => ‘抱歉,家园功能尚未开启’,
‘space_has_been_locked’ => ‘空间已被锁定无法访问,如有疑问请联系管理员’,
‘activate_illegal’ => ‘您所用的 ID 不存在或您不是等待验证会员’,
‘getpasswd_account_notmatch’ => ‘抱歉,您填写的账户资料不匹配,不能使用取回密码功能,如有疑问请与管理员联系’,
‘credits_addfunds_order_invalid’ => ‘抱歉,当前订单号无效,请重新提交’,
‘do_success’ => ‘操作成功 ‘,
‘group_member_maximum’ => ‘抱歉,该{_G/setting/navs/3/navname}等级最多可拥有{membermaximum}名成员,已达到上限’,
‘group_choose_friends_max’ => ‘抱歉,您最多可以选择 20 位好友’,
‘group_invite_succeed’ => ‘邀请成功 ‘,
‘group_invite_choose_member’ => ‘请选择要邀请的用户’,
‘modcp_logout_succeed’ => ‘退出成功 ‘,
‘topic_edit_nopermission’ => ‘抱歉,您没有权限创建或编辑专题’,
‘search_id_invalid’ => ‘抱歉,您指定的搜索不存在或已过期’,
‘search_ctrl’ => ‘抱歉,您在 {searchctrl} 秒内只能进行一次搜索’,
‘search_toomany’ => ‘抱歉,站点设置每分钟系统最多响应搜索请求 {maxspm} 次,请稍候再试’,
‘search_closed’ => ‘搜索功能已关闭’,
‘no_privilege_myop’ => ‘抱歉,您目前没有权限使用此应用,<a href=”home.php?mod=spacecp&ac=usergroup” target=”_blank”>点击这里查看权限</a>’,
‘collection_permission_deny’ => ‘抱歉,该淘专辑不存在或没有相应的权限’,
‘collection_edit_checkentire’ => ‘请将内容填写完整’,
‘collection_teamworkers_exceed’ => ‘共同维护人数已达上限,不能再邀请或接受其他人参与维护’,
‘no_privilege_guest’ => ‘抱歉,游客没有权限进行此操作’,
‘forum_nonexistence’ => ‘抱歉,指定的版块不存在’,
‘ranklist_this_status_off’ => ‘此排行功能已关闭’,
‘modcp_mod_succeed’ => ‘审核处理完毕’,
‘article_not_exist’ => ‘抱歉,指定的文章不存在’,
‘article_delete_success’ => ‘删除成功 ‘,
‘no_article_specified_for_pushplus’ => ‘抱歉,尚未指定要连载的文章’,
‘block_edit_nopermission’ => ‘抱歉,您没有权限编辑此模块’,
‘block_no_right_recommend’ => ‘抱歉,您没有权限向该模块推荐数据’,
‘portal_nopermission’ => ‘抱歉,您没有权限使用门户管理功能’,
‘operating_too_fast’ => ‘抱歉,两次发布操作太快,请等待 {waittime} 秒再试’,
‘topic_not_exist’ => ‘抱歉,指定的专题不存在’,
‘post_sm_isnull’ => ‘抱歉,您尚未输入标题或内容’,
‘activity_fromtime_error’ => ‘抱歉,活动开始时间格式不正确’,
‘post_edit_delete_succeed’ => ‘主题删除成功 ‘,
‘debate_end’ => ‘抱歉,辩论已结束’,
‘replyperm_login_nopermission’ => ‘抱歉,您尚未登录,没有权限在该版块回帖’,
‘post_nonexistence’ => ‘帖子不存在’,
‘post_thread_closed’ => ‘抱歉,本主题已关闭,不再接受新内容’,
‘reply_quotepost_error’ => ‘禁止引用自己和主题帖之外的帖子’,
‘post_flood_ctrl’ => ‘抱歉,您两次发表间隔少于 {floodctrl} 秒,请稍候再发表’,
‘post_flood_ctrl_posts_per_hour’ => ‘抱歉,您所在的用户组每小时限制发回帖 {posts_per_hour} 个,请稍候再发表’,
‘trade_please_name’ => ‘抱歉,商品名称不能为空’,
‘trade_price_between’ => ‘抱歉,商品人民币价格必须在 {mintradeprice} 元至 {maxtradeprice} 元之间’,
‘trade_credit_between’ => ‘抱歉,商品积分价格必须在 {mintradeprice} 至 {maxtradeprice} 之间’,
‘trade_price_more_than’ => ‘抱歉,商品人民币价格必须大于 {mintradeprice} 元’,
‘trade_credit_more_than’ => ‘抱歉,商品积分价格必须大于 {mintradeprice} ‘,
‘trade_pricecredit_need’ => ‘抱歉,商品价格不能为空’,
‘tread_please_number’ => ‘抱歉,商品数量不能为空’,
‘post_reply_mod_succeed’ => ‘回复需要审核,请等待通过’,
‘postperm_login_nopermission’ => ‘抱歉,您尚未登录,没有权限在该版块发帖’,
‘post_type_isnull’ => ‘抱歉,您尚未选择主题的类别’,
‘post_net_price_iszero’ => ‘抱歉,您的主题售价扣除积分交易税后为 0’,
‘post_poll_option_toomany’ => ‘抱歉,您的投票选项超过 {maxpolloptions} 个’,
‘reward_credits_between’ => ‘抱歉,悬赏积分必须在 {minrewardprice} 与 {maxrewardprice} 之间’,
‘reward_credits_shortage’ => ‘抱歉,积分余额不足’,
‘activity_fromtime_please’ => ‘抱歉,活动开始时间不能为空’,
‘activity_sort_please’ => ‘抱歉,活动所属类别不能为空’,
‘activity_address_please’ => ‘抱歉,活动地点不能为空’,
‘activity_totime_error’ => ‘抱歉,活动征集截止日期格式不正确’,
‘post_activity_extfield_toomany’ => ‘抱歉,您的自定义项目超过 {maxextfield} 个’,
‘debate_position_nofound’ => ‘抱歉,发表辩论主题需要输入正方和反方观点’,
‘debate_endtime_invalid’ => ‘抱歉,您设置辩论的结束时间小于当前时间’,
‘debate_umpire_invalid’ => ‘抱歉,您指定的裁判 (<b>{umpire}</b>) 不存在或者被删除’,
‘post_rushreply_timewrong’ => ‘抱歉,抢楼时间范围设置错误’,
‘post_newthread_mod_succeed’ => ‘新主题需要审核,您的帖子通过审核后才能显示{coverimg}’,
‘post_newthread_succeed’ => ‘非常感谢,您的主题已发布,现在将转入主题页,请稍候……<br /><a id=”forward_a” href=”forum.php?mod=forumdisplay&fid={fid}”>[ 点击这里转入主题列表 ]</a>{coverimg}’,
‘submitcheck_error’ => ‘抱歉,您的提交有误’,
‘post_forum_newthread_nopermission’ => ‘抱歉,本版块只有特定用户组可以发新主题’,
‘postperm_qqonly_nopermission’ => ‘为避免您的帐号被盗用,请您绑定QQ帐号后发帖,绑定后请使用QQ帐号登录<br /><a href=”connect.php?mod=config”><img src=”‘.STATICURL.’image/common/qq_bind_small.gif” /></a>’,
‘thread_flood_ctrl_threads_per_hour’ => ‘抱歉,您所在的用户组每小时限制发主题 {threads_per_hour} 个,请稍候再发表’,
‘search_forum_invalid’ => ‘抱歉,您尚未指定搜索论坛的范围’,
‘search_invalid’ => ‘抱歉,您尚未指定要搜索的关键字或用户名’,
‘search_redirect’ => ‘搜索成功,现在将转入结果页面’,
‘to_view_the_photo_does_not_exist’ => ‘抱歉,您要查看的相册不存在或正在审核’,
‘ban_view_other_thead’ => ‘抱歉,禁止查看其他用户的主题和帖子’,
‘album_does_not_exist’ => ‘抱歉,指定的相册不存在’,
‘is_blacklist’ => ‘抱歉,受对方的隐私设置影响,您目前没有权限进行本操作’,
‘content_is_too_short’ => ‘抱歉,输入的内容不能少于 2 个字符’,
‘no_privilege_comment’ => ‘抱歉,您目前没有权限进行评论,<a href=”home.php?mod=spacecp&ac=usergroup” target=”_blank”>点击这里查看权限</a>’,
‘action_closed’ => ‘抱歉,站点尚未开启此功能或此功能已被管理员禁止’,
‘credits_addfunds_ctrl’ => ‘抱歉,您两次提交订单间隔过小’,
‘credits_addfunds_toomuch’ => ‘抱歉,您超出本月允许购买 {ec_maxcreditspermonth} 的限额’,
‘credits_transaction_amount_invalid’ => ‘抱歉,您要转账或兑换的积分数量输入有误’,
‘credits_password_invalid’ => ‘抱歉,您输入的密码错误’,
‘extcredits_dataerror’ => ‘抱歉,兑换失败,请与管理员联系’,
‘start_time_is_greater_than_end_time’ => ‘开始日期不能大于结束日期’,
‘should_write_that’ => ‘至少应该写点东西’,
‘eccredit_nofound’ => ‘指定的评价不存在或已被删除’,
‘non_normal_operation’ => ‘非正常操作’,
‘failed_to_delete_operation’ => ‘抱歉,删除失败,请检查操作’,
‘you_have_friends’ => ‘你们已成为好友’,
‘no_privilege_addfriend’ => ‘抱歉,您目前没有权限添加好友,<a href=”home.php?mod=spacecp&ac=usergroup” target=”_blank”>点击这里查看权限</a>’,
‘enough_of_the_number_of_friends_with_magic’ => ‘抱歉,您当前的好友数目达到系统限制,<a id=”a_magic_friendnum2″ href=”magic.php?mid=friendnum” onclick=”ajaxmenu(event, this.id, 1)”>请使用好友增容卡增容</a>’,
‘enough_of_the_number_of_friends’ => ‘抱歉,您当前的好友数目达到系统限制,请先删除部分好友’,
‘specified_user_is_not_your_friend’ => ‘抱歉,指定的用户还不是您的好友’,
‘change_friend_groupname_error’ => ‘抱歉,指定的好友用户组不能被操作’,
‘the_block_is_not_available’ => ‘抱歉,指定的模块不存在或已关闭’,
‘theme_does_not_exist’ => ‘抱歉,指定的风格不存在’,
‘trade_credit_invalid’ => ‘抱歉,管理员已关闭积分交易功能’,
‘mail_credit_inadequate’ => ‘抱歉,您没有足够的积分来完成此次邀请’,
‘send_result_succeed’ => ‘邮件已送出,您的好友可能需要几分钟后才能收到邮件’,
‘send_result_resend_error’ => ‘抱歉,尚未找到相应的邀请记录, 邮件重发失败’,
‘there_is_no_record_of_invitation_specified’ => ‘您指定的邀请记录不存在’,
‘no_color_yet’ => ‘抱歉,您尚未对此信息使用彩色灯’,
‘message_can_not_send_onlyfriend’ => ‘抱歉,该用户只接收好友发送的短消息’,
‘message_bad_touid’ => ‘抱歉,用户不存在或被冻结,请检查用户uid是否正确’,
‘message_can_not_send_2’ => ‘两次发送短消息太快,请稍候再发送’,
‘message_can_not_send_9’ => ‘收件人为空或对方屏蔽了您的短消息’,
‘pm_report_error_nopm’ => ‘抱歉,您指定的短消息不存在’,
‘no_privilege_sendpm’ => ‘抱歉,您目前没有权限发短消息,<a href=”home.php?mod=spacecp&ac=usergroup” target=”_blank”>点击这里查看权限</a>’,
‘profile_passwd_illegal’ => ‘抱歉,密码空或包含非法字符’,
‘share_does_not_exist’ => ‘抱歉,查看的分享不存在或正在审核’,
‘image_does_not_exist’ => ‘抱歉,指定的图片不存在’,
‘showcredit_error’ => ‘抱歉,填写的数字需要大于0,并且小于您的积分数,请确认’,
‘usergroup_not_found’ => ‘用户组未找到’,
‘no_open_videophoto’ => ‘站点已关闭视频认证功能’,
‘admin_nopermission’ => ‘抱歉,您没有权限使用管理功能’,
‘postcomment_not_found’ => ‘帖子点评未找到’,
‘special_noaction’ => ‘无法操作特殊主题’,
‘admin_moderate_invalid’ => ‘抱歉,您尚未选择主题或主题不可执行此类管理’,
‘no_privilege_delpost’ => ‘抱歉,您没有权限删除帖子’,
‘admin_move_invalid’ => ‘抱歉,目标版块不存在’,
‘admin_succeed’ => ‘管理操作成功 ‘,
‘admin_split_new_invalid’ => ‘抱歉,您尚未选择要分割入新主题的帖子’,
‘view_images_do_not_exist’ => ‘抱歉,您要查看的图片不存在或正在审核’,
‘view_to_info_did_not_exist’ => ‘抱歉,您要查看的信息不存在或已被删除’,
‘plugin_module_nonexistence’ => ‘指定的插件模块文件({mod})不存在或存在语法错误,请检查是否已将插件完整上传’,
‘postperm_none_nopermission’ => ‘抱歉,您没有权限在该版块发帖</p></div><div>’,
‘replyperm_none_nopermission’ => ‘抱歉,您没有权限在该版块回帖</p></div><div>’,
‘getattachperm_none_nopermission’ => ‘抱歉,您没有权限下载本附件</p></div><div>’,
‘magics_target_member_nonexistence’ => ‘抱歉,您指定的用户不存在或被冻结’,
‘unknown_magic’ => ‘抱歉,指定的道具不存在或已被禁止使用’,
‘magic_groupid_not_allowed’ => ‘抱歉,您所在的用户组没有权限使用道具’,
‘profile_email_illegal’ => ‘Email 地址无效’,
‘profile_email_domain_illegal’ => ‘抱歉,Email 包含不可使用的邮箱域名’,
‘profile_email_duplicate’ => ‘该 Email 地址已被注册’,
‘article_category_empty’ => ‘抱歉,栏目不能为空’,
‘article_edit_nopermission’ => ‘抱歉,您没有权限进行当前文章操作’,
‘post_message_toolong’ => ‘抱歉,您的帖子超过 {maxpostsize} 个字符的限制’,
‘no_privilege_newbiespan’ => ‘抱歉,您目前处于见习期间,需要等待 {newbiespan} 分钟后才能进行本操作’,
‘no_privilege_avatar’ => ‘抱歉,您需要设置自己的头像后才能进行本操作,<a href=”home.php?mod=spacecp&ac=avatar”>点击这里设置</a>’,
‘no_privilege_email’ => ‘抱歉,您需要验证激活自己的邮箱后才能进行本操作,<a href=”home.php?mod=spacecp&ac=profile&op=password”>点击这里激活邮箱</a>’,
‘no_privilege_friendnum’ => ‘抱歉,您需要添加 {friendnum} 个好友之后才能进行本操作,<a href=”home.php?mod=spacecp&ac=friend&op=find”>点击这里添加好友</a>’,
‘login_seccheck2’ => ‘请输入验证码后继续登录’,
‘login_succeed’ => ‘欢迎您回来,{usergroup} {username},现在将转入登录前页面’,
‘login_strike’ => ‘密码错误次数过多,请 15 分钟后重新登录’,
‘logout_succeed’ => ‘您已退出站点,现在将以游客身份转入退出前页面,请稍候…… {ucsynlogout} ‘,
‘location_logout_succeed_mobile’ => ‘您已退出站点,现在将以游客身份转入退出前页面,请稍候……’,
‘register_activation_invalid’ => ‘抱歉,激活失败,请重新登录验证需要激活的用户’,
‘profile_username_tooshort’ => ‘抱歉,您输入的用户名小于 3 个字符,请输入一个较长的用户名’,
‘profile_username_toolong’ => ‘抱歉,您的用户名超过 15 个字符,请输入一个较短的用户名’,
‘profile_passwd_notmatch’ => ‘抱歉,两次输入的密码不一致’,
‘profile_username_illegal’ => ‘用户名包含敏感字符’,
‘profile_username_duplicate’ => ‘该用户名已被注册’,
‘profile_illegal’ => ‘格式不正确或为空’,
‘task_nonexistence’ => ‘抱歉,该任务不存在或已被删除’,
‘task_not_found’ => ‘任务文件丢失,{taskclassname}’,
‘task_not_underway’ => ‘不是进行中的任务’,
‘user_banned’ => ‘抱歉,您的 IP 地址不在允许范围内,或您的账号被禁用,无法访问本站点’,
‘submit_seccode_invalid’ => ‘抱歉,验证码填写错误’,
‘submit_invalid’ => ‘抱歉,您的请求来路不正确或表单验证串不符,无法提交’,
‘word_banned’ => ‘抱歉,您填写的内容包含不良信息而无法提交’,
‘magics_use_success’ => ‘道具 {magicname} 使用成功 ‘,
‘magicuse_object_once_limit’ => ‘抱歉,已对该对象使用过此道具,不能重复使用’,
‘magicuse_bad_object’ => ‘尚未正确选择道具要作用的对象’,
‘magicuse_has_no_valid_friend’ => ‘抱歉,此道具仅对您的好友有效’,
‘mobile_template_no_found’ => ‘您访问的页面无手机页面,是否进一步访问电脑版?<br /><br /><a href=”{url}”>继续访问</a><br /><br />’,

…………

经站长亲测可用,欢迎试用。

评论已关闭