Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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.
    advapiIT
    @advapiIT
    Hello, if I use Orc.FluentValidation, can this be applied to a Model instead of the Viewmodel?
    Geert van Horrik
    @GeertvanHorrik
    I don't believe the lib even references CAtel.MVVM, so yes
    maybe you'll need ValidatableModelBase, not entirely sure
    advapiIT
    @advapiIT
    it works thevalidation geert
    I had to use the messageMediator between models btw
    happy to hear you've replicated the issue with Shell and Validation
    advapiIT
    @advapiIT
    excuse me, I've checked the doc on orchestra, but have found no answer. how do I disable the reset settings at startup when something has gone wrong'
    ?
    Geert van Horrik
    @GeertvanHorrik
    I don't think you can