diff -crB redmine-old/app/models/changeset.rb redmine-new/app/models/changeset.rb
*** redmine-old/app/models/changeset.rb 2009-09-13 14:10:04.000000000 +0200
--- redmine-new/app/models/changeset.rb 2009-11-02 12:51:55.000000000 +0100
***************
*** 85,102 ****
return if kw_regexp.blank?
referenced_issues = []
if ref_keywords.delete('*')
# find any issue ID in the comments
target_issue_ids = []
! comments.scan(%r{([\s\(,-]|^)#(\d+)(?=[[:punct:]]|\s|<|$)}).each { |m| target_issue_ids << m[1] }
referenced_issues += repository.project.issues.find_all_by_id(target_issue_ids)
end
!
! comments.scan(Regexp.new("(#{kw_regexp})[\s:]+(([\s,;&]*#?\\d+)+)", Regexp::IGNORECASE)).each do |match|
action = match[0]
! target_issue_ids = match[1].scan(/\d+/)
target_issues = repository.project.issues.find_all_by_id(target_issue_ids)
if fix_status && fix_keywords.include?(action.downcase)
# update status of issues
logger.debug "Issues fixed by changeset #{self.revision}: #{issue_ids.join(', ')}." if logger && logger.debug?
--- 85,115 ----
return if kw_regexp.blank?
referenced_issues = []
+ log_time = []
if ref_keywords.delete('*')
# find any issue ID in the comments
target_issue_ids = []
!
! comments.scan(%r{([\s\(\[,-]|[^@]|^)#?(\d+)([\s]*@(\d+[.]\d+|(\d+[hm]\s?){1,2}))?(?=[[:punct:]]|\s|<|$)}).each do |m|
! target_issue_ids << m[1]
! log_time << [m[1], (m[2] != nil ? m[2].scan(/(\d+[.]\d+|(\d+[hm]\s?){1,2})/)[0][0] : 0)]
! end
!
referenced_issues += repository.project.issues.find_all_by_id(target_issue_ids)
end
!
! comments.scan(Regexp.new("(#{kw_regexp})[\s:]+((([\s,;&]*([^@]|#?)\\d+)([\s]*@(\\d+[.]\\d+|(\\d+[hm]\s?){1,2}))?)+)", Regexp::IGNORECASE)).each do |match|
action = match[0]
!
! target_issues_with_log = match[1].scan(/([\s,;&]*([^@]|#?)\d+)([\s]*@(\d+[.]\d+|(\d+[hm]\s?){1,2}))/)
! target_issues_with_log.collect! { |x| [ x[0].scan(/\d+/)[0], (x[2] != nil ? x[3].scan(/(\d+[.]\d+|(\d+[hm]\s?){1,2})/)[0][0] : 0) ] }
!
! log_time += target_issues_with_log
!
! target_issue_ids = target_issues_with_log.collect {|x| x[0]}
target_issues = repository.project.issues.find_all_by_id(target_issue_ids)
+
if fix_status && fix_keywords.include?(action.downcase)
# update status of issues
logger.debug "Issues fixed by changeset #{self.revision}: #{issue_ids.join(', ')}." if logger && logger.debug?
***************
*** 118,125 ****
--- 131,189 ----
Mailer.deliver_issue_edit(journal) if Setting.notified_events.include?('issue_updated')
end
end
+
referenced_issues += target_issues
end
+
+ if Setting.commit_logtime_enabled?
+ log_time.each do |issue_wl|
+ next if issue_wl[1] == nil
+
+ issue_id = issue_wl[0]
+ issue_hours = issue_wl[1]
+
+ match = issue_hours.match(/\d+[.]\d+/)
+
+ if match != nil
+ issue_hours = match[0].to_f
+ else
+ hours = ((match = issue_hours.scan(/(\d+)h/)).size == 1 ? match[0][0] : 0)
+ minutes = ((match = issue_hours.scan(/(\d+)m/)).size == 1 ? match[0][0] : 0)
+
+ hours = (hours == nil ? 0 : hours.to_i)
+ minutes = (minutes == nil ? 0 : minutes.to_i)
+
+ issue_hours = ((hours.to_f + minutes.to_f / 60.0) * 100.0).round / 100.0
+ end
+
+ next if issue_hours.to_f <= 0
+
+ logger.debug "Log time for issue #{issue_id} - #{issue_hours}." if logger && logger.debug?
+
+ issue = repository.project.issues.find_by_id(issue_id)
+
+ activity = Enumeration.default('ACTI')
+ if activity == nil
+ activity = Enumeration.get_values('ACTI')[0]
+ end
+
+ next if activity == nil || issue == nil || user == nil
+
+ csettext = "from revision r#{self.revision}"
+ if self.scmid && (! (csettext =~ /^r[0-9]+$/))
+ csettext = "from revision \"#{self.scmid}\""
+ end
+
+ timeentry = TimeEntry.create(:project => repository.project,
+ :issue => issue,
+ :user => user,
+ :spent_on => self.commit_date,
+ :hours => issue_hours,
+ :activity_id => activity.id,
+ :comments => csettext)
+ timeentry.save
+ end
+ end
self.issues = referenced_issues.uniq
end
diff -crB redmine-old/app/views/settings/_repositories.rhtml redmine-new/app/views/settings/_repositories.rhtml
*** redmine-old/app/views/settings/_repositories.rhtml 2009-09-13 14:10:08.000000000 +0200
--- redmine-new/app/views/settings/_repositories.rhtml 2009-11-02 12:56:57.000000000 +0100
***************
*** 30,35 ****
--- 30,39 ----
<%= l(:label_applied_status) %>: <%= select_tag 'settings[commit_fix_status_id]', options_for_select( [["", 0]] + IssueStatus.find(:all).collect{|status| [status.name, status.id.to_s]}, Setting.commit_fix_status_id) %>
<%= l(:field_done_ratio) %>: <%= select_tag 'settings[commit_fix_done_ratio]', options_for_select( [[l(:label_no_change_option), '']] + ((0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }), Setting.commit_fix_done_ratio) %>
<%= l(:text_comma_separated) %>
+
+
+ <%= check_box_tag 'settings[commit_logtime_enabled]', 1, Setting.commit_logtime_enabled? %><%= hidden_field_tag 'settings[commit_logtime_enabled]', 0 %>
+
<%= l(:text_commit_logtime) %>
<%= submit_tag l(:button_save) %>
diff -crB redmine-old/config/settings.yml redmine-new/config/settings.yml
*** redmine-old/config/settings.yml 2009-09-13 14:10:16.000000000 +0200
--- redmine-new/config/settings.yml 2009-11-01 13:32:49.000000000 +0100
***************
*** 86,91 ****
--- 86,94 ----
default: 0
commit_fix_done_ratio:
default: 100
+ commit_logtime_enabled:
+ format: int
+ default: 0
# autologin duration in days
# 0 means autologin is disabled
autologin:
diff -crB redmine-old/lang/bg.yml redmine-new/lang/bg.yml
*** redmine-old/lang/bg.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/bg.yml 2009-11-02 13:47:44.000000000 +0100
***************
*** 699,701 ****
--- 699,703 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/ca.yml redmine-new/lang/ca.yml
*** redmine-old/lang/ca.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/ca.yml 2009-11-02 13:47:49.000000000 +0100
***************
*** 700,702 ****
--- 700,704 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/cs.yml redmine-new/lang/cs.yml
*** redmine-old/lang/cs.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/cs.yml 2009-11-02 13:46:27.000000000 +0100
***************
*** 203,208 ****
--- 203,209 ----
setting_sys_api_enabled: Povolit WS pro správu repozitory
setting_commit_ref_keywords: Klíčová slova pro odkazy
setting_commit_fix_keywords: Klíčová slova pro uzavření
+ setting_commit_logtime_enabled: Povolit automatický záznam stráveného času
setting_autologin: Automatické přihlašování
setting_date_format: Formát data
setting_time_format: Formát času
***************
*** 575,580 ****
--- 576,582 ----
text_tracker_no_workflow: Pro tuto frontu není definován žádný workflow
text_unallowed_characters: Nepovolené znaky
text_comma_separated: Povoleno více hodnot (oddělěné čárkou).
+ text_commit_logtime: "Umožní automatický záznam stráveného času podle zpávy k revizi. Příklad: refs #123 @1.5 nebo refs #123 @1h30m nebo fixes #123 @1h 30m (zaznamená jednu hodinu a 30 minut k úkolu #123)"
text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
text_issue_added: Úkol %s byl vytvořen uživatelem %s.
text_issue_updated: Úkol %s byl aktualizován uživatelem %s.
diff -crB redmine-old/lang/da.yml redmine-new/lang/da.yml
*** redmine-old/lang/da.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/da.yml 2009-11-02 13:47:54.000000000 +0100
***************
*** 700,702 ****
--- 700,704 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/de.yml redmine-new/lang/de.yml
*** redmine-old/lang/de.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/de.yml 2009-11-02 13:39:14.000000000 +0100
***************
*** 205,210 ****
--- 205,211 ----
setting_sys_api_enabled: Webservice zur Verwaltung der Projektarchive benutzen
setting_commit_ref_keywords: Schlüsselwörter (Beziehungen)
setting_commit_fix_keywords: Schlüsselwörter (Status)
+ setting_commit_logtime_enabled: Aufwände automatisch buchen
setting_autologin: Automatische Anmeldung
setting_date_format: Datumsformat
setting_time_format: Zeitformat
***************
*** 646,651 ****
--- 647,653 ----
text_tracker_no_workflow: Kein Workflow für diesen Tracker definiert.
text_unallowed_characters: Nicht erlaubte Zeichen
text_comma_separated: Mehrere Werte erlaubt (durch Komma getrennt).
+ text_commit_logtime: "Ermöglicht automatische Buchung von Aufwänden via Commit-Log-Meldungen. Bsp.: refs #123 @1.5 oder refs #123 @1h30m oder fixes #123 @1h 30m (bucht ein Aufwand von einer Stunde und 30 Minuten für das Ticket #123)"
text_issues_ref_in_commit_messages: Ticket-Beziehungen und -Status in Commit-Log-Meldungen
text_issue_added: Ticket %s wurde erstellt by %s.
text_issue_updated: Ticket %s wurde aktualisiert by %s.
diff -crB redmine-old/lang/en.yml redmine-new/lang/en.yml
*** redmine-old/lang/en.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/en.yml 2009-11-02 13:04:30.000000000 +0100
***************
*** 205,212 ****
--- 205,213 ----
setting_default_projects_public: New projects are public by default
setting_autofetch_changesets: Autofetch commits
setting_sys_api_enabled: Enable WS for repository management
setting_commit_ref_keywords: Referencing keywords
setting_commit_fix_keywords: Fixing keywords
+ setting_commit_logtime_enabled: Enable spent time logging
setting_autologin: Autologin
setting_date_format: Date format
setting_time_format: Time format
***************
*** 649,654 ****
--- 652,658 ----
text_tracker_no_workflow: No workflow defined for this tracker
text_unallowed_characters: Unallowed characters
text_comma_separated: Multiple values allowed (comma separated).
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
text_issue_added: Issue %s has been reported by %s.
text_issue_updated: Issue %s has been updated by %s.
diff -crB redmine-old/lang/es.yml redmine-new/lang/es.yml
*** redmine-old/lang/es.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/es.yml 2009-11-02 13:47:58.000000000 +0100
***************
*** 684,686 ****
--- 684,688 ----
text_plugin_assets_writable: Se puede escribir en el directorio de extensiones activas
warning_attachments_not_saved: "No pudieron guardarse %d fichero(s)."
button_create_and_continue: Crear y continuar
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/fi.yml redmine-new/lang/fi.yml
*** redmine-old/lang/fi.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/fi.yml 2009-11-02 13:48:01.000000000 +0100
***************
*** 699,701 ****
--- 699,703 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/fr.yml redmine-new/lang/fr.yml
*** redmine-old/lang/fr.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/fr.yml 2009-11-02 13:48:03.000000000 +0100
***************
*** 702,704 ****
--- 702,706 ----
enumeration_issue_priorities: Priorités des demandes
enumeration_doc_categories: Catégories des documents
enumeration_activities: Activités (suivi du temps)
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/he.yml redmine-new/lang/he.yml
*** redmine-old/lang/he.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/he.yml 2009-11-02 13:48:06.000000000 +0100
***************
*** 699,701 ****
--- 699,703 ----
text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.'
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/hu.yml redmine-new/lang/hu.yml
*** redmine-old/lang/hu.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/hu.yml 2009-11-02 13:48:09.000000000 +0100
***************
*** 700,702 ****
--- 700,704 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/it.yml redmine-new/lang/it.yml
*** redmine-old/lang/it.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/it.yml 2009-11-02 13:48:11.000000000 +0100
***************
*** 699,701 ****
--- 699,703 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/ja.yml redmine-new/lang/ja.yml
*** redmine-old/lang/ja.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/ja.yml 2009-11-02 13:48:14.000000000 +0100
***************
*** 700,702 ****
--- 700,704 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/ko.yml redmine-new/lang/ko.yml
*** redmine-old/lang/ko.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/ko.yml 2009-11-02 13:48:16.000000000 +0100
***************
*** 699,701 ****
--- 699,703 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/lt.yml redmine-new/lang/lt.yml
*** redmine-old/lang/lt.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/lt.yml 2009-11-02 13:48:18.000000000 +0100
***************
*** 701,703 ****
--- 701,705 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/nl.yml redmine-new/lang/nl.yml
*** redmine-old/lang/nl.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/nl.yml 2009-11-02 13:48:21.000000000 +0100
***************
*** 701,703 ****
--- 701,705 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/no.yml redmine-new/lang/no.yml
*** redmine-old/lang/no.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/no.yml 2009-11-02 13:48:23.000000000 +0100
***************
*** 700,702 ****
--- 700,704 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/pl.yml redmine-new/lang/pl.yml
*** redmine-old/lang/pl.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/pl.yml 2009-11-02 13:48:26.000000000 +0100
***************
*** 718,720 ****
--- 718,722 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/pt-br.yml redmine-new/lang/pt-br.yml
*** redmine-old/lang/pt-br.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/pt-br.yml 2009-11-02 13:48:29.000000000 +0100
***************
*** 700,702 ****
--- 700,704 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/pt.yml redmine-new/lang/pt.yml
*** redmine-old/lang/pt.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/pt.yml 2009-11-02 13:48:31.000000000 +0100
***************
*** 701,703 ****
--- 701,705 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/ro.yml redmine-new/lang/ro.yml
*** redmine-old/lang/ro.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/ro.yml 2009-11-02 13:48:34.000000000 +0100
***************
*** 699,701 ****
--- 699,703 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/ru.yml redmine-new/lang/ru.yml
*** redmine-old/lang/ru.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/ru.yml 2009-11-02 13:48:36.000000000 +0100
***************
*** 733,735 ****
--- 733,737 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/sk.yml redmine-new/lang/sk.yml
*** redmine-old/lang/sk.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/sk.yml 2009-11-02 13:48:38.000000000 +0100
***************
*** 705,707 ****
--- 705,709 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/sr.yml redmine-new/lang/sr.yml
*** redmine-old/lang/sr.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/sr.yml 2009-11-02 13:48:40.000000000 +0100
***************
*** 700,702 ****
--- 700,704 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/sv.yml redmine-new/lang/sv.yml
*** redmine-old/lang/sv.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/sv.yml 2009-11-02 13:48:43.000000000 +0100
***************
*** 700,702 ****
--- 700,704 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/th.yml redmine-new/lang/th.yml
*** redmine-old/lang/th.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/th.yml 2009-11-02 13:48:47.000000000 +0100
***************
*** 702,704 ****
--- 702,706 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/tr.yml redmine-new/lang/tr.yml
*** redmine-old/lang/tr.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/tr.yml 2009-11-02 13:48:49.000000000 +0100
***************
*** 700,702 ****
--- 700,704 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/uk.yml redmine-new/lang/uk.yml
*** redmine-old/lang/uk.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/uk.yml 2009-11-02 13:48:52.000000000 +0100
***************
*** 701,703 ****
--- 701,705 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/vn.yml redmine-new/lang/vn.yml
*** redmine-old/lang/vn.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/vn.yml 2009-11-02 13:48:55.000000000 +0100
***************
*** 702,704 ****
--- 702,706 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/zh-tw.yml redmine-new/lang/zh-tw.yml
*** redmine-old/lang/zh-tw.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/zh-tw.yml 2009-11-02 13:49:01.000000000 +0100
***************
*** 701,703 ****
--- 701,705 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"
diff -crB redmine-old/lang/zh.yml redmine-new/lang/zh.yml
*** redmine-old/lang/zh.yml 2009-09-13 14:10:14.000000000 +0200
--- redmine-new/lang/zh.yml 2009-11-02 13:48:59.000000000 +0100
***************
*** 701,703 ****
--- 701,705 ----
text_plugin_assets_writable: Plugin assets directory writable
warning_attachments_not_saved: "%d file(s) could not be saved."
button_create_and_continue: Create and continue
+ setting_commit_logtime_enabled: Enable time logging
+ text_commit_logtime: "Allows to log time in commit messages. Examples: refs #123 @1.5 or refs #123 @1h30m or fixes #123 @1h 30m (logs one hour and 30 minutes for issue #123)"