mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
d7b700f781
- 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
193 lines
4.3 KiB
PHP
193 lines
4.3 KiB
PHP
<?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' => 'oehbeitrag',
|
|
'phrase' => 'oehbeitragsVerwaltung',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "ÖH-Beitragsverwaltung",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "Student Union Fee Management",
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'oehbeitrag',
|
|
'phrase' => 'oehbeitragHinzufuegen',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "Neuen ÖH-Beitrag hinzufügen",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "Add new student union fee",
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'oehbeitrag',
|
|
'phrase' => 'studierendenbetrag',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "studierendenbetrag",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "student amount",
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'oehbeitrag',
|
|
'phrase' => 'versicherungsbetrag',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "versicherungsbetrag",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "insurance amount",
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'oehbeitrag',
|
|
'phrase' => 'oehbeitraegeFestgelegt',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "ÖH-Beiträge für alle Studiensemester festgelegt",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "show menu",
|
|
'description' => 'Student union fees set for all semesters',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'oehbeitrag',
|
|
'phrase' => 'fehlerHolenOehbeitraege',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "Fehler beim Holen der Öhbeiträge",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "Error when getting student union fees",
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'oehbeitrag',
|
|
'phrase' => 'fehlerHolenSemester',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "Fehler beim Holen der Semester",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "Error when getting semester",
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'oehbeitrag',
|
|
'phrase' => 'fehlerHinzufuegenOehbeitrag',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "Fehler beim Hinzufügen des ÖH-Beitrags",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "Error when adding student union fee",
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'oehbeitrag',
|
|
'phrase' => 'fehlerAktualisierenOehbeitrag',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "Fehler beim Aktualisieren des ÖH-Beitrags",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "Error when updating student union fee",
|
|
'description' => '',
|
|
)
|
|
)
|
|
),
|
|
array(
|
|
'app' => 'core',
|
|
'category' => 'oehbeitrag',
|
|
'phrase' => 'fehlerLoeschenOehbeitrag',
|
|
'phrases' => array(
|
|
array(
|
|
'sprache' => 'German',
|
|
'text' => "Fehler beim Löschen des ÖH-Beitrags",
|
|
'description' => '',
|
|
),
|
|
array(
|
|
'sprache' => 'English',
|
|
'text' => "Error when deleting student union fee",
|
|
'description' => '',
|
|
)
|
|
)
|
|
)
|
|
);
|
|
|