Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
Refactor mac installer (built on #2571)#5656
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
553dec212bccda0ed035d86c5357555979869cfb04453c0ad1db12f48027c2ea828c74d8769186c673b66f17f1efe8c6c7bee2989ed5d9091ac41d9f06d84500baf295671878e943c435313db4File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| ## osx-pkg | ||
| ### Build | ||
| Prerequisites: | ||
| * Packages: http://s.sudre.free.fr/Software/Packages/about.html | ||
| In the root folder: | ||
| ```bash | ||
| make pkg | ||
| ``` | ||
| ### Localization | ||
| There are two files that can be localized in the OS X installer: the | ||
| introduction, and the summary. | ||
| 1. Make sure you've installed Packages: | ||
| http://s.sudre.free.fr/Software/Packages/about.html | ||
| 2. Duplicate the `strings/en` folder for reference, and rename the folder to | ||
| the language you are localizing (ex. `fr`, `ru`, etc.) | ||
| 3. Translate `introduction.rtf` and `summary.rtf`. Do not modify the words | ||
| `__nodeversion__` or `__npmversion__`, as these are automatically replaced | ||
| by the build step with the Node.js and npm versions, respectively. | ||
| 4. In the root folder, run `make pre-pkg`. This will generate the | ||
| files needed for Packages. | ||
| 5. Open `tools/osx-pkg/osx-pkg.pkgproj` in Packages. (Not | ||
| `osx-pkg-out.pkgproj`, as this is a generated file) | ||
| 6. In Packages, go to the Presentation tab, and if not already selected, | ||
| choose "Introduction" from the dropdown on the right-hand side. | ||
|  | ||
| 7. Press the "+" at the bottom right. This will add a new language entry. Click | ||
| on the flag, and choose which language you are localizing. | ||
| 8. Click on the column next to the flag, and ensure "Relative to Project" is | ||
| selected. It's a rectangle with the letter "R" inside of it. | ||
| 9. Click on the last column, which will currently have a dash in it, and | ||
| press "Choose...". | ||
| 10. Locate the `introduction.rtf` file you translated, and choose it. | ||
| Don't worry about the `introduction.out.rtf` file, as this is an autogenerated | ||
| file, and is dealt with when compiling. | ||
| 11. In the dropdown that says "Introduction" at the top, choose "Conclusion" | ||
| and repeat this process for the `conclusion.rtf` file. | ||
| 12. Save the project, and commit your changes. The generated files are | ||
| automatically ignored by Git, so you don't have to worry about accidentally committing them in. |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no different than
NODE_INSTALL_NODE_ONLY?