This is a low hanging fruit, since it's already available (although
quite hidden)
Generally, output "not set" i a pref is not set rather than an empty
string.
Item "Time (Fix)|x" "info-insert fixtime"
Separator
Item "File Name (Excl. Extension)|N" "info-insert buffer name-noext"
+ Item "User Name|U" "info-insert lyxrc user_name"
+ Item "User Email|E" "info-insert lyxrc user_email"
Separator
Item "Other...|O" "info-insert"
End
// remove \n and ""
result = rtrim(result, "\n");
result = trim(result, "\"");
+ gui = _("not set");
+ if (result.empty())
+ result = "not set";
setText(from_utf8(result), params_.lang);
break;
}