Kevin Deldycke - l10nhttps://kevin.deldycke.com/Professional Yak ShaverMon, 28 Sep 2015 21:19:53 +0200How-To Reconcile Metadata Differences of a Messed Up Pull-Requesthttps://kevin.deldycke.com/2015/09/fixing-pull-request-over-diff/<p>I was browsing upcoming changes in <a href="https://github.com/python-babel/babel">Babel </a> today when I spotted a typo. For these kind of tiny fixes I don&rsquo;t bother: I simply edit the file through GitHub <span class="caps">UI</span> and let it forked the repository, name the branch and propose a <a href="https://github.com/python-babel/babel/pull/264">pull request </a> for&nbsp;me.</p> <p>But now the …</p>Kevin DeldyckeMon, 28 Sep 2015 21:19:53 +0200tag:kevin.deldycke.com,2015-09-28:/2015/09/fixing-pull-request-over-diff/CLIGitGitHubLinuxBabell10ni18nPythonI18n / L10n Commandshttps://kevin.deldycke.com/2006/11/i18n-l10n-commands/<ul> <li> <p>Check a <code>.po</code> file:</p> <div class="highlight"><pre><span></span>$ msgfmt -c -v -o /dev/null file.po </pre></div> </li> <li> <p>Wipe out a <code>.po</code> file and keep only translated&nbsp;messages:</p> <div class="highlight"><pre><span></span>$ msgattrib --translated -o cleaned.po messy.po </pre></div> </li> <li> <p>Delete duplicate messages in a <code>.po</code> file:</p> <div class="highlight"><pre><span></span>$ msguniq -o no_duplicate.po duplicate_content.po </pre></div> </li> <li> <p>Show differences between two <code>.po</code> files (thanks to …</p></li></ul>Kevin DeldyckeWed, 22 Nov 2006 01:09:21 +0100tag:kevin.deldycke.com,2006-11-22:/2006/11/i18n-l10n-commands/CLIi18nl10nLinuxtranslation