| 1 | /* |
| 2 | * This file is part of OnlineAccountsDaemon |
| 3 | * |
| 4 | * Copyright (C) 2016 Canonical Ltd. |
| 5 | * |
| 6 | * Contact: Alberto Mardegan <[email protected]> |
| 7 | * |
| 8 | * This program is free software: you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU Lesser General Public License version 3, as |
| 10 | * published by the Free Software Foundation. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranties of |
| 14 | * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 15 | * PURPOSE. See the GNU Lesser General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public License |
| 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #define NO_TR_OVERRIDEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/i18n.cpp:21:9`! |
| 22 | #include "i18n.h"cxx . . $ `<file>/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/i18n.h`/ |
| 23 | |
| 24 | #include <libintl.h> |
| 25 | |
| 26 | namespace OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/ { |
| 27 | |
| 28 | QStringcxx . . $ QString# translatecxx . . $ OnlineAccountsDaemon/translate(e9cecc7c907e7d19).(const QStringcxx . . $ QString# &text, const QStringcxx . . $ QString# &domain) |
| 29 | { |
| 30 | return QStringcxx . . $ QString#::fromUtf8cxx . . $ QString#fromUtf8(5ac70cc0fa2a874e).(dgettext(domain.toUtf8cxx . . $ QString#toUtf8(ef52b713090bc85a).().constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).(), |
| 31 | text.toUtf8cxx . . $ QString#toUtf8(ef52b713090bc85a).().constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).())); |
| 32 | } |
| 33 | |
| 34 | } // namespace |