Bugzilla – Attachment 109296 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: Fix globs for staff and opac string extraction
Bug-25067-Fix-globs-for-staff-and-opac-string-extr.patch (text/plain), 1.56 KB, created by
Julian Maurice
on 2020-08-29 16:20:12 UTC
(
hide
)
Description:
Bug 25067: Fix globs for staff and opac string extraction
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-08-29 16:20:12 UTC
Size:
1.56 KB
patch
obsolete
>From f5d20e7fe9a999b5fbc751bf343259ba9c0e16f8 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Sat, 29 Aug 2020 17:13:02 +0400 >Subject: [PATCH] Bug 25067: Fix globs for staff and opac string extraction > >It looks like gulp (or more likely its dependency 'glob') does not >like negative ('!') globs and the 'nocase' option when used together >We have to repeat the globs to get what we want (exclude all *MARC* >files from the staff/opac string extraction process >--- > gulpfile.js | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/gulpfile.js b/gulpfile.js >index 3a6f3925c1..f6210ce021 100644 >--- a/gulpfile.js >+++ b/gulpfile.js >@@ -131,6 +131,9 @@ function po_extract_staff () { > '!koha-tmpl/intranet-tmpl/prog/en/**/*MARC21*', > '!koha-tmpl/intranet-tmpl/prog/en/**/*NORMARC*', > '!koha-tmpl/intranet-tmpl/prog/en/**/*UNIMARC*', >+ '!koha-tmpl/intranet-tmpl/prog/en/**/*marc21*', >+ '!koha-tmpl/intranet-tmpl/prog/en/**/*normarc*', >+ '!koha-tmpl/intranet-tmpl/prog/en/**/*unimarc*', > ]; > > return src(globs, { read: false, nocase: true }) >@@ -146,6 +149,9 @@ function po_extract_opac () { > '!koha-tmpl/opac-tmpl/bootstrap/en/**/*MARC21*', > '!koha-tmpl/opac-tmpl/bootstrap/en/**/*NORMARC*', > '!koha-tmpl/opac-tmpl/bootstrap/en/**/*UNIMARC*', >+ '!koha-tmpl/opac-tmpl/bootstrap/en/**/*marc21*', >+ '!koha-tmpl/opac-tmpl/bootstrap/en/**/*normarc*', >+ '!koha-tmpl/opac-tmpl/bootstrap/en/**/*unimarc*', > ]; > > return src(globs, { read: false, nocase: true }) >-- >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