Coder Social home page Coder Social logo

Comments (5)

davidfraser avatar davidfraser commented on July 20, 2024

This is still reproducible with translate toolkit 0.8rc4, and
editor/ui/chrome/composer/editorPrefsOverlay.dtd in Firefox 1.5
I’ve written a simple test but it seems the problem relates to the merging of
accesskey and label and that fails to catch it. will try update the test.

from translate.

davidfraser avatar davidfraser commented on July 20, 2024

Actually looking more closely the problem here is that DONT_TRANSLATE is
detected and so the convertor automatically removes the entity that should not
be translated from the po file…
However because there is a related access key, the conversion error was given.
These conversion errors are no longer produced.
It is a bit strange however to have the accesskey produced when there is no
label because of the DONT_TRANSLATE error.

I’m not sure what the right thing to do is here – we could retain the marking
DONT_TRANSLATE but still include the string in the po file – perhaps if this was
still detectable we could raise warnings if the string is translated in po2moz.

It seems strange to mark “Mail & Newsgroups” as DONT_TRANSLATE for example, so
some of this should be checked on the mozilla lists

Updated the summary; lowering priority for now, but this needs a think through…

from translate.

davidfraser avatar davidfraser commented on July 20, 2024

We have a test that reproduces removing DONT_TRANSLATE elements, and caters for
the fact that we won’t remove corresponding ACCESS_KEY elements.
If we want to change this behaviour at some point we should change the test to
reflect that, but in the mean time marking this as LATER

from translate.

dwaynebailey avatar dwaynebailey commented on July 20, 2024

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

from translate.

dwaynebailey avatar dwaynebailey commented on July 20, 2024

The problem with this bug is that its confusing for translators.

The correct approach might be to insist that the .accesskey is also in the
DONT_TRANSLATE header.

I think we need to fix this in at least 0.9

from translate.

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.