Bug 38365: Fix xt/author/valid-templates.t

13:12:25 #   Failed test '/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/str/import_from_kbart_file.inc'
13:12:25 #   at xt/author/valid-templates.t line 147.
13:12:25 # undef error - : filter not found
13:12:25
13:12:25 #   Failed test '/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/str/job_progress.inc'
13:12:25 #   at xt/author/valid-templates.t line 147.
13:12:25 # undef error - : filter not found
13:12:25
13:12:25 #   Failed test [13:12:08] xt/author/valid-templates.t .................................................
13:12:25 Dubious, test returned 28 (wstat 7168, 0x1c00)
13:12:25 Failed 28/870 subtests
13:12:26 '/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/str/tinymce_i18n.inc'
13:12:26 #   at xt/author/valid-templates.t line 147.
13:12:26 # undef error - : filter not found
13:12:28
13:12:28 #   Failed test '/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/str/erm_sushi_harvester.inc'
13:12:28 #   at xt/author/valid-templates.t line 147.
13:12:28 # undef error - : filter not found
This commit is contained in:
Jonathan Druart 2026-03-16 16:19:07 +01:00
parent f124229b23
commit 1e1a446a55
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
28 changed files with 51 additions and 3 deletions

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- catalog-strings.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
/* Some required variables from the template */

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<div id="editor-widget-templates" style="display:none">
<div id="widget-leader">
Leader:&nbsp;<span title="Record length (autogenerated)">#####</span>

View File

@ -1,4 +1,5 @@
[% USE Koha %]
[% USE raw %]
[% PROCESS 'modal-claims.inc' %]
[% INCLUDE 'format_price.inc' %]

View File

@ -1,4 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- format-price.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
[%# This should use the Format template plugin, but not pushed yet %]

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- ill-batch-table-strings.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
var ill_batch_add = _("Add new batch");

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- ill-batch-table-strings.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
var ill_batch_borrower_details = _("View borrower details");

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- ill-list-table-strings.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
var ill_borrower_details = _("View patron details");

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<fieldset class="rows">
<legend>Custom fields</legend>
<ol id="standard-fields">

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- installer-strings.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
var MSG_LETTERS_ONLY = _("Please only enter letters.");

View File

@ -1,4 +1,5 @@
[% USE Koha %]
[% USE raw %]
<script nonce="[% Koha.CSPNonce | $raw %]">
(function () {
/**

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- js-patron-get-age.inc -->
[% USE KohaDates %]
<script nonce="[% Koha.CSPNonce | $raw %]">

View File

@ -1,4 +1,5 @@
[% USE Koha %]
[% USE raw %]
<script nonce="[% Koha.CSPNonce | $raw %]">
var showLastPatronCount = "[% Koha.Preference('showLastPatronCount') | html %]";
</script>

View File

@ -1,4 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- snippet for form to set borrower and patron category messaging preferences -->
<input type="hidden" name="modify" value="yes" />

View File

@ -1,4 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- password_check.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
var pwd_title = "";

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- str/job_progress.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
var REQUESTING_SUSHI = _("Requesting SUSHI service");

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- str/job_progress.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
var READING_FILE = _("Reading file");

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- str/job_progress.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
var JOB_PROGRESS_NOT_STARTED = _("Not started");

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- str/tinymce_i18n.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
/* tinymce considers 'en' to be the default translation.

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- validator-strings.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
$(document).ready(function () {

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- z3950_search.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
var interface = "[% interface | html %]";

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
[% USE KohaDates %]
[% IF enrollments %]

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
[% USE AuthorisedValues %]
<h1 id="heading"> Enroll in <em>[% club.name | html %]</em> </h1>

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<ol id="standard-fields">
[% keys = whole.value.other.custom_key.split('\0') %]
[% values = whole.value.other.custom_value.split('\0') %]

View File

@ -1,4 +1,5 @@
[% USE Koha %]
[% USE raw %]
<script nonce="[% Koha.CSPNonce | $raw %]">
(function () {
/**

View File

@ -1,4 +1,5 @@
[% USE Koha %]
[% USE raw %]
<script nonce="[% Koha.CSPNonce | $raw %]">
var pwd_title = "";
var pattern_title = "";

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
<!-- validator-strings.inc -->
<script nonce="[% Koha.CSPNonce | $raw %]">
$(document).ready(function () {

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
[% USE KohaDates %]
[% IF enrollments %]

View File

@ -1,3 +1,5 @@
[% USE Koha %]
[% USE raw %]
[% USE AuthorisedValues %]
<h2> Enroll in <em>[% club.name | html %]</em> </h2>