[five-or-more/arnaudb/kill-preferences-dialog: 7/10] Small fix to translations.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/kill-preferences-dialog: 7/10] Small fix to translations.
- Date: Fri, 8 May 2020 16:02:43 +0000 (UTC)
commit 7c467af31e11be80c2c09c988dc5106e0c4dcb2e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri May 8 15:24:16 2020 +0200
Small fix to translations.
Fixes #19.
src/window.vala | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index d965cf4..0097575 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -168,10 +168,9 @@ private class GameWindow : ApplicationWindow
private string category_name_from_key (string key)
{
- for (int i = 0; i < game.n_categories; i++) {
+ for (int i = 0; i < game.n_categories; i++)
if (Game.scorecats[i].key == key)
- return Game.scorecats[i].name;
- }
+ return dpgettext2 (null, "board size", Game.scorecats[i].name); // C_() should work (and
works if you rewrite every scorecat name here), but does not
return "";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]