File: translatable.js

package info (click to toggle)
qtscript-opensource-src 5.15.8%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 29,776 kB
  • sloc: cpp: 163,712; javascript: 94,206; yacc: 1,768; ansic: 1,718; perl: 425; sh: 169; python: 55; makefile: 14
file content (12 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
qsTr("One");
qsTranslate("FooContext", "Two");

var greeting_strings = [
    QT_TR_NOOP("Hello"),
    QT_TRANSLATE_NOOP("FooContext", "Goodbye")
];

qsTr("One", "not the same one");

qsTr("%n message(s) saved", "", 10);
qsTranslate("FooContext", "%n fooish bar(s) found", "", 10);