blob: be5d3427eec3ef484180437f0433f961bc722b91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#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;
}
|