Re: [evolution-patches] Plugin for Adding Disable account popup menu
- From: Shreyas Sriniavasan <sshreyas novell com>
- To: Not Zed <notzed ximian com>
- Cc: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] Plugin for Adding Disable account popup menu
- Date: Wed, 13 Jul 2005 14:36:21 +0530
The string which needs to be translated is in the *.c file.
+static EPopupItem popup_items[] = {
+ { E_POPUP_ITEM, "20.emc.04", N_("_Disable"),
mail_account_disable, NULL, NULL, 0, EM_POPUP_FOLDER_STORE },
+ { E_POPUP_ITEM, "20.emc.04", N_("Proxy _Logout"),
mail_account_disable, NULL, NULL, 0, EM_POPUP_FOLDER_STORE }
+};
The first time i sent the patch that string was in the xml file but
since i am using a factory now that has been moved to the .c file and
i have added that file already to the po/POTFILES.in. Do i need to
add the xml file too ?
Thanks,
Shreyas
On 13-Jul-05, at 1:59 PM, Not Zed wrote:
On Sat, 2005-07-09 at 12:12 +0530, Shreyas wrote:
Hey,
It seems like i had totally forgotten about this patch doh :-O.
Anyway attaching a patch which fixes the concerns and also adds a
conditional which
No it doesn't, it doesn't add the xml file for translation.
Changes the menu item "Disable" to "Proxy Logout" if the account is a
proxy.
Cheers,
Shreyas
On Tue, 2005-05-24 at 09:35 +0530, Not Zed wrote:
You need to add the xml file to the po/POTFILES.in file,
otherwise its
strings wont be extracted for translation.
Other than than, another style niggle - always put a blank line
after
the decelaration section in a new block.
i.e.
{
int foo = 0; /* declaration section */
Object boo;
<- insert blank line here always
if (foo) { /* code section */
boo.do();
}
}
Various style hints are in the HACKING file.
On Mon, 2005-05-23 at 07:11 -0600, S Shreyas wrote:
hey,
Attaching a patch( plugin ) which adds Disable Account pop up
menu to a
store at right click.
Cheers,
Shreyas
_______________________________________________
evolution-patches mailing list
evolution-patches lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution-patches
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]