blob: 28fdc86d55d65ba2ff142219dcc98e215557ee35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick 2.0
//![0]
Item {
property string greeting: QT_TRANSLATE_NOOP("CustomContext", "hello")
Text { text: qsTranslate("CustomContext", greeting) }
}
//![0]
|