#metabrainz

/

      • DarthGandalf has quit
      • DarthGandalf joined the channel
      • fletchto99 has quit
      • fletchto99 joined the channel
      • Maxr1998_ joined the channel
      • Maxr1998 has quit
      • Derailed has quit
      • Kladky joined the channel
      • Derailed joined the channel
      • Zhele has quit
      • Zhele joined the channel
      • aerozol[m] has quit
      • mayhem[m] joined the channel
      • mayhem[m]
        did you burn it and claim insurance loss, atj ?
      • kepstin has quit
      • kepstin joined the channel
      • reosarevok[m]
        I suspect in that case money would probably be Not provided
      • mayhem[m]
        one has to at least try!
      • aerozol[m] joined the channel
      • aerozol[m]
        bitmap: reosarevok : yvanzo : Congrats on EAA docs being finished!! I uploaded the youtube tutorials today and linked them in the blog post draft, so you are welcome to post the blog post any time. The only thing that could be added is a clever/fun header image in the blog post, but I can’t think of anything - let me know if you would like me to add something. Otherwise post away!
      • lucifer[m] has quit
      • rimskii[m] has quit
      • I also prepped a fun blog post, where I interview sound.and.vision about weird MB releases. I’m planning on saving it for a rainy day when we want to post something interesting - if anybody wants to look at the draft, go for it: https://wordpress.com/post/blog.metabrainz.org/...
      • aerozol[m] uploaded an image: (573KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/HgEOyRuDfuVmnZURvrLPVqZj/image.png >
      • That one I DID come up with a good visual for 😝
      • zerodogg has quit
      • yvanzo[m]
        Thank you aerozol. I’m integrating your video tutorials into the wiki pages.
      • pranav[m] has quit
      • reosarevok[m]
        yvanzo: Hmm. I just noticed stuff that uses `lp_statistics` is not actually appearing on Weblate
      • And if I search for, say, "Including subtypes" it shows in some .po files but not in .pot
      • Guess we just missed it :)
      • PR coming
      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #3311 (03master…fix-lp_statistics): Fix missing lp_statistics translations https://github.com/metabrainz/musicbrainz-serve...
      • reosarevok[m]
        If that seems right we should probably throw it into beta to put the new pots out
      • zerodogg joined the channel
      • zerodogg has quit
      • yvanzo[m]
        reosarevok: Thanks!
      • zerodogg joined the channel
      • aerozol: I have no image to add either, I’ll let bitmap post it when he wants to
      • zerodogg has quit
      • bitmap[m]
        me either, I'l post it in a bit though
      • SigHunter has quit
      • SigHunter joined the channel
      • zerodogg joined the channel
      • in lieu of a clever banner I inserted the logo, but I'm not sure if that looks dumb or not
      • reosarevok[m]
        Better than nothing at least IMO
      • yvanzo: agreed with https://github.com/metabrainz/musicbrainz-serve... - is there any good way to tell which strings are duplicate?
      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #3311 (03master…fix-lp_statistics): Fix missing lp_statistics translations https://github.com/metabrainz/musicbrainz-serve...
      • yvanzo[m]
        reosarevok: I just roughly compared both POT files.
      • It is possibly due to l_statistics having been aliased to l in the past.
      • reosarevok[m]
        Re MBS-13675 - I understand you mean the events for history, right? Timeline labels are statistics which is probably why timeline events are there too, but something like l_history would make sense to me
      • BrainzBot
        MBS-13675: Separate timeline events from the Statistics translation component https://tickets.metabrainz.org/browse/MBS-13675
      • reosarevok[m]
        * something like `l_history, * l_history` would
      • yvanzo[m]
        Yes, thank you, I improved the ticket.
      • reosarevok[m]
        I'm confused about MusicBrainz::Server::Plugin::Translation
      • That has support only mb_server and statistics, for now
      • bitmap: What is that file, do we use it and if so why does it support only those two?
      • bitmap[m]
        I think that's for template toolkit?
      • reosarevok[m]
        (asking you since you're in the file history)
      • bitmap[m]
        check common-macros.tt
      • the plugin is loaded like [%- USE Translation('mb_server') -%]
      • reosarevok[m]
        yvanzo: if I create the history component, do we have a good way to keep any existing translations?
      • bitmap[m]
        then Translation.l(text, args); etc.
      • reosarevok[m]
        Hmm
      • We do [%- USE Translation('statistics') -%] in statistics/macros-header.tt which we then process for the timeline
      • So I guess maybe we'd need do also support 'history' there
      • And use boths
      • * And use both
      • Hmm, seems we don't even use the translations at all in statistics/MusicBrainzHistory.js
      • yvanzo[m]
        reosarevok: For the PR: 1. Generate `po/history.pot` 2. Copy the existing translations (using gettext utilities `msg*`) to `po/history.*.po` files.
      • For the component in Weblate, it has to be created only after such PR is in beta.
      • Updating po/statistics.pot can be committed in a later PR, merged only after the new component has shown to work.
      • reosarevok[m]
        Are the .po files autogenerated at first or?
      • yvanzo[m]
        Yes but they can also be sourced by Weblate if present.
      • reosarevok[m]
        How would that work? Because I cannot actually even compile resources with missing po files it seems :)
      • yvanzo[m]
        See the 2. above: Create your own PO files using msg*.
      • Possibly msggrep
      • Or just copy the files statistics.*.po as history.*.po and remove/update the irrelevant parts.
      • minimal joined the channel
      • reosarevok[m]
        Hmm. I see msggrep allows for a -M parameter for a domain. Would that mean that stuff in the history domain would be moved?
      • I've never played with these commands
      • I guess just copying by hand and deleting non statistic events bits is easiest really
      • Problem being I have no idea who if any of the long-ass list of translators on top of the po file actually applies
      • Just leave them all in case?
      • yvanzo[m]
        Yes.
      • There are 633 source strings and 86 language files, copying by hand would take much more time than learning those commands. :)
      • msggrep has an option -N that should allow to keep only the source strings from DB:statistics.statistic_event (at least according to the man page).
      • zerodogg has quit
      • reosarevok[m]
        Ok, that's a lot of language files :D
      • I thought something like msggrep statistics.es.po -o history.es.po -N 'DB:statistics.statistic_event' would do something but it seems not?
      • Ah, msggrep statistics.es.po -N DB:statistics.statistic_event/* -o history.es.po did the trick
      • That does not remove the segments from the statistics.es.po file, though
      • zerodogg joined the channel
      • So
      • reosarevok[m] sent a code block: https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/vfBXAHkUYTTYIDqXrYARKdqK
      • Does the "creating the files" bit at least it seems
      • fletchto99 has quit
      • fletchto99 joined the channel
      • fletchto99 has quit
      • fletchto99 joined the channel
      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #3312 (03master…MBS-13675): MBS-13675: Split statistic events into history translation component https://github.com/metabrainz/musicbrainz-serve...
      • minimal has quit
      • ehler joined the channel
      • ehler
        Don't know if this is the channel to ask about listenbrainz, but I've tried importing my last.fm data on multiple occasions and never succeeded. Just an "Error: something went wrong" any way to diagnose what's up?
      • discordbrainz
        <03metadataismydrug> ehler: Not a dev, and I don't think I've seen that error myself. But if you open your browser console (F12 > Console) do you see any errors? From past experience: Do you have adblocks? Try disabling them as they can block last.fm's API site(audioscrobbler.com I believe).
      • ehler
        @metadataismydrug You nailed it; I just tried opening it in another browser, didn't even bother checking my console and it's now importing fine! Never would've guessed
      • Kladky has quit
      • ehler has quit