Actions
Task #1882
closed[PL] Moving translations from 5.1 to master
Start date:
2016-04-13
Due date:
% Done:
0%
Description
Hey
Some days ago I finished translating user interface for LO 5.1 (Polish project). Now I would like to start new task with UI for master. I want to avoid making the same work twice so I need yours help. Please, let's someone removes master branch, duplicates 5.1 and adds new strings. It seems to be the best idea.
Updated by Christian Lohmaier almost 9 years ago
fixed - done with pot2po
$ cat merge_old_new.sh #!/bin/bash project_from=$1 project=$2 lang=$3 potdir=/var/www/sites/translations.documentfoundation.org/translations/$project/templates/ oldpos=/var/www/sites/translations.documentfoundation.org/translations/$project_from/$lang/ newpos=/var/www/sites/translations.documentfoundation.org/translations/$project/$lang/ if [[ -z "$project" || -z "$lang" ]]; then echo "oh, that would be disastrous, refusing" exit 1 fi rm -rf $newpos mkdir -p $newpos # sync_stores (database content to filesystem for old/source project) time python src/manage.py sync_stores --force --overwrite --project=$project_from --language=$lang # update templates, using the files from oldproject as basis time pot2po --progress bar -t $oldpos -o $newpos -i $potdir # update_stores (load files from disk into database) time python src/manage.py update_stores --force --project=$project --language=$lang || touch $newpos/failed
/me is only regular user in this project, so please close as resolved if everything looks OK, thanks :-)
Updated by Christian Lohmaier almost 9 years ago
- Status changed from New to Resolved
- Assignee set to Christian Lohmaier
flagging as resolved
Updated by Florian Effenberger almost 9 years ago
- Status changed from Resolved to Closed
Actions