Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 17 20:28
    makkarpov closed #15
  • Jan 17 20:28
    makkarpov closed #5
  • Jan 17 20:28

    makkarpov on master

    Introducing crossProject compil… Make projects compilable Drop support for Scala 2.10. and 10 more (compare)

  • Jan 17 20:15

    makkarpov on dev

    Bump version to 1.0 (compare)

  • Jan 17 19:48

    makkarpov on dev

    Make scripted task depended on … Fix formatting Merge branch 'przemekd-master' … (compare)

  • Jan 17 19:47
    przemekd synchronize #15
  • Jan 17 19:46
    przemekd synchronize #15
  • Jan 17 18:30

    makkarpov on dev

    Introducing crossProject compil… Make projects compilable Drop support for Scala 2.10. and 6 more (compare)

  • Jan 17 18:15
    przemekd ready_for_review #15
  • Jan 17 18:06
    przemekd synchronize #15
  • Dec 28 2020 12:19
    przemekd synchronize #15
  • Dec 16 2020 12:59
    przemekd synchronize #15
  • Dec 15 2020 15:29
    przemekd synchronize #15
  • Dec 14 2020 21:20
    przemekd synchronize #15
  • Dec 13 2020 16:28
    przemekd synchronize #15
  • Dec 13 2020 14:42
    przemekd synchronize #15
  • Dec 10 2020 15:36
    przemekd opened #15
  • Apr 18 2020 03:45
    davewhittaker opened #14
  • Jan 21 2020 18:20

    makkarpov on master

    Bump version to 0.9.1-SNAPSHOT (compare)

  • Jan 21 2020 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)

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?