summaryrefslogtreecommitdiff
path: root/src/lib/content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-02 21:03:03 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-02 21:03:03 +0100
commit31150ddd0fafac4426d11a758be9d77699b7377c (patch)
treeaa0ac01afb3295f2aa326e394e37247c68d7a431 /src/lib/content.cc
parentcec71ef08475af291b968873757979c5e977facb (diff)
Fix missing content properties when using translations.
Diffstat (limited to 'src/lib/content.cc')
-rw-r--r--src/lib/content.cc8
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")
+ )
+ );
}
}