blob: e346620626e37a24a36580755476834fa66338ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// No context specified, default should be used.
qsTr("One");
QT_TR_NOOP("Two");
// TRANSLATOR Foo
qsTr("Three");
QT_TR_NOOP("Four");
// TRANSLATOR Bar
qsTr("Five");
/*
TRANSLATOR Baz
This is a comment to the translator.
*/
QT_TR_NOOP("Six");
// TRANSLATOR Foo.Bar
qsTr("Seven");
/* TRANSLATOR Bar::Baz */
QT_TR_NOOP("Eight");
// qsTranslate() context is not affected.
qsTranslate("Foo", "Nine");
// Empty context.
// TRANSLATOR
qsTr("Ten");
// setting context with TRANSLATOR comment is not supported on the QML side
// The support on the lupdate side has been removed
|