THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
For example, with 4.2 branch (some lines must modify if your use another CS version to match with correct version number).
1/ Update your master git repository
Code Block |
---|
git checkout 4.2
git pull
|
2/ Create a new temporary branch
Code Block |
---|
git checkout -b updateMsg
|
3/ Put into transifex the latest version of messages.properties
Code Block |
---|
cd tools/transifex/
./sync-transifex-ui.sh upload-source-language CloudStack_UI.42xmessagesproperties
|
4/ Get the latest L10N resource files from transifex
Code Block |
---|
./sync-transifex-ui.sh download-l10n-languages CloudStack_UI.42xmessagesproperties
|
5/ Add resource files in your local branch and commit
Code Block |
---|
cd ../..
git add ./client/WEB-INF/classes/resources/*.properties
git commit -m "Update L10N strings from Transifex to repo"
|
6/ Create the patch file
Code Block |
---|
git format-patch 4.2 --stdout > ~/update_l10n_strings_master.patch
|
7/ Final step: apply the patch to master and push it.
Code Block |
---|
git checkout 4.2
git am ~/update_l10n_strings_master.patch
git push origin 4.2
|