Commit f1093fb1 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Do not translate unused desktop icon view labels.

2008-03-30  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-desktop-icon-view.c
	(fm_desktop_icon_view_register):
	Do not translate unused desktop icon view labels.

	* src/file-manager/fm-icon-view.c:
	* src/file-manager/fm-list-view.c:
	Use "... View" instead of "View as ..." for view menu and dropdown.
	This makes the labels consistent with the preference dialog and with
	the compact view.

svn path=/trunk/; revision=14007
parent 3b53079b
2008-03-30 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-desktop-icon-view.c
(fm_desktop_icon_view_register):
Do not translate unused desktop icon view labels.
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-list-view.c:
Use "... View" instead of "View as ..." for view menu and dropdown.
This makes the labels consistent with the preference dialog and with
the compact view.
2008-03-30 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-properties-window.c
......
......@@ -796,11 +796,11 @@ fm_desktop_icon_view_supports_uri (const char *uri,
static NautilusViewInfo fm_desktop_icon_view = {
FM_DESKTOP_ICON_VIEW_ID,
N_("Desktop"),
N_("View as Desktop"),
N_("View as _Desktop"),
"Desktop View",
"_Desktop View",
N_("The desktop view encountered an error."),
N_("The desktop view encountered an error while starting up."),
N_("Display this location with the desktop view."),
"Display this location with the desktop view.",
fm_desktop_icon_view_create,
fm_desktop_icon_view_supports_uri
};
......@@ -809,11 +809,8 @@ void
fm_desktop_icon_view_register (void)
{
fm_desktop_icon_view.label = _(fm_desktop_icon_view.label);
fm_desktop_icon_view.view_as_label = _(fm_desktop_icon_view.view_as_label);
fm_desktop_icon_view.view_as_label_with_mnemonic = _(fm_desktop_icon_view.view_as_label_with_mnemonic);
fm_desktop_icon_view.error_label = _(fm_desktop_icon_view.error_label);
fm_desktop_icon_view.startup_error_label = _(fm_desktop_icon_view.startup_error_label);
fm_desktop_icon_view.display_location_label = _(fm_desktop_icon_view.display_location_label);
nautilus_view_factory_register (&fm_desktop_icon_view);
}
......@@ -2932,8 +2932,8 @@ fm_icon_view_supports_uri (const char *uri,
static NautilusViewInfo fm_icon_view = {
FM_ICON_VIEW_ID,
N_("Icons"),
N_("View as Icons"),
N_("View as _Icons"),
N_("Icon View"),
N_("_Icon View"),
N_("The icon view encountered an error."),
N_("The icon view encountered an error while starting up."),
N_("Display this location with the icon view."),
......
......@@ -2835,8 +2835,8 @@ fm_list_view_supports_uri (const char *uri,
static NautilusViewInfo fm_list_view = {
FM_LIST_VIEW_ID,
N_("List"),
N_("View as List"),
N_("View as _List"),
N_("List View"),
N_("_List View"),
N_("The list view encountered an error."),
N_("The list view encountered an error while starting up."),
N_("Display this location with the list view."),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment