Debian Codegraph @

online-accounts-common/i18n.cpp

raw symbols SCIP
1 /*
2 * Copyright (C) 2013 Canonical Ltd.
3 *
4 * Contact: Alberto Mardegan <[email protected]>
5 *
6 * This file is part of lomiri-online-accounts-ui and lomiri-online-accounts-
7 * service
8 *
9 * This program is free software: you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License version 3, as published
11 * by the Free Software Foundation.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranties of
15 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
16 * PURPOSE. See the GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 #define NO_TR_OVERRIDEcxx . . $ `online-accounts-common/i18n.cpp:22:9`!
23 #include "i18n.h"cxx . . $ `<file>/online-accounts-common/i18n.h`/
24
25 #include <libintl.h>
26
27 namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ {
28
29 void initTrcxx . . $ OnlineAccountsUi/initTr(2fa786934fe80e24).(const char *domain, const char *localeDir)
30 {
31 bindtextdomain(domain, localeDir);
32 textdomain(domain);
33 }
34
35 QStringcxx . . $ QString# _cxx . . $ OnlineAccountsUi/_(2618eaa6859b6ce4).(const char *text, const char *domain)
36 {
37 return QStringcxx . . $ QString#::fromUtf8cxx . . $ QString#fromUtf8(5ac70cc0fa2a874e).(dgettext(domain, text));
38 }
39
40 }; // namespace