This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 147513 - I18N : please add #NOI18N keyword to strings TYPE_*
Summary: I18N : please add #NOI18N keyword to strings TYPE_*
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-09-17 15:56 UTC by Jeremie Bertolino
Modified: 2010-06-15 03:26 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremie Bertolino 2008-09-17 15:56:17 UTC
The following entries seems to be used for defining a type of variable when developing. I assume they should not be
translated as they my be interpreted. Translation of those doesn't not bring much of value anyway since those types of
variables are well know by most (if not all) of developers

php\php-dbgp\php-dbgp\org\netbeans\modules\php\dbgp\models\nodes\Bundle.properties

TYPE_Null=null
TYPE_Undef=undefined
TYPE_Array=array
TYPE_Object=object
TYPE_String=string
TYPE_Resource=resource
TYPE_Float=float
TYPE_Int=integer
TYPE_Boolean=boolean

Could you please mark them and put #NOI18N keywords so that translator can find these should not be localized.
Thank you!
Comment 1 Ken Frank 2008-11-12 03:13:35 UTC
it can be more helpful if this is defined as a question rather than assumption:

a. are these meant to be words that
are meant to be not translated - if so, then the NOI18N comment is needed; its really an issue not enhancement.

b. or if they should be translated, then there is no
assumption in code or comparison which assume the english word
or that no code is generated or placed into a file based on the translation
Comment 2 Filip Zamboj 2009-05-04 17:00:56 UTC
@tmysik: could you add your opinion please? Is this already solved or we don't consider this as valid request anymore?
thanks. 
Comment 3 Tomas Mysik 2009-05-04 17:24:45 UTC
Radek's area - please, have a look at it. Thanks.
Comment 5 Quality Engineering 2010-06-15 03:26:31 UTC
Integrated into 'main-golden', will be available in build *201006150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f3d5a1b11da3
User: Radek Matous <rmatous@netbeans.org>
Log: #147513 - I18N : please add #NOI18N keyword to strings TYPE_*