aboutsummaryrefslogtreecommitdiff
path: root/client/menu/rating
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-20 00:53:53 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-20 00:53:53 +0200
commit9b6dc047041623bc78ce35054520b39d6b92da94 (patch)
tree219a39b9bd79c4f0f839c124e54c34804710be02 /client/menu/rating
parentbfd8dcc2821265dffadf28d02e2fd200873b3659 (diff)
downloadhurrycurry-9b6dc047041623bc78ce35054520b39d6b92da94.tar
hurrycurry-9b6dc047041623bc78ce35054520b39d6b92da94.tar.bz2
hurrycurry-9b6dc047041623bc78ce35054520b39d6b92da94.tar.zst
localize some strings that were not migrated yet
Diffstat (limited to 'client/menu/rating')
-rw-r--r--client/menu/rating/rating.gd11
1 files changed, 5 insertions, 6 deletions
diff --git a/client/menu/rating/rating.gd b/client/menu/rating/rating.gd
index abe4d426..5e7d9478 100644
--- a/client/menu/rating/rating.gd
+++ b/client/menu/rating/rating.gd
@@ -32,14 +32,13 @@ func _process(_delta):
particles.emission_rect_extents = get_viewport_rect().size * Vector2(0.5, 0.5)
func show_rating(stars_: int, points: int):
- # TODO localize
match stars_:
- 0: title.text = tr("Poor service")
- 1: title.text = tr("Acceptable service")
- 2: title.text = tr("Good service")
- 3: title.text = tr("Excellent service")
+ 0: title.text = tr("c.score.poor")
+ 1: title.text = tr("c.score.acceptable")
+ 2: title.text = tr("c.score.good")
+ 3: title.text = tr("c.score.excellent")
- subtitle.text = tr("You collected %s points") % points
+ subtitle.text = tr("c.score.points_par") % points
for i in range(0, stars_):
var star: TextureRect = stars[i]