... | ... | @@ -92,18 +92,19 @@ export TMPDIR=~/tmp |
|
|
|
|
|
## Review new translation strings
|
|
|
|
|
|
It's worth taking the time to review the new strings which have been added to CiviCRM to fix any spelling/grammar/typos mistakes in the original English strings.
|
|
|
Review the new strings to make sure that the scripts are working correctly. Accidentally deleting strings from Transifex would be pretty disastrous. It's also worth taking a few minutes to spot obvious typos in new strings.
|
|
|
|
|
|
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
|
|
|
<script type="syntaxhighlighter" class="theme: Confluence; brush: java; gutter: false"><![CDATA[git status
|
|
|
git diff --patience po/pot/*.pot | ./bin/diff-check.php]]></script>
|
|
|
</div></div>
|
|
|
```
|
|
|
git diff --patience | ./bin/diff-check.php
|
|
|
```
|
|
|
|
|
|
In any files were added (and are still "untracked" by git), you can add them to the git repository:
|
|
|
If it all looks good, commit the changes:
|
|
|
|
|
|
```
|
|
|
git add po/pot/something.pot
|
|
|
git commit -m "new file"
|
|
|
git add po/pot/*
|
|
|
git commit -m "New strings for version 5.xx"
|
|
|
git tag 5.21
|
|
|
git push --tags
|
|
|
```
|
|
|
|
|
|
# Publishing POT files to Transifex
|
... | ... | @@ -130,7 +131,7 @@ For more information: [http://help.transifex.net/features/client/index.html#auto |
|
|
|
|
|
You will also have to add an entry in the .tx/config file (you can copy/adapt an entry for another file).
|
|
|
|
|
|
<h1 id="PushingnewstringstoTransifex-PullingnewtranslationsfromTransifex">Pulling new translations from Transifex</h1>
|
|
|
# Pulling new translations from Transifex
|
|
|
|
|
|
Before a release (or whenever we want to recompile MO files) new translations need to be pulled from Transifex. This is done with the Transifex Client; the configuration is already in the repository (in the <code>.tx</code> directory), so a simple `tx pull -a` should suffice.
|
|
|
|
... | ... | |