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

    clever-yak-82528

    02/14/2023, 12:30 PM
    (dwy flynedd = 2 years)
  • c

    clever-yak-82528

    02/14/2023, 12:30 PM
    but pedwar ci = 4 dogs, pum ci = 5 dogs
  • b

    bright-gpu-74537

    02/14/2023, 12:32 PM
    actually, its good i tested the list one, as this doesnt work:
  • b

    bright-gpu-74537

    02/14/2023, 12:32 PM
    Copy code
    # complex
    colours.count=[1] {
        none: has no colours
        one: has one colour
        [0]=3|4|5: bob
        many: has [0] colours
    } in {
        [2]=m: his
        [2]=f: her
        _: their
    } palette
  • b

    bumpy-engineer-49082

    02/14/2023, 12:32 PM
    https://www.haxeui.org/explorer/#miscellaneous/notifications Once you dismiss Huge or Large notification, no other notifications can be open.
  • b

    bright-gpu-74537

    02/14/2023, 12:33 PM
    yeah, there is an outstanding bug there, i dont think its just huge or large, i think there are other ways to make it break
  • c

    clever-yak-82528

    02/14/2023, 12:34 PM
    (this is i think falling out of use, and you can get away with not including it, but some translators might want to use it)
  • b

    bumpy-engineer-49082

    02/14/2023, 12:34 PM
    What is this one supposed to do?
  • b

    bright-gpu-74537

    02/14/2023, 12:35 PM
    supposed to open the custom component in a dialog... but doesnt seem to work... think it used to though
  • c

    clever-yak-82528

    02/14/2023, 12:35 PM
    and i should point out that "small" is likely to be higher for some things, so if it's possible to allow overriding per dialogue then that would be great
  • b

    bright-gpu-74537

    02/14/2023, 12:36 PM
    you can defo overload per string... its just a short cut... it will literally just replace the text
  • b

    bright-gpu-74537

    02/14/2023, 12:37 PM
    Copy code
    bob=tim
    ...
    # complex
    colours.count=[1] {
        bob: has no colours
    } palette
    will become
    Copy code
    colours.count=[1] {
        tim: has no colours
    } palette
  • c

    clever-yak-82528

    02/14/2023, 12:40 PM
    so honestly you could randomly pick between
    small
    and
    many
    in quite a lot of situations
  • c

    clever-yak-82528

    02/14/2023, 12:40 PM
    and depending on which number system you use, you might not need
    many
    at all
  • b

    bright-gpu-74537

    02/14/2023, 12:42 PM
    yeah, thats fine, you can "overload" it per string... so its not an issue
  • b

    bright-gpu-74537

    02/14/2023, 12:43 PM
    [0]=3|4|5: bob
    not working however is and issue
  • b

    bright-gpu-74537

    02/14/2023, 12:57 PM
    (fixed)
  • c

    clever-yak-82528

    02/14/2023, 1:27 PM
    Nice
  • h

    hallowed-ocean-84954

    02/14/2023, 2:13 PM
    nice. thanx
  • i

    icy-zebra-52882

    02/14/2023, 2:22 PM
    nitpick:
    few
    should be used over
    small
    , Unicode already calls it few and it's used already in i18n contexts
  • i

    icy-zebra-52882

    02/14/2023, 2:23 PM
    it's no great obstacle, just that if you wanted to implement plural rules for a new language then you'd be able to use the unicode rules categories verbatim
  • a

    ambitious-knife-25690

    02/14/2023, 2:25 PM
    okay i just added a bunch of examples to the haxeui snippet search
  • a

    ambitious-knife-25690

    02/14/2023, 2:26 PM
    lemme know if anything is missing so i (or you) can add to it
  • b

    bright-gpu-74537

    02/14/2023, 2:45 PM
    few, fair enough, easily change, esp. since it only welsh that uses it - ie, its in the .properties file itself
  • b

    bright-gpu-74537

    02/14/2023, 2:46 PM
    "few" also fits in with "many" more too
  • c

    clever-yak-82528

    02/14/2023, 2:52 PM
    i was intending to use few and then i derped and used small instead
  • i

    icy-zebra-52882

    02/14/2023, 3:43 PM
    polish also uses "few" for 2-4 plural iirc
  • i

    icy-zebra-52882

    02/14/2023, 3:45 PM
    oh I see what you meant, ignore me lol
  • b

    bright-gpu-74537

    02/14/2023, 3:46 PM
    Copy code
    colours.count=[1] {
        none: nie ma kolorów
        one: ma jeden kolor
        [0] in 11...14: [0] kolorów
        [0] mod 10 in 2...4: [0] kolory
        _: [0] kolorów
    } w {
        [2]=m: jego
        [2]=f: jej
        _: swojej
    } palecie
  • b

    bright-gpu-74537

    02/14/2023, 3:46 PM
    thats polish apparently
1...151115121513...1687Latest