[gnome-software/localize-strings: 1/3] Allow to localize ESRB content rating strings
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/localize-strings: 1/3] Allow to localize ESRB content rating strings
- Date: Fri, 24 May 2019 19:10:25 +0000 (UTC)
commit 928431faa2f664f5ec41fedeabf7d6b96a9cd93c
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]