scope-chains-closures icon indicating copy to clipboard operation
scope-chains-closures copied to clipboard

Translation to japanese

Open martinheidegger opened this issue 10 years ago • 9 comments

We started the translation of scope-chains-closures to japanese. (based on [email protected]). PR in progress

martinheidegger avatar Oct 21 '15 17:10 martinheidegger

Wow, this is excellent work! Thank you so much.

I'll have a more thorough review when I get around to it (and when you complete the PR).

One thing I'd like to point out now: 4a32ff0 "Removed line breaks" - I would prefer to keep the breaks in. It makes diffs smaller and easier to read. Also, when outputting in the console, it keeps it to a maximum line length removing the whole-screen-width issue of reading long text.

jesstelford avatar Oct 21 '15 22:10 jesstelford

🙌

yoshuawuyts avatar Oct 22 '15 00:10 yoshuawuyts

:tada:

SomeoneWeird avatar Oct 22 '15 00:10 SomeoneWeird

About the line-breaks: I adapted msee to have line-break support. Its clunky and slow but it should work. However: the line-breaks in the text are considered "important" and thus - unless its written in one line - it will not be properly adjusted in size. There is still an performance issue with the msee feature https://github.com/tokuhirom/visualwidth-js/issues/8 . I wonder if it should be changed so blocks are treated as blocks until a empty line or indentation change happens?!

martinheidegger avatar Oct 22 '15 09:10 martinheidegger

However: the line-breaks in the text are considered "important"

Yeah, msee got that wrong originally anyway (single linebreaks in Markdown should be unimportant, but double breaks important).

It looks like your changes are not correctly wrapping the lines:

line breaks (before)

line-wraps

no line breaks (now)

no-line-wraps

jesstelford avatar Oct 24 '15 02:10 jesstelford

Due to the move of the binary file, you'll need to update the main & bin keys in package.json:

  "main": "runner.js",
  "bin": {
    "scope-chains-closures": "runner.js",
    "sccjs": "runner.js"
  },

Don't forget the sccjs alias.

jesstelford avatar Oct 24 '15 02:10 jesstelford

Once the PR is complete, I'll also need to confirm the translations (for sanity's sake) - is Google Translate up to the task for at least a sort-of-accurate once over?

jesstelford avatar Oct 24 '15 02:10 jesstelford

Thank you for further reviewing. Google Translate is absolutely unusable (yet still the best class) for the task. Either hire a person or trust the community in case of Japanese.

About the package.json: Will do.

About msee: It will take me some time to fix msee. (line breaks in terminal are a pita - due to double-width characters in some languages ... )

If you don't mind: I will close this PR and come back with two separate ones. One for moving to workshopper-adventure structure and another one that does translation to japanese.

martinheidegger avatar Oct 24 '15 03:10 martinheidegger

Hi all, First of all, thanks a lot for this excellent course in nodeschool.

@martinheidegger, I've met you at nodeschool Osaka and your Japanese was excellent. I'm pretty sure there won't be much misconception about your translation, but maybe I can help in reviewing the contents. Please let me know if I can help. I'm looking forward in the Japanese version and wish I can share it with my colleagues, too.

kenfdev avatar Oct 24 '15 05:10 kenfdev