[mapguide-commits] r5022 - in sandbox/maestro-3.0/Maestro.Base:
Properties UI
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sat Jul 10 10:38:40 EDT 2010
Author: jng
Date: 2010-07-10 14:38:40 +0000 (Sat, 10 Jul 2010)
New Revision: 5022
Modified:
sandbox/maestro-3.0/Maestro.Base/Properties/Resources.Designer.cs
sandbox/maestro-3.0/Maestro.Base/Properties/Resources.resx
sandbox/maestro-3.0/Maestro.Base/UI/RepositoryTreeModel.cs
Log:
Make the site explorer tooltip localization friendly
Modified: sandbox/maestro-3.0/Maestro.Base/Properties/Resources.Designer.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Properties/Resources.Designer.cs 2010-07-10 13:51:04 UTC (rev 5021)
+++ sandbox/maestro-3.0/Maestro.Base/Properties/Resources.Designer.cs 2010-07-10 14:38:40 UTC (rev 5022)
@@ -701,6 +701,15 @@
}
/// <summary>
+ /// Looks up a localized string similar to Resource Name: {1}{0}Resource Type: {2}{0}Created: {3}{0}Last Modified: {4}{0}Owner: {5}.
+ /// </summary>
+ internal static string SITE_EXPLORER_TOOLTIP_TEMPLATE {
+ get {
+ return ResourceManager.GetString("SITE_EXPLORER_TOOLTIP_TEMPLATE", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Disconnect.
/// </summary>
internal static string SiteExplorer_Disconnect {
Modified: sandbox/maestro-3.0/Maestro.Base/Properties/Resources.resx
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/Properties/Resources.resx 2010-07-10 13:51:04 UTC (rev 5021)
+++ sandbox/maestro-3.0/Maestro.Base/Properties/Resources.resx 2010-07-10 14:38:40 UTC (rev 5022)
@@ -460,4 +460,7 @@
<data name="TPL_WL_NAME" xml:space="preserve">
<value>Web Layout</value>
</data>
+ <data name="SITE_EXPLORER_TOOLTIP_TEMPLATE" xml:space="preserve">
+ <value>Resource Name: {1}{0}Resource Type: {2}{0}Created: {3}{0}Last Modified: {4}{0}Owner: {5}</value>
+ </data>
</root>
\ No newline at end of file
Modified: sandbox/maestro-3.0/Maestro.Base/UI/RepositoryTreeModel.cs
===================================================================
--- sandbox/maestro-3.0/Maestro.Base/UI/RepositoryTreeModel.cs 2010-07-10 13:51:04 UTC (rev 5021)
+++ sandbox/maestro-3.0/Maestro.Base/UI/RepositoryTreeModel.cs 2010-07-10 14:38:40 UTC (rev 5022)
@@ -181,7 +181,7 @@
RepositoryItem item = node.Tag as RepositoryItem;
if (item != null)
{
- return string.Format("Resource Name: {1}{0}Resource Type: {2}{0}Created: {3}{0}Last Modified: {4}{0}Owner: {5}", Environment.NewLine, item.Name, item.ResourceType, item.CreatedDate, item.ModifiedDate, item.Owner);
+ return string.Format(Properties.Resources.SITE_EXPLORER_TOOLTIP_TEMPLATE, Environment.NewLine, item.Name, item.ResourceType, item.CreatedDate, item.ModifiedDate, item.Owner);
}
return string.Empty;
}
More information about the mapguide-commits
mailing list