Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    venom_aa
    @venomAA
    oh nvm..its a local variable..derp
    asyncs gives me headeaches
    how do you guys handle semaphores on your projects with asyncs..like for example..i have a command that runs an async task. But i dont want the user to be able to run it twice while one instace of the process is already running
    Geert van Horrik
    @GeertvanHorrik
    @bigworld12 ModelBase is serializable as well. But... you can register your own ProjectWriter / ProjectReader that are completely responsible for your own serialization (e.g. we do a lot of csv / directory reading)
    @venomAA I think there is an AsyncLock (which we took from the AsyncEx lib), and you could simply keep state. I think the TaskCommand already takes care of that for you
    advapiIT
    @advapiIT
    @GeertvanHorrik I'm to translate Orcherstra but I got the Add menu item disabled
    image.png
    I've tried to right click on the Orchestra.Core.de.xlf file or on the solutio, even from the top menu
    Geert van Horrik
    @GeertvanHorrik
    Correct, you should just use the MAT editor
    advapiIT
    @advapiIT
    I'm new..... where I find the MAT editor
    Geert van Horrik
    @GeertvanHorrik
    For example, copy the Orchestra.Core.nl.xlf and rename it to it.xlf
    image.png
    then go to start and search for the actual app:
    (or just double click the file in explorer)
    advapiIT
    @advapiIT
    ah ok
    I installed the extension of VS... damned me
    do you wantthe translation for all text or just the one that's used on UI
    I mean Are you sure you want to assign the input gesture to '{0}'. It will be removed from the other commands.
    should be translated?
    Geert van Horrik
    @GeertvanHorrik
    yes please. But each element can be translated / marked as translated. Even if you only do it partially, others can continue where you left, that's the nice thing about MAT
    advapiIT
    @advapiIT
    yes, no problem for me, was just to know even if internal ones (for example Viewmodel created on .... (just a sample))
    Geert van Horrik
    @GeertvanHorrik
    logging should never be translated (But it shouldn't be in there either)
    advapiIT
    @advapiIT
    for example I've found now : Debug logging is enabled for this application instance
    Geert van Horrik
    @GeertvanHorrik
    that's actually visible in the UI ;-)
    advapiIT
    @advapiIT
    ok, youre the boss :D
    Geert van Horrik
    @GeertvanHorrik
    log lines are never in the MAT, so everything can be translated
    then the only thing you have to PR is the xlf file and the build will make sure to add the italian translations automatically
    advapiIT
    @advapiIT
    I've commited it.
    but I don't know where it finished -_-
    bigworld12
    @bigworld12
    @GeertvanHorrik i added support for dark theme in orchestra, would you mind checking it out ? ^^
    WildGums/Orchestra#206
    Geert van Horrik
    @GeertvanHorrik
    Awesome, much appreciated. Will check out later today
    advapiIT
    @advapiIT
    @GeertvanHorrik have you received my commit for multi language?
    Geert van Horrik
    @GeertvanHorrik
    advapiIT
    @advapiIT
    I know... I don't know WTF happened
    on my side I did a push and sync
    Geert van Horrik
    @GeertvanHorrik
    did you puysh to your own fork?
    after that, you need to create a PR
    advapiIT
    @advapiIT
    I've not the code under my hand (am at work, the push has been done from my workstation at home)
    asap I return I crosscheck, otherwise I re-do it
    on my git https://github.com/advapiIT/Orchestra gives me an old version
    advapiIT
    @advapiIT
    wtf , damned noob I'm.... I check what happened now with th ecommit for validation... seems same problem of the multilanguage
    advapiIT
    @advapiIT
    that's the fck proxy
    ok that's , I've found how to bypass the proxy
    advapiIT
    @advapiIT
    I've cross checked the log generated... and I got this that seems intresting
    11:07:33:136 => [DEBUG] [Catel.MVVM.ViewModelBase] [1] DeferValidationUntilFirstCall is 'False', but overriding value using parent view model value 'True'
    I set DeferValidationUntilFirstCall in the MainViewModel, can the Shell's one win?
    advapiIT
    @advapiIT
    That's the "Problem"... if I put
      protected override async Task InitializeAsync()
            {
                await base.InitializeAsync();
    
                DeferValidationUntilFirstSaveCall = false;
    
            }
    it works
    Geert van Horrik
    @GeertvanHorrik
    Please comment on the ticket, I might look into this later tonight, need to work on other stuff now.