Subversion Repositories pub

Compare Revisions

No changes between revisions

Ignore whitespace Rev 16 → Rev 17

/nautilus-follow-symlink/trunk/po/ca.po
7,8 → 7,8
msgstr ""
"Project-Id-Version: libnautilus-follow-symlink\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-10-24 21:27+0200\n"
"PO-Revision-Date: 2006-10-24 19:37+0200\n"
"POT-Creation-Date: 2006-10-24 22:55+0200\n"
"PO-Revision-Date: 2006-10-24 22:59+0200\n"
"Last-Translator: Toni Corvera <outlyer@outlyer.net>\n"
"Language-Team: Catalan <outlyer@outlyer.net>\n"
"MIME-Version: 1.0\n"
15,18 → 15,22
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
 
#: ../src/follow-symlink.c:156
msgid "Follow symbolic _link"
msgstr "Segueix l'en_llaç simbòlic"
#: ../src/follow-symlink.c:159
#, c-format
msgid "Follow symbolic _link '%s'"
msgstr "Segueix l'en_llaç simbòlic '%s'"
 
#: ../src/follow-symlink.c:157
msgid "Open the directory pointed by the currently selected symbolic link"
msgstr "Obre el directori apuntat per l'enllaç simbòlic seleccionat"
 
#: ../src/follow-symlink.c:160
msgid "Open real path"
msgstr "Obre la ruta real"
#, c-format
msgid "Open the directory pointed by the symbolic link '%s'"
msgstr "Obre el directori apuntat per l'enllaç simbòlic '%s'"
 
#: ../src/follow-symlink.c:161
msgid "Open the real path of the folder pointed by this symbolic link"
msgstr "Obre el directori apuntat per aquest enllaç"
#: ../src/follow-symlink.c:169
#, c-format
msgid "Open real path of '%s'"
msgstr "Obre la ruta real de '%s'"
 
#: ../src/follow-symlink.c:170
#, c-format
msgid "Open the real path of the folder pointed by '%s'"
msgstr "Obre el directori apuntat per '%s'"
/nautilus-follow-symlink/trunk/po/es.po
8,8 → 8,8
msgstr ""
"Project-Id-Version: libnautilus-follow-symlink\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-10-24 21:27+0200\n"
"PO-Revision-Date: 2006-10-24 19:09+0200\n"
"POT-Creation-Date: 2006-10-24 22:55+0200\n"
"PO-Revision-Date: 2006-10-24 23:00+0200\n"
"Last-Translator: Toni Corvera <outlyer@outlyer.net>\n"
"Language-Team: Spanish <outlyer@outlyer.net>\n"
"MIME-Version: 1.0\n"
17,19 → 17,23
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
#: ../src/follow-symlink.c:156
msgid "Follow symbolic _link"
msgstr "Seguir en_lace simbólico"
#: ../src/follow-symlink.c:159
#, c-format
msgid "Follow symbolic _link '%s'"
msgstr "Seguir en_lace simbólico '%s'"
 
#: ../src/follow-symlink.c:157
msgid "Open the directory pointed by the currently selected symbolic link"
#: ../src/follow-symlink.c:160
#, c-format
msgid "Open the directory pointed by the symbolic link '%s'"
msgstr ""
"Abrir el directorio apuntado por el enlace simbólico seleccionado actualmente"
"Abrir el directorio apuntado por el enlace simbólico '%s'"
 
#: ../src/follow-symlink.c:160
msgid "Open real path"
msgstr "Abrir la ruta real"
#: ../src/follow-symlink.c:169
#, c-format
msgid "Open real path of '%s'"
msgstr "Abrir la ruta real de '%s'"
 
#: ../src/follow-symlink.c:161
msgid "Open the real path of the folder pointed by this symbolic link"
msgstr "Abrir el directoro apuntado por éste enlace simbólico"
#: ../src/follow-symlink.c:170
#, c-format
msgid "Open the real path of the folder pointed by '%s'"
msgstr "Abrir el directoro apuntado por '%s'"
/nautilus-follow-symlink/trunk/debian/changelog
1,3 → 1,9
nautilus-follow-symlink (0.7.9-out.1) unstable; urgency=low
 
* New upstream release
 
-- Toni Corvera <outlyer@outlyer.net> Tue, 24 Oct 2006 23:00:48 +0200
 
nautilus-follow-symlink (0.7.0-out.1) unstable; urgency=low
 
* New upstream release
/nautilus-follow-symlink/trunk/dist
28,6 → 28,7
rm -f aclocal.m4
rm -f configure Makefile Makefile.in src/Makefile src/Makefile.in
rm -f po/*.gmo po/Makefile po/Makefile.in po/POTFILES
find . -name 'stamp-??' -exec rm {} \;
# The following are moved thanks to Makefile.am (var DISTCLEANFILES)
# (kept for situations in which make distclean fails)
# Undo libtoolize
/nautilus-follow-symlink/trunk/configure.in
1,6 → 1,6
 
AC_INIT(src/follow-symlink.c)
AM_INIT_AUTOMAKE(libnautilus-follow-symlink, "0.7.0")
AM_INIT_AUTOMAKE(libnautilus-follow-symlink, "0.7.9")
AC_CONFIG_HEADER(src/config.h)
 
dnl default FLAGS
/nautilus-follow-symlink/trunk/ChangeLog
2,6 → 2,10
These private versions, the version numbering bumps just denote
that a development milestone is achieved
 
0.7.9 (24 oct 2006):
* Show the symbolic link's name (unresolved) in context menu and
description
 
0.7.0 (24 oct 2006):
* Added support for background items (context menu on opened symlinks)
* BUGFIX: Corrected translation typos
/nautilus-follow-symlink/trunk/src/follow-symlink.c
50,7 → 50,9
}
}
 
item = fsl_menu_item_new(gtk_widget_get_screen(window), is_file_item);
item = fsl_menu_item_new(gtk_widget_get_screen(window),
is_file_item,
nautilus_file_info_get_name(file_info));
g_signal_connect(item, "activate", G_CALLBACK(fsl_callback),
file_info);
 
117,15 → 119,10
g_assert( FALSE );
}
 
const gchar const * BASE_CMD = "nautilus --no-desktop --no-default-window \"";
gchar * command_line = g_malloc( sizeof(gchar) * ( strlen(BASE_CMD) + strlen(target) + 2 ) );
const gchar const * BASE_CMD = "nautilus --no-desktop --no-default-window '%s'";
gchar * command_line = g_malloc( sizeof(gchar) * ( strlen(BASE_CMD) + strlen(target) + 1 ) );
g_sprintf(command_line, BASE_CMD, target);
 
gchar * offset = g_stpcpy(command_line, BASE_CMD);
//offset = g_stpcpy(offset, "file://"); // unneeded; also makes nautilus think it may be incorrect
// if it contains spaces (instead of %20's)
offset = g_stpcpy(offset, target);
g_stpcpy(offset, "\"");
 
if (FALSE == g_shell_parse_argv(command_line, NULL, &argv, NULL)) {
g_assert( FALSE );
}
144,26 → 141,42
 
/* Create the new menu item */
NautilusMenuItem *
fsl_menu_item_new(GdkScreen *screen, gboolean is_file_item)
fsl_menu_item_new(GdkScreen *screen, gboolean is_file_item, const gchar * base_name)
{
TRACE();
 
NautilusMenuItem *ret;
const char *name;
const char *tooltip;
 
char * name;
char * tooltip;
 
if (is_file_item) {
name = _("Follow symbolic _link");
tooltip = _("Open the directory pointed by the currently selected symbolic link");
const gchar * fmt_name = _("Follow symbolic _link '%s'");
const gchar * fmt_tooltip = _("Open the directory pointed by the "
"symbolic link '%s'");
 
name = g_malloc(sizeof(gchar) * (strlen(fmt_name) + strlen(base_name)));
tooltip = g_malloc(sizeof(gchar) * (strlen(fmt_tooltip) + strlen(base_name)));
g_sprintf(name, fmt_name, base_name);
g_sprintf(tooltip, fmt_tooltip, base_name);
}
else {
name = _("Open real path");
tooltip = _("Open the real path of the folder pointed by this symbolic link");
const gchar * fmt_name = _("Open real path of '%s'");
const gchar * fmt_tooltip = _("Open the real path of the folder "
"pointed by '%s'");
 
name = g_malloc(sizeof(gchar) * (strlen(fmt_name) + strlen(base_name + 1)));
tooltip = g_malloc(sizeof(gchar) * (strlen(fmt_tooltip) + strlen(base_name + 1)));
g_sprintf(name, fmt_name, base_name);
g_sprintf(tooltip, fmt_tooltip, base_name);
}
 
// (name, label, tip, icon)
ret = nautilus_menu_item_new("FsymlinkExtension::follow_symlink",
name, tooltip, NULL);
g_free(name);
g_free(tooltip);
 
//g_object_set_data(G_OBJECT(ret), "FsymlinkExtension::screen", screen);
return ret;
}
/nautilus-follow-symlink/trunk/src/follow-symlink.h
26,7 → 26,7
 
static GList * fsl_get_items_impl(GtkWidget *, NautilusFileInfo *, gboolean);
 
static NautilusMenuItem * fsl_menu_item_new(GdkScreen *, gboolean);
static NautilusMenuItem * fsl_menu_item_new(GdkScreen *, gboolean, const gchar *);
 
/* Exported Prototypes
* Here the namespace is a bit more explicit just in case
/nautilus-follow-symlink/trunk
Property changes:
Modified: svn:mergeinfo
Merged /nautilus-follow-symlink/branches/0.7.9:r16