Skip to content

Commit

Permalink
UI typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mkucej committed Sep 13, 2023
1 parent 48d7b5c commit 7d8f610
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/media/l10n/de.ini
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ User's temporary password is = Das temporäre Passwort des Benutzers lautet
Username = Benutzername
username already exists = Benutzername existiert bereits
Users can join this project freely = Benutzer können diesem Projekt frei beitreten
Users whose data you change will be logged out, potentially loosing their work in progress = Benutzer, deren Daten Sie ändern, werden abgemeldet und verlieren möglicherweise ihre laufende Arbeit
Users whose data you change will be logged out, potentially losing their work in progress = Benutzer, deren Daten Sie ändern, werden abgemeldet und verlieren möglicherweise ihre laufende Arbeit
Users with access = Benutzer mit Zugriff
Version 3.6 is required = Version 3.6 ist erforderlich
videos = Videos
Expand Down
2 changes: 1 addition & 1 deletion app/media/l10n/template.ini
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ User's temporary password is =
Username =
username already exists =
Users can join this project freely =
Users whose data you change will be logged out, potentially loosing their work in progress =
Users whose data you change will be logged out, potentially losing their work in progress =
Users with access =
Version 3.6 is required =
videos =
Expand Down
2 changes: 1 addition & 1 deletion app/views/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function main(array $users): string {
$el = $this->di->get('Alert');

$el->context('danger');
$el->html($this->lang->t9n('Users whose data you change will be logged out, potentially loosing their work in progress'));
$el->html($this->lang->t9n('Users whose data you change will be logged out, potentially losing their work in progress'));
$warning = $el->render();

$el = null;
Expand Down
14 changes: 7 additions & 7 deletions classes/external/crossref.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,13 +339,6 @@ public function formatMetadata($json): array {

switch ($article['type']) {

case 'journal-article':
$output['items'][$i][ItemMeta::COLUMN['REFERENCE_TYPE']] = ItemMeta::TYPE['ARTICLE'];
$output['items'][$i][ItemMeta::COLUMN['BIBTEX_TYPE']] = ItemMeta::BIBTEX_TYPE['ARTICLE'];
// Publication.
$output['items'][$i][ItemMeta::COLUMN['SECONDARY_TITLE']] = $article['container-title'][0] ?? '';
break;

case 'proceedings':
case 'proceedings-series':
case 'proceedings-article':
Expand All @@ -366,6 +359,13 @@ public function formatMetadata($json): array {
// Publication.
$output['items'][$i][ItemMeta::COLUMN['SECONDARY_TITLE']] = $article['container-title'][0] ?? '';
break;

default:
$output['items'][$i][ItemMeta::COLUMN['REFERENCE_TYPE']] = ItemMeta::TYPE['ARTICLE'];
$output['items'][$i][ItemMeta::COLUMN['BIBTEX_TYPE']] = ItemMeta::BIBTEX_TYPE['ARTICLE'];
// Publication.
$output['items'][$i][ItemMeta::COLUMN['SECONDARY_TITLE']] = $article['container-title'][0] ?? '';
break;
}

} else {
Expand Down

0 comments on commit 7d8f610

Please sign in to comment.