Browse Source

merge from develop

pull/342/head
yystopf 3 years ago
parent
commit
95018c80a7
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      app/models/issue_tag.rb
  2. +2
    -0
      config/locales/zh-CN.yml

+ 2
- 0
app/models/issue_tag.rb View File

@@ -28,6 +28,8 @@ class IssueTag < ApplicationRecord
belongs_to :project, optional: true, counter_cache: true
belongs_to :user, optional: true

validates :name, uniqueness: { message: "已存在" }

def self.init_data(project_id)
data = [
["缺陷", "表示存在意外问题或错误", "#d92d4c"],


+ 2
- 0
config/locales/zh-CN.yml View File

@@ -234,6 +234,8 @@ zh-CN:
content: 'git忽略文件内容'
feedback_message_history:
title: ''
issue_tag:
name: '项目标记'
close_pr: 合并请求
roles:
Developer: 开发者


Loading…
Cancel
Save