#include "config.h"
#include "exports.h"
#include "MRMesh/MRId.h"
#include <string>
#include <string_view>
#include <vector>
Go to the source code of this file.
|
| namespace | MR |
| | only for bindings generation
|
| namespace | MR::Locale |
|
| std::string | MR::Locale::translate (std::string_view msg, LocaleDomainId domainId=cDefaultDomainId) |
| | Translates a message using the active locale.
|
| std::string | MR::Locale::translate (std::string_view context, std::string_view msg, LocaleDomainId domainId=cDefaultDomainId) |
| | Translates a message in context using the active locale.
|
| std::string | MR::Locale::translate (std::string_view single, std::string_view plural, Int64 n, LocaleDomainId domainId=cDefaultDomainId) |
| | Translates a plural message form using the active locale.
|
| std::string | MR::Locale::translate (std::string_view context, std::string_view single, std::string_view plural, Int64 n, LocaleDomainId domainId=cDefaultDomainId) |
| | Translates a plural message form in context using the active locale.
|
| std::vector< std::string > | MR::Locale::translateAll (const std::vector< std::string > &items, LocaleDomainId domainId=cDefaultDomainId) |
| | Translates all strings in a vector using the active locale.
|
| std::vector< std::string > | MR::Locale::translateAll (const char *context, const std::vector< std::string > &items, LocaleDomainId domainId=cDefaultDomainId) |
| | Translates all strings in a vector with context using the active locale.
|
◆ _tr
Value:
std::string translate(std::string_view msg, LocaleDomainId domainId=cDefaultDomainId)
Translates a message using the active locale.
◆ f_tr
◆ s_tr