diff --git a/application/libraries/SearchBarLib.php b/application/libraries/SearchBarLib.php index b9c71b16b..a14319bba 100644 --- a/application/libraries/SearchBarLib.php +++ b/application/libraries/SearchBarLib.php @@ -95,7 +95,7 @@ class SearchBarLib return error(array_map(function ($type) use ($p) { return $p->t('search', 'error_missing_config', [ 'type' => $type - ]); // TODO(chris): phrase + ]); }, $missing)); } $types = $tmp; @@ -288,7 +288,7 @@ class SearchBarLib if (!$table_config) return error($this->_ci->search_phrases->t('search', 'error_missing_config', [ 'type' => $name - ])); // TODO(chris): phrase + ])); $errors = []; if (!isset($table_config['table']) @@ -298,7 +298,7 @@ class SearchBarLib $errors[] = $this->_ci->search_phrases->t('search', 'error_invalid_config', [ 'type' => $name, 'field' => 'table' - ]); // TODO(chris): phrase + ]); } if (!isset($table_config['primarykey']) || !is_string($table_config['primarykey']) @@ -336,7 +336,7 @@ class SearchBarLib 'type' => $name, 'searchfield' => $searchfield, 'field' => 'field' - ]); // TODO(chris): phrase + ]); } if (!isset($config['comparison']) || !is_string($config['comparison']) diff --git a/public/js/components/searchbar/result/cms.js b/public/js/components/searchbar/result/cms.js index 5befdb413..591c7e79c 100644 --- a/public/js/components/searchbar/result/cms.js +++ b/public/js/components/searchbar/result/cms.js @@ -75,7 +75,7 @@ export default {
- No Content + {{ $p.t('search/result_content_none') }}
` }; \ No newline at end of file diff --git a/public/js/components/searchbar/result/dms.js b/public/js/components/searchbar/result/dms.js index ad770f1c6..75b281541 100644 --- a/public/js/components/searchbar/result/dms.js +++ b/public/js/components/searchbar/result/dms.js @@ -9,9 +9,6 @@ export default { res: Object, actions: Object }, - inject: [ - 'query' - ], computed: { icon() { switch (this.res.mimetype) { @@ -49,25 +46,25 @@ export default { >
-
DMS ID
+
{{ $p.t('search/result_dms_id') }}
{{ res.dms_id }}
-
Version
+
{{ $p.t('search/result_version') }}
{{ res.version }}
-
Keywords
+
{{ $p.t('search/result_keywords') }}
{{ res.keywords }}
-
Description
+
{{ $p.t('global/beschreibung') }}
{{ res.description }}
diff --git a/public/js/components/searchbar/result/employee.js b/public/js/components/searchbar/result/employee.js index 2fa07bf5a..a86fc6cbf 100644 --- a/public/js/components/searchbar/result/employee.js +++ b/public/js/components/searchbar/result/employee.js @@ -21,25 +21,25 @@ export default { >
-
Standard-Kostenstelle
+
{{ $p.t('search/result_stdkst') }}
  • {{ stdkst }}
- keine + {{ $p.t('search/result_stdkst_none') }}
-
Organisations-Einheit
+
{{ $p.t('lehre/organisationseinheit') }}
  • {{ oe }}
- keine + {{ $p.t('search/result_oe_none') }}
-
EMails
+
{{ $p.t('search/result_emails') }}
-
Telefon
+
{{ $p.t('person/telefon') }}
{{ res.phone }} diff --git a/public/js/components/searchbar/result/mergedperson.js b/public/js/components/searchbar/result/mergedperson.js index cfb7fe5a6..c0349c2e3 100644 --- a/public/js/components/searchbar/result/mergedperson.js +++ b/public/js/components/searchbar/result/mergedperson.js @@ -47,19 +47,19 @@ export default { :res="person" :actions="actions" :title="person.name" - :image="this.person.photo_url" + :image="person.photo_url" image-fallback="fas fa-user fa-4x" @actionexecuted="$emit('actionexecuted')" >
-
Person ID
+
{{ $p.t('person/person_id') }}
{{ person.person_id }}
-
Standard-Kostenstelle
+
{{ $p.t('search/result_stdkst') }}
- keine + {{ $p.t('search/result_stdkst_none') }}
-
Organisations-Einheit
+
{{ $p.t('lehre/organisationseinheit') }}
- keine + {{ $p.t('search/result_oe_none') }}
-
Studiengang
+
{{ $p.t('lehre/studiengang') }}
{{ student.bezeichnung }}
-
Prestudent ID
+
{{ $p.t('search/result_prestudent_id') }}
{{ student.prestudent_id }}
-
Student UID
+
{{ $p.t('search/result_student_uid') }}
{{ student.uid }}
-
Matrikelnummer
+
{{ $p.t('person/matrikelnummer') }}
{{ student.matrikelnr }}
diff --git a/public/js/components/searchbar/result/organisationunit.js b/public/js/components/searchbar/result/organisationunit.js index 129479277..fe5d6512a 100644 --- a/public/js/components/searchbar/result/organisationunit.js +++ b/public/js/components/searchbar/result/organisationunit.js @@ -9,13 +9,6 @@ export default { res: Object, actions: Object }, - computed: { - foto() { - if (this.res.foto) - return 'data:image/jpeg;base64,' + this.res.foto; - return null; - } - }, template: `
-
übergeordnete OrgEinheit
+
{{ $p.t('search/result_parent_oe') }}
{{ res.parentoe_name }}
-
Gruppen-EMail
+
{{ $p.t('search/result_group_emails') }}
-
Leiter
+
{{ $p.t('search/result_leader') }}
  • {{ leader.name }}
- N.N. + {{ $p.t('search/result_leader_none') }}
-
Mitarbeiter-Anzahl
+
{{ $p.t('search/result_number_of_employees') }}
{{ res.number_of_people }}
diff --git a/public/js/components/searchbar/result/person.js b/public/js/components/searchbar/result/person.js index bc4e75ee8..f6ce0a5f0 100644 --- a/public/js/components/searchbar/result/person.js +++ b/public/js/components/searchbar/result/person.js @@ -26,13 +26,13 @@ export default { >
-
Person ID
+
{{ $p.t('person/person_id') }}
{{ res.person_id }}
-
EMails
+
{{ $p.t('search/result_emails') }}
{{ email }} diff --git a/public/js/components/searchbar/result/prestudent.js b/public/js/components/searchbar/result/prestudent.js index f3df3e8ca..51b4ccd9b 100644 --- a/public/js/components/searchbar/result/prestudent.js +++ b/public/js/components/searchbar/result/prestudent.js @@ -26,13 +26,13 @@ export default { >
-
Person ID
+
{{ $p.t('person/person_id') }}
{{ res.person_id }}
-
Student UID
+
{{ $p.t('search/result_student_uid') }}
{{ res.uid }}
-
Matrikelnummer
+
{{ $p.t('person/matrikelnummer') }}
{{ res.matrikelnr }}
-
Prestudent ID
+
{{ $p.t('search/result_prestudent_id') }}
{{ res.prestudent_id }}
-
Studiengang
+
{{ $p.t('lehre/studiengang') }}
{{ res.bezeichnung }}
diff --git a/public/js/components/searchbar/result/room.js b/public/js/components/searchbar/result/room.js index 23ce6b463..46fce1c71 100644 --- a/public/js/components/searchbar/result/room.js +++ b/public/js/components/searchbar/result/room.js @@ -22,9 +22,9 @@ export default { if (this.res.street) address += (address ? ', ' : '') + this.res.street; if (this.res.floor) - address += (address ? ' / ' : '') + this.res.floor + ' Stockwerk'; + address += (address ? ' / ' : '') + this.$p.t('search/result_address_floor', this.res); - return address || 'N/A'; + return address || this.$p.t('search/result_address_none'); } }, template: ` @@ -38,33 +38,33 @@ export default { >
-
Standort
+
{{ $p.t('search/result_room_address') }}
{{ address }}
-
Sitzplätze
+
{{ $p.t('search/result_workplaces') }}
-
Gebäude
+
{{ $p.t('search/result_building') }}
{{ res.building }}
-
Zusatz Informationen
+
{{ $p.t('search/result_equipment') }}
diff --git a/public/js/components/searchbar/result/student.js b/public/js/components/searchbar/result/student.js index bb3512e3a..e85716a94 100644 --- a/public/js/components/searchbar/result/student.js +++ b/public/js/components/searchbar/result/student.js @@ -26,25 +26,25 @@ export default { >
-
Student UID
+
{{ $p.t('search/result_student_uid') }}
{{ res.uid }}
-
Person ID
+
{{ $p.t('person/person_id') }}
{{ res.person_id }}
-
Matrikelnummer
+
{{ $p.t('person/matrikelnummer') }}
{{ res.matrikelnr }}
-
EMails
+
{{ $p.t('search/result_emails') }}
{{ email }} diff --git a/public/js/components/searchbar/result/template/action.js b/public/js/components/searchbar/result/template/action.js index a7654df59..f41d9925f 100644 --- a/public/js/components/searchbar/result/template/action.js +++ b/public/js/components/searchbar/result/template/action.js @@ -23,6 +23,6 @@ export default { }, template: ` - Action + {{ $p.t('search/action_default_label') }} ` }; \ No newline at end of file diff --git a/public/js/components/searchbar/searchbar.js b/public/js/components/searchbar/searchbar.js index 7589cfbef..034cf842a 100644 --- a/public/js/components/searchbar/searchbar.js +++ b/public/js/components/searchbar/searchbar.js @@ -9,8 +9,6 @@ import ResultDms from "./result/dms.js"; import ResultMergedperson from "./result/mergedperson.js"; import ResultMergedstudent from "./result/mergedstudent.js"; -// TODO(chris): arrays in results - export default { components: { ResultPerson, @@ -108,7 +106,7 @@ export default { .searchfunction(this.searchsettings, { timeout: 50000, signal: this.abortController.signal }) .then(response => { if (!response.data) { - this.error = 'Bei der Suche ist ein Fehler aufgetreten.'; + this.error = this.$p.t('search/error_general'); } else { let res = response.data.map(el => ({...el, ...JSON.parse(el.data)})); this.lastQuery = response.meta.searchstring; @@ -167,7 +165,7 @@ export default { return this.callsearchapi(); } - this.error = 'Bei der Suche ist ein Fehler aufgetreten.' + ' ' + error.message; + this.error = this.$p.t('search/error_general', error); this.searching = false; this.retry = 0; }); @@ -230,8 +228,8 @@ export default { v-model="searchsettings.searchstr" class="form-control" type="search" - placeholder="Suche..." - aria-label="Search" + :placeholder="$p.t('search/input_search_label')" + :aria-label="$p.t('search/input_search_label')" > @@ -254,7 +254,7 @@ export default {
{{ error }}
-
Es wurden keine Ergebnisse gefunden.
+
{{ $p.t('search/error_no_results') }}
@@ -302,7 +302,7 @@ export default { class="btn btn-primary" type="button" > - Übernehmen + {{ $p.t('search/button_applyfilter_label') }}
` diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index d9a72eaac..76059451d 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -31165,8 +31165,688 @@ array( 'insertvon' => 'system' ) ) + ), + //**************************** CORE/search + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'input_search_label', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Suche...', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Search...', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'button_filter_label', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Filter', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Filter', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'button_applyfilter_label', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Übernehmen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Apply', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'action_default_label', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Standard Aktion', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Default Action', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_student_uid', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Student UID', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Student UID', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_prestudent_id', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Prestudent ID', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Prestudent ID', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_emails', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Emails', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Emails', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_group_emails', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Gruppen-Email', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Group-Email', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_employee', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'MitarbeiterIn', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Employee', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_stdkst', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Standard-Kostenstelle', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Standard cost center', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_stdkst_none', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'keine', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'none', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_parent_oe', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Übergeordnete OE', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Parent OU', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_oe_none', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'keine', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'none', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_room_address', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Standort', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Site', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_address_floor', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => '{floor} Stockwerk', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => '{floor} floor', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_address_none', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'N/A', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'N/A', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_workplaces', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Sitzplätze', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Seats', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_workplaces_pc', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => '{max_person}, davon {workplaces} PC-Plätze', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => '{max_person}, of which {workplaces} PC-Workstations', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_workplaces_none', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'N/A', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'N/A', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_building', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Gebäude', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Building', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_equipment', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Zusatz Informationen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Additional information', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_leader', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Leiter', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Leader', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_leader_none', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'N.N.', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'N/A', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_number_of_employees', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Mitarbeiter-Anzahl', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Number of employees', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_dms_id', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'DMS ID', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'DMS ID', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_version', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Version', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Version', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_keywords', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Schlagwörter', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Keywords', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'result_content_none', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Kein Inhalt', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'No Content', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'error_no_results', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Es wurden keine Ergebnisse gefunden.', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'No results were found.', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'error_unknown_type', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => "Unbekannter Ergebnistyp: '{type}'.", + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => "Unknown resulttype: '{type}'.", + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'error_general', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bei der Suche ist ein Fehler aufgetreten. {message}', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'An error occurred while searching. {message}', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'error_missing_config', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Such-Konfiguration $config["{type}"] nicht gefunden.', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Search config $config["{type}"] not found.', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'error_invalid_config', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Such-Konfiguration für $config["{type}"] ist ungültig: Feld "{field}" fehlt, ist leer oder hat einen ungültigen Typ.', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Search config for $config["{type}"] is invalid: field {field} is missing, empty or has an invalid type.', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'search', + 'phrase' => 'error_invalid_config_searchfield', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Such-Konfiguration $config["{type}"]["searchfields"]["{searchfield}"] ist ungültig: Feld "{field}" fehlt oder ist unglültig.', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Search config $config["{type}"]["searchfields"]["{searchfield}"] is invalid: field {field} is missing or invalid.', + 'description' => '', + 'insertvon' => 'system' + ) + ) ) - );