@@ -75,15 +75,15 @@ - (NSMutableString *)actionStr{
7575 }else if ([_target_type isEqualToString: @" Task" ]){
7676 [self addActionUser: _user];
7777 if ([_action isEqualToString: @" update_priority" ]) {
78- [_actionStr appendFormat: @" 更新了任务 [ %@ ] 的优先级" , _task.title];
78+ [_actionStr appendFormat: @" 更新了任务「 %@ 」 的优先级" , _task.title];
7979 }else if ([_action isEqualToString: @" update_deadline" ]) {
8080 if (_task.deadline && _task.deadline .length > 0 ) {
81- [_actionStr appendFormat: @" 更新了任务 [ %@ ] 的截止日期" , _task.title];
81+ [_actionStr appendFormat: @" 更新了任务「 %@ 」 的截止日期" , _task.title];
8282 }else {
83- [_actionStr appendFormat: @" 移除了任务 [ %@ ] 的截止日期" , _task.title];
83+ [_actionStr appendFormat: @" 移除了任务「 %@ 」 的截止日期" , _task.title];
8484 }
8585 }else if ([_action isEqualToString: @" update_description" ]) {
86- [_actionStr appendFormat: @" 更新了任务 [ %@ ] 的描述" , _task.title];
86+ [_actionStr appendFormat: @" 更新了任务「 %@ 」 的描述" , _task.title];
8787 }else {
8888 [_actionStr saveAppendString: _action_msg];
8989 if (_origin_task.owner ) {
@@ -99,42 +99,42 @@ - (NSMutableString *)actionStr{
9999 }
100100 }else if ([_target_type isEqualToString: @" TaskComment" ]){
101101 [self addActionUser: _user];
102- [_actionStr appendFormat: @" %@ 任务 [ %@ ] 的评论" , _action_msg, _task.title];
102+ [_actionStr appendFormat: @" %@ 任务「 %@ 」 的评论" , _action_msg, _task.title];
103103 }else {
104104 [self addActionUser: _user];
105105 [_actionStr saveAppendString: _action_msg];
106106 if ([_target_type isEqualToString: @" ProjectTopic" ]){
107107 [_actionStr appendString: @" 讨论" ];
108108 if ([_action isEqualToString: @" comment" ]) {
109- [_actionStr appendFormat: @" [ %@ ] " , _project_topic.parent.title];
109+ [_actionStr appendFormat: @" 「 %@ 」 " , _project_topic.parent.title];
110110 }
111111 }else if ([_target_type isEqualToString: @" ProjectFile" ]){
112112 [_actionStr appendString: [_type isEqualToString: @" dir" ]? @" 文件夹" : @" 文件" ];
113113 }else if ([_target_type isEqualToString: @" Depot" ]){
114114 if ([_action isEqualToString: @" push" ]) {
115- [_actionStr appendFormat: @" 项目 %@ [ %@ ] " , self .ref_type, _ref];
115+ [_actionStr appendFormat: @" 项目 %@ 「 %@ 」 " , self .ref_type, _ref];
116116 }else if ([_action isEqualToString: @" fork" ]){
117- [_actionStr appendFormat: @" 项目 [ %@ ] 到 [ %@ ] " , _source_depot.name, _depot.name];
117+ [_actionStr appendFormat: @" 项目「 %@ 」到 「 %@ 」 " , _source_depot.name, _depot.name];
118118 }
119119 }else {
120120 [_actionStr appendString: @" 项目" ];
121121 if ([_target_type isEqualToString: @" Project" ]){
122122 }else if ([_target_type isEqualToString: @" QcTask" ]){
123- [_actionStr appendFormat: @" [ %@ ] 的质量分析任务" , _project.full_name];
123+ [_actionStr appendFormat: @" 「 %@ 」 的质量分析任务" , _project.full_name];
124124 }else if ([_target_type isEqualToString: @" ProjectStar" ]){
125- [_actionStr appendFormat: @" [ %@ ] " , _project.full_name];
125+ [_actionStr appendFormat: @" 「 %@ 」 " , _project.full_name];
126126 }else if ([_target_type isEqualToString: @" ProjectWatcher" ]){
127- [_actionStr appendFormat: @" [ %@ ] " , _project.full_name];
127+ [_actionStr appendFormat: @" 「 %@ 」 " , _project.full_name];
128128 }else if ([_target_type isEqualToString: @" PullRequestBean" ]){
129- [_actionStr appendFormat: @" [ %@ ] 中的 Pull Request" , _depot.name];
129+ [_actionStr appendFormat: @" 「 %@ 」 中的 Pull Request" , _depot.name];
130130 }else if ([_target_type isEqualToString: @" PullRequestComment" ]){
131- [_actionStr appendFormat: @" [ %@ ] 中的 Pull Request [ %@ ] " , _depot.name, _pull_request_title];
131+ [_actionStr appendFormat: @" 「 %@ 」 中的 Pull Request 「 %@ 」 " , _depot.name, _pull_request_title];
132132 }else if ([_target_type isEqualToString: @" MergeRequestBean" ]){
133- [_actionStr appendFormat: @" [ %@ ] 中的 Merge Request" , _depot.name];
133+ [_actionStr appendFormat: @" 「 %@ 」 中的 Merge Request" , _depot.name];
134134 }else if ([_target_type isEqualToString: @" MergeRequestComment" ]){
135- [_actionStr appendFormat: @" [ %@ ] 中的 Merge Request [ %@ ] " , _depot.name, _merge_request_title];
135+ [_actionStr appendFormat: @" 「 %@ 」 中的 Merge Request 「 %@ 」 " , _depot.name, _merge_request_title];
136136 }else if ([_target_type isEqualToString: @" CommitLineNote" ]){
137- [_actionStr appendFormat: @" [ %@ ] 的 %@ [ %@ ] " , _project.full_name, _line_note.noteable_type, _line_note.noteable_title];
137+ [_actionStr appendFormat: @" 「 %@ 」 的 %@ 「 %@ 」 " , _project.full_name, _line_note.noteable_type, _line_note.noteable_title];
138138 }
139139 }
140140 }
@@ -149,10 +149,10 @@ - (NSMutableString *)contentStr{
149149 if ([_target_type isEqualToString: @" Task" ]) {
150150 if ([_action isEqualToString: @" update_priority" ]) {
151151 if (_task.priority && _task.priority .intValue < kTaskPrioritiesDisplay .count ) {
152- [_contentStr appendFormat: @" [ %@ ] " , kTaskPrioritiesDisplay [_task.priority.intValue]];
152+ [_contentStr appendFormat: @" 「 %@ 」 " , kTaskPrioritiesDisplay [_task.priority.intValue]];
153153 }
154154 }else if ([_action isEqualToString: @" update_deadline" ] && _task.deadline && _task.deadline .length > 0 ) {
155- [_contentStr appendFormat: @" [ %@ ] " , [NSDate convertStr_yyyy_MM_ddToDisplay: _task.deadline]];
155+ [_contentStr appendFormat: @" 「 %@ 」 " , [NSDate convertStr_yyyy_MM_ddToDisplay: _task.deadline]];
156156 }else if ([_action isEqualToString: @" update_description" ]) {
157157 [_contentStr saveAppendString: _task.description_mine];
158158 }else {
0 commit comments