Commit 49ab47a71f94faf42574deca81df5ac0c9ea5540
Exists in
master
and in
21 other branches
Merge branch 'stable'
Ignored changes on po file Conflicts: debian/changelog lib/noosfero.rb po/pt/noosfero.po
Showing
2 changed files
with
8 additions
and
1 deletions
Show diff stats
app/helpers/profile_helper.rb
| ... | ... | @@ -41,6 +41,7 @@ module ProfileHelper |
| 41 | 41 | :birth_date => _('Date of birth'), |
| 42 | 42 | :created_at => _('Profile created at'), |
| 43 | 43 | :members_count => _('Members'), |
| 44 | + :privacy_setting => _('Privacy setting'), | |
| 44 | 45 | :article_tags => _('Tags') |
| 45 | 46 | } |
| 46 | 47 | |
| ... | ... | @@ -64,7 +65,7 @@ module ProfileHelper |
| 64 | 65 | |
| 65 | 66 | def title(field, entry = nil) |
| 66 | 67 | return self.send("#{field}_custom_title", entry) if MULTIPLE[kind].include?(field) && entry.present? |
| 67 | - CUSTOM_LABELS[field.to_sym] || field.to_s.humanize | |
| 68 | + CUSTOM_LABELS[field.to_sym] || _(field.to_s.humanize) | |
| 68 | 69 | end |
| 69 | 70 | |
| 70 | 71 | def display_field(field) | ... | ... |
debian/changelog