Splicing isn't the right answer, make two messages, one with none and the
other with the number inserted:
```
If(t.empty()) {
    message = format_string("No enemies detected.");
} else {
    message = ngettext("%s enemy detected.", "%s enemies detected.",
                     t.size(), t.size());
}
```
Then the translators can translate the whole phrase.