| Summary: | Error Dialog - "Show Error Log" Link should not contain <a>-Tags in translatable text | ||
|---|---|---|---|
| Product: | [Technology] Babel | Reporter: | Mico Micic <mico> |
| Component: | translations | Assignee: | Babel server inbox <babel.server-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | kitlo |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Mico Micic
> In the german translation the tags are missing and the link is shown
> as a simple text without the possibility to click on it.
That's a bug in the translation.
Dani, I don't think this is a translation error I think the <a></a> should be really part of the code and not the .properties-File:
---------8<---------
link.setText("<a>" + WorkbenchMessages.ErrorLogUtil_ShowErrorLogHyperlink + "</a>");
---------8<---------
(In reply to comment #2) > Dani, I don't think this is a translation error I think the <a></a> should be > really part of the code and not the .properties-File: > > ---------8<--------- > link.setText("<a>" + WorkbenchMessages.ErrorLogUtil_ShowErrorLogHyperlink + > "</a>"); > ---------8<--------- Thanks for the reply. I added the <a> tag around the German translation: http://babel.eclipse.org/babel/translate.php?project=eclipse&version=3.6&file=org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties&string=ErrorLogUtil_ShowErrorLogHyperlink Try again with the next Babel language packs. (In reply to comment #4) > I added the <a> tag around the German translation: > http://babel.eclipse.org/babel/translate.php?project=eclipse&version=3.6&file=org.eclipse.ui.workbench/Eclipse > UI/org/eclipse/ui/internal/messages.properties&string=ErrorLogUtil_ShowErrorLogHyperlink > > Try again with the next Babel language packs. I think this should have been fixed in the code, but OK, thank you! It was an oversight that the German translator omitted the <a> tag. At this point, I think it's better to fix the German translation. Moving the <a> tag to the code will break the translations in 30+ languages. |