Coder Social home page Coder Social logo

Comments (2)

dwaynebailey avatar dwaynebailey commented on July 20, 2024

Just for clarity the issue of using —duplicates=merge in the above file is that
it will produce these entries:

#: fileRecentMenu.label
msgid “Recent Pages”
msgstr ""

#: filerecentmenu.accesskey
#: pasteRows.accesskey
#: redo.accesskey
#: decreasefontsize.accesskey
#: alignright.accesskey
#: tablerow.accesskey
#: converttotable.accesskey
msgid “r”
msgstr ""

Notice that the first entry should have an accesskey. moz2po does not add it
becuase the entities name is not the same case.

The second entry is more problematic as you all of those accesskeys can only
have one entry.

—duplicates=msgid_comment has on advantage in that as in the above case each of
those accelerators would appear in a seperate entry.

The real problem is of course that this Mozilla file should be fixed

from translate.

dwaynebailey avatar dwaynebailey commented on July 20, 2024

I’ve marked this as WONTFIX for the following reasons:
- The underlying problem is of course that this (and other) Mozilla files need
fixing. if they were fixed then this would not be a problem.
- The default behaviour now follows Gettext and produces what the average user
understands. The default is safe and understanable.
- msgid_comment still allows an advanced user to work around the problem identified.

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.