summaryrefslogtreecommitdiff
path: root/app/models/milestone.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/milestone.rb')
-rw-r--r--app/models/milestone.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/milestone.rb b/app/models/milestone.rb
index b8bb94d6366..d8a09f5f7a4 100644
--- a/app/models/milestone.rb
+++ b/app/models/milestone.rb
@@ -18,9 +18,9 @@ class Milestone < ActiveRecord::Base
# Represents a "No Milestone" state used for filtering Issues and Merge
# Requests that have no milestone assigned.
MilestoneStruct = Struct.new(:title, :name, :id)
- None = MilestoneStruct.new('No Milestone', 'No Milestone', 0)
- Any = MilestoneStruct.new('Any Milestone', '', -1)
- Upcoming = MilestoneStruct.new('Upcoming', '#upcoming', -2)
+ None = MilestoneStruct.new('无里程碑', 'No Milestone', 0)
+ Any = MilestoneStruct.new('任何里程碑', '', -1)
+ Upcoming = MilestoneStruct.new('即将到来', '#upcoming', -2)
include InternalId
include Sortable