MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / IsReasonablyFinished

Method IsReasonablyFinished

src/strings.cpp:2037–2041  ·  view source on GitHub ↗

* Check whether a translation is sufficiently finished to offer it to the public. */

Source from the content-addressed store, hash-verified

2035 * Check whether a translation is sufficiently finished to offer it to the public.
2036 */
2037bool LanguagePackHeader::IsReasonablyFinished() const
2038{
2039 /* "Less than 25% missing" is "sufficiently finished". */
2040 return 4 * this->missing < LANGUAGE_TOTAL_STRINGS;
2041}
2042
2043/**
2044 * Read a particular language.

Callers 2

InitializeLanguagePacksFunction · 0.80
BuildDropDownListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected