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

Translation to japanese #17

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

martinheidegger
Copy link
Collaborator

We started the translation of scope-chains-closures to japanese. (based on workshopper-adventure@4.x). PR in progress

@jesstelford
Copy link
Collaborator

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.

@yoshuawuyts
Copy link

🙌

@SomeoneWeird
Copy link
Member

🎉

@martinheidegger
Copy link
Collaborator Author

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 tokuhirom/visualwidth-js#8 . I wonder if it should be changed so blocks are treated as blocks until a empty line or indentation change happens?!

@jesstelford
Copy link
Collaborator

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
Copy link
Collaborator

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.

'Garbage Collection'
].forEach(function(name, index) {
shop.add(name, function() {
var folder = name.replace(/\s/ig, '-').replace(/\&/ig, 'and')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a toLowerString to work on case-sensitive file systems:

var folder = name.replace(/\s/ig, '-').replace(/\&/ig, 'and').toLowerString()

@jesstelford
Copy link
Collaborator

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?

@martinheidegger
Copy link
Collaborator Author

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.

@kenfdev
Copy link

kenfdev commented Oct 24, 2015

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.

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

Successfully merging this pull request may close these issues.

5 participants