cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
23 lines
480 B
C++
23 lines
480 B
C++
/*
|
|
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;
|
|
}
|