[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][TOP]

Re: GIMP (trunk) po-files 査読依頼


査読というよりは非常につまらない指摘なのでごめんなさい。


Nishibori Kiyotaka <ml.nishibori.kiyotaka@xxxxxxxxx> wrote:
西堀です。

GIMP (trunk) の ja.po (po-libgimp/ja.po, po-plug-ins/ja.po,
po-python/ja.po, po-script-fu/ja.po, po-tips/ja.po, po/ja.po)
を更新しました。どなたか査読いただけないでしょうか。

1) 誤植でしょうか。
--- po-script-fu/ja.po.orig     2009-04-11 20:42:04.000000000 +0900
+++ po-script-fu/ja.po  2009-04-12 01:07:33.000000000 +0900
@@ -215,7 +215,7 @@
 
 #: ../plug-ins/script-fu/script-fu.c:334
 msgid "_Refresh Scripts"
-msgstr "スクリプトリを再読み込み(_R)"
+msgstr "スクリプトを再読み込み(_R)"
 
 #: ../plug-ins/script-fu/script-fu.c:357
 msgid ""

2) メニュー項目などのアクセラレータ表記のもれがちらほらありました。
パッチにすると長くなるので、ぞんざいですがスクリプトを書きました。

#! /usr/bin/env ruby
# usage: ./THIS_SCRIPT somewhere/ja.po
en=""
File.new(ARGV[0], "r").each {|line|
        case line
        when /^msgstr /
                if en =~ /_/ and line !~ /_/
                        print en, line
                end
                en= ""
        when  /^msgid /
                next unless line =~ /_/
                en= line
        end
}

島本良太 http://www.geocities.jp/ss2pxd1c/
 


Power up the Internet with Yahoo! Toolbar.