diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-02 21:03:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-02 21:03:03 +0100 |
| commit | 31150ddd0fafac4426d11a758be9d77699b7377c (patch) | |
| tree | aa0ac01afb3295f2aa326e394e37247c68d7a431 /src/lib/content.cc | |
| parent | cec71ef08475af291b968873757979c5e977facb (diff) | |
Fix missing content properties when using translations.
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index 66b0d477e..b8e7f8ad2 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -359,9 +359,13 @@ Content::active_video_frame_rate () const void Content::add_properties (list<UserProperty>& p) const { - p.push_back (UserProperty (_("General"), _("Filename"), path(0).string ())); + p.push_back (UserProperty (UserProperty::GENERAL, _("Filename"), path(0).string ())); if (_video_frame_rate) { - p.push_back (UserProperty (_("General"), _("Video frame rate"), raw_convert<string> (_video_frame_rate.get(), 5), _("frames per second"))); + p.push_back ( + UserProperty ( + UserProperty::GENERAL, _("Video frame rate"), raw_convert<string> (_video_frame_rate.get(), 5), _("frames per second") + ) + ); } } |
