fix typos

This commit is contained in:
Ivan Masár
2016-09-12 15:08:17 +02:00
parent 76e52f230b
commit f6c8475cb2
4 changed files with 7 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ public class ItemCounter
protected ConfigurationService configurationService; protected ConfigurationService configurationService;
/** /**
* Construct a new item counter which will use the give DSpace Context * Construct a new item counter which will use the given DSpace Context
* *
* @param context current context * @param context current context
* @throws ItemCountException if count error * @throws ItemCountException if count error

View File

@@ -76,7 +76,7 @@ public class PubmedService
if (StringUtils.isNotBlank(title)) if (StringUtils.isNotBlank(title))
{ {
query.append("((").append(title).append("[TI]) OR ("); query.append("((").append(title).append("[TI]) OR (");
// [TI] non funziona sempre, titolo di capitoli di libro // [TI] does not always work, book chapter title
query.append("(").append(title).append("[book]))"); query.append("(").append(title).append("[book]))");
} }
if (StringUtils.isNotBlank(author)) if (StringUtils.isNotBlank(author))

View File

@@ -32,11 +32,11 @@ public class ItemCollectionGenerator extends ATOMCollectionGenerator
} }
/** /**
* Build the collection around the give DSpaceObject. If the object * Build the collection around the given DSpaceObject. If the object
* is not an instance of a DSpace Item this method will throw an * is not an instance of a DSpace Item this method will throw an
* exception. * exception.
* *
* @param dso the dso for which the collection should be build * @param dso the dso for which the collection should be built
* @throws DSpaceSWORDException if the dso is not an instance of Item * @throws DSpaceSWORDException if the dso is not an instance of Item
*/ */
public Collection buildCollection(DSpaceObject dso) public Collection buildCollection(DSpaceObject dso)
@@ -95,7 +95,7 @@ public class ItemCollectionGenerator extends ATOMCollectionGenerator
scol.setAbstract(dcAbstract); scol.setAbstract(dcAbstract);
} }
// do we suppot mediated deposit // do we support mediated deposit
scol.setMediation(swordConfig.isMediated()); scol.setMediation(swordConfig.isMediated());
// the list of mime types that we accept, which we take from the // the list of mime types that we accept, which we take from the

View File

@@ -237,12 +237,12 @@
<!-- The following javascript removes the default text of empty text areas when they are focused on or submitted --> <!-- The following javascript removes the default text of empty text areas when they are focused on or submitted -->
<!-- There is also javascript to disable submitting a form when the 'enter' key is pressed. --> <!-- There is also javascript to disable submitting a form when the 'enter' key is pressed. -->
<script> <script>
//Clear default text of emty text areas on focus //Clear default text of empty text areas on focus
function tFocus(element) function tFocus(element)
{ {
if (element.value == '<i18n:text>xmlui.dri2xhtml.default.textarea.value</i18n:text>'){element.value='';} if (element.value == '<i18n:text>xmlui.dri2xhtml.default.textarea.value</i18n:text>'){element.value='';}
} }
//Clear default text of emty text areas on submit //Clear default text of empty text areas on submit
function tSubmit(form) function tSubmit(form)
{ {
var defaultedElements = document.getElementsByTagName("textarea"); var defaultedElements = document.getElementsByTagName("textarea");