From 78bf6099862eac0aee46dfa6c2f6b88e42a204c8 Mon Sep 17 00:00:00 2001 From: s0600204 Date: Wed, 20 Jan 2021 13:50:33 +0000 Subject: [PATCH] Correct grammar in tooltip Whilst "merely" *is* in the thesaurus as a synonym for "only", it doesn't work in this context. This was SVN commit r24723. --- .../mods/public/gui/session/selection_panels_helpers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/binaries/data/mods/public/gui/session/selection_panels_helpers.js b/binaries/data/mods/public/gui/session/selection_panels_helpers.js index 7d306cc9b0..f141bd515b 100644 --- a/binaries/data/mods/public/gui/session/selection_panels_helpers.js +++ b/binaries/data/mods/public/gui/session/selection_panels_helpers.js @@ -137,7 +137,7 @@ function formatMatchLimitString(matchEntLimit, matchEntCount, type) if (type == "build") { if (passedLimit) - text = sprintf(translatePlural("Could be constructed merely once.", "Could be constructed merely %(limit)s times.", matchEntLimit), { + text = sprintf(translatePlural("Could only be constructed once.", "Could only be constructed %(limit)s times.", matchEntLimit), { "limit": matchEntLimit }); else if (matchEntLimit == 1) @@ -150,7 +150,7 @@ function formatMatchLimitString(matchEntLimit, matchEntCount, type) else if (type == "training") { if (passedLimit) - text = sprintf(translatePlural("Could be trained merely once.", "Could be trained merely %(limit)s times.", matchEntLimit), { + text = sprintf(translatePlural("Could only be trained once.", "Could only be trained %(limit)s times.", matchEntLimit), { "limit": matchEntLimit }); else if (matchEntLimit == 1) @@ -163,7 +163,7 @@ function formatMatchLimitString(matchEntLimit, matchEntCount, type) else { if (passedLimit) - text = sprintf(translatePlural("Could be created merely once.", "Could be created merely %(limit)s times.", matchEntLimit), { + text = sprintf(translatePlural("Could only be created once.", "Could only be created %(limit)s times.", matchEntLimit), { "limit": matchEntLimit }); else if (matchEntLimit == 1)