HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
po_parser.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
6#pragma once
7
8#include <string>
9#include <vector>
10#include "language_tag.hpp"
11#include "../URL.hpp"
12
13namespace tt {
14
16 std::u8string msgctxt;
17 std::u8string msgid;
18 std::u8string msgid_plural;
20};
21
24 int nr_plural_forms;
25 std::u8string plural_expression;
26 std::vector<po_translation> translations;
27};
28
29[[nodiscard]] po_translations parse_po(URL const &url);
30
31}
32
Definition language.hpp:19
An IETF BCP 47 Language tag.
Definition language_tag.hpp:15
Definition po_parser.hpp:15
Definition po_parser.hpp:22
Definition URL.hpp:46