| Summary: | TVT/DVT4.3:TCT133: TVT ELL - Incorrect capitalization of characters | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | CDE Administration <cdeadmin> | ||||||||
| Component: | Client | Assignee: | Mark Macdonald <mamacdon> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | camle, ken_walker, kitlo, kqli, lmterry, mamacdon, matalbot, sharonc, srlim, wujulia | ||||||||
| Version: | 4.0 | ||||||||||
| Target Milestone: | 4.0 M2 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
CDE Administration
Created attachment 235163 [details]
21.000.100_el.png
Created attachment 235164 [details]
21.000.450_el.png
Created attachment 235165 [details]
21.000.460_el.png
<cde:tctdetail> Testcase: 21.000.100, 21.000.450, 21.000.460 Project: WSW43 Component: Xfer - Orion Client Priority: 3 Subject: TVT ELL - Incorrect capitalization of characters Article ID: 133 Originator: ROUTSI@gr.ibm.com Stop Ship: N </cde:tctdetail> Removed the problematic toUpperCase()'ing and converted other uppercase labels to lowercase for consistency. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=8630d3b Boring details: The local settings menu was using CSS's `text-transform:uppercase` property, which *will* handle the Greek case rules [1]. However it seems to require the document language actually be set to Greek with a lang="el" attribute. Our current i18n support does not do that (should it?), so you get an incorrectly uppercased string. The theme builder was performing String.prototype.toUpperCase() on a Greek string, which is wrong. However toLocaleUpperCase() does not seem to work either, even when the browser is running in the Greek locale. In short, I can't find any API for programatically transforming text between cases that will work on languages with complex case mapping. CSS is the best bet, if we can sort out the `lang` issue. [1] https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform |