#484 closed enhancement (fixed)
Get rid of HTML in messages for translation
Reported by: | Owned by: | homann | |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | |
Component: | Translations and internationalisation | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Gentoo |
Platform Version: | Awaiting user input: | no |
Description
Long HTML containing messages are hard to translate. I.e. [pluginname]GuiBase has string with ~14000 chars and most of them are just HTML with style definition. It's a nightmare to translate it.
Attachments (1)
Change History (7)
by , 17 years ago
Attachment: | qgis_wish1.png added |
---|
comment:1 by , 17 years ago
The only place I could find this is in the plugin builder template .ui file. Are there others?
These strings are for developer use and don't need to be translated for general use.
comment:2 by , 17 years ago
Most (all?) of the plugins that have some explanatory text in their main dialog have this problem. If one sets the text in a QTextEdit using designer, it seems to put lots of formatting stuff around the text. For an example, see https://svn.qgis.org/trac/browser/trunk/qgis/src/plugins/gps_importer/qgsgpspluginguibase.ui
comment:3 by , 16 years ago
Awaiting user input: | unset |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Do the format have a point? It seems to me that it would be possible to remove much of the formatting, if not all???
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Closed as old. Solution has been proposed, no feedback given.
Regards
Tim
Example of one translatable string (small par of whole string)