Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Add content rating helper with localization support

Description

This commit introduces a new ContentRatingHelper class that provides functionality for setting an ID for a content rating of an app. Thus, a content rating in any language will have a unique identifier in English.

For example, a content rating having a title "Accord parental" or "Parental guidance" both are treated as the same content rating, with the id as "Parental guidance".

The MainActivityViewModel class has also been updated to change the resource path for loading properties.

The library version has been updated.

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/2154?work_item_iid=2207

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/development/code-review

Edited by Fahim Masud Choudhury

Merge request reports

Loading