Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spanish translation #20

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 55 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,65 @@
# HPE Find
# HPE Find - Fork by [Yuntaz](http://www.yuntaz.com)
[![Build Status](https://travis-ci.org/hpe-idol/find.svg?branch=master)](https://travis-ci.org/hpe-idol/find)

HPE Find is an end user search interface for [Haven OnDemand](https://www.havenondemand.com) and [HPE IDOL](http://www8.hp.com/uk/en/software-solutions/information-data-analytics-idol/index.html)

## How do I get it?
## How do I get it?
- The latest version of Find is used in [Haven Search OnDemand](https://search.havenondemand.com/)
- If you are an HPE IDOL Express or HPE IDOL Premium customer, Find is available to you in the HPE Big Data Download Center
- If you are an HPE IDOL Express or HPE IDOL Premium customer, Find is available to you in the HPE Big Data Download Center

## Documentation is on the Wiki
Questions about building, running, and configuring Find, plus many more subjects, are all covered on the HPE Idol [GitHub Wiki](https://github.com/hpe-idol/find/wiki)

## How to compile it?

### Prerequisites to build a version
You will need:
- [GitHub](https://desktop.github.com/) - Use the GitShell, better control ;-)
- [Java 1.8](http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html) - JDK for your platform
- [Maven](https://maven.apache.org/download.cgi) - Use the last stable version
- [NodeJs 5.1](https://github.com/coreybutler/nvm-windows) - Install the NVM binaries instead the default NodeJs so you can manage versions.

### What to check?

## Documentation is on the Wiki
#### Java
Java must be on the PATH, you must be able to run in any terminal
```sh
$ java -version
```
Also, don't forget to set the Environment variable JAVA_HOME

Questions about building, running, and configuring Find, plus many more subjects, are all covered on the [GitHub Wiki](https://github.com/hpe-idol/find/wiki)
##### Linux
```sh
$ echo $JAVA_HOME
```

## Is it any good?
Yes.
##### Windows
```sh
c:\>echo %JAVA_HOME% (Windows)
```

## License
#### NodeJs
Download the NVM (Node version manager). Install it, and in a terminal, run
```sh
$ nvm install 5.1
$ node -v
```
It should be the 5.1 version on the system.

### Build recipe
After testing all the prerequisites, you will be able to build.
Open a GitShell terminal and run the following recipe
```sh
$ git clone -b onprem-release/12.1.0 https://github.com/microfocus-idol/find
$ cd find/webapps
$ mvn clean package -Pproduction -pl idol,hod -am
```
It will take some minutes, and you will get a JAR to use.

## Translation to Spanish
This version has all the Spanish version translations.

## License
Copyright 2014-2015 Hewlett-Packard Development Company, L.P.
Copyright 2015-2016 Hewlett Packard Enterprise Development LP

Licensed under the MIT License (the "License"); you may not use this project except in compliance with the License.
Licensed under the MIT License (the "License"); you may not use this project except in compliance with the License.
x
28 changes: 28 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# build.ps1, Version 0.01
# Compile HPE Find in Windows
#
# Usage: ./build.ps1
#
# Written by Yuntaz - http://www.yuntaz.com

$java = &"java.exe" -version 2>&1
$java = $java[0].tostring().Substring(0,4)

$ErrorActionPreference= 'silentlycontinue'
$nodejs = (node -v).Substring(1,5)
$maven = (mvn --version).Substring(0,12)[0]

if ($nodejs -eq '5.1.0' -And $maven -eq 'Apache Maven' -And $java -eq 'java')
{
Write-Host "Compiling ... "
cd webapp
&mvn clean package -Pproduction -pl idol,hod -am
}
else
{
Write-Host "Prerequisites are not present on the system. "
Write-Host "Please, check that Java is installed and on the PATH."
Write-Host "Please, check that NodeJs is installed on version 5.1.0. "
Write-Host "Please, check that Apache Maven is installed and running on the PATH"
}

22 changes: 21 additions & 1 deletion webapp/core/src/main/public/static/js/find/nls/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,25 @@
*/
define(['js-whatever/js/substitution'], {
root: true,
'en-gb': true
'en-gb': true,
'es-ar': true,
'es-bo': true,
'es-cl': true,
'es-co': true,
'es-cr': true,
'es-do': true,
'es-ec': true,
'es-es': true,
'es-gt': true,
'es-hn': true,
'es-mx': true,
'es-ni': true,
'es-pa': true,
'es-pe': true,
'es-pr': true,
'es-py': true,
'es-sv': true,
'es-us': true,
'es-uy': true,
'es-ve': true
});
22 changes: 21 additions & 1 deletion webapp/core/src/main/public/static/js/find/nls/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,25 @@

define(['js-whatever/js/substitution'], {
root: true,
'en-gb': true
'en-gb': true,
'es-ar': true,
'es-bo': true,
'es-cl': true,
'es-co': true,
'es-cr': true,
'es-do': true,
'es-ec': true,
'es-es': true,
'es-gt': true,
'es-hn': true,
'es-mx': true,
'es-ni': true,
'es-pa': true,
'es-pe': true,
'es-pr': true,
'es-py': true,
'es-sv': true,
'es-us': true,
'es-uy': true,
'es-ve': true
});
Loading