Files
RedBear-OS/local/recipes/kde/kf6-extra-cmake-modules/source/tests/ECMPoQmToolsTest/tr_test.cpp
T
2026-04-14 10:51:06 +01:00

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;
}