Sort Working Files locale-aware#8971
Conversation
|
@ingorichter Looks like a good enhancement to me. |
There was a problem hiding this comment.
I wonder if we should make this a function in LocalizationUtils? May be useful elsewhere.
There was a problem hiding this comment.
Yes, that sounds like a good idea. Perhaps there are other use cases for it.
There was a problem hiding this comment.
One is probably #8977 :) I'll change it soon.
There was a problem hiding this comment.
Oops. I actually found out that brackets.getLocale() already returns "en" instead of "root"...
6e03d4a to
e79f51e
Compare
There was a problem hiding this comment.
This is a little offtopic, but it normalizes "i18n": ["root"] to "i18n": ["en"] in package.json
|
@marcelgerber could you please add a couple of tests to |
|
Added unit tests. |
…ocale Conflicts: test/spec/FileUtils-test.js
There was a problem hiding this comment.
nit: would you mind removing all these empty lines after the describe function? Thanks.
There was a problem hiding this comment.
That's actually rather common in the Brackets code...
|
@marcelgerber I'm done with the review. Looks good to me and is definitely a great improvement. |
|
@ingorichter I'm done. Please let me know if that newline should be removed. |
|
@marcelgerber we need to get better with coding and formatting conventions in general. Thanks for changing this. |
Sort Working Files locale-aware
For #8955.
Tested with German and Swedish locale.