user-statistics.diff

Markus Knittig, 2008-11-15 21:07

Download (2.54 KB)

View differences:

app/views/account/show.rhtml
28 28

  
29 29
<h3><%=l(:label_activity)%></h3>
30 30
<p>
31
<%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %>
31
<%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %><br />
32
<%=l(:label_posted_messages)%>: <%= Message.count(:conditions => ["author_id=?", @user.id]) %><br />
33
<%=l(:label_posted_issue_notes)%>: <%= Journal.count(:conditions => ["journalized_type=? and user_id=?", 'Issue', @user.id]) %><br />
34
<%=l(:label_committed_changesets)%>: <%= Changeset.count(:conditions => ["user_id=?", @user.id]) %><br />
35
<%=l(:label_posted_news_comments)%>: <%= News::Comment.count(:conditions => ["author_id=?", @user.id]) %><br />
36
<%=l(:label_wiki_edits)%>: <%= WikiContent::Version.count(:conditions => ["author_id=?", @user.id]) %>
32 37
</p>
lang/de.yml
286 286
label_logout: Abmelden
287 287
label_help: Hilfe
288 288
label_reported_issues: Gemeldete Tickets
289
label_posted_messages: Hinzugefügte Forumsbeiträge
290
label_posted_issue_notes: Hinzugefügte Ticketkommentare
291
label_committed_changesets: Eingecheckte Änderungen
292
label_wiki_edits: Wiki-Bearbeitungen
293
label_posted_news_comments: Hinzugefügte Newskommentare
289 294
label_assigned_to_me_issues: Mir zugewiesen
290 295
label_last_login: Letzte Anmeldung
291 296
label_last_updates: zuletzt aktualisiert
lang/en.yml
337 337
label_logout: Sign out
338 338
label_help: Help
339 339
label_reported_issues: Reported issues
340
label_posted_messages: Posted messages
341
label_posted_issue_notes: Posted issue notes
342
label_committed_changesets: Committed changesets
343
label_wiki_edits: Wiki edits
344
label_posted_news_comments: Posted news comments
340 345
label_assigned_to_me_issues: Issues assigned to me
341 346
label_last_login: Last connection
342 347
label_last_updates: Last updated
343
-