Commit 76e67982 authored by Benedikt Meurer's avatar Benedikt Meurer

2006-08-08 Benedikt Meurer <benny@xfce.org>

	* configure.in.in, docs/ThumbnailersCacheFormat.txt, docs/Makefile.am,
	  thunar-vfs/thunar-vfs-thumb.c, thunar-vfs/Makefile.am,
	  thunar-vfs/thunar-vfs-update-thumbnailers-cache.c: Drop the dependen-
	  cy of libthunar-vfs on GConf, which was required to load the GNOME
	  thumbnailers. Instead there's now an external program, which genera-
	  tes an mmap()able file that contains a mapping between a mime type
	  and the thumbnailer used to generate thumbnails for that mime type.
	  Bug #2131.
	* thunar-vfs/thunar-vfs-pixbuf-thumbnailer.c, thunar-vfs/Makefile.am,
	  thunar-vfs/thunar-vfs-thumb-pixbuf.{c,h},
	  thunar-vfs/thunar-vfs-thumb.c: Put the gdk-pixbuf thumbnailer into
	  a separate program, which gets registered via the thumbnailers.cache
	  file, so we don't need any extra overhead for thumbnails that can be
	  generated using gdk-pixbuf.
	* thunar-vfs/thunar-vfs-monitor-private.h,
	  thunar-vfs/thunar-vfs-monitor.c: Add a simple helper method
	  _thunar_vfs_monitor_handle_get_path() that returns the path for
	  a given monitor handle so we don't need to keep around both the
	  path and the handle.
	* thunar-vfs/thunar-vfs-mime-database.c: Do not keep both the handle
	  and the path around for monitored resources.
	* thunar-vfs/thunar-vfs-io-jobs.c(_thunar_vfs_io_jobs_chown): Fix
	  typo. Thanks to Roberto Pariset <robdebian@gmail.com> for the hint.
	* po/POTFILES.in: Remove no longer existing file.
	* po/Thunar.pot, po/*.po: Update translations.
	* po/de.po: Update german translations.
	* po/it.po: Update italian translations by Roberto Pariset
	  <robdebian@gmail.com>.




(Old svn revision: 22685)
parent df59e335
2006-08-08 Benedikt Meurer <benny@xfce.org>
* configure.in.in, docs/ThumbnailersCacheFormat.txt, docs/Makefile.am,
thunar-vfs/thunar-vfs-thumb.c, thunar-vfs/Makefile.am,
thunar-vfs/thunar-vfs-update-thumbnailers-cache.c: Drop the dependen-
cy of libthunar-vfs on GConf, which was required to load the GNOME
thumbnailers. Instead there's now an external program, which genera-
tes an mmap()able file that contains a mapping between a mime type
and the thumbnailer used to generate thumbnails for that mime type.
Bug #2131.
* thunar-vfs/thunar-vfs-pixbuf-thumbnailer.c, thunar-vfs/Makefile.am,
thunar-vfs/thunar-vfs-thumb-pixbuf.{c,h},
thunar-vfs/thunar-vfs-thumb.c: Put the gdk-pixbuf thumbnailer into
a separate program, which gets registered via the thumbnailers.cache
file, so we don't need any extra overhead for thumbnails that can be
generated using gdk-pixbuf.
* thunar-vfs/thunar-vfs-monitor-private.h,
thunar-vfs/thunar-vfs-monitor.c: Add a simple helper method
_thunar_vfs_monitor_handle_get_path() that returns the path for
a given monitor handle so we don't need to keep around both the
path and the handle.
* thunar-vfs/thunar-vfs-mime-database.c: Do not keep both the handle
and the path around for monitored resources.
* thunar-vfs/thunar-vfs-io-jobs.c(_thunar_vfs_io_jobs_chown): Fix
typo. Thanks to Roberto Pariset <robdebian@gmail.com> for the hint.
* po/POTFILES.in: Remove no longer existing file.
* po/Thunar.pot, po/*.po: Update translations.
* po/de.po: Update german translations.
* po/it.po: Update italian translations by Roberto Pariset
<robdebian@gmail.com>.
2006-08-06 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-launcher.c(thunar_launcher_update): Place additional
......
......@@ -104,8 +104,8 @@ dnl **********************************
AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h fnmatch.h fstab.h grp.h \
limits.h locale.h math.h memory.h mntent.h paths.h pwd.h \
regex.h sched.h setjmp.h signal.h stdarg.h stdlib.h \
string.h sys/xattr.h sys/extattr.h \
sys/cdio.h sys/mman.h sys/mount.h sys/param.h sys/stat.h \
string.h sys/xattr.h sys/extattr.h sys/cdio.h sys/mman.h \
sys/mount.h sys/param.h sys/resource.h sys/stat.h \
sys/statfs.h sys/statvfs.h sys/time.h sys/uio.h \
sys/vfs.h sys/wait.h time.h wchar.h wctype.h])
......@@ -116,7 +116,8 @@ AC_FUNC_MMAP()
AC_CHECK_FUNCS([attropen extattr_get_fd fgetxattr getdents lchmod localeconv \
localtime_r mbrtowc mkdtemp mkfifo posix_madvise pread \
pwrite readdir_r sched_yield setgroupent setpassent \
statfs statvfs statvfs1 strcoll strlcpy strptime symlink])
setpriority statfs statvfs statvfs1 strcoll strlcpy strptime \
symlink])
dnl ******************************************
dnl *** Linux/glibc specified work-arounds ***
......@@ -147,6 +148,7 @@ XDT_CHECK_PACKAGE([EXO], [exo-0.3], [0.3.1.8])
XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.6.4])
XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.4])
XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
XDT_CHECK_PACKAGE([GDK_PIXBUF], [gdk-pixbuf-2.0], [2.6.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.2.2])
dnl *********************************************
......
......@@ -10,7 +10,8 @@ docdir = $(datadir)/doc/Thunar
doc_DATA = \
README.gtkrc \
README.thunarrc \
README.volumes
README.volumes \
ThumbnailersCacheFormat.txt
EXTRA_DIST = \
$(doc_DATA)
......
The Thumbnailers Cache Format
=============================
Date: 2006-08-08
Author: Benedikt Meurer <benny@xfce.org>
Revision: $Rev$
Motivation
----------
In order to avoid a dependency of libthunar-vfs-1.so on GConf and in order to
stay flexible wrt thumbnailers w/o adding more overhead to libthunar-vfs-1.so
(and thereby to all applications using the library), the available thumbnailers
for the ThunarVfsThumbFactory are determined by a separate utility program,
named thunar-vfs-update-thumbnailers-cache-1, which is installed to the
$(libexecdir).
This program generates a thumbnailers.cache file in the users home directory,
in $XDG_CACHE_HOME/Thunar/ (usually ~/.cache/Thunar/), which is a binary file
that lists all mime types for a thumbnailer is available. For each thumbnailer
the command required to run it is specified, where the command can contain
various special parameters that are substituted when the command is run.
This thumbnailers.cache is generated initially when the thumbnail factory is
loaded and no cache file is present, and afterwards the utility is run every
5 minutes to check if new thumbnailers are available (or existing thumbnailers
have been removed).
Special Thumbnailer Parameters
------------------------------
The following special parameters are supported in thumbnailer commands and
will be substituted when ThunarVfsThumbFactory runs the command:
%u The URL of the input file for which to create a thumbnail.
%i The absolute path to the input file.
%o The absolute path to the output file where to save the generated
thumbnail to (as PNG image).
%s The desired size of the thumbnail in pixel (usually 128 or 256).
%% Will be substituted with a single '%'.
The thunar-vfs-update-thumbnailers-cache-1 Utility
--------------------------------------------------
When compiled with support for GConf, the utility will first query all available
thumbnailers that have been registered with GConf. Otherwise, the utility checks
for several well-known thumbnailers (i.e. evince-thumbnailer, ...) and adds them
if the programs were found on the system.
Afterwards the available gdk-pixbuf formats will be queried and for each of the
returned mime types, the thunar-vfs-pixbuf-thumbnailer-1 will be registered. If
any such mime type was already registered by a thumbnailer queried from the
GConf database, the pixbuf thumbnailer will overwrite the previously registered
one.
The last step is to add all internal thumbnails (again overwriting previously
registered thumbnailers).
The thumbnailers.cache File Format
----------------------------------
The thumbnailers.cache file is a binary file, that maps mime types to thumbnai-
ler commands. The file format is designed to be mmap()ed into processes using
the thumbnailers.cache. All numbers are 32bit integers in big endian. All
strings are zero-terminated ASCII strings.
The current version of the file format is 1.0. Newer versions will either be
backward compatible with the current format or use a new file name.
The file starts with a header that contains the file format version, the number
of mime types stored in the file and the offset of the thumbnailers table:
Bits Meaning
---- -------
32 FORMAT MAJOR VERSION (currently 1)
32 FORMAT MINOR VERSION (currently 0)
32 NUMER OF MIME TYPES (and thereby NUMBER OF THUMBNAILERS)
32 OFFSET OF THE THUMBNAILERS TABLE
Next comes the table of mime types, where each entry contains the length of the
mime type in bytes (excluding the trailing zero) and the offset (relative to the
cache file start) where the name of the mime type is stored. The mime types are
sorted by strlen() and strcmp(), which means that binary search can be used to
find a mime type, trying the length first (so string comparisons are reduced to
a minimum to make the search cache-friendly) and performing a string comparison
when the lengths are equal (see thunar_vfs_thumb_factory_cache_lookup() for an
example implementation of the search).
Bits Meaning
---- -------
32 LENGTH OF MIME TYPE STRING
32 OFFSET OF MIME TYPE STRING
Once you successfully detected a mime type, you can use the index of the mime
type in the table above to locate the thumbnailer command for this mime type.
Therefore determine the OFFSET OF THE THUMBNAILERS TABLE (at offset 12 in the
cache) and look at that offset plus the index * 4 for the offset of the thumb-
nailer command string.
Bits Meaning
---- -------
32 OFFSET OF THUMBNAILER STRING
Afterwards substitute the special parameters as mentioned in "Special Thumbnai-
ler Parameters" above.
2006-08-08 Benedikt Meurer <benny@xfce.org>
* POTFILES.in: Remove no longer existing file.
* Thunar.pot, *.po: Update translations.
* de.po: Update german translations.
* it.po: Update italian translations by Roberto Pariset
<robdebian@gmail.com>.
2006-08-05 Sylvain Vedrenne <gnu_sylvain@xfce.org>
* eo.po: Updated Esperanto translations by
......
......@@ -28,7 +28,6 @@ thunar-vfs/thunar-vfs-path.c
thunar-vfs/thunar-vfs-private.c
thunar-vfs/thunar-vfs-simple-job.c
thunar-vfs/thunar-vfs-thumb-jpeg.c
thunar-vfs/thunar-vfs-thumb-pixbuf.c
thunar-vfs/thunar-vfs-thumb.c
thunar-vfs/thunar-vfs-transfer-job.c
thunar-vfs/thunar-vfs-user.c
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-07-27 17:59+0200\n"
"POT-Creation-Date: 2006-08-08 02:46+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -36,7 +36,7 @@ msgstr ""
msgid "No URL field specified"
msgstr ""
#: ../thunar-vfs/thunar-vfs-info.c:362 ../thunar-vfs/thunar-vfs-io-local.c:868
#: ../thunar-vfs/thunar-vfs-info.c:362 ../thunar-vfs/thunar-vfs-io-local.c:870
msgid "Invalid desktop file"
msgstr ""
......@@ -58,14 +58,14 @@ msgid "Preparing..."
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-jobs.c:226
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:517
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:520
#, c-format
msgid "Failed to change permissions of \"%s\""
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-jobs.c:347
#, c-format
msgid "Failed to change file owenr of \"%s\""
msgid "Failed to change file owner of \"%s\""
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-jobs.c:348
......@@ -74,7 +74,7 @@ msgid "Failed to change file group of \"%s\""
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-jobs.c:432
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:182
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:185
#, c-format
msgid "The file \"%s\" already exists"
msgstr ""
......@@ -84,78 +84,78 @@ msgstr ""
msgid "Failed to create empty file \"%s\""
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:157
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:160
#, c-format
msgid "Failed to open \"%s\" for reading"
msgstr ""
#. use the generic error message
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:188
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:191
#: ../thunar-vfs/thunar-vfs-io-trash.c:459
#, c-format
msgid "Failed to open \"%s\" for writing"
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:215
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:278
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:218
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:281
#, c-format
msgid "Failed to write data to \"%s\""
msgstr ""
#. display an error to the user
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:231
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:294
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:234
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:297
#: ../thunar-vfs/thunar-vfs-io-ops.c:495 ../thunar/thunar-chooser-dialog.c:786
#, c-format
msgid "Failed to remove \"%s\""
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:261
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:264
#, c-format
msgid "Failed to read data from \"%s\""
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:343
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:346
#, c-format
msgid "copy of %s"
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:344
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:347
#: ../thunar/thunar-list-model.c:776 ../thunar/thunar-properties-dialog.c:761
#, c-format
msgid "link to %s"
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:347
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:350
#, c-format
msgid "another copy of %s"
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:348
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:351
#, c-format
msgid "another link to %s"
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:351
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:354
#, c-format
msgid "third copy of %s"
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:352
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:355
#, c-format
msgid "third link to %s"
msgstr ""
#. if we had no match on the NAMES, try the "%uth copy of %s" pattern
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:391
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:407
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:394
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:410
#, c-format
msgid "%uth copy of %s"
msgid_plural "%uth copy of %s"
msgstr[0] ""
msgstr[1] ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:409
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:412
#, c-format
msgid "%uth link to %s"
msgid_plural "%uth link to %s"
......@@ -164,41 +164,41 @@ msgstr[1] ""
#. unable to stat source file, impossible to copy then
#. the file does not exist, don't try to create a symlink then
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:469
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:586
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:472
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:589
#: ../thunar-vfs/thunar-vfs-io-ops.c:144
#, c-format
msgid "Failed to determine file info for \"%s\""
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:485
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:488
#: ../thunar-vfs/thunar-vfs-io-ops.c:415
#, c-format
msgid "Failed to create directory \"%s\""
msgstr ""
#. TRANSLATORS: FIFO is an acronym for First In, First Out. You can replace the word with `pipe'.
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:494
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:497
#, c-format
msgid "Failed to create named fifo \"%s\""
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:512
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:592
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:515
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:595
#, c-format
msgid "Failed to create symbolic link \"%s\""
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:525
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:528
msgid "Special files cannot be copied"
msgstr ""
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:605
#: ../thunar-vfs/thunar-vfs-io-local-xfer.c:608
msgid "Symbolic links are not supported"
msgstr ""
#. ...and a special display name
#: ../thunar-vfs/thunar-vfs-io-local.c:304
#: ../thunar-vfs/thunar-vfs-io-local.c:306
msgid "File System"
msgstr ""
......@@ -241,13 +241,13 @@ msgstr ""
msgid "Cannot move or copy files within the trash"
msgstr ""
#: ../thunar-vfs/thunar-vfs-mime-database.c:1684
#: ../thunar-vfs/thunar-vfs-mime-database.c:1675
#, c-format
msgid "Failed to load application from file %s"
msgstr ""
#. tell the user that we failed to delete the application launcher
#: ../thunar-vfs/thunar-vfs-mime-database.c:1750
#: ../thunar-vfs/thunar-vfs-mime-database.c:1741
#, c-format
msgid "Failed to remove \"%s\": %s"
msgstr ""
......@@ -309,11 +309,11 @@ msgstr ""
msgid "Invalidly escaped characters"
msgstr ""
#: ../thunar-vfs/thunar-vfs-thumb.c:172 ../thunar/thunar-enum-types.c:97
#: ../thunar-vfs/thunar-vfs-thumb.c:222 ../thunar/thunar-enum-types.c:97
msgid "Size"
msgstr ""
#: ../thunar-vfs/thunar-vfs-thumb.c:173
#: ../thunar-vfs/thunar-vfs-thumb.c:223
msgid "The desired thumbnail size"
msgstr ""
......@@ -457,45 +457,45 @@ msgid "Sort items in descending order"
msgstr ""
#. display an error message to the user
#: ../thunar/thunar-application.c:379
#: ../thunar/thunar-application.c:360 ../thunar/thunar-application.c:404
msgid "Failed to launch operation"
msgstr ""
#. tell the user that we were unable to launch the file specified on the cmdline
#: ../thunar/thunar-application.c:832
#: ../thunar/thunar-application.c:857
#, c-format
msgid "Failed to open \"%s\""
msgstr ""
#: ../thunar/thunar-application.c:844
#: ../thunar/thunar-application.c:869
#, c-format
msgid "Failed to open \"%s\": %s"
msgstr ""
#: ../thunar/thunar-application.c:881 ../thunar/thunar-application.c:914
#: ../thunar/thunar-application.c:906 ../thunar/thunar-application.c:939
msgid "Copying files..."
msgstr ""
#: ../thunar/thunar-application.c:948
#: ../thunar/thunar-application.c:973
msgid "Creating symbolic links..."
msgstr ""
#: ../thunar/thunar-application.c:988
#: ../thunar/thunar-application.c:1013
msgid "Moving files into the trash..."
msgstr ""
#: ../thunar/thunar-application.c:993
#: ../thunar/thunar-application.c:1018
msgid "Moving files..."
msgstr ""
#: ../thunar/thunar-application.c:1073
#: ../thunar/thunar-application.c:1098
#, c-format
msgid ""
"Are you sure that you want to\n"
"permanently delete \"%s\"?"
msgstr ""
#: ../thunar/thunar-application.c:1078
#: ../thunar/thunar-application.c:1103
#, c-format
msgid ""
"Are you sure that you want to permanently\n"
......@@ -506,61 +506,61 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
#: ../thunar/thunar-application.c:1098
#: ../thunar/thunar-application.c:1123
msgid "If you delete a file, it is permanently lost."
msgstr ""
#: ../thunar/thunar-application.c:1108
#: ../thunar/thunar-application.c:1133
msgid "Deleting files..."
msgstr ""
#: ../thunar/thunar-application.c:1160
#: ../thunar/thunar-application.c:1185
msgid "Creating files..."
msgstr ""
#: ../thunar/thunar-application.c:1200
#: ../thunar/thunar-application.c:1225
msgid "Creating directories..."
msgstr ""
#: ../thunar/thunar-application.c:1238
#: ../thunar/thunar-application.c:1263
msgid "Remove all files and folders from the Trash?"
msgstr ""
#. add the "Empty Trash" action
#. append the "Empty Trash" menu action
#. add the "Empty Trash" menu item
#: ../thunar/thunar-application.c:1243
#: ../thunar/thunar-application.c:1268
#: ../thunar/thunar-location-buttons.c:1264
#: ../thunar/thunar-shortcuts-view.c:854 ../thunar/thunar-tree-view.c:1075
#: ../plugins/thunar-tpa/main.c:49
msgid "_Empty Trash"
msgstr ""
#: ../thunar/thunar-application.c:1247
#: ../thunar/thunar-application.c:1272
msgid ""
"If you choose to empty the Trash, all items in it will be permanently lost. "
"Please note that you can also delete them separately."
msgstr ""
#: ../thunar/thunar-application.c:1264
#: ../thunar/thunar-application.c:1289
msgid "Emptying the Trash..."
msgstr ""
#: ../thunar/thunar-application.c:1318
#: ../thunar/thunar-application.c:1343
#, c-format
msgid "Failed to determine the original path for \"%s\""
msgstr ""
#: ../thunar/thunar-application.c:1346
#: ../thunar/thunar-application.c:1371
#, c-format
msgid "Create the folder \"%s\"?"
msgstr ""
#: ../thunar/thunar-application.c:1350
#: ../thunar/thunar-application.c:1375
msgid "C_reate Folder"
msgstr ""
#: ../thunar/thunar-application.c:1356
#: ../thunar/thunar-application.c:1381
#, c-format
msgid ""
"The folder \"%s\" does not exist anymore, but it is required to restore the "
......@@ -568,12 +568,12 @@ msgid ""
msgstr ""
#. display an error dialog
#: ../thunar/thunar-application.c:1393
#: ../thunar/thunar-application.c:1418
#, c-format
msgid "Failed to restore \"%s\""
msgstr ""
#: ../thunar/thunar-application.c:1400
#: ../thunar/thunar-application.c:1425
msgid "Restoring files..."
msgstr ""
......@@ -599,7 +599,7 @@ msgstr ""
msgid "_Other Application..."
msgstr ""
#: ../thunar/thunar-chooser-dialog.c:219 ../thunar/thunar-launcher.c:132
#: ../thunar/thunar-chooser-dialog.c:219 ../thunar/thunar-launcher.c:139
msgid "Open With"
msgstr ""
......@@ -793,7 +793,7 @@ msgstr ""
#. tell the user that we're unable to determine the file info
#: ../thunar/thunar-column-model.c:894 ../thunar/thunar-list-model.c:726
#: ../thunar/thunar-list-model.c:755
#: ../thunar/thunar-permissions-chooser.c:270 ../thunar/thunar-util.c:112
#: ../thunar/thunar-permissions-chooser.c:270 ../thunar/thunar-util.c:130
#: ../plugins/thunar-apr/thunar-apr-desktop-page.c:469
#: ../plugins/thunar-apr/thunar-apr-image-page.c:287
#: ../plugins/thunar-apr/thunar-apr-image-page.c:288
......@@ -844,19 +844,23 @@ msgstr ""
msgid "Failed to open the documentation browser"
msgstr ""
#: ../thunar/thunar-dialogs.c:321
#: ../thunar/thunar-dialogs.c:325
msgid "_Yes"
msgstr ""
#: ../thunar/thunar-dialogs.c:325
#: ../thunar/thunar-dialogs.c:329
msgid "Yes to _all"
msgstr ""
#: ../thunar/thunar-dialogs.c:329
#: ../thunar/thunar-dialogs.c:333
msgid "_No"
msgstr ""
#: ../thunar/thunar-dialogs.c:334
#: ../thunar/thunar-dialogs.c:337
msgid "N_o to all"
msgstr ""
#: ../thunar/thunar-dialogs.c:342
msgid "_Cancel"
msgstr ""
......@@ -874,7 +878,7 @@ msgstr ""
#. display an error to the user
#. display an error message to the user
#: ../thunar/thunar-dnd.c:191 ../thunar/thunar-launcher.c:518
#: ../thunar/thunar-dnd.c:191 ../thunar/thunar-launcher.c:525
#, c-format
msgid "Failed to execute file \"%s\""
msgstr ""
......@@ -966,56 +970,56 @@ msgid "Icon view"
msgstr ""
#. append the "Open" menu action
#: ../thunar/thunar-launcher.c:129 ../thunar/thunar-launcher.c:775
#: ../thunar/thunar-launcher.c:136 ../thunar/thunar-launcher.c:782
#: ../thunar/thunar-location-buttons.c:1219
#: ../thunar/thunar-shortcuts-view.c:795 ../thunar/thunar-tree-view.c:1015
msgid "_Open"
msgstr ""
#. append the "Open in New Window" menu action
#: ../thunar/thunar-launcher.c:130 ../thunar/thunar-location-buttons.c:1232
#: ../thunar/thunar-launcher.c:137 ../thunar/thunar-location-buttons.c:1232
#: ../thunar/thunar-shortcuts-view.c:806 ../thunar/thunar-tree-view.c:1027
msgid "Open in New Window"
msgstr ""
#: ../thunar/thunar-launcher.c:130
#: ../thunar/thunar-launcher.c:137
msgid "Open the selected directory in a new window"
msgstr ""
#: ../thunar/thunar-launcher.c:131 ../thunar/thunar-launcher.c:133
#: ../thunar/thunar-launcher.c:138 ../thunar/thunar-launcher.c:140
msgid "Open With Other _Application..."
msgstr ""
#: ../thunar/thunar-launcher.c:131 ../thunar/thunar-launcher.c:133
#: ../thunar/thunar-launcher.c:858
#: ../thunar/thunar-launcher.c:138 ../thunar/thunar-launcher.c:140
#: ../thunar/thunar-launcher.c:865
msgid "Choose another application with which to open the selected file"
msgstr ""
#: ../thunar/thunar-launcher.c:613
#: ../thunar/thunar-launcher.c:620
#, c-format
msgid "Failed to open file \"%s\""
msgstr ""
#. we can just tell that n files failed to open
#: ../thunar/thunar-launcher.c:619
#: ../thunar/thunar-launcher.c:626
#, c-format
msgid "Failed to open %d file"
msgid_plural "Failed to open %d files"
msgstr[0] ""
msgstr[1] ""
#: ../thunar/thunar-launcher.c:655
#: ../thunar/thunar-launcher.c:662
msgid "Are you sure you want to open all folders?"
msgstr ""
#: ../thunar/thunar-launcher.c:657
#: ../thunar/thunar-launcher.c:664
#, c-format
msgid "This will open %d separate file manager window."
msgid_plural "This will open %d separate file manager windows."
msgstr[0] ""