Skip to content

Instantly share code, notes, and snippets.

@SirVer
Created October 4, 2014 13:48

Revisions

  1. SirVer created this gist Oct 4, 2014.
    17 changes: 17 additions & 0 deletions wl_translations_merge.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    ## Fix LF in translation branch.
    bzr switch translations && bzr pull
    utils/remove_lf_in_translations.py
    bzr add po
    bzr commit -m "Fixed LF in translations." || true
    bzr push

    # Merge translations.
    bzr switch trunk && bzr pull
    bzr merge lp:~widelands-dev/widelands/translations
    bzr commit -m "Merged translations."

    # Update catalogues.
    utils/buildcat.py
    bzr add po
    bzr commit -m "Updated catalogues."
    bzr push