https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • f

    flat-musician-80308

    02/10/2023, 5:39 PM
    actually it loops from the 20's like that
  • f

    flat-musician-80308

    02/10/2023, 5:39 PM
    yes, hi, Polish language is fun, eh
  • f

    flat-musician-80308

    02/10/2023, 5:39 PM
    😄
  • b

    bright-gpu-74537

    02/10/2023, 5:39 PM
    ok, great, so, does the proposed system work? I mean, it seems super laborious, but it would work?
  • b

    bright-gpu-74537

    02/10/2023, 5:40 PM
    how would you structure something like:
    Copy code
    count={
       itemCount=0: Nie masz żadnych aktywnych projektów
       itemCount=1: Masz jeden aktywny projekt
       itemCount<=4: Masz %itemCount% aktywne projekty
       itemCount>5: Masz %itemCount% aktywnych projektów
    }
  • f

    flat-musician-80308

    02/10/2023, 5:42 PM
    gimme a moment I know how to do it but not with this haxe's syntax yet 🙂
  • b

    bright-gpu-74537

    02/10/2023, 5:42 PM
    this isnt haxe syntax
  • b

    bright-gpu-74537

    02/10/2023, 5:42 PM
    its a proposed syntax for localization inside haxeui
  • f

    flat-musician-80308

    02/10/2023, 5:42 PM
    ah allright
  • b

    bright-gpu-74537

    02/10/2023, 5:42 PM
    but im looking for as much test data as i can get from native speakers
  • b

    bright-gpu-74537

    02/10/2023, 5:43 PM
    heres a good (complex) example:
  • b

    bright-gpu-74537

    02/10/2023, 5:43 PM
    Copy code
    count={
      itemCount=0: Does
      _: Mae
    } {
      itemCount=0: dim prosiectau
      itemCount=2: %itemCount% brosiect
      itemCount=3|6: %itemCount% phrosiect
      itemCount<=10: %itemCount% prosiect
      _: %itemCount% o brosiectau
    } gyda chi ar hyn o bryd
  • b

    bright-gpu-74537

    02/10/2023, 5:43 PM
    or
  • b

    bright-gpu-74537

    02/10/2023, 5:44 PM
    Copy code
    count=Vous {
       itemCount=0: avez aucun projet
       itemCount=1: avez un projet
       itemCount>1: avez %itemCount% projets
    } actuellement {
       itemCount<=1: ouvert
       itemCount>1: ouverts
    }
  • f

    flat-musician-80308

    02/10/2023, 5:53 PM
    basically you need to use mod 10 in it, but now I'm thinking I'm overthinking it
  • b

    bright-gpu-74537

    02/10/2023, 5:53 PM
    overthink away... im honestly loving the test data i have... i never would have come up with half if it in my wildest dreams 😄
  • m

    miniature-summer-93860

    02/10/2023, 5:54 PM
    Hungarian
    Copy code
    count=Te {
       itemCount=0: nincsenek projektjeid
       itemCount=1: van egy projekted
       itemCount>1: van %itemCount% projekted
    }
    Copy code
    count=Ön {
       itemCount=0: nincsenek projektjei
       itemCount=1: van egy projektje
       itemCount>1: van %itemCount% projektje
    }
  • b

    bright-gpu-74537

    02/10/2023, 5:54 PM
    i would never have come up with this... ... ... ... ... stuff
  • m

    miniature-summer-93860

    02/10/2023, 5:54 PM
    I can also do german if no one has covered it.
  • b

    big-angle-82801

    02/10/2023, 5:54 PM
    do you speak hungarian? :o
  • m

    miniature-summer-93860

    02/10/2023, 5:54 PM
    Maybe :]
  • b

    bright-gpu-74537

    02/10/2023, 5:54 PM
    why is there two?
  • m

    miniature-summer-93860

    02/10/2023, 5:55 PM
    Te is informal you, Ön is formal you.
  • b

    big-angle-82801

    02/10/2023, 5:55 PM
    first non indo european language?!
  • b

    big-angle-82801

    02/10/2023, 5:55 PM
    that's really cool though
  • b

    bright-gpu-74537

    02/10/2023, 5:55 PM
    OK, so both pretty similar... and, imo, on the "normal" scale 🙂
  • m

    miniature-summer-93860

    02/10/2023, 5:56 PM
    Yes indeed, it's not too tricky.
  • b

    big-angle-82801

    02/10/2023, 5:56 PM
    i was in budapest over the weekend, couldn't understand a word 😅 it's completely different to everything else
  • b

    bright-gpu-74537

    02/10/2023, 5:57 PM
    except plurals... plurals are the same as "everything" else 😄
  • b

    bright-gpu-74537

    02/10/2023, 5:58 PM
    for me, its the welsh that ill lose sleep about... its... amazing
1...149814991500...1687Latest