MCPcopy Create free account
hub / github.com/DFHack/dfhack / addNameWord

Function addNameWord

library/modules/Translation.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void addNameWord (string &out, const string &word)
103{
104 if (word.empty())
105 return;
106 if (out.length() > 0)
107 out.append(" ");
108 out.append(Translation::capitalize(word));
109}
110
111void Translation::setNickname(df::language_name *name, std::string nick)
112{

Callers 1

translateNameMethod · 0.85

Calls 2

lengthMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected