Skip to content

Commit

Permalink
Merge pull request #454 from coral-erm/development
Browse files Browse the repository at this point in the history
3.0.0 merge from development
  • Loading branch information
t4k authored Jul 13, 2018
2 parents 9752600 + 662c226 commit 331c670
Show file tree
Hide file tree
Showing 62 changed files with 15,355 additions and 5,864 deletions.
6 changes: 4 additions & 2 deletions LangCodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ public function getLanguage($code){
'en_US'=>'en_US',
'zh_CN'=>'zh_CN',
'zh_TW'=>'zh_TW',
'de_DE'=>'de_DE'
'de_DE'=>'de_DE',
'tr_TR'=>'tr_TR'
);
return array_key_exists($code, $all_lang) ? $all_lang[$code] : "en_US";
}
Expand All @@ -22,7 +23,8 @@ public function getNameLang($code_lang){
'en_US'=>'English (US)',
'zh_CN'=>'中文 (简体)',
'zh_TW'=>'中文 (正體)',
'de_DE'=>'Deutsch'
'de_DE'=>'Deutsch',
'tr_TR'=>'Türkçe'
);
return array_key_exists($code_lang, $name_lang) ? $name_lang[$code_lang] : "English";
}
Expand Down
2 changes: 1 addition & 1 deletion auth/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function setLanguage(lang) {
var cookievalid=2592000000; // 30 days (1000*60*60*24*30)
time += cookievalid;
now.setTime(time);
document.cookie ='lang='+lang+';path=/'+';domain='+wl.host+';expires='+now;
document.cookie ='lang='+lang+';path=/'+';domain='+wl.hostname+';expires='+now;
}
</script>
<script type="text/javascript" src="js/admin.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion auth/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ function setLanguage(lang) {
var cookievalid=2592000000; // 30 days (1000*60*60*24*30)
time += cookievalid;
now.setTime(time);
document.cookie ='lang='+lang+';path=/'+';domain='+wl.host+';expires='+now;
document.cookie ='lang='+lang+';path=/'+';domain='+wl.hostname+';expires='+now;
}
</script>
<script type="text/javascript">
Expand Down
Binary file modified auth/locale/de_DE/LC_MESSAGES/messages.mo
Binary file not shown.
317 changes: 159 additions & 158 deletions auth/locale/de_DE/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,173 @@ msgid ""
msgstr ""
"Project-Id-Version: Coral\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-27 15:04+0200\n"
"POT-Creation-Date: 2018-06-19 17:24+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: BSZ - Abteilung Bibliothekssysteme\n"
"Language-Abteilung: BSZ - Abteilung Bibliothekssysteme\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Abteilung: BSZ - Abteilung Bibliothekssysteme\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.4\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 @@ -126,89 +282,6 @@ msgstr ""
msgid "Auth Module"
msgstr "Authentifizierungsmodul"

#: 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"

#: 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?"

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

#: 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!"

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

#: 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"

#: 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."

#: 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: "

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

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

0 comments on commit 331c670

Please sign in to comment.