Go to file
Marc Véron 75b85ad02e Bug 18754: Translatability: Get rid of exposed tt directives in opac-detail.tt
The file opac-detail.tt exposes a lot of template directives to translation where translators should not be confronted with.

Some examples from po file are:

$[% SUBFIELD.code %] [% SUBFIELD.value %]

%s [%% INCLUDE \"openlibrary-readapi.inc\" bib = { normalized_isbn => "
"normalized_isbn, lccn => lccn, normalized_oclc => normalized_oclc } %%]

See: [% IF ( nextTitle ) %][% nextTitle |html %][% ELSE %]next biblio[% END "
"%]

To test:
- Apply patch
- Do a search in OPAC that has more than 1 results
- Go to the detail page of one of the items found
- Verify that the details display as before and that you can
  browse the results with Previous and Next
- In staff client, change OPACXSLTDetailsDisplay from 'default' to
  empty for "no xslt" and repeat steps above
- In staff client, set HTML5MediaEnabled to 'OPAC' or 'OPAC and staff client'
- Verify that media catalogued in field 856 still work
- Create a new translation for a 'language' aa-AA (perl translate create aa-AA)
- Verify that template directives ar no longer exposed in aa-AA-opac-bootstrap.po

Followed test plan which works as intended

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 752aef4593)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 65e09b28db)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2017-10-24 16:42:09 +13:00
C4 Bug 18941 - C4::Budgets GetBudgetByCode should return active budgets over inactive budgets 2017-10-24 16:42:07 +13:00
Koha Revert "Bug 17249: Remove GetKohaAuthorisedValuesFromField - Add classes MarcSubfieldStructure[s]" 2017-09-20 15:59:43 +12:00
OpenILS
…
acqui Revert "Bug 11122 - publisher code and publication year not fetched in acq orders" 2017-07-31 00:41:23 +12:00
admin Bug 18906: Display all funds the logged in user can use 2017-09-20 14:00:04 +12:00
api/v1 Bug 17042: Fix missing column in hold.json 2016-08-07 09:33:33 +02:00
authorities Bug 18019: [QA Follow-up] Also catch the delete from authorities detail 2017-04-24 11:09:53 +12:00
basket Bug 17109: [QA Follow-up] Die when wrong token 2017-05-03 14:25:24 +12:00
catalogue Bug 18854 - Protect from DOS 2017-07-31 01:02:09 +12:00
cataloguing Bug 17922: Use correct number of digits when replacing date placeholders 2017-02-23 03:08:41 +13:00
circ Bug 18469: QA Follow-up 2017-10-24 16:42:07 +13:00
course_reserves Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
debian Bug 9409: (QA followup) Add --dbhost help to koha-create man page 2017-10-24 16:42:08 +13:00
docs Bug 7143 : More new devs 2016-08-01 13:31:23 +02:00
errors Bug 15288: Error pages: Code duplication removal and better translatability 2016-01-27 05:57:34 +00:00
etc Bug 18669 - RewriteCond affecting wrong rule in koha-httpd.conf 2017-07-30 06:43:33 +12:00
installer Bug 19013: (QA followup) Set guarantorid to NULL patron sample data 2017-10-24 13:31:09 +13:00
koha-tmpl Bug 18754: Translatability: Get rid of exposed tt directives in opac-detail.tt 2017-10-24 16:42:09 +13:00
labels Bug 18535 - Clicking 'edit printer profile' in label creator causes software error 2017-05-24 14:26:23 +12:00
members Bug 18469: QA Follow-up 2017-10-24 16:42:07 +13:00
misc Add release notes for Koha 16.05.17 2017-09-20 19:03:44 +12:00
offline_circ Bug 15764: Fix timestamp sent by KOCT 2016-02-23 20:53:18 +00:00
opac Bug 16711: OPAC Password recovery: Handling if multiple accounts have the same mail address 2017-08-23 21:28:10 +12:00
patron_lists Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
patroncards Bug 17181: Simplify code 2017-07-31 01:02:06 +12:00
plugins Bug 19088: plugins-upload causes error log noise 2017-10-24 16:42:08 +13:00
reports Bug 18898 - Some permissions for Reports can be bypassed 2017-09-20 14:00:04 +12:00
reserve Bug 17028: Fix XSS in reserve/request.pl 2016-08-05 08:11:00 +02:00
reviews Bug 14779: Cannot paginate reviews 2015-09-07 11:38:26 -03:00
rotating_collections Bug 15066: Make transfer rotating collection works under Plack 2015-11-05 09:50:09 -03:00
serials Bug 18536: [QA Follow-up] Tiny regex simplification 2017-05-24 15:44:13 +12:00
services
…
skel
…
sms Bug 15258: Fix Perl scripts declaring unused variables 2015-12-30 17:24:45 -07:00
suggestion Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
svc Bug 17375: Search by dateofbirth - handle invalid dates 2016-11-02 17:58:26 +00:00
t Bug 19126: Fix Members.t with IndependentBranches set 2017-10-24 16:42:08 +13:00
tags Bug 16154: CGI->multi_param - Assign a list 2016-04-26 23:16:43 +00:00
test Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
tmp/modified_authorities
…
tools Revert "Bug 17249: Remove GetKohaAuthorisedValuesFromField - inventory" 2017-09-20 15:59:19 +12:00
virtualshelves Bug 15451: (followup) fix filename extension for csv file 2017-04-30 23:20:01 +12:00
xt Bug 18746: Text_CSV_Various parse failures 2017-07-30 07:18:44 +12:00
.editorconfig
…
.htaccess
…
.mailmap Update mailmap - Jonathan Druart 2017-07-31 01:02:07 +12:00
INSTALL Bug 17626: Remove existing install instructions and link to the wiki pages instead 2016-12-12 14:54:13 +13:00
Koha.pm Increment version for 16.05.17 release 2017-09-20 19:03:44 +12:00
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL Bug 18373: Re-add UpgradeBackup.pm 2017-04-30 23:19:56 +12:00
README
…
README.md Bug 15465 - Created README.md file for github 2017-07-30 06:31:29 +12:00
README.robots
…
about.pl Bug 18931 - Follow up - Typo fix in SQL statement 2017-07-26 15:14:53 +12:00
changelanguage.pl Bug 16776: Do not forget external language choice in language switcher 2016-08-23 11:51:49 +02:00
edithelp.pl Bug 16447: Remove occurrence of the borrow permission which does no longer exist 2016-05-05 21:28:14 +00:00
fix-perl-path.PL Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
help.pl Bug 16724: Fix link to the online documentation links 2016-08-01 09:22:30 +02:00
install-CPAN.pl
…
koha_perl_deps.pl Bug 17990: Refactor Perl module versions check 2017-01-30 00:56:20 +13:00
kohaversion.pl Bug 13758: Move the Koha version from kohaversion.pl 2015-05-07 11:39:04 -03:00
mainpage.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
rewrite-config.PL Bug 16222: (QA followup) Add /api dir for the API 2016-04-20 21:18:36 +00:00

README.md

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo