View | Details | Raw Unified | Return to bug 25067
Collapse All | Expand All

(-)a/t/misc/translator/xgettext-pref.t (-16 / +8 lines)
Lines 20-54 my $pot = Locale::PO->load_file_asarray("$tempdir/Koha.pot"); Link Here
20
20
21
my @expected = (
21
my @expected = (
22
    {
22
    {
23
        msgid => '"Section"',
23
        msgid => '"sample.pref"',
24
    },
24
    },
25
    {
25
    {
26
        msgctxt => '"Section > Subsection > MultiplePref"',
26
        msgid => '"sample.pref Subsection"',
27
        msgid => '"Bar"',
28
    },
27
    },
29
    {
28
    {
30
        msgctxt => '"Section > Subsection > MultiplePref"',
29
        msgid => '"sample.pref#MultiplePref# Bar"',
31
        msgid => '"Baz"',
32
    },
30
    },
33
    {
31
    {
34
        msgctxt => '"Section > Subsection > MultiplePref"',
32
        msgid => '"sample.pref#MultiplePref# Baz"',
35
        msgid => '"Foo ツ"',
36
    },
33
    },
37
    {
34
    {
38
        msgctxt => '"Section > Subsection > SamplePref"',
35
        msgid => '"sample.pref#MultiplePref# Foo ツ"',
39
        msgid => '"Do"',
40
    },
36
    },
41
    {
37
    {
42
        msgctxt => '"Section > Subsection > SamplePref"',
38
        msgid => '"sample.pref#SamplePref# Do"',
43
        msgid => '"Do not do"',
44
    },
39
    },
45
    {
40
    {
46
        msgctxt => '"Section > Subsection > SamplePref"',
41
        msgid => '"sample.pref#SamplePref# Do not do"',
47
        msgid => '"that thing"',
48
    },
42
    },
49
    {
43
    {
50
        msgctxt => '"Section"',
44
        msgid => '"sample.pref#SamplePref# that thing"',
51
        msgid => '"Subsection"',
52
    },
45
    },
53
);
46
);
54
47
55
- 

Return to bug 25067