TrustedUser
2,147
edits
(→Branching for major release: Add instructions for weblate) |
(→Preparing the source: Add instructions for weblate) |
||
Line 71: | Line 71: | ||
=== Preparing the source === | === Preparing the source === | ||
* Browse 'git log' since the previous release and add all significant changes to the NEWS file | * Browse 'git log' since the previous release and add all significant changes to the NEWS file | ||
* | * For a major release, make sure the translations.dat file is up to date. | ||
** Go to repository maintenance for the ScummVM/scummvm component on the translations website: https://translations.scummvm.org/projects/scummvm/scummvm/#repository | |||
*** Lock the component | |||
*** Commit and push pending changes | |||
** Use ''make translations-dat'' to update the translations data file (and then commit it if it was changed). | |||
** At this point Weblate can be switched back to master: | |||
*** Copy all po/*po file from the release branch | |||
*** In master branch run <code>make updatepot ; make po/*.po</code> | |||
*** Commit and push: <code>git add po/scummvm.pot po/*.po ; git commit -m "I18N: Merge translations from branch-2-6" ; git push</code> | |||
*** On https://translations.scummvm.org/settings/scummvm/scummvm/#vcs switch the repository branch setting back to master | |||
*** On https://translations.scummvm.org/projects/scummvm/scummvm/#repository unlock the component | |||
* You have to update the versions in all relevant files. There is a script, <code>devtools/update-version.pl</code> meant to help you with this. It will generate/update the following files: | * You have to update the versions in all relevant files. There is a script, <code>devtools/update-version.pl</code> meant to help you with this. It will generate/update the following files: | ||
** base/internal_version.h | ** base/internal_version.h |