diff options
author | Andreas N <andreas@mono-cvs.ximian.com> | 2003-07-18 13:25:47 +0400 |
---|---|---|
committer | Andreas N <andreas@mono-cvs.ximian.com> | 2003-07-18 13:25:47 +0400 |
commit | 005e9e650bf5a18c290c14e3ec377443c43c8227 (patch) | |
tree | 4f3c8c18f8ae0d2c9017d00b582d212aea550229 | |
parent | fe89b2a480910e962d46c10dda33b5644fc1edee (diff) |
2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* CategoryAttribute.cs: Added localization support
svn path=/trunk/mcs/; revision=16389
-rwxr-xr-x | mcs/class/System/System.ComponentModel/CategoryAttribute.cs | 4 | ||||
-rw-r--r-- | mcs/class/System/System.ComponentModel/ChangeLog | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/mcs/class/System/System.ComponentModel/CategoryAttribute.cs b/mcs/class/System/System.ComponentModel/CategoryAttribute.cs index ea307d06037..8db3bbf2962 100755 --- a/mcs/class/System/System.ComponentModel/CategoryAttribute.cs +++ b/mcs/class/System/System.ComponentModel/CategoryAttribute.cs @@ -203,11 +203,9 @@ namespace System.ComponentModel { } } - [MonoTODO ("Add localization support")] protected virtual string GetLocalizedString (string value) { - // FIXME: Check if other implementation exists - return null; + return Locale.GetText (value); } public string Category { diff --git a/mcs/class/System/System.ComponentModel/ChangeLog b/mcs/class/System/System.ComponentModel/ChangeLog index b202aef3989..980b3ee9c10 100644 --- a/mcs/class/System/System.ComponentModel/ChangeLog +++ b/mcs/class/System/System.ComponentModel/ChangeLog @@ -1,5 +1,9 @@ 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com> + * CategoryAttribute.cs: Added localization support + +2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com> + * IComponent.cs: * MarshalByValueComponent.cs: Reworked attributes based on the new Consts scheme |