diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2020-10-29 13:04:53 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-10-29 14:28:03 +0000 |
commit | 8ac5b447b08a700897480224f5cab885a059ef1a (patch) | |
tree | 857d17bf9d1cbd0b75e0d258dcc057f1617b2739 /libappstream-glib/as-content-rating.c | |
parent | 90993582da90eb9e17601262111c0c3163e7ffb7 (diff) | |
download | appstream-glib-8ac5b447b08a700897480224f5cab885a059ef1a.tar.gz |
as-content-rating: Align the OARS/CSM mappings of sex-*
Align the OARS/CSM mappings of sex-homosexuality and sex-themes, as the
two are identical apart from discriminating on sexual orientation.
This is a follow-up to commit 01e9ee8113a8ad.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Diffstat (limited to 'libappstream-glib/as-content-rating.c')
-rw-r--r-- | libappstream-glib/as-content-rating.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/libappstream-glib/as-content-rating.c b/libappstream-glib/as-content-rating.c index 6cfe998..80f9052 100644 --- a/libappstream-glib/as-content-rating.c +++ b/libappstream-glib/as-content-rating.c @@ -990,6 +990,20 @@ static const struct { /* v1.1 */ { + /* Why is there an OARS category which discriminates based on sexual orientation? + * It’s because there are, very unfortunately, still countries in the world in + * which homosexuality, or software which refers to it, is illegal. In order to be + * able to ship FOSS in those countries, there needs to be a mechanism for apps to + * describe whether they refer to anything illegal, and for ratings mechanisms in + * those countries to filter out any apps which describe themselves as such. + * + * As a counterpoint, it’s illegal in many more countries to discriminate on the + * basis of sexual orientation, so this category is treated exactly the same as + * sex-themes (once the intensities of the ratings levels for both categories are + * normalised) in those countries. + * + * The differences between countries are handled through handling #AsContentRatingSystem + * values differently. */ "sex-homosexuality", /* TRANSLATORS: content rating description, see https://hughsie.github.io/oars/ */ N_("No references to homosexuality"), @@ -1147,7 +1161,7 @@ static const struct { { "social-info", OARS_1_0, 0, 0, 13, 13 }, { "social-location", OARS_1_0, 0, 13, 13, 13 }, /* v1.1 additions */ - { "sex-homosexuality", OARS_1_1, 0, 10, 13, 15 }, + { "sex-homosexuality", OARS_1_1, 0, 13, 14, 15 }, { "sex-prostitution", OARS_1_1, 0, 12, 14, 18 }, { "sex-adultery", OARS_1_1, 0, 8, 10, 18 }, { "sex-appearance", OARS_1_1, 0, 10, 10, 15 }, |