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 "../resource_view.hpp"
12#include "../URL.hpp"
13
14namespace tt {
15
17 std::string msgctxt;
18 std::string msgid;
19 std::string msgid_plural;
21};
22
25 int nr_plural_forms;
26 std::string plural_expression;
27 std::vector<po_translation> translations;
28};
29
30[[nodiscard]] po_translations parse_po(URL const &url);
31
32}
33
Definition language.hpp:22
An IETF BCP 47 Language tag.
Definition language_tag.hpp:15
Definition po_parser.hpp:16
Definition po_parser.hpp:23
Definition URL.hpp:47