Skip to content

Commit

Permalink
Merge pull request #539 from coral-erm/development
Browse files Browse the repository at this point in the history
3.0.1
  • Loading branch information
jeffnm committed Feb 14, 2019
2 parents 331c670 + 498201b commit 528fa17
Show file tree
Hide file tree
Showing 206 changed files with 55,306 additions and 30,873 deletions.
2 changes: 1 addition & 1 deletion LangCodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class LangCodes{
public function getLanguage($code){
$all_lang=array(
'fr_FR'=>'fr_FR',
'en_GB'=>'en_US',
'en_GB'=>'en_GB',
'en_US'=>'en_US',
'zh_CN'=>'zh_CN',
'zh_TW'=>'zh_TW',
Expand Down
12 changes: 10 additions & 2 deletions auth/admin/.htaccess
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
order deny,allow
deny from all
# Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
13 changes: 13 additions & 0 deletions auth/install/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,19 @@ function register_auth_provider()
];


case "3.0.1":
return [
"function" => function($shared_module_info) {
$return = new stdClass();
$return->yield = new stdClass();
$return->success = true;
$return->yield->title = _("Auth Module");
return $return;
}
];



/**
* This code is for when the upgrade requires no changes to the
* database or conf files etc.
Expand Down
12 changes: 10 additions & 2 deletions auth/install/protected/.htaccess
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
Order Deny,Allow
Deny from all
# Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
Binary file modified auth/locale/de_DE/LC_MESSAGES/messages.mo
Binary file not shown.
310 changes: 152 additions & 158 deletions auth/locale/de_DE/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ msgid ""
msgstr ""
"Project-Id-Version: Coral\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-19 17:24+0200\n"
"POT-Creation-Date: 2019-01-24 16:34+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: BSZ - Abteilung Bibliothekssysteme\n"
"Language-Team: \n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand All @@ -13,162 +14,6 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.8.11\n"
"X-Poedit-SourceCharset: UTF-8\n"
"Language-Team: \n"

#: admin.php:66 index.php:195
msgid ""
"JavaScript must be enabled in order for you to use CORAL. However, it seems "
"JavaScript is either disabled or not supported by your browser. To use "
"CORAL, enable JavaScript by changing your browser options, then"
msgstr ""
"JavaScript muss aktiviert sein, um Coral verwenden zu können. Es scheint, "
"dass JavaScript entweder deaktiviert ist oder von Ihrem Browser nicht "
"unterstützt wird. Um Coral zu verwenden, aktivieren Sie JavaScript in den "
"Einstellungen Ihres Browsers und"

#: admin.php:66 index.php:195
msgid "try again"
msgstr "versuchen Sie es dann erneut"

#: admin.php:75 index.php:205
msgid "eRM Authentication"
msgstr "eRM-Authentifizierung"

#: admin.php:82
msgid "Users"
msgstr "Nutzer"

#: admin.php:83
msgid "Login ID must match the login ID set up in the modules"
msgstr "Die Login-ID muss mit der Login-ID in den Modulen übereinstimmen"

#: admin.php:89
msgid "Processing..."
msgstr "Lade..."

#: admin.php:93 index.php:226
msgid "Change language:"
msgstr "Sprache wechseln:"

#: admin.php:109 index.php:242
msgid "Invalid translation route!"
msgstr "Ungültige Übersetzung!"

#: admin.php:134
msgid "Login page"
msgstr "Loginseite"

#: ajax_forms.php:43
msgid "Edit User"
msgstr "Nutzer bearbeiten"

#: ajax_forms.php:43
msgid "Add New User"
msgstr "Neuer Nutzer"

#: ajax_forms.php:56
msgid "Login ID"
msgstr "Login-ID"

#: ajax_forms.php:58
msgid "Enter password for changes only"
msgstr "Geben Sie das Passwort nur bei Änderung ein"

#: ajax_forms.php:59
msgid "New "
msgstr "Neu "

#: ajax_forms.php:59
msgid "Password"
msgstr "Passwort"

#: ajax_forms.php:62
msgid "Reenter Password"
msgstr "Passwort wiederholen"

#: ajax_forms.php:65
msgid "Admin?"
msgstr "Admin?"

#: ajax_forms.php:77
msgid "submit"
msgstr "Senden"

#: ajax_forms.php:78
msgid "cancel"
msgstr "Abbrechen"

#: ajax_forms.php:114 ajax_processing.php:87 ajax_htmldata.php:75
msgid "Action "
msgstr "Aktion "

#: ajax_forms.php:114 ajax_processing.php:87 ajax_htmldata.php:75
msgid " not set up!"
msgstr " nicht konfiguriert!"

#: js/index.js:40
msgid "Refreshing Contents..."
msgstr "Inhalte aktualisieren..."

#: js/admin.js:67
msgid "Passwords do not match"
msgstr "Passwörter stimmen nicht überein"

#: js/admin.js:73
msgid "Password is required"
msgstr "Passwort ist erforderlich"

#: js/admin.js:78
msgid "UserID is required"
msgstr "UserID ist erforderlich"

#: js/admin.js:89
msgid "Do you really want to delete this user?"
msgstr "Möchten Sie diesen Nutzer wirklich löschen?"

#: ajax_processing.php:75
msgid "User successfully deleted."
msgstr "Nutzer erolgreich gelöscht."

#: admin/classes/common/LdapPerson.php:34
msgid "Could not connect to "
msgstr "Keine Verbindung mit "

#: admin/classes/common/Object.php:63
msgid "Cannot set value for undefined key ("
msgstr "Wert für nicht definierten Schlüssel kann nicht gesetzt werden ("

#: admin/classes/common/Object.php:72
msgid "Cannot get value for undefined key ("
msgstr "Wert für nicht definierten Schlüssel kann nicht gelesen werden ("

#: admin/classes/common/DBService.php:53
msgid "There was a problem with the database: "
msgstr "Es gab ein Problem mit der Datenbank: "

#: admin/classes/domain/User.php:82 admin/classes/domain/User.php:89
msgid "Could not connect to LDAP server."
msgstr "Es konnte keine Verbindung zum LDAP-Server hergestellt werden."

#: admin/classes/domain/User.php:97
msgid ""
"There is a problem with the LDAP configuration, contact your server "
"administrator."
msgstr ""
"Es existiert ein Problem mit Ihrer LDAP-Konfiguration, kontaktieren Sie den "
"Administrator."

#: ajax_htmldata.php:53
msgid "edit password or admin status"
msgstr "Passwort oder Adminstatus bearbeiten"

#: ajax_htmldata.php:54
msgid "remove"
msgstr "Löschen"

#: ajax_htmldata.php:60 ajax_htmldata.php:64
msgid "add new user"
msgstr "Neuer Benutzer"

#: install/auth.php:9
msgid "Authentication Module"
Expand Down Expand Up @@ -278,10 +123,117 @@ msgstr ""
"php'>Administrationsseite</a>. Beim ersten Mal können Sie sich mit coral/"
"admin anmelden."

#: install/auth.php:310 install/auth.php:336
#: install/auth.php:310 install/auth.php:336 install/auth.php:348
msgid "Auth Module"
msgstr "Authentifizierungsmodul"

#: ajax_htmldata.php:53
msgid "edit password or admin status"
msgstr "Passwort oder Adminstatus bearbeiten"

#: ajax_htmldata.php:54
msgid "remove"
msgstr "Löschen"

#: ajax_htmldata.php:60 ajax_htmldata.php:64
msgid "add new user"
msgstr "Neuer Benutzer"

#: ajax_htmldata.php:75 ajax_processing.php:87 ajax_forms.php:114
msgid "Action "
msgstr "Aktion "

#: ajax_htmldata.php:75 ajax_processing.php:87 ajax_forms.php:114
msgid " not set up!"
msgstr " nicht konfiguriert!"

#: admin.php:66 index.php:195
msgid ""
"JavaScript must be enabled in order for you to use CORAL. However, it seems "
"JavaScript is either disabled or not supported by your browser. To use "
"CORAL, enable JavaScript by changing your browser options, then"
msgstr ""
"JavaScript muss aktiviert sein, um Coral verwenden zu können. Es scheint, "
"dass JavaScript entweder deaktiviert ist oder von Ihrem Browser nicht "
"unterstützt wird. Um Coral zu verwenden, aktivieren Sie JavaScript in den "
"Einstellungen Ihres Browsers und"

#: admin.php:66 index.php:195
msgid "try again"
msgstr "versuchen Sie es dann erneut"

#: admin.php:75 index.php:205
msgid "eRM Authentication"
msgstr "eRM-Authentifizierung"

#: admin.php:82
msgid "Users"
msgstr "Nutzer"

#: admin.php:83
msgid "Login ID must match the login ID set up in the modules"
msgstr "Die Login-ID muss mit der Login-ID in den Modulen übereinstimmen"

#: admin.php:89
msgid "Processing..."
msgstr "Lade..."

#: admin.php:93 index.php:226
msgid "Change language:"
msgstr "Sprache wechseln:"

#: admin.php:109 index.php:242
msgid "Invalid translation route!"
msgstr "Ungültige Übersetzung!"

#: admin.php:134
msgid "Login page"
msgstr "Loginseite"

#: ajax_processing.php:75
msgid "User successfully deleted."
msgstr "Nutzer erolgreich gelöscht."

#: ajax_forms.php:43
msgid "Edit User"
msgstr "Nutzer bearbeiten"

#: ajax_forms.php:43
msgid "Add New User"
msgstr "Neuer Nutzer"

#: ajax_forms.php:56
msgid "Login ID"
msgstr "Login-ID"

#: ajax_forms.php:58
msgid "Enter password for changes only"
msgstr "Geben Sie das Passwort nur bei Änderung ein"

#: ajax_forms.php:59
msgid "New "
msgstr "Neu "

#: ajax_forms.php:59
msgid "Password"
msgstr "Passwort"

#: ajax_forms.php:62
msgid "Reenter Password"
msgstr "Passwort wiederholen"

#: ajax_forms.php:65
msgid "Admin?"
msgstr "Admin?"

#: ajax_forms.php:77
msgid "submit"
msgstr "Senden"

#: ajax_forms.php:78
msgid "cancel"
msgstr "Abbrechen"

#: index.php:55
msgid "You are successfully logged out of the system."
msgstr "Sie wurden erfolgreichreich abgemeldet."
Expand Down Expand Up @@ -356,6 +308,48 @@ msgstr "Login"
msgid "Admin page"
msgstr "Administrationsseite"

#: js/index.js:40
msgid "Refreshing Contents..."
msgstr "Inhalte aktualisieren..."

#: js/admin.js:67
msgid "Passwords do not match"
msgstr "Passwörter stimmen nicht überein"

#: js/admin.js:73
msgid "Password is required"
msgstr "Passwort ist erforderlich"

#: js/admin.js:78
msgid "UserID is required"
msgstr "UserID ist erforderlich"

#: js/admin.js:89
msgid "Do you really want to delete this user?"
msgstr "Möchten Sie diesen Nutzer wirklich löschen?"

#~ msgid "Could not connect to "
#~ msgstr "Keine Verbindung mit "

#~ msgid "Cannot set value for undefined key ("
#~ msgstr "Wert für nicht definierten Schlüssel kann nicht gesetzt werden ("

#~ msgid "Cannot get value for undefined key ("
#~ msgstr "Wert für nicht definierten Schlüssel kann nicht gelesen werden ("

#~ msgid "There was a problem with the database: "
#~ msgstr "Es gab ein Problem mit der Datenbank: "

#~ msgid "Could not connect to LDAP server."
#~ msgstr "Es konnte keine Verbindung zum LDAP-Server hergestellt werden."

#~ msgid ""
#~ "There is a problem with the LDAP configuration, contact your server "
#~ "administrator."
#~ msgstr ""
#~ "Es existiert ein Problem mit Ihrer LDAP-Konfiguration, kontaktieren Sie "
#~ "den Administrator."

#~ msgid "Resources import"
#~ msgstr "Resourcen importieren"

Expand Down
Binary file added auth/locale/en_GB/LC_MESSAGES/messages.mo
Binary file not shown.
Loading

0 comments on commit 528fa17

Please sign in to comment.