* Get a modifiable copy of the localized text for dictionary key @a id. * This function forwards the call to Language::getString(const std::string &, unsigned). * @param id The dictionary key to search for. * @param n The number to use for the proper version. * @return A copy of the localized text. */
| 224 | * @return A copy of the localized text. |
| 225 | */ |
| 226 | LocalizedText State::tr(const std::string &id, unsigned n) const |
| 227 | { |
| 228 | return _game->getLanguage()->getString(id, n); |
| 229 | } |
| 230 | |
| 231 | /** |
| 232 | * centers all the surfaces on the screen. |
nothing calls this directly
no test coverage detected