Blender V5.0
blender::locale::MOMessages Class Reference

Public Member Functions

 MOMessages (const Info &info, const Vector< std::string > &domains, const Vector< std::string > &paths)
std::optional< StringRefNulltranslate (const int domain, const StringRef context, const StringRef str) const
const std::string & error ()

Detailed Description

Definition at line 452 of file messages.cc.

Constructor & Destructor Documentation

◆ MOMessages()

blender::locale::MOMessages::MOMessages ( const Info & info,
const Vector< std::string > & domains,
const Vector< std::string > & paths )
inline

Member Function Documentation

◆ error()

const std::string & blender::locale::MOMessages::error ( )
inline

Definition at line 491 of file messages.cc.

◆ translate()

std::optional< StringRefNull > blender::locale::MOMessages::translate ( const int domain,
const StringRef context,
const StringRef str ) const
inline

Definition at line 476 of file messages.cc.

References result, and str.


The documentation for this class was generated from the following file: