Closed marcelgerber closed 10 years ago
I'd love that. Have you done software translations before? I copied the internationalization file structure from Brackets into Theseus so that it would be possible to add translations, but I've never tried doing so.
If you know what you're doing, you can just get to it and I'll merge. If not, let me know, and I'll poke around to figure out how internationalization works.
I've changed a little bit within the brackets-translations, so I think that's no problem.
Yes, it works! Unfortunately many things are still english...
Just edited https://github.com/saplayer/theseus/blob/master/src/nls/strings.js to get this to work.
Awesome! I'll merge that, and I'll also try to move the rest of the app's strings into the internationalization file. Thank you!
Weird, my photo is supposed to be on that screen. I wonder if that's a Windows issue.
Yes, I wondered too, but it isn't there (it wasn't there before, too).
Okay, I think I've found the problem: The URL of the pic is invalid:
<img src="file://file:///C:/Users/Marcel/AppData/Roaming/Brackets/extensions/user/theseus/src/tom.jpg" width="48" height="48" align="right">
https://github.com/adobe-research/theseus/blob/master/src/Invitation.js#L44
Responsible for this:
// On Windows, $.get() fails if the url is a full pathname. To work around this, // prepend "file:///". On the Mac, $.get() works fine if the url is a full pathname, // but doesn't work if it is prepended with "file://". Go figure. // However, the prefix "file://localhost" does work.
https://github.com/adobe/brackets/blob/master/src/utils/ExtensionUtils.js#L133
Thanks, SAPlayer! I just merged your translation. Thanks a ton for that. I'll get to the Windows image pull request in a bit. :)
Are you interested in a german translation? I'm from germany and your extensions is great (brackets, too), so I could translate the extension into the german language.
But you may should add more translations into the scr/nls-files, so more words would be translated...