From 7ce4681a0410579c71e1828703146b9476cddb0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Sun, 30 Sep 2018 21:23:52 +0200 Subject: [PATCH] Mark missing strings for translation --- data/preferences.ui | 4 ++-- src/application.vala | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/data/preferences.ui b/data/preferences.ui index 3c93ca0..5784191 100644 --- a/data/preferences.ui +++ b/data/preferences.ui @@ -64,8 +64,8 @@ False 0 - 4 x 4 - 5 x 5 + 4 × 4 + 5 × 5 diff --git a/src/application.vala b/src/application.vala index 743d54f..3771e97 100644 --- a/src/application.vala +++ b/src/application.vala @@ -329,12 +329,10 @@ public class Application : Gtk.Application private void _create_scores () { - // FIXME: The category names should be marked for translation and use the × character. - _grid4_cat = new Scores.Category ("grid4", "Grid 4 x 4"); - _grid5_cat = new Scores.Category ("grid5", "Grid 5 x 5"); + _grid4_cat = new Scores.Category ("grid4", _("Grid 4 × 4")); + _grid5_cat = new Scores.Category ("grid5", _("Grid 5 × 5")); - // FIXME: The second parameter should be _("Grid Size:") but we're in string freeze. - _scores_ctx = new Scores.Context ("gnome-2048", "", _window, category_request, Scores.Style.POINTS_GREATER_IS_BETTER); + _scores_ctx = new Scores.Context ("gnome-2048", _("Grid Size:"), _window, category_request, Scores.Style.POINTS_GREATER_IS_BETTER); } /*\ @@ -382,7 +380,7 @@ public class Application : Gtk.Application { string [] authors = { "Juan R. García Blanco", "Arnaud Bonatti" }; show_about_dialog (_window /* get_active_window () */, - "program-name", "2048" /* TODO _("2048") */, + "program-name", _("2048") "version", VERSION, "comments", _("A clone of 2048 for GNOME"), "copyright", _("Copyright \xc2\xa9 2014-2015 – Juan R. García Blanco\nCopyright \xc2\xa9 2016 – Arnaud Bonatti"), -- GitLab