JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
TaxonomyLabels.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Valentin Eloy
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#pragma once
5
6#include <string>
7
12
13namespace hmi {
14
15class Localization;
16
28[[nodiscard]] std::string taxonomyLabelKey(const std::string& label);
29
36[[nodiscard]] std::string localizedTaxonomyLabel(const Localization* loc, const std::string& label);
37
38} // namespace hmi
Catalogue de traduction (i18n) : associe des clés stables à des chaînes selon la langue active,...
Definition Localization.h:29
Definition AudioEngine.cpp:15
std::string localizedTaxonomyLabel(const Localization *loc, const std::string &label)
Libellé de taxonomie traduit dans la langue active.
Definition TaxonomyLabels.cpp:47
std::string taxonomyLabelKey(const std::string &label)
Clé de traduction d'un libellé de la taxonomie.
Definition TaxonomyLabels.cpp:12