Project

General

Profile

Feature #37701 » change-labels-in-plus-menu.patch

Go MAEDA, 2022-09-21 10:09

View differences:

lib/redmine/preparation.rb
288 288
        menu.push(
289 289
          :new_issue_sub,
290 290
          {:controller => 'issues', :action => 'new', :copy_from => nil},
291
          :param => :project_id, :caption => :label_issue_new,
291
          :param => :project_id, :caption => :label_issue,
292 292
          :html => {:accesskey => AccessKeys.key_for(:new_issue)},
293 293
          :if => Proc.new {|p| Issue.allowed_target_trackers(p).any?},
294 294
          :permission => :add_issues,
......
296 296
        )
297 297
        menu.push :new_issue_category,
298 298
                  {:controller => 'issue_categories', :action => 'new'},
299
                  :param => :project_id, :caption => :label_issue_category_new,
299
                  :param => :project_id, :caption => :field_category,
300 300
                  :parent => :new_object
301 301
        menu.push :new_version, {:controller => 'versions', :action => 'new'},
302
                  :param => :project_id, :caption => :label_version_new,
302
                  :param => :project_id, :caption => :label_version,
303 303
                  :parent => :new_object
304 304
        menu.push :new_timelog, {:controller => 'timelog', :action => 'new'},
305
                  :param => :project_id, :caption => :button_log_time,
305
                  :param => :project_id, :caption => :label_spent_time,
306 306
                  :parent => :new_object
307 307
        menu.push :new_news, {:controller => 'news', :action => 'new'},
308
                  :param => :project_id, :caption => :label_news_new,
308
                  :param => :project_id, :caption => :label_news,
309 309
                  :parent => :new_object
310 310
        menu.push :new_document, {:controller => 'documents', :action => 'new'},
311
                  :param => :project_id, :caption => :label_document_new,
311
                  :param => :project_id, :caption => :label_document,
312 312
                  :parent => :new_object
313 313
        menu.push :new_wiki_page, {:controller => 'wiki', :action => 'new'},
314
                  :param => :project_id, :caption => :label_wiki_page_new,
314
                  :param => :project_id, :caption => :label_wiki_page,
315 315
                  :parent => :new_object
316 316
        menu.push :new_file, {:controller => 'files', :action => 'new'},
317
                  :param => :project_id, :caption => :label_attachment_new,
317
                  :param => :project_id, :caption => :label_attachment,
318 318
                  :parent => :new_object
319 319

  
320 320
        menu.push :overview, {:controller => 'projects', :action => 'show'}
(1-1/3)