Lines 1-5
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
|
|
3 |
[% PROCESS 'i18n.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
<title>Koha › Administration › Search engine configuration</title> |
5 |
<title>Koha › Administration › Search engine configuration</title> |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 75-96
a.add, a.delete {
Link Here
|
75 |
<div class="dialog [% m.type | html %]"> |
76 |
<div class="dialog [% m.type | html %]"> |
76 |
[% SWITCH m.code %] |
77 |
[% SWITCH m.code %] |
77 |
[% CASE 'error_on_update' %] |
78 |
[% CASE 'error_on_update' %] |
78 |
An error occurred when updating mappings ([% m.message | html %]). |
79 |
[% tx("An error occurred when updating mappings: {message}.", { message = m.message }) | html %] |
79 |
[% CASE 'error_on_delete' %] |
80 |
[% CASE 'error_on_delete' %] |
80 |
An error occurred when deleting the existing mappings. Nothing has been changed! |
81 |
[% t("An error occurred when deleting the existing mappings. Nothing has been changed!") %] |
81 |
(search field [% m.values.field_name | html %] with mapping [% m.values.marc_field | html %].) |
82 |
[% tx("(search field {field_name} with mapping {marc_field}.)", { field_name = m.values.field_name, marc_field = m.values.marc_field }) | html %] |
82 |
[% CASE 'invalid_field_weight' %] |
83 |
[% CASE 'invalid_field_weight' %] |
83 |
Invalid field weight "[% m.weight | html %]", must be a positive decimal number. |
84 |
[% tx("Invalid field weight '{weight}', must be a positive decimal number.", { weight = m.weight }) | html %] |
84 |
[% CASE 'error_on_update_es_mappings' %] |
85 |
[% CASE 'error_on_update_es_mappings' %] |
85 |
An error occurred when updating Elasticsearch index mappings: [% m.message | html %]. |
86 |
[% tx("An error occurred when updating Elasticsearch index mappings: {message}.", { message = m.message }) | html %] |
86 |
[% CASE 'reindex_required' %] |
87 |
[% CASE 'reindex_required' %] |
87 |
Index "[% m.index | html %]" needs to be reindexed |
88 |
[% tx("Index '{index}' needs to be reindexed.", { index = m.index }) | html %] |
88 |
[% CASE 'recreate_required' %] |
89 |
[% CASE 'recreate_required' %] |
89 |
Index "[% m.index | html %]" needs to be recreated |
90 |
[% tx("Index '{index}' needs to be recreated.", { index = m.index }) | html %] |
90 |
[% CASE 'success_on_update' %] |
91 |
[% CASE 'success_on_update' %] |
91 |
Mappings updated successfully. |
92 |
[% t("Mappings updated successfully.") %] |
92 |
[% CASE 'success_on_reset' %] |
93 |
[% CASE 'success_on_reset' %] |
93 |
Mappings have been reset successfully. |
94 |
[% t("Mappings have been reset successfully.") %] |
94 |
[% CASE %] |
95 |
[% CASE %] |
95 |
[% m.code | html %] |
96 |
[% m.code | html %] |
96 |
[% END %] |
97 |
[% END %] |
Lines 115-123
a.add, a.delete {
Link Here
|
115 |
[% FOREACH e IN errors %] |
116 |
[% FOREACH e IN errors %] |
116 |
<li> |
117 |
<li> |
117 |
[% IF ( e.type == "malformed_mapping" ) %] |
118 |
[% IF ( e.type == "malformed_mapping" ) %] |
118 |
The value "[% e.value | html %]" is not supported for mappings |
119 |
<span>The value "[% e.value | html %]" is not supported for mappings</span> |
119 |
[% ELSIF ( e.type == "no_mapping" ) %] |
120 |
[% ELSIF ( e.type == "no_mapping" ) %] |
120 |
There is no mapping for the index [% e.value | html %] |
121 |
<span>There is no mapping for the index [% e.value | html %]</span> |
121 |
[% END %] |
122 |
[% END %] |
122 |
</li> |
123 |
</li> |
123 |
[% END %] |
124 |
[% END %] |
124 |
- |
|
|