HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
po_translations.hpp
1// Copyright Take Vos 2020.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "../i18n/i18n.hpp"
8#include <optional>
9#include <string>
10#include <vector>
11#include <cstddef>
12
13hi_export_module(hikogui.l10n.po_translations)
14
15hi_export namespace hi { inline namespace v1 {
16
17struct po_translation {
18 std::optional<std::string> msgctxt;
19 std::string msgid;
20 std::string msgid_plural;
22};
23
24struct po_translations {
25 language_tag language;
26 size_t nr_plural_forms;
27 std::string plural_expression;
28 std::vector<po_translation> translations;
29};
30
31}}
The HikoGUI namespace.
Definition array_generic.hpp:20
DOXYGEN BUG.
Definition algorithm_misc.hpp:20