This is the localization repo for HearthSim/Hearthstone-Deck-Tracker
- Download and install git.
- Download and install ResX Resource Manager
- Fork the repo ("Fork"-button in the top right)
- Clone the repo:
4.1 Open the command prompt (press Win+R, type "cmd" and click Ok)
4.2 Navigate to the desired location (e.g. "C:/Github"):cd "C:/Github"
4.3 Clone the repogit clone https://github.com/{YOUR_GITHUB_NAME}/HDT-Localization
(this is the url you got redirected to after forking the repo).
4.4 Move into the repo directorycd HDT-Localization
.
(You can skip this if you just completed the setup step)
- Add the original repo as the upstream source. This only needs to be done once.
git remote add upstream https://github.com/HearthSim/HDT-Localization
- Reset your local copy to upstream (this will discard any local changes!)
git fetch upstream
git checkout master
git reset --hard upstream/master
- Reset your fork to upstream
git push origin master --force
- Make sure your fork is up to date (see above)
- Run ResX Resource Manager
- Set
C:/Github/HDT-Localization
(or your respective location) as the directory - (Optional) To add a new language click the "Add new language" button at the top and select your language. Choose the one containing the country identifier if available - "da-DK" rather than "da".
- Make the desired changes to your language.
- Save.
- Stage your changed files
git add {FILE_YOU_MODIFIED}
. Usually this should be just one, you can see all modified files viagit status
. - Commit your changes
git commit -m "{YOUR_COMMIT_MESSAGE}"
. Obligatory How to Write a Git Commit Message - however something like "{LANGUAGE} update {DATE}" (e.g. "Polish update 05.02.2018") is sufficient here. - Push to your fork
git push
You can do these 3 steps as often as desired in the process to save your work online.
- Create a pull request and wait for it to get merged. You can push further changes (as described above) while the pull request is open and it will automatically update.
This project is licensed under the CC0 1.0 Universal license (Public Domain). The full license text is available in the LICENSE file.