diff options
author | Martin Abente Lahaye <martin@endlessm.com> | 2018-07-19 10:16:50 -0400 |
---|---|---|
committer | Martin Abente Lahaye <martin@endlessm.com> | 2018-07-19 11:08:24 -0400 |
commit | 3e0446049dec7b811c3d1ecba5b1e00d6146aa78 (patch) | |
tree | 30c81fa004986e02ba3ae8b8c0795dee58c6e5c3 /endless | |
parent | 2110eb3bf6a60440bacfcfffde50b1fcaa4e7eef (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.
https://phabricator.endlessm.com/T22301
Diffstat (limited to 'endless')
-rw-r--r-- | endless/eoslicense.c | 4 |
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]); } |