diff options
authorMartin Abente Lahaye <>2018-07-19 10:16:50 -0400
committerMartin Abente Lahaye <>2018-07-19 11:08:24 -0400
commit3e0446049dec7b811c3d1ecba5b1e00d6146aa78 (patch)
parent2110eb3bf6a60440bacfcfffde50b1fcaa4e7eef (diff)
eoslicense: Always display license code
Adding a new license for every app that a uses a different one from our list, it simply does not scale. Therefore, always display the code instead of the "Unknown license" text.
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]);