[gnome-software/localize-strings: 5/6] Allow to localize ESRB content rating strings



commit 8b556e9f2d6be8533cd7451932c8198efa8f4299
Author: Jordi Mas <jmas softcatala org>
Date:   Sat May 18 20:51:03 2019 +0200

    Allow to localize ESRB content rating strings

 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 d4118d00..864b530a 100644
--- a/src/gs-content-rating.c
+++ b/src/gs-content-rating.c
@@ -502,16 +502,16 @@ gs_utils_content_rating_age_to_str (GsContentRatingSystem system, guint age)
        }
        if (system == GS_CONTENT_RATING_SYSTEM_ESRB) {
                if (age >= 18)
-                       return "Adults Only";
+                       return _("Adults Only");
                if (age >= 17)
-                       return "Mature";
+                       return _("Mature");
                if (age >= 13)
-                       return "Teen";
+                       return _("Teen");
                if (age >= 10)
-                       return "Everyone 10+";
+                       return _("Everyone 10+");
                if (age >= 6)
-                       return "Everyone";
-               return "Early Childhood";
+                       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]