Indefero

Indefero Commit Details


Date:2011-03-10 07:17:39 (13 years 9 months ago)
Author:William MARTIN
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, release-1.1, release-1.2, release-1.3
Commit:2648603f24c32ffa7098a82114e557c9ad8b48e6
Parents: b7a9a1c8fd31cbd02689b15b4c50bf65a25effb4
Message:Update the Makefile - po-pull merge transifex PO with local PO to quick fuzzy entry - Add of po-stats

Changes:

File differences

Makefile
3636
3737
3838
39
3940
4041
4142
......
108109
109110
110111
112
113
114
115
116
111117
118
119
120
121
122
123
124
125
126
127
128
129
112130
113131
114132
@printf "\tpo-update - Merge POT file into PO file. POT is not regenerated.\n"
@printf "\tpo-push - Send the all PO file on transifex server.\n"
@printf "\tpo-pull - Get all PO file from transifex server.\n"
@printf "\tpo-stats - Show statistics about translation on each PO file .\n"
#
# Internationnalization rule, POT & PO file manipulation
@tx push -t
po-pull: check-tx-config
# Save PO
@for pofile in `ls src/IDF/locale/*/idf.po`; do \
cp $$pofile $$pofile".save"; \
done
# Get new one
@tx pull -a
# Merge Transifex PO into local PO (so fuzzy entry is correctly saved)
@for pofile in `ls src/IDF/locale/*/idf.po`; do \
msgmerge -U $$pofile".save" $$pofile; \
rm -f $$pofile; \
mv $$pofile".save" $$pofile; \
done
po-stats:
@msgfmt --statistics -v src/IDF/locale/idf.pot
@for pofile in `ls src/IDF/locale/*/idf.po`; do \
msgfmt --statistics -v $$pofile; \
done
#
# Generic rule to build a tarball of indefero for a specified branch

Archive Download the corresponding diff file

Page rendered in 0.07910s using 13 queries.