Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas N <andreas@mono-cvs.ximian.com>2003-07-18 13:25:47 +0400
committerAndreas N <andreas@mono-cvs.ximian.com>2003-07-18 13:25:47 +0400
commit005e9e650bf5a18c290c14e3ec377443c43c8227 (patch)
tree4f3c8c18f8ae0d2c9017d00b582d212aea550229
parentfe89b2a480910e962d46c10dda33b5644fc1edee (diff)
2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* CategoryAttribute.cs: Added localization support svn path=/trunk/mcs/; revision=16389
-rwxr-xr-xmcs/class/System/System.ComponentModel/CategoryAttribute.cs4
-rw-r--r--mcs/class/System/System.ComponentModel/ChangeLog4
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