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

    bright-gpu-74537

    02/13/2023, 9:56 AM
    ("Ian Harrigan" being a string passed in as the 2nd param)
  • i

    icy-zebra-52882

    02/13/2023, 10:19 AM
    You've basically implemented fluent 😂
  • i

    icy-zebra-52882

    02/13/2023, 10:21 AM
    at that point you may as well copy their syntax and get free support via messing with the fluent playground
  • b

    bright-gpu-74537

    02/13/2023, 10:24 AM
    maybe in a upcoming revision 🙂 might make sense to make the whole parser thing pluggable, but at this point, i just want to make sure the proposed new system makes sense... ... i think it does
  • f

    full-journalist-82607

    02/13/2023, 10:36 AM
    Seems nice 🙂
  • b

    bright-gpu-74537

    02/13/2023, 10:37 AM
    yeah, i quite like it... i like that you can just do
    foo=bar
    too, or
    foo=[0] bar [1]
  • f

    full-journalist-82607

    02/13/2023, 10:46 AM
    Yeah it needs to stay simple for the 90% of the cases
  • b

    bright-gpu-74537

    02/13/2023, 10:46 AM
    indeed
  • b

    bright-gpu-74537

    02/13/2023, 10:52 AM
    tbh, the existing locale integration works really nice (ignoring that the string subst is really basic)... im actually not sure how it works so nicely 😄
  • b

    bright-gpu-74537

    02/13/2023, 10:52 AM
    Copy code
    xml
                    <hbox>
                        <slider id="projectCount" precision="0" />
                        <label text="{{count, projectCount.value}}" verticalAlign="center" />
                    </hbox>
  • f

    full-journalist-82607

    02/13/2023, 10:55 AM
    haha. In fact I didn't really use it very much except for translations. Maybe I should use it more ...
  • b

    bright-gpu-74537

    02/13/2023, 10:56 AM
    yeah, i think once its coupled with the new format, it'll actually be pretty powerful... need to make sure i add something to the explorer too
  • b

    bright-gpu-74537

    02/13/2023, 11:18 AM
    🙂
  • c

    clever-yak-82528

    02/13/2023, 12:21 PM
    this is great
  • b

    bright-gpu-74537

    02/13/2023, 12:46 PM
    Copy code
    somevar=somevar {0} (english)
            this is = = a second line
    welcome=Welcome! {0} {1}
            {0} {1}
    {0}         {1}
    listitem=list item #{0}
    column=column
    menu.file=File
    menuitem=Menu Item {0}
    count={0} project(s)
  • b

    bright-gpu-74537

    02/13/2023, 12:46 PM
    parsers can be a real bitch to write somtimes 😄
  • b

    bright-gpu-74537

    02/13/2023, 12:47 PM
    something so simple (on the surface) can be a real PITA
  • h

    hallowed-ocean-84954

    02/13/2023, 2:13 PM
    Many thanx. Just FYI I found this by accident while trying to figure out if an Accordion section could be disabled - so you couldn't even click on it to open it. That doesn't appear to be possible, but I later decided that I didn't need it - makes sense for people to be able to see what options existed.
  • b

    bright-gpu-74537

    02/13/2023, 2:21 PM
    it should be fairly easy to disable an accordion button based on its page... i just wonder if its worth it
  • b

    bright-gpu-74537

    02/13/2023, 2:21 PM
    ill have a think
  • h

    hallowed-ocean-84954

    02/13/2023, 2:22 PM
    that's the reason I mentioned it - as I said I don't need it for what I'm doing now - but wasn't sure what you thought about it
  • b

    bright-gpu-74537

    02/13/2023, 2:46 PM
    it probably wouldnt hurt to add it, i mean, it may be be useful - and if you dont want to use it, well, then you dont have to
  • b

    bright-gpu-74537

    02/13/2023, 3:32 PM
    @full-journalist-82607 - when you get five mins, can you convert this into french (please):
  • b

    bright-gpu-74537

    02/13/2023, 3:32 PM
    Copy code
    count=[1] {
        none: has no projects
        one: has one project
        many: has [0] projects
    } currently active in {
        [2]=m: his
        [2]=f: her
        [2]=o: their
        _: thier
    } workspace
  • f

    full-journalist-82607

    02/13/2023, 3:39 PM
    Copy code
    haxe
    count=[1] {
        none: n'a aucun projet actif
        one: a un projet actif
        many: a [0] projets actifs
    } actuellement dans son espace de travail
    I've decided to translate "active" by "actif" , thought it was my english my mind, but asking my partner , it seems to be correct too
  • f

    full-journalist-82607

    02/13/2023, 3:39 PM
    Saw @powerful-morning-89 wanted to answer too 😉
  • p

    powerful-morning-89

    02/13/2023, 3:39 PM
    That's also how I'd translate it.
  • b

    bright-gpu-74537

    02/13/2023, 3:39 PM
    so no "his", "her", "their"?
  • f

    full-journalist-82607

    02/13/2023, 3:40 PM
    no it doesn't depend on the subject but on the object
  • f

    full-journalist-82607

    02/13/2023, 3:40 PM
    so with "espace", it's "son"
1...150415051506...1687Latest