File: javascript.js

package info (click to toggle)
python-django 3%3A3.2.19-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 55,932 kB
  • sloc: python: 264,258; javascript: 18,362; xml: 193; makefile: 178; sh: 43
file content (48 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download | duplicates (10)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// '
gettext('This literal should be included.')
gettext_noop('gettext_noop should, too.');
x = y; // '
gettext("This one as well.")

/** (from ticket 7704)
 * *****************************
 * AddModule main / window
 * @constructor
 * @class MyDesktop.AddModule
 * *****************************
 */

gettext('He said, \"hello".')

// from ticket 14045
function mfunc() {
    var val = 0;
    return val ? 1 : 0;
}
gettext('okkkk');
print mysub();

// from ticket 15495
/* / ' */ gettext("TEXT");

gettext("It's at http://example.com")

// also from ticket 15495
gettext("String"); // This comment won't be caught by pythonize_re and it contains "'" which is a string start in Perl
/*
 * This one will be removed by the patch
 */
gettext("/* but this one will be too */ 'cause there is no way of telling...");
f(/* ... if it's different from this one */);

// from ticket 15331
gettext("foo");
true ? true : false;
gettext("bar");
true ? true : false;
gettext("baz");
true ? true : false; // ?
gettext("quz");
"?";
gettext("foobar");