Re: zooplah - r26863 - in abiword/branches/gsoc2009gettext: . src/af/xap/xp src/wp/ap/cocoa src/wp/ap/win src/wp/ap/xp

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Wed Jun 17 2009 - 07:05:44 CEST

On 06/16/2009 10:31 PM, cvs@abisource.com wrote:
> Modified: abiword/branches/gsoc2009gettext/src/wp/ap/cocoa/ap_CocoaApp.cpp
> ===================================================================
> --- abiword/branches/gsoc2009gettext/src/wp/ap/cocoa/ap_CocoaApp.cpp 2009-06-16 18:30:27 UTC (rev 26862)
> +++ abiword/branches/gsoc2009gettext/src/wp/ap/cocoa/ap_CocoaApp.cpp 2009-06-17 02:31:32 UTC (rev 26863)

[...]

> @@ -328,40 +328,6 @@
> szPathname += ".strings";
> #endif
>
> - NSString* stringSet = [resources stringByAppendingPathComponent:[NSString stringWithFormat:@"AbiWord/strings/%s%@",szStringSet,@".strings"]];
> -
> - AP_DiskStringSet * pDiskStringSet = new AP_DiskStringSet(this);
> - UT_ASSERT(pDiskStringSet);
> -
> - if (pDiskStringSet->loadStringsFromDisk([stringSet UTF8String]))
> - {
> - pDiskStringSet->setFallbackStringSet(m_pStringSet);
> - m_pStringSet = pDiskStringSet;
> - UT_DEBUGMSG(("Using StringSet [%s]\n",[stringSet UTF8String]));
> - }
> - else
> - {
> - DELETEP(pDiskStringSet);
> - UT_DEBUGMSG(("Unable to load StringSet [%s] -- using builtin strings instead.\n",[stringSet UTF8String]));
> - }
> - }
> - }
> -
> - // Now we have the strings loaded we can populate the field names correctly
> - int i;
> -
> - for (i = 0; fp_FieldTypes[i].m_Type != FPFIELDTYPE_END; i++)
> - {
> - (&fp_FieldTypes[i])->m_Desc = m_pStringSet->getValue(fp_FieldTypes[i].m_DescId);
> - UT_DEBUGMSG(("Setting field type desc for type %d, desc=%s\n", fp_FieldTypes[i].m_Type, fp_FieldTypes[i].m_Desc));
> - }
> -
> - for (i = 0; fp_FieldFmts[i].m_Tag != NULL; i++)
> - {
> - (&fp_FieldFmts[i])->m_Desc = m_pStringSet->getValue(fp_FieldFmts[i].m_DescId);
> - UT_DEBUGMSG(("Setting field desc for field %s, desc=%s\n", fp_FieldFmts[i].m_Tag, fp_FieldFmts[i].m_Desc));
> - }
> -
> ///////////////////////////////////////////////////////////////////////
> /// Build a labelset so the plugins can add themselves to something ///
> ///////////////////////////////////////////////////////////////////////

This change completely break as you don't even remove the whole block
leaving a bracket open.

I have a patch if you really want.

Hub
Received on Wed Jun 17 07:05:56 2009

This archive was generated by hypermail 2.1.8 : Wed Jun 17 2009 - 07:05:57 CEST