<?xml version="1.0" encoding="UTF-8"?>
<!-- name="generator" content="pyblosxom/1.4.1 7/27/2007" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>Блогчетање 23 Mar 2005</title>
<link>https://danilo.segan.org/blog</link>
<description>Данилово блогче</description>
<language>en</language>
<item>
  <title>Why is my desktop always ugly?</title>
  <link>https://danilo.segan.org/blog/gnome/my-desktop-2005</link>
  <description><![CDATA[
<p><a href="http://www.livejournal.com/users/davyd/">Davyd</a> has asked
<a href="http://www.livejournal.com/users/davyd/138000.html">how does
everyone's desktop look like</a>.</p>

<center><img border="1" style="border: 1px solid #808080" 
src="http://danilo.segan.org/slike/my-desktop-2005-03.png"><br />
Why is my desktop always so dull? ;)</center>

<p>Perhaps I don't look at it enough to mind, even though I have my
<code>$HOME</code> on it?</p>

]]></description>
</item>

<item>
  <title>Merging translations with diffs</title>
  <link>https://danilo.segan.org/blog/prevod/po-merging-and-diffs</link>
  <description><![CDATA[
<p>I've found some time to hack a bit more on my <a
href="http://kvota.net/hacks/zmijsko-gnezdo/gettext_po.py">PO
handling</a> stuff:  I've added PO file merging along with
"inline-diffs", along with an example <a
href="http://kvota.net/hacks/zmijsko-gnezdo/pomerge.py">pomerge.py</a>
utility.</p>

<p>As for diff-format, I've used what <a
href="http://www.gnu.org/software/wdiff/wdiff.html">GNU wdiff</a>
seems to use to mark out changes (I'm getting redirection limits
exceeded on these pages now, perhaps they're down; you can look at any
of the mirrors, such as <a
href="http://www.mirror5.com/software/wdiff/wdiff.html">here</a>).</p>

<p>At the same time, this wouldn't be so useful if our PO editors
didn't add some support for it: well, you can see that I have <a
href="http://kvota.net/hacks/zmijsko-gnezdo/po-mode.el">po-mode</a>
with syntax highligthing (and there's also a <a
href="http://kvota.net/hacks/zmijsko-gnezdo/polite-mode.el">polite-mode</a>
which has nothing but syntax highlighting, thus is useful for
testing).

<center><img src="http://kvota.net/hacks/zmijsko-gnezdo/emacs-pomode-diffs.png"><br />
Emacs highlighting diffs for fuzzy matches.</center>

<p>Now, why do we need this?  Look at the examples above: our second
diff clearly indicates that the only change for a matched message was
removal of "<code>\n</code>" at the end of line.  First diff shows
that one word was removed, other was added, and newline was removed.
And with all this, it's so much easier to see what needs to be changed
in translation.</p>

<p>Granted, with small messages such as those in the screenshot, this
isn't very useful.  But, when it comes to translating documentation
(hint, hint: xml2po), this should be a very major help when someone
fixes a typo or adds some interpunction or only a couple of words to
a long paragraph.</p>

<p>Now, with Python this was easy: who feels like working on something
like this for GNU msgmerge?</p>


<p><a href="http://www.advogato.org/person/roozbeh/diary.html?start=11">Roozbeh:</a> thanks—finally, after almost two years of
trying, sr_CS locale is in GNU libc! :)</p>

]]></description>
</item>

</channel>
</rss>
