Commit 9bf624d4 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

97: Complete Translations for current implementation

Task-Url: https://mantisbt.tgradl.de/view.php?id=97
parent e4dd102a
......@@ -17,11 +17,11 @@
<!-- Notifications -->
<div id="notifications-area" class="col-sm-10 col-sm-offset-1"></div>
<div class="xs-hidden sm-visible col-sm-3 col-lg-2 col-sm-offset-1">
<div class="pull-right dariah-flower-white-83"><s:message code="~de.dariah.genericsearch.view.title.br" /></div>
<div class="pull-right dariah-flower-white-83"><s:message code="~eu.dariah.de.minfba.search.view.titles.generic_search.br" /></div>
</div>
<div class="col-sm-6 col-lg-7 col-sm-offset-1">
<div class="search-home-info">
<s:message code="~de.dariah.genericsearch.view.search.collections_and_docs" arguments="${providerCount}, ${docCount}" />
<s:message code="~eu.dariah.de.minfba.search.view.labels.collections_and_docs" arguments="${providerCount}, ${docCount}" />
</div>
<form id="search-form" method="POST" action="${query_url}" class="form-horizontal" >
......
......@@ -5,21 +5,21 @@
<tiles:importAttribute name="fluidLayout" />
<ul class="breadcrumb">
<li class="active"><s:message code="~de.dariah.genericsearch.view.search.title" /></li>
<li class="active"><s:message code="~de.dariah.genericsearch.view.search.extended.title" /></li>
<li class="active"><s:message code="~eu.dariah.de.minfba.search.view.titles.generic_search" /></li>
<li class="active"><s:message code="~eu.dariah.de.minfba.search.view.titles.extended_search" /></li>
</ul>
<div id="main-content">
<div class="row">
<div class="col-lg-12">
<h2 class="pull-left">
<s:message code="~de.dariah.genericsearch.view.search.extended.title" />
<s:message code="~eu.dariah.de.minfba.search.view.titles.extended_search" />
</h2>
</div>
<div id="search-facets-container" class="col-lg-12"></div>
<div class="col-lg-12">
<div class="pull-right">
<button onClick="queryHandler.insertSearchFacet();" class="btn btn-default btn-sm"><s:message code="~de.dariah.genericsearch.view.search.extended.add_facet" /></button>
<button onClick="queryHandler.insertSearchFacet();" class="btn btn-default btn-sm"><s:message code="~eu.dariah.de.minfba.search.view.labels.add_facet" /></button>
<button onClick="queryHandler.doSearch();" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-search"></span></button>
</div>
</div>
......
......@@ -2,11 +2,11 @@
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<div class="list-group options active">
<h4 class="sidebar-title"><s:message code="~de.dariah.genericsearch.view.search.options.extended_search_options" /></h4>
<h4 class="sidebar-title"><s:message code="~eu.dariah.de.minfba.search.options.extended" /></h4>
<c:if test="${schemas!=null}">
<div class="list-group-item">
<label class="control-label" for="schemaId"><s:message code="~de.dariah.genericsearch.view.search.extended.structures" /></label>
<label class="control-label" for="schemaId"><s:message code="~eu.dariah.de.minfba.search.options.structures" /></label>
<select class="form-control" id="schemaId" name="schemaId">
<c:forEach items="${schemas}" var="s">
<option value="${s.schemaId}" <c:if test="${s.schemaId==query.schemaId}">selected="selected"</c:if>>
......
......@@ -18,7 +18,7 @@
</select>
</div>
<div class="col-md-6">
<input onkeypress="if (event.which==13) { queryHandler.doSearch(); }" name="facets[${index}].value" id="facets${index}.value" class="form-control col-md-6 search-facet-expression" type="text" placeholder="<s:message code="~de.dariah.genericsearch.view.search.queryexpression" />" value="${facet.value}" />
<input onkeypress="if (event.which==13) { queryHandler.doSearch(); }" name="facets[${index}].value" id="facets${index}.value" class="form-control col-md-6 search-facet-expression" type="text" placeholder="<s:message code="~eu.dariah.de.minfba.search.view.labels.query_expression" />" value="${facet.value}" />
</div>
<!-- <div class="col-md-2">
<label class="checkbox"><input type="checkbox" value="false" name="search-facet-not-${index}" class="search-facet-not-flag"><s:message code="~de.dariah.genericsearch.view.search.extended.not" /></label>
......
......@@ -2,27 +2,27 @@
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<div class="list-group options active">
<h4 class="sidebar-title"><s:message code="~eu.dariah.de.minfba.search.view.query.options" /></h4>
<label class="checkbox list-group-item"><input type="checkbox" id="explain" name="explain" value="true" /><s:message code="~de.dariah.genericsearch.view.search.options.search_options.show_explanation" /></label>
<h4 class="sidebar-title"><s:message code="~eu.dariah.de.minfba.search.options.simple" /></h4>
<label class="checkbox list-group-item"><input type="checkbox" id="explain" name="explain" value="true" /><s:message code="~eu.dariah.de.minfba.search.options.show_explanation" /></label>
<div class="list-group-item-spacer"></div>
<label class="list-group-item"><span style="font-weight: bold;" id="size_shown">${query.size}</span> <s:message code="~de.dariah.genericsearch.view.search.options.results_per_page" />
<label class="list-group-item"><span style="font-weight: bold;" id="size_shown">${query.size}</span> <s:message code="~eu.dariah.de.minfba.search.options.results_per_page" />
<input style="display: none;" type="text" id="size" name="size" data-slider-theme="volume" data-slider-range="10,150" data-slider-step="10" data-slider="true" value="${query.size}" data-slider-highlight="true" />
</label>
</div>
<div class="list-group options active">
<h4 class="sidebar-title"><s:message code="~eu.dariah.de.minfba.search.view.query.options.selected_collections" /></h4>
<h4 class="sidebar-title"><s:message code="~eu.dariah.de.minfba.search.options.selected_collections" /></h4>
<ul id="search-available-collections" class="hide">
<c:forEach items="${datasources}" var="ds">
<li class="search-available-collection" id="search-available-collection-${ds.id}">${ds.name} <span style="font-weight: bold;" class="search-available-collection-doccount"></span></li>
</c:forEach>
</ul>
<div id="search-more-available-collections" class="hide">
<span id="search-more-available-collections-count"></span> <s:message code="~de.dariah.genericsearch.view.search.options.n_more" />
<span id="search-more-available-collections-count"></span> <s:message code="~eu.dariah.de.minfba.search.options.n_more" />
</div>
<div class="list-group-item" style="text-align: right;">
<button class="btn btn-sm btn-default" onclick="sourceSelection.getSelectionDialog();"><s:message code="~eu.dariah.de.minfba.search.view.query.options.select_collections" /></button>
<button class="btn btn-sm btn-default" onclick="sourceSelection.selectAll();"><s:message code="~eu.dariah.de.minfba.search.view.query.options.select_all_collections" /></button>
<button class="btn btn-sm btn-default" onclick="sourceSelection.getSelectionDialog();"><s:message code="~eu.dariah.de.minfba.search.options.actions.select_collections" /></button>
<button class="btn btn-sm btn-default" onclick="sourceSelection.selectAll();"><s:message code="~eu.dariah.de.minfba.search.options.actions.select_all_collections" /></button>
<input type="hidden" id="selected-datasources" name="selected-datasources" value="[]" />
</div>
</div>
\ No newline at end of file
......@@ -5,15 +5,15 @@
<tiles:importAttribute name="fluidLayout" />
<ul class="breadcrumb">
<li class="active"><s:message code="~de.dariah.genericsearch.view.search.title" /></li>
<li class="active"><s:message code="~de.dariah.genericsearch.view.search.simple.title" /></li>
<li class="active"><s:message code="~eu.dariah.de.minfba.search.view.titles.generic_search" /></li>
<li class="active"><s:message code="~eu.dariah.de.minfba.search.view.titles.simple_search" /></li>
</ul>
<div id="main-content">
<div class="row">
<div class="col-lg-12">
<h2 class="pull-left">
<s:message code="~de.dariah.genericsearch.view.search.simple.title" />
<s:message code="~eu.dariah.de.minfba.search.view.titles.generic_search" />
</h2>
</div>
<div class="col-lg-12">
......
......@@ -72,7 +72,7 @@
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a aria-expanded="false" role="button" data-toggle="dropdown" class="dropdown-toggle" href="#">
<span class="glyphicon glyphicon-globe"></span><s:message code="~de.dariah.common.view.language" /> <span class="caret"></span>
<span class="glyphicon glyphicon-globe"></span><s:message code="~eu.dariah.de.minfba.common.i18n.language" /> <span class="caret"></span>
</a>
<ul role="menu" class="dropdown-menu">
<c:forEach items="${_LANGUAGES}" var="_LANGUAGE">
......@@ -86,8 +86,8 @@
</li>
<c:set var="currentUrl" value="${requestScope['javax.servlet.forward.request_uri']}" />
<li id="login"<c:if test="${_auth!=null && _auth.auth==true}"> style="display: none;"</c:if>><a href="<s:url value='${_loginUrl}?url=${currentUrl}' />" ><span class="glyphicon glyphicon-log-in"></span>&nbsp;<s:message code="~eu.dariah.de.minfba.common.link.login" /></a></li>
<li id="logout"<c:if test="${_auth==null || _auth.auth==false}"> style="display: none;"</c:if>><a href="<s:url value='${_logoutUrl}' />" ><span class="glyphicon glyphicon-log-out"></span>&nbsp;<s:message code="~eu.dariah.de.minfba.common.link.logout" /><c:if test="${_auth!=null || _auth.auth==true}"> (${_auth.displayName})</c:if></a></li>
<li id="login"<c:if test="${_auth!=null && _auth.auth==true}"> style="display: none;"</c:if>><a href="<s:url value='${_loginUrl}?url=${currentUrl}' />" ><span class="glyphicon glyphicon-log-in"></span>&nbsp;<s:message code="~eu.dariah.de.minfba.common.actions.login" /></a></li>
<li id="logout"<c:if test="${_auth==null || _auth.auth==false}"> style="display: none;"</c:if>><a href="<s:url value='${_logoutUrl}' />" ><span class="glyphicon glyphicon-log-out"></span>&nbsp;<s:message code="~eu.dariah.de.minfba.common.actions.logout" /><c:if test="${_auth!=null || _auth.auth==true}"> (${_auth.displayName})</c:if></a></li>
</ul>
</nav>
</div>
......
......@@ -33,7 +33,7 @@
<!-- Notifications -->
<div id="notifications-area" class="col-sm-8 col-sm-offset-1"></div>
<div class="xs-hidden sm-visible col-sm-3 col-lg-2 col-sm-offset-1">
<div class="pull-right dariah-flower-white-45"><s:message code="~de.dariah.genericsearch.view.title.br" /></div>
<div class="pull-right dariah-flower-white-45"><s:message code="~eu.dariah.de.minfba.search.view.titles.generic_search.br" /></div>
</div>
<div class="col-sm-6 col-lg-7 col-sm-offset-1">
<c:choose>
......@@ -41,7 +41,7 @@
<h1><s:message code="${titleCode}" /></h1>
</c:when>
<c:otherwise>
<h1><s:message code="~de.dariah.genericsearch.view.title.short" /></h1>
<h1><s:message code="~eu.dariah.de.minfba.search.view.titles.generic_search.short" /></h1>
</c:otherwise>
</c:choose>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment