Blender V5.0
messages.cc File Reference
#include "messages.hh"
#include <algorithm>
#include <cstdint>
#include <cstdio>
#include <memory>
#include <string>
#include <string_view>
#include "BLI_assert.h"
#include "BLI_fileops.h"
#include "BLI_hash.hh"
#include "BLI_map.hh"
#include "BLI_path_utils.hh"
#include "BLI_string_ref.hh"
#include "BLI_vector.hh"
#include "CLG_log.h"

Go to the source code of this file.

Classes

class  blender::locale::Info
class  blender::locale::MOFile
struct  blender::locale::MessageKeyRef
struct  blender::locale::MessageKey
class  blender::locale::MOMessages

Namespaces

namespace  blender
namespace  blender::locale

Functions

static constexpr bool blender::locale::is_upper_ascii (const char c)
static constexpr bool blender::locale::is_lower_ascii (const char c)
static bool blender::locale::make_lower_ascii (char &c)
static bool blender::locale::make_upper_ascii (char &c)
static constexpr bool blender::locale::is_numeric_ascii (const char c)
bool blender::locale::operator== (const MessageKey &a, const MessageKey &b)
bool blender::locale::operator== (const MessageKeyRef &a, const MessageKey &b)
void blender::locale::init (const StringRef locale_full_name, const Vector< std::string > &domains, const Vector< std::string > &paths)
void blender::locale::free ()
std::optional< StringRefNullblender::locale::translate (const int domain, const StringRef context, const StringRef key)
const char * blender::locale::full_name ()

Variables

static CLG_LogRef blender::locale::LOG = {"translation"}
static std::unique_ptr< MOMessagesblender::locale::global_messages
static std::string blender::locale::global_full_name