blob: 2080485bfe683463db1e74df74d935fef8cc0fd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
SPDX-FileCopyrightText: 2015 Alex Merry <alex.merry@kde.org>
SPDX-License-Identifier: BSD-3-Clause
*/
#include <QCoreApplication>
#include <QTextStream>
#include <stdio.h>
int main(int argc, char** argv)
{
QCoreApplication app(argc, argv);
QTextStream output(stdout);
output << QCoreApplication::translate("testcontext", "test string") << ":";
output << QCoreApplication::translate("testcontext", "test plural %n", 0, 5) << '\n';
return 0;
}
|