fix #H4457 - grammar nitpick
"Your pair of speed boots glow silver for a moment." should be "Your pair of speed boots glows silver for a moment.". The fix reverses a post-3.6.0 change to is_plural(). Also, add new pair_of() to test for object formatted as "pair of Bars". For verb usage, that's definitely singular, but for pronoun usage, sometimes plural seems better (although it might actually be incorrect). I fixed up the formatting of a block comment in obj.h, but it is still a candidate for tab cleanup.
This commit is contained in:
14
src/wield.c
14
src/wield.c
@@ -421,10 +421,11 @@ dowieldquiver()
|
||||
}
|
||||
Strcpy(qbuf, "Ready all of them instead?");
|
||||
} else {
|
||||
boolean use_plural = (is_plural(uwep) || pair_of(uwep));
|
||||
|
||||
Sprintf(qbuf, "You are wielding %s. Ready %s instead?",
|
||||
/* uwep->quan is 1, but name might be plural ('boots') */
|
||||
!is_plural(uwep) ? "that" : "those",
|
||||
!is_plural(uwep) ? "it" : "them");
|
||||
!use_plural ? "that" : "those",
|
||||
!use_plural ? "it" : "them");
|
||||
}
|
||||
/* require confirmation to ready the main weapon */
|
||||
if (ynq(qbuf) != 'y') {
|
||||
@@ -458,11 +459,12 @@ dowieldquiver()
|
||||
}
|
||||
Strcpy(qbuf, "Ready all of them instead?");
|
||||
} else {
|
||||
boolean use_plural = (is_plural(uswapwep) || pair_of(uswapwep));
|
||||
|
||||
Sprintf(qbuf, "%s your %s weapon. Ready %s instead?",
|
||||
!is_plural(uswapwep) ? "That is" : "Those are",
|
||||
!use_plural ? "That is" : "Those are",
|
||||
u.twoweap ? "second" : "alternate",
|
||||
/* uswapwep->quan is 1, but name might be plural */
|
||||
!is_plural(uswapwep) ? "it" : "them");
|
||||
!use_plural ? "it" : "them");
|
||||
}
|
||||
/* require confirmation to ready the alternate weapon */
|
||||
if (ynq(qbuf) != 'y') {
|
||||
|
||||
Reference in New Issue
Block a user