Re: Using Squirrelmail locale repository for a plugin
"Paul Lesniewski" <[email protected]>
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jul 22, 2008 at 11:38 PM, Fredrik Jervfors <[email protected]> wrote: >> Can I, as a _plugin_ developer, make use of Squirrelmail locales >> repository? > > Yes, please do. > >> I'm thinking of making squirrelmail locales svn the authoritative place >> for useracl.po files. In fact, squirrelmail locales svn has more >> translations for it what what I had in my useracl svn tree. > > Sweet! Do you have anything that isn't in the SquirrelMail repository? > >> Shall I move these files from LC_MESSAGES/plugins/ to LC_MESSAGES/ so >> that they will be included in new locales distributions? Or is there >> something else to it? > > DEVEL has "sq_change_text_domain()" for switching back and forth from/to > plugin translations. For STABLE use "SM_PATH . 'locale/'" as the preferred > path for the translations. No, STABLE has sq_change_text_domain() too. It's had it since 1.4.10. Plugin authors should be using it no matter what - the Compatibility plugin will handle it for versions prior to 1.4.10. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel