[games/chessament] src: Fix missing string context

Manuel Alcaraz Zambrano <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 1b2a53dde883f4b77e22892d8e9cc26fb93ead44 by Manuel Alcaraz Zambrano.
Committed on 03/08/2026 at 14:33.
Pushed by manuelal into branch 'master'.

Fix missing string context

Amends: 1fd0b686e63c ("Add more details to player suggestions")

M  +2    -2    src/searchplayersmodel.cpp

https://invent.kde.org/games/chessament/-/commit/1b2a53dde883f4b77e22892d8e9cc26fb93ead44

diff --git a/src/searchplayersmodel.cpp b/src/searchplayersmodel.cpp
index f42638b..97d3288 100644
--- a/src/searchplayersmodel.cpp
+++ b/src/searchplayersmodel.cpp
@@ -40,9 +40,9 @@ QVariant SearchPlayersModel::data(const QModelIndex &index, int role) const
             return player.origin();
         }
         if (player.origin().isEmpty()) {
-            return i18nc("x", "Rating: %1", player.standardRating());
+            return i18nc("%1 is the player's rating", "Rating: %1", player.standardRating());
         }
-        return i18nc("x", "Rating: %1 · %2", player.standardRating(), player.origin());
+        return i18nc("%1 is the player's rating, %2 is the player's origin", "Rating: %1 · %2", player.standardRating(), player.origin());
     }
     case SearchPlayersModel::Role::RatingRole:
         return player.standardRating();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.