Skip to content

Commit

Permalink
add text domain for ServiceType translations
Browse files Browse the repository at this point in the history
  • Loading branch information
elsenhans committed Jan 12, 2024
1 parent f0c3e25 commit c8580d1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 4 additions & 0 deletions languages/ServiceType/de.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
getDOI = "Weiterleitung zum DOI"
getFullTxt = "Weiterleitung zum digitalen Volltext"
getHolding = "Weiterleitung zum Bestand"
getWebService = "Weiterleitung zum Web-Dienst"
4 changes: 4 additions & 0 deletions languages/ServiceType/en.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
getDOI = "Forwarding to DOI"
getFullTxt = "Forwarding to digital full text"
getHolding = "Forwarding to holding"
getWebService = "Forwarding to web service"
4 changes: 0 additions & 4 deletions languages/de.ini
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,6 @@ Geography = "Geographie"
Get full text = "Volltext"
Get more information = "Weitere Angaben"
Get RSS Feed = "RSS-Feed abonnieren"
getDOI = "Weiterleitung zum DOI"
getFullTxt = "Weiterleitung zum digitalen Volltext"
getHolding = "Weiterleitung zum Bestand"
getWebService = "Weiterleitung zum Web-Dienst"
Globe = "Globus"
Go = "ausführen"
Go to Standard View = "Zurück zur Standardansicht"
Expand Down
4 changes: 0 additions & 4 deletions languages/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -535,10 +535,6 @@ Geography = "Geography"
Get full text = "Get full text"
Get more information = "Get more information"
Get RSS Feed = "RSS Feed"
getDOI = "Forwarding to DOI"
getFullTxt = "Forwarding to digital full text"
getHolding = "Forwarding to holding"
getWebService = "Forwarding to web service"
Globe = "Globe"
Go = "Go"
Go to Standard View = "Go to Standard View"
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3/templates/ajax/resolverLink.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php if (!empty($link['href'])): ?>
<a href="<?=$this->escapeHtmlAttr($link['href'])?>" title="<?=$this->transEscAttr($link['service_type'] ?? '')?>"<?=!empty($link['access']) ? ' class="access-' . $link['access'] . '"' : ''?>>
<a href="<?=$this->escapeHtmlAttr($link['href'])?>" title="<?=$link['service_type'] ? $this->transEscAttr('ServiceType::' . $link['service_type']) : ''?>"<?=!empty($link['access']) ? ' class="access-' . $link['access'] . '"' : ''?>>
<?=$this->escapeHtml($link['title'] ?? '')?>
</a>
<?php else: ?>
Expand Down

0 comments on commit c8580d1

Please sign in to comment.