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

#85 Korean translation - java.lang.IllegalArgumentException: unknown format type: 선택 #86

Closed
dzc34 opened this issue Aug 2, 2017 · 1 comment
Labels

Comments

@dzc34
Copy link
Member

dzc34 commented Aug 2, 2017

related PR #85 Add Korean translation

Observed behaviour

the following URL works: http://127.0.0.1:8087/contrast-finder/?lang=ko
selection_085

But the following URL fails: http://127.0.0.1:8087/contrast-finder/result.html?lang=ko&foreground=rgb(70%2C136%2C71)&background=%23DFF0D8&ratio=4.5&isBackgroundTested=false&algo=HSV

Type Exception report
message java.lang.IllegalArgumentException: unknown format type: 선택
description The server encountered an internal error that prevented it from fulfilling this request.

exception
org.apache.jasper.JasperException: java.lang.IllegalArgumentException: unknown format type: 선택
   org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)

Steps to reproduce the behaviour

git clone https://github.com/Asqatasun/Contrast-Finder.git
cd Contrast-Finder
git fetch origin refs/pull/85/head  
git checkout FETCH_HEAD
docker/build_and_run-with-docker.sh -l  -s ${PWD} -d docker/SNAPSHOT-local_from-Ubuntu/ 

Your configuration

Ubuntu / Maven / Docker
openjdk version "1.8.0_131"

@dzc34 dzc34 added the bug label Aug 2, 2017
@dzc34 dzc34 closed this as completed in 14ec09a Aug 2, 2017
@dzc34
Copy link
Member Author

dzc34 commented Aug 2, 2017

fixed

##### For [form.resultNumber]
##### ---> Do not translate "choice", it is an internal ID
form.resultNumber={0} {0,choice,1#result|1<results}
form.resultNumber={0} {0,choice,1#résultat|1<résultats}
form.resultNumber={0} {0,choice,1#resultado|1<resultados}
form.resultNumber={0} {0,choice,1#개의 결과|1<개의 결과}

dzc34 added a commit to dzc34/Contrast-Finder that referenced this issue Aug 2, 2017
----------------------

  set version to 0.8.0
  updated CHANGELOG + typo
  fixed languages menu (Asqatasun#85 "Korean translation")
  i18n - fixed typo (Asqatasun#85 "Korean translation")
  i18n - added space before "\" at the end of the line (Asqatasun#85 "Korean translation")
  Fixed accessibility issue: added some lang="en" (Asqatasun#85 "Korean translation")
  Korean added to languages menu (Asqatasun#85 "Korean translation")
  fixed Asqatasun#86 "Korean translation" (Asqatasun#85) - java.lang.IllegalArgumentException: unknown format type: 선택
  Add Korean translation
  webapp - updated "Contribute to Contrast-Finder" (en + fr)
  Revert "Removed unused i18n entries"
  fix FR grammatical error
  fix Asqatasun#83
  Removed unused i18n entries
  docker/build_and_run-with-docker.sh (typo)
  docker/build_and_run-with-docker.sh - added new option (--log-build)
  updated docker/build_and_run-with-docker.sh (typo)
  renamed docker/build_and_run-with-docker.sh
  fixed .gitignore
  set version to 0.7.1-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant