Comments (5)
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.
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.
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.
\ Bug #99 has been marked as a duplicate of this bug. *
from translate.
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)
- Ben
- Android: Some strings marked as `translatable="false"` still treated as translatable HOT 2
- Code block not parsed from Markdown HOT 3
- Proposal to use mdit-py-i18n (along with markdown-it-py) for Markdown support HOT 7
- Reduce question mark escaping in Android
- tests/translate/convert/test_rc2po.py failures with Python 3.12 HOT 7
- Translate
- Use Windows newlines for resx files
- Do not include "Explanation" field in iOS strings files HOT 2
- Add support for Mobile Kotlin resources HOT 3
- Locations for Markdown HOT 1
- Add support for Apple String Catalogs HOT 3
- Weird handling of C1 control characters in .properties files HOT 3
- Translate org app requests HOT 3
- Removing items during iteration can result in bugs HOT 1
- Inconsistent indentation / no indentation preservation HOT 2
- po2prop ignore personality argument when processing strings file. HOT 1
- More consistent line breaks in generated po files HOT 8
- po2csv | How to convert multiple files
- Support for metainfo files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from translate.