From 3de03e495f1f4e6b96a742f90254c80751065884 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Sat, 29 Aug 2020 16:44:03 +0400 Subject: [PATCH] Bug 25067: Update tests for xgettext-pref --- t/misc/translator/xgettext-pref.t | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/t/misc/translator/xgettext-pref.t b/t/misc/translator/xgettext-pref.t index 4482d67bba..8c699fe108 100644 --- a/t/misc/translator/xgettext-pref.t +++ b/t/misc/translator/xgettext-pref.t @@ -20,35 +20,28 @@ my $pot = Locale::PO->load_file_asarray("$tempdir/Koha.pot"); my @expected = ( { - msgid => '"Section"', + msgid => '"sample.pref"', }, { - msgctxt => '"Section > Subsection > MultiplePref"', - msgid => '"Bar"', + msgid => '"sample.pref Subsection"', }, { - msgctxt => '"Section > Subsection > MultiplePref"', - msgid => '"Baz"', + msgid => '"sample.pref#MultiplePref# Bar"', }, { - msgctxt => '"Section > Subsection > MultiplePref"', - msgid => '"Foo ツ"', + msgid => '"sample.pref#MultiplePref# Baz"', }, { - msgctxt => '"Section > Subsection > SamplePref"', - msgid => '"Do"', + msgid => '"sample.pref#MultiplePref# Foo ツ"', }, { - msgctxt => '"Section > Subsection > SamplePref"', - msgid => '"Do not do"', + msgid => '"sample.pref#SamplePref# Do"', }, { - msgctxt => '"Section > Subsection > SamplePref"', - msgid => '"that thing"', + msgid => '"sample.pref#SamplePref# Do not do"', }, { - msgctxt => '"Section"', - msgid => '"Subsection"', + msgid => '"sample.pref#SamplePref# that thing"', }, ); -- 2.20.1