summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index aa0750c00..28550b75d 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -19,6 +19,7 @@
#include <gtk/gtk.h>
#endif // DEBUG_LCMS
+#include <unistd.h>
#include <cstring>
#include <string>
#include <io/sys.h>
@@ -910,7 +911,7 @@ Glib::ustring getNameFromProfile(cmsHPROFILE profile)
if ( name && !g_utf8_validate(name, -1, NULL) ) {
name = _("(invalid UTF-8 string)");
}
- nameStr = (name) ? name : _("None");
+ nameStr = (name) ? name : C_("Profile name", "None");
#elif HAVE_LIBLCMS2
cmsUInt32Number byteLen = cmsGetProfileInfo(profile, cmsInfoDescription, "en", "US", NULL, 0);
if (byteLen > 0) {