XO for dummy strings and format arguments in uses of wxPLURAL

This commit is contained in:
Paul Licameli 2019-12-28 20:21:25 -05:00
parent 3b9442a000
commit 4afd93e84e
1 changed files with 6 additions and 6 deletions

View File

@ -327,13 +327,13 @@ TranslatableString ClipBoundaryMessage(
and the last string is the name of the track containing the
clips.
*/
_("dummyStringClipBoundaryMessage");
XO("dummyStringClipBoundaryMessage");
str = wxPLURAL(
"%s %d of %d clip %s",
"%s %d of %d clips %s",
2
)(
result.clipStart1 ? _("start") : _("end"),
result.clipStart1 ? XO("start") : XO("end"),
result.index1 + 1,
nClips,
longName
@ -349,15 +349,15 @@ TranslatableString ClipBoundaryMessage(
and the last string is the name of the track containing the
clips.
*/
_("dummyStringClipBoundaryMessageLong");
XO("dummyStringClipBoundaryMessageLong");
str = wxPLURAL(
"%s %d and %s %d of %d clip %s",
"%s %d and %s %d of %d clips %s",
4
)(
result.clipStart1 ? _("start") : _("end"),
result.clipStart1 ? XO("start") : XO("end"),
result.index1 + 1,
result.clipStart2 ? _("start") : _("end"),
result.clipStart2 ? XO("start") : XO("end"),
result.index2 + 1,
nClips,
longName
@ -585,7 +585,7 @@ void DoSelectClip(AudacityProject &project, bool next)
first number identifies one of a sequence of clips,
last number counts the clips,
string names a track */
_("dummyStringOnSelectClip");
XO("dummyStringOnSelectClip");
auto str = wxPLURAL(
"%d of %d clip %s",
"%d of %d clips %s",