Skip to content

Commit 4376571

Browse files
TravisTravis
authored andcommitted
Merge pull request #6 from Pierstoval/master
Add translation for viewing more time entries
2 parents ccee103 + b8f48a6 commit 4376571

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

app/views/spent_time/_report.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<% if User.current.allowed_to?(:view_time_entries, @project) and @issue.time_entries.present? %>
22
<hr />
3-
<p><strong><%= t('plugin_spent_time_in_issue.timeEntries') %></strong> <%= link_to "see all #{@issue.time_entries.count} entries", project_issue_time_entries_path( @project , @issue ) if @issue.time_entries.count > Setting.plugin_redmine_spent_time_in_issue_description['spent_time_max_display'].to_i %> </p>
3+
<p><strong><%= t('plugin_spent_time_in_issue.timeEntries') %></strong> (<%= link_to "#{t "plugin_spent_time_in_issue.seeAllCount", count: @issue.time_entries.count}", project_issue_time_entries_path( @project , @issue ) if @issue.time_entries.count > Setting.plugin_redmine_spent_time_in_issue_description['spent_time_max_display'].to_i %>) </p>
44

55
<table class="issue-spent-time-description">
66
<thead>

config/locales/en.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ en:
55
max_display: Time Entries Maximum Display
66
user: User
77
hours: Hours
8-
comments: Comments
8+
comments: Comments
9+
seeAllCount: See all %{count} entries

config/locales/fr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ fr:
55
max_display: Nombre maximum d'entrées affichées
66
user: Utilisateur
77
hours: Nombre d'heures
8-
comments: Commentaires
8+
comments: Commentaires
9+
seeAllCount: Voir les %{count} entrées

0 commit comments

Comments
 (0)