[anjuta] project-manager: Rename directory to folder in project dialogs



commit 2eae6457a60ec3af53ce3d27b764783e99f4273e
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Sat Jan 14 16:07:11 2012 +0100

    project-manager: Rename directory to folder in project dialogs
    
    It seems that a folder is more generic than a directory which should be a real directory in the file system.

 plugins/project-manager/anjuta-project-manager.xml |    4 ++--
 plugins/project-manager/dialogs.c                  |    2 +-
 plugins/project-manager/plugin.c                   |   10 +++++-----
 plugins/project-manager/pm_dialogs.ui              |    6 +++---
 4 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/plugins/project-manager/anjuta-project-manager.xml b/plugins/project-manager/anjuta-project-manager.xml
index 4306f6f..3267a0a 100644
--- a/plugins/project-manager/anjuta-project-manager.xml
+++ b/plugins/project-manager/anjuta-project-manager.xml
@@ -13,7 +13,7 @@
 				<menuitem name="AddLibrary" action="ActionProjectAddLibrary" />
 				<separator name="separator2"/>
 				<menuitem name="NewTarget" action="ActionProjectNewTarget" />
-				<menuitem name="NewDirectory" action="ActionProjectNewDirectory" />
+				<menuitem name="NewFolder" action="ActionProjectNewFolder" />
 				<menuitem name="NewLibrary" action="ActionProjectNewLibrary" />
 				<separator name="separator1"/>
 				<menuitem name="Properties" action="ActionProjectProperties"/>
@@ -28,7 +28,7 @@
 		<menuitem name="AddLibrary" action="ActionPopupProjectAddLibrary"/>
 		<separator name="separator1"/>
 		<menuitem name="NewTarget" action="ActionPopupProjectNewTarget"/>
-		<menuitem name="NewDirectory" action="ActionPopupProjectNewDirectory"/>
+		<menuitem name="NewFolder" action="ActionPopupProjectNewFolder"/>
 		<menuitem name="NewLibrary" action="ActionPopupProjectNewLibrary"/>
 		<separator name="separator2"/>
 		<menuitem name="Remove" action="ActionPopupProjectRemove"/>
diff --git a/plugins/project-manager/dialogs.c b/plugins/project-manager/dialogs.c
index 59a0b07..8a6c80a 100644
--- a/plugins/project-manager/dialogs.c
+++ b/plugins/project-manager/dialogs.c
@@ -551,7 +551,7 @@ update_properties (PropertiesTable *table)
 		title = _("Project properties");
 		break;
 	case ANJUTA_PROJECT_GROUP:
-		title = _("Directory properties");
+		title = _("Folder properties");
 		break;
 	case ANJUTA_PROJECT_TARGET:
 		title = _("Target properties");
diff --git a/plugins/project-manager/plugin.c b/plugins/project-manager/plugin.c
index 00a8d25..6af0632 100644
--- a/plugins/project-manager/plugin.c
+++ b/plugins/project-manager/plugin.c
@@ -896,8 +896,8 @@ static GtkActionEntry pm_actions[] =
 		N_("_Project"), NULL, NULL, NULL
 	},
 	{
-		"ActionProjectNewDirectory", GTK_STOCK_ADD,
-		N_("New _Directoryâ"), NULL, N_("Add a new directory to the project"),
+		"ActionProjectNewFolder", GTK_STOCK_ADD,
+		N_("New _Folderâ"), NULL, N_("Add a new folder to the project"),
 		G_CALLBACK (on_new_group)
 	},
 	{
@@ -935,8 +935,8 @@ static GtkActionEntry pm_actions[] =
 static GtkActionEntry popup_actions[] =
 {
 	{
-		"ActionPopupProjectNewDirectory", GTK_STOCK_ADD,
-		N_("New _Directory"), NULL, N_("Add a new directory to the project"),
+		"ActionPopupProjectNewFolder", GTK_STOCK_ADD,
+		N_("New _Folder"), NULL, N_("Add a new folder to the project"),
 		G_CALLBACK (on_popup_new_group)
 	},
 	{
@@ -1087,7 +1087,7 @@ on_treeview_selection_changed (GtkTreeSelection *sel,
 
 	/* Popup menu */
 	action = anjuta_ui_get_action (ui, "ActionGroupProjectManagerPopup",
-								   "ActionPopupProjectNewDirectory");
+								   "ActionPopupProjectNewFolder");
 	g_object_set (G_OBJECT (action), "sensitive", INT_TO_GBOOLEAN (state & ANJUTA_PROJECT_CAN_ADD_GROUP), NULL);
 	action = anjuta_ui_get_action (ui, "ActionGroupProjectManagerPopup",
 								   "ActionPopupProjectNewTarget");
diff --git a/plugins/project-manager/pm_dialogs.ui b/plugins/project-manager/pm_dialogs.ui
index a635d05..06dffb3 100644
--- a/plugins/project-manager/pm_dialogs.ui
+++ b/plugins/project-manager/pm_dialogs.ui
@@ -548,7 +548,7 @@
     <property name="can_focus">False</property>
     <property name="can_default">True</property>
     <property name="border_width">5</property>
-    <property name="title" translatable="yes">New Directory</property>
+    <property name="title" translatable="yes">New Folder</property>
     <property name="modal">True</property>
     <property name="default_width">400</property>
     <property name="default_height">450</property>
@@ -623,7 +623,7 @@
                   <object class="GtkLabel" id="label3">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="label" translatable="yes">_Directory name:</property>
+                    <property name="label" translatable="yes">_Folder name:</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">group_name_entry</property>
                   </object>
@@ -663,7 +663,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
-                    <property name="label" translatable="yes">Specify _where to create the directory:</property>
+                    <property name="label" translatable="yes">Specify _where to create the folder:</property>
                     <property name="use_underline">True</property>
                   </object>
                   <packing>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]