Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[consistency] Seemingly similar strings displayed as different #661

Closed
ghost opened this issue Mar 3, 2016 · 9 comments
Closed

[consistency] Seemingly similar strings displayed as different #661

ghost opened this issue Mar 3, 2016 · 9 comments

Comments

@ghost
Copy link

ghost commented Mar 3, 2016

happening sometimes, there is no visible diff between exposed strings.

diff_unclear 3
diff_unclear 2
diff_unclear

@pascalchevrel
Copy link
Member

we should study the differences, it could be errors or it could also be trailing spaces or unicode non-breaking spaces. I am going to have a look

@flodolo
Copy link
Collaborator

flodolo commented Mar 3, 2016

It's a know issue in need of improvement. The strings are similar but different, one of them has one or more trailing whitespaces (you notice them by double/triple clicking on the string to select it).

The idea of keeping (and not trimming) trailing spaces is wanted, but we should highlight them somehow when displaying the string.

@flodolo
Copy link
Collaborator

flodolo commented Mar 3, 2016

The alternative is to trim whitespaces directly when storing the translation, but I'm afraid we could loose some useful data: why is there a whitespace? Is it needed? It would be useful in general to be able to highlight whitespaces like we do for non breaking spaces in some views.

@pascalchevrel
Copy link
Member

I can have a look at highlighting whitespaces tomorrow (we actually already do
on the main view for non breaking spaces in French).

@pascalchevrel
Copy link
Member

capture d ecran 2016-03-04 11 08 37

Here is a screenshot of a patch to expose white space, unicode non breaking spaces and real ellipsis.

@flodolo
Copy link
Collaborator

flodolo commented Mar 4, 2016

Can you show one with a trailing space (e.g. one of the string in goofy's report)? The light gray used for non-breaking spaces might be too subtle for that.

@pascalchevrel
Copy link
Member

capture d ecran 2016-03-04 18 31 40

@pascalchevrel
Copy link
Member

all exemples by Googy had a trailing non breaking space, I haven't found one with a real space

@flodolo
Copy link
Collaborator

flodolo commented Mar 4, 2016

I think it looks good.

@flodolo flodolo closed this as completed Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants