by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 18 03:45
    davewhittaker opened #14
  • Jan 21 18:20

    makkarpov on master

    Bump version to 0.9.1-SNAPSHOT (compare)

  • Jan 21 18:05

    makkarpov on dev

    update to play 2.8 and bring ot… update travis config according … Merge pull request #13 from Ole… and 1 more (compare)

  • Jan 21 17:32

    makkarpov on master

    update to play 2.8 and bring ot… update travis config according … Merge pull request #13 from Ole… (compare)

  • Jan 21 17:32
    makkarpov closed #13
  • Jan 21 16:14
    OlegYch synchronize #13
  • Jan 21 16:04
    OlegYch opened #13
  • Jan 06 20:13
    gawashburn opened #12
  • Jul 13 2019 12:59

    makkarpov on master

    Rollback Scala version from 2.1… Bump version to v0.8.2-SNAPSHOT (compare)

  • Jul 13 2019 12:45

    makkarpov on dev

    Bump version to v0.8.2-SNAPSHOT (compare)

  • Jul 13 2019 12:43

    makkarpov on dev

    Rollback Scala version from 2.1… (compare)

  • Jul 13 2019 12:43

    makkarpov on v0.8.1

    (compare)

  • Jul 12 2019 09:23

    makkarpov on dev

    update to scala 2.13.0 Merge pull request #11 from Ole… (compare)

  • Jun 28 2019 14:27

    makkarpov on master

    update to scala 2.13.0 Merge pull request #11 from Ole… (compare)

  • Jun 28 2019 14:27
    makkarpov closed #11
  • Jun 28 2019 13:45
    OlegYch opened #11
  • Apr 06 2019 20:57

    makkarpov on v0.8

    (compare)

  • Apr 06 2019 20:55
    colindean closed #8
  • Apr 06 2019 19:48

    makkarpov on master

    Upgrade to SBT 1.x (namely 1.2.… Bump version to 0.8 (compare)

  • Apr 06 2019 19:09

    makkarpov on dev

    Bump version to 0.8 (compare)

Dave Whittaker
@davewhittaker

Hi. I'm having a bit of trouble with Scalingua and was hoping you might give me a nudge in the right direction. It's properly generating a .pot file, but when I add 2 .po files to src/main/locales (en_US.po & es_US.po) I get an error during compilation

[error] /Users/dave/Workspace/h2/target/scala-2.11/locales/main/scala/h2/common/locales/Languages.scala:7: value Language_es_US is not a member of object h2.common.locales.Language_en_US
[error] possible cause: maybe a semicolon is missing before `value Language_es_US'?
[error]   Language_es_US
[error]   ^
[warn] three warnings found
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 93 s, completed Feb 21, 2018 10:04:03 PM

The corresponding file looks like

package h2.common.locales

import ru.makkarpov.scalingua.Messages

object Languages extends Messages(
  Language_en_US
  Language_es_US
)

Any thoughts on what I'm doing wrong?

FWIW, Language_en_US.scala and Language_es_US.scala files both exist.
Dave Whittaker
@davewhittaker
Ok, as I look at this closer, it seems like it must be a bug. The Messages constructor takes Languages as a vararg, and for some reason there is no comma between the two languages getting passed as parameters.
Dave Whittaker
@davewhittaker
@makkarpov, are you out there?
Maxim Karpov
@makkarpov
Yeah, thank you for the report
Will check it soon
Maxim Karpov
@makkarpov
Thanks, I fixed it. Version 0.6.5 should no longer have that bug
Dave Whittaker
@davewhittaker
Thanks @makkarpov. I'm going to be in a bit of a rush to get an app translated next week that is using Scalingua. I might have a bit of money for paid support if you are available to answer questions, and try to expedite bug fixes?
Maxim Karpov
@makkarpov
That's seems good. But I would prefer another communication method. Maybe Telegram?