Coder Social home page Coder Social logo

Comments (5)

bugzilla-to-github avatar bugzilla-to-github commented on May 4, 2024

Comment Author: Alex Kosiacka <[email protected]>

Hi,

I've had a look on the bug and would love to work on it. I suspect the cause is that you're double-counting translations by separating fuzzy and approved translations. It looks like it's possible for a translation to be both approved and fuzzy in the database at once. Perhaps a better solution overall would be to have a single variable keeping track of the current state, instead of booleans for each state.

from pontoon.

bugzilla-to-github avatar bugzilla-to-github commented on May 4, 2024

Comment Author: @mathjazz

Alex,

Thank you for looking into this bug. I like your idea of using e.g. status field with different states instead of separate fields.

I'm NIing :Osmose, who has been working on refactoring Stats recently and probably has an opinion on this.

from pontoon.

bugzilla-to-github avatar bugzilla-to-github commented on May 4, 2024

Comment Author: @Osmose

As long as we are confident that fuzzy, approved, and unapproved are all mutually exclusive, a single state field for them is a fine idea. We can use a PositiveIntegerField with some choices for the actual field itself.

Are there any other states a translation can be in that we'd want to add to the list? Is there a better term than "fuzzy" for what the fuzzy status represents?

from pontoon.

bugzilla-to-github avatar bugzilla-to-github commented on May 4, 2024

Comment Author: @mathjazz

They are mutually exclusive.

The term fuzzy comes from the PO file format and since it's the only file format using this property, I don't see the point in renaming it.

We made add another state later (rejected) if we add an option to reject unapproved translations. That would allow us to split unapproved strings into 2 groups - rejected ("triaged") and unapproved ("non-triaged"). But that's not the topic of this bug.

from pontoon.

bugzilla-to-github avatar bugzilla-to-github commented on May 4, 2024

Comment Author: @mathjazz

*** Bug #1226421 has been marked as a duplicate of this bug. ***

from pontoon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.