- Added new FilterWidget in the Administration menu for the phrases

- Extension installer is visible only for system/extensions
- Removed the old phrases editor from Vilesci
- system/checksystem.php does not call anymore system/phrasesupdate.php
- system/phrasesupdate.php has been removed
- Added new directory application/phrases
- application/phrases contains one file for each phrases category, and one file contains all the phrases for that category
- Added new controller system/phrases/Manager to install phrases in the core
- Added new constants CORE_PHRASES_DIRECTORY, INSERT_BY, APP, CATEGORY, PHRASE, SPRACHE, TEXT and DESCRIPTION to libraries/PhrasesLib
- libraries/PhrasesLib now loads EPrintfLib
- Removed public methods getPhraseByApp, getPhraseInhalt, delPhrasentext, savePhrase, getPhrasentextById, insertPhraseinhalt, getVorlagetextById and updatePhraseInhalt from libraries/PhrasesLib
- Renamed public method getJSON to toJSON in libraries/PhrasesLib
- Added new public methods installFromCore and installFrom to libraries/PhrasesLib
- Added new private methods _installPhrases and _addPhrases to libraries/PhrasesLib
This commit is contained in:
Paolo
2021-11-16 17:22:24 +01:00
parent 63105951a0
commit d7b700f781
38 changed files with 12498 additions and 14401 deletions
+396
View File
@@ -0,0 +1,396 @@
<?php
/* Copyright (C) 2013 FH Technikum-Wien
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
*/
$phrases = array(
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'fehlerMonitoring',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Fehler Monitoring",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Error Monitoring",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'ui',
'phrase' => 'keinen',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Keinen",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "None",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'statusFuerAusgewaehlteSetzen',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Status für Ausgewählte setzen",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Set state for selected",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'meldungen',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Meldungen",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "messages",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'behoben',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Behoben",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Resolved",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'inBearbeitung',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "In Bearbeitung",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "In progress",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'inhalt',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Inhalt",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Content",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'inhaltExtern',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Inhalt extern",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "External content",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'fehlerstatus',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Fehlerstatus",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Error state",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'fehlercode',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Fehlercode",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Error code",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'fehlercodeExtern',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Fehlercode extern",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "External error code",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'fehlertyp',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Fehlertyp",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Error type",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'verarbeitetVon',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Verarbeitet von",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Processed by",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'verarbeitetAm',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Verarbeitet am",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Processed on",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'global',
'phrase' => 'applikation',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Applikation",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "application",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'fehlertypcode',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Fehlertypcode",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Error type code",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'statuscode',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Statuscode",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "State code",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'hauptzustaendig',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Hauptzuständig",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Main responsibility",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'bitteStatusWaehlen',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Bitte wählen Sie den Status aus.",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Please select the state.",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'bitteFehlerWaehlen',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Bitte wählen Sie die Fehler aus.",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Please select the errors.",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'statusAendernFehler',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Fehler beim Status Ändern",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Error when changing state",
'description' => '',
)
)
),
array(
'app' => 'core',
'category' => 'fehlermonitoring',
'phrase' => 'statusAendernUnbekannterFehler',
'phrases' => array(
array(
'sprache' => 'German',
'text' => "Unbekannter Fehler beim Status Ändern",
'description' => '',
),
array(
'sprache' => 'English',
'text' => "Unknown error when changing state",
'description' => '',
)
)
)
);