summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2015-05-06 17:22:02 -0700
committerPhilip Chimento <philip@endlessm.com>2015-05-06 17:22:02 -0700
commite93732b8e67683966caaf7b821391aced41c317e (patch)
tree37c3cb1ef75d8870566f6eb3b02b0ae9edc34e87
parent67a38961feeca7389d0ba0df0227cf2569010853 (diff)
Add more license types
These licenses are used in the new batch of image attributions coming from eos-knowledge-apps. [endlessm/eos-sdk#3052]
-rw-r--r--endless/eosattribution.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/endless/eosattribution.c b/endless/eosattribution.c
index e7e4894..068c492 100644
--- a/endless/eosattribution.c
+++ b/endless/eosattribution.c
@@ -53,7 +53,12 @@ static gchar * const recognized_licenses[] = {
"CC BY 2.0",
"CC BY 3.0",
"CC BY-SA 2.0",
+ "CC BY-SA 2.5",
"CC BY-SA 3.0",
+ "CC BY-SA 4.0",
+ "CC BY-NC 2.0",
+ "CC BY-NC 3.0",
+ "CC BY-NC-SA 2.0",
"CC BY-ND 2.0",
"CC BY-ND 3.0",
NULL
@@ -68,7 +73,12 @@ static gchar * const license_display_names[] = {
N_("Creative Commons Attribution 2.0"),
N_("Creative Commons Attribution 3.0"),
N_("Creative Commons Attribution-ShareAlike 2.0"),
+ N_("Creative Commons Attribution-ShareAlike 2.5 Generic"),
N_("Creative Commons Attribution-ShareAlike 3.0"),
+ N_("Creative Commons Attribution-ShareAlike 4.0 International"),
+ N_("Creative Commons Attribution-NonCommercial 2.0"),
+ N_("Creative Commons Attribution-NonCommercial 3.0"),
+ N_("Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic"),
N_("Creative Commons Attribution-NoDerivs 2.0"),
N_("Creative Commons Attribution-NoDerivs 3.0"),
NULL
@@ -85,7 +95,12 @@ static gchar * const license_uris[] = {
N_("http://creativecommons.org/licenses/by/2.0/"),
N_("http://creativecommons.org/licenses/by/3.0/"),
N_("http://creativecommons.org/licenses/by-sa/2.0/"),
+ N_("http://creativecommons.org/licenses/by-sa/2.5/"),
N_("http://creativecommons.org/licenses/by-sa/3.0/"),
+ N_("http://creativecommons.org/licenses/by-sa/4.0/"),
+ N_("http://creativecommons.org/licenses/by-nc/2.0/"),
+ N_("http://creativecommons.org/licenses/by-nc/3.0/"),
+ N_("http://creativecommons.org/licenses/by-nc-sa/2.0/"),
N_("http://creativecommons.org/licenses/by-nd/2.0/"),
N_("http://creativecommons.org/licenses/by-nd/3.0/"),
NULL