feat: implement MoloApp plans 01-15 with integration

Full C++23 framework tree: runtime, observability, security,
data, app, realtime, supervisor, clients, CLI, example plus
enterprise tenancy, audit, operability, governance,
supplychain. Postgres via docker compose for tests.
This commit is contained in:
2026-10-23 18:20:04 +02:00
parent 54068f1953
commit 3c4334cec9
1068 changed files with 100899 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include <string>
#include "i18n/catalog.hpp"
namespace molo::i18n {
struct PoLoadResult {
Catalog catalog = Catalog(Locale::english());
std::string error;
bool ok() const { return error.empty(); }
};
// GNU gettext PO loader: msgid, msgstr, msgid_plural, msgstr[n], msgctxt,
// translator comments (#), multiline strings, C escapes.
class PoLoader {
public:
static PoLoadResult load_file(const std::string& path, const Locale& locale);
static PoLoadResult load_text(const std::string& text, const Locale& locale);
};
} // namespace molo::i18n