[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Democracy player anyone?



On Sun, 12 Nov 2006 02:16:01 -0500, Michel Salim wrote:

> I tried using %find_lang, but it's bizarre how it could not pick up
> the localization files.

The first parameter of %find_lang serves two purposes:

1) it's a file name prefix, which will be prepended to ".lang", resulting
   in the file which contains a generated fragment for the %files section

2) it's a regular expression, used when searching for message object files

So, when the package is called "Democracy" and the .mo files are called
"democracyplayer.mo", the regexp pattern fails, since you cannot simply
use "%find_lang %name" anymore. You would need "%find_lang democracyplayer"
or a hack-ish regexp pattern, which also gives a working filename.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]