<p>First pass at an automated PO file generator. This script is in need of major refactoring. Contains lots of duplicate code and fast workarounds. </p>
<p>Newly generated PO files will be in ./scripts/working/translations/ and must be copied back to ./translations/ by hand.</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/opentechinstitute/luci-i18n-commotion PO-script</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/opentechinstitute/luci-i18n-commotion/pull/2'>https://github.com/opentechinstitute/luci-i18n-commotion/pull/2</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Update README.md</li>
<li>Create working tree</li>
<li>Clone or fetch updates to repos as needed</li>
<li>Quiet spurious warnings from Git::Repository</li>
<li>Ready to begin PO file manipulation</li>
<li>Git should ignore working directories</li>
<li>Can't use app::ack. Starting new direction</li>
<li>Incorporating jow's parse script from luci.subsignal.org.</li>
<li>Switched from system copy to file::copy</li>
<li>Parse keeps translatable strings associated with their file origins</li>
<li>Added hooks for po header creation</li>
<li>Merge duplicate strings before writing to file</li>
<li>Create container for diff-based add|delete instruction and associated strings</li>
<li>Adding hooks for PO file iteration</li>
<li>Usable translations extracted from po files</li>
<li>Pass translations and stringtable to PO writer</li>
<li>Strings can be used to find translations</li>
<li>File array built successfully</li>
<li>successful file creation. still need to generate headers.</li>
<li>PO-writer subroute creates complete translation file.</li>
<li>Header generator updates timestamp. Process inefficient.</li>
<li>Created associative array for stable:working files</li>
<li>Push new translations to github</li>
<li>Testing and revising add/commit/push</li>
<li>Lots of small bugfixes and/or workarounds. Functional but needs major overhaul</li>
<li>Merge branch 'master' into PO-script</li>
<li>Uncommented important array, added some notifications</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>A</strong>
<a href="https://github.com/opentechinstitute/luci-i18n-commotion/pull/2/files#diff-0">.gitignore</a>
(1)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/opentechinstitute/luci-i18n-commotion/pull/2/files#diff-1">scripts/parse.pl</a>
(423)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/opentechinstitute/luci-i18n-commotion/pull/2/files#diff-2">scripts/standard-header.tpl</a>
(17)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/opentechinstitute/luci-i18n-commotion/pull/2.patch'>https://github.com/opentechinstitute/luci-i18n-commotion/pull/2.patch</a></li>
<li><a href='https://github.com/opentechinstitute/luci-i18n-commotion/pull/2.diff'>https://github.com/opentechinstitute/luci-i18n-commotion/pull/2.diff</a></li>
</ul>