Bugzilla – Attachment 110017 Details for
Bug 25067
Move PO file manipulation code into gulp tasks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25067: Update tests for xgettext-pref
Bug-25067-Update-tests-for-xgettext-pref.patch (text/plain), 1.78 KB, created by
Julian Maurice
on 2020-09-13 11:41:34 UTC
(
hide
)
Description:
Bug 25067: Update tests for xgettext-pref
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-09-13 11:41:34 UTC
Size:
1.78 KB
patch
obsolete
>From a24575ac822234304e7f264db326c116282e6606 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25067
:
102432
|
103383
|
103403
|
103404
|
103440
|
103557
|
103558
|
103562
|
103563
|
103564
|
103565
|
103566
|
106503
|
106504
|
106505
|
106506
|
106507
|
106807
|
109272
|
109273
|
109274
|
109275
|
109276
|
109277
|
109295
|
109296
|
109297
|
110011
|
110012
|
110013
|
110014
|
110015
|
110016
|
110017
|
110018
|
110019
|
110776
|
111642
|
111643
|
113252
|
113255
|
113258