Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenXcom/OpenXcom
/ getSuffix
Method
getSuffix
src/Engine/LanguagePlurality.cpp:36–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
};
35
36
const char *OneSingular::getSuffix(unsigned n) const
37
{
38
if (n == 1)
39
{
40
return
"_one"
;
41
}
42
return
"_other"
;
43
}
44
45
/**
46
* Plurality rules where 0 is also singular.
Callers
1
getString
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected