mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
修复:项目语言验证信息统一
This commit is contained in:
@@ -13,5 +13,5 @@
|
||||
class ProjectLanguage < ApplicationRecord
|
||||
include Projectable
|
||||
|
||||
validates :name, uniqueness: true
|
||||
validates :name, uniqueness: { message: "已存在" }
|
||||
end
|
||||
|
||||
@@ -223,6 +223,8 @@ zh-CN:
|
||||
platform: '直播平台'
|
||||
live_time: '开播时间'
|
||||
duration: '直播时长'
|
||||
project_language:
|
||||
name: '项目语言'
|
||||
license:
|
||||
name: '许可证名称'
|
||||
content: '许可证内容'
|
||||
|
||||
Reference in New Issue
Block a user