Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
v0.1.21
Browse files Browse the repository at this point in the history
Optimize
- Flarum Approval
- Flarum Flags
- [FoF Filter](https://discuss.flarum.org/d/5131)
- [FoF Subscribed](https://discuss.flarum.org/d/20917)
- [FoF Upload](https://discuss.flarum.org/d/4154)
  • Loading branch information
littlegolden committed Feb 16, 2020
1 parent 2c8eee9 commit 05ded5a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions locale/flarum-approval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ flarum-approval:

# These translations are used by the post control buttons.
post_controls:
approve_button: 审核
approve_button: 通过审核

##
# REUSED TRANSLATIONS - These keys should not be used directly in code!
##

# Translations in this namespace are referenced by two or more unique keys.
ref:
awaiting_approval: 等待审核中
awaiting_approval: 审核中
8 changes: 4 additions & 4 deletions locale/flarum-flags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ flarum-flags:
# These translations are used in the Permissions page of the admin interface.
permissions:
flag_posts_label: 举报主题
view_flags_label: 查看被举报的主题
view_flags_label: 查看小黑屋

# These translations are used in the Flags Settings modal dialog.
settings:
guidelines_url_label: 论坛守则链接
title: 举报设置
title: 小黑屋设置

# Translations in this namespace are used by the forum user interface.
forum:
Expand Down Expand Up @@ -47,7 +47,7 @@ flarum-flags:

# These translations are used by the frame displayed around flagged posts.
post:
dismiss_flag_button: 撤销举报
dismiss_flag_button: 撤销举报标记
flagged_by_text: "已被 {username} 举报"
flagged_by_with_reason_text: "因 {reason} 被 {username} 举报"

Expand All @@ -62,4 +62,4 @@ flarum-flags:
# Translations in this namespace are referenced by two or more unique keys.
ref:
flag_post: 举报主题
flagged_posts: 被举报的主题
flagged_posts: 小黑屋
24 changes: 12 additions & 12 deletions locale/fof-filter.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
# https://github.com/FriendsOfFlarum/filter/blob/master/resources/locale/en.yml
# ed632db 6 hours ago
# 2020-2-16 15:12:58 +0800
# 2020-2-16 17:06:14 +0800

fof-filter:
forum:
flagger_name: 自动审查
flagger_name: 该贴包含敏感词,已被隐藏
flaged_text: 包含敏感词
admin:
title: 过滤器
help: 输入要过滤的敏感词,用 半角逗号+空格 分隔。
help2: 冷却时间内(分钟)的重复帖将会被合并
title: FoF 过滤器 - 设置
help: 请输入要过滤的敏感词,用 半角逗号+空格 分隔。当用户发表的帖子内容包含敏感词时,自动送入审核列表,审核通过后才会公开
help2: 在冷却时间内合并多个重复帖。防止用户发帖时因触发敏感词,导致帖子送入审核列表后,用户在不知情的情况下再次发同样内容的帖子
email_help: 违规贴被自动标记后的通知邮件正文,支持 HTML 或纯文本。
filter_label: 要过滤的敏感词
filter_label: 自定义敏感词词库
countLabel: 过滤敏感度
cooldownLabel: Merge Post Cooldown
cooldownLabel: 冷却时间
input:
placeholder: 输入敏感词
filter_title: 要过滤的敏感词
email_label: 邮箱设置
email_label: 邮件通知设置
switch:
email: 当帖子被过滤时,向用户发送通知邮件。
merge: 自动合并重复的帖子
merge: 自动合并重复帖
email_subject: 主题
email_body: 正文
nav:
text: 过滤器
desc: 按照敏感词过滤帖子
email:
default_subject: 您刚刚发布的帖子已被删除
default_subject: 您的帖子已被隐藏
default_text: |
检测到您的帖子包含敏感词、违禁词,已被自动删除
检测到您的帖子包含敏感词、违禁词,已被自动隐藏
如果您对此有异议,请联系管理员申请人工核查。如果确实没有违规内容,我们将恢复您的帖子。
如有异议,请联系论坛管理员申请人工核查。如果确实没有违规内容,我们将恢复您的帖子。
感谢您的理解与配合!
4 changes: 2 additions & 2 deletions locale/fof-subscribed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ fof-subscribed:
defaults_label: 默认启用设置「{setting}」
forced_label: 强制对所有用户开启「{setting}」
notify_discussion_created_label: 有新主题
notify_post_unapproved_label: 新主题需要审核
notify_post_unapproved_label: 有帖子需要审核
notify_user_created_label: 有新人注册
notifications:
discussion_created_text: "{username} 发布了新主题"
post_unapproved_text: "{username} 发布了新主题需要审核"
post_unapproved_text: "{username} 的帖子需要审核"
user_created_text: "{username} 刚刚加入论坛"
admin:
menu:
Expand Down
4 changes: 2 additions & 2 deletions locale/fof-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ fof-upload:
title: 图片水印功能
toggle: 开启水印
permissions:
download_label: 下载文件
upload_label: 文件上传设置
download_label: 允许下载文件
upload_label: 允许上传文件
templates:
file: 默认文件下载模板
file_description: |
Expand Down

0 comments on commit 05ded5a

Please sign in to comment.