[gnome-software] Use the full name for the ESRB ratings descripion
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Use the full name for the ESRB ratings descripion
- Date: Thu, 19 Jul 2018 12:21:14 +0000 (UTC)
commit caf33e6cfc8d62b751617d3554e42b9d1e7cd1ea
Author: Richard Hughes <richard hughsie com>
Date: Thu Jul 19 13:20:12 2018 +0100
Use the full name for the ESRB ratings descripion
Fixes https://gitlab.gnome.org/GNOME/gnome-software/issues/368
src/gs-content-rating.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gs-content-rating.c b/src/gs-content-rating.c
index 063a7449..c7741dd0 100644
--- a/src/gs-content-rating.c
+++ b/src/gs-content-rating.c
@@ -514,16 +514,16 @@ gs_utils_content_rating_age_to_str (GsContentRatingSystem system, guint age)
}
if (system == GS_CONTENT_RATING_SYSTEM_ESRB) {
if (age >= 18)
- return "AO";
+ return "Adults Only";
if (age >= 17)
- return "M";
+ return "Mature";
if (age >= 13)
- return "T";
+ return "Teen";
if (age >= 10)
- return "E10+";
+ return "Everyone 10+";
if (age >= 6)
- return "E";
- return "eC";
+ return "Everyone";
+ return "Early Childhood";
}
/* IARC = everything else */
if (age >= 18)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]