summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoddy Shuler <roddy@endlessm.com>2018-07-19 13:19:06 -0700
committerGitHub <noreply@github.com>2018-07-19 13:19:06 -0700
commitbda95ee68af66d5fe8b402a4a470155ee3d0b491 (patch)
tree30c81fa004986e02ba3ae8b8c0795dee58c6e5c3
parent2110eb3bf6a60440bacfcfffde50b1fcaa4e7eef (diff)
parent3e0446049dec7b811c3d1ecba5b1e00d6146aa78 (diff)
Merge pull request #4185 from endlessm/T22301
T22301
-rw-r--r--endless/eoslicense.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/endless/eoslicense.c b/endless/eoslicense.c
index 2c33960..1771f74 100644
--- a/endless/eoslicense.c
+++ b/endless/eoslicense.c
@@ -167,9 +167,9 @@ eos_get_license_display_name (const gchar *license)
g_free (sanitized_license);
/* If the array value is null, it means we don't have a license file for that
- license name. */
+ license name. If we don't, just display the license code as-is */
if (recognized_licenses[index] == NULL)
- return _("Unknown license");
+ return license;
return gettext (recognized_licenses_display_names[index]);
}