~ubuntu-branches/ubuntu/lucid/nautilus-actions/lucid

« back to all changes in this revision

Viewing changes to libnautilus-actions/nautilus-actions-config-gconf-private.h

  • Committer: Bazaar Package Importer
  • Author(s): Christine Spang
  • Date: 2006-05-02 21:15:03 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060502211503-ygoa8zap193bi9gq
Tags: 1.2-1
* New upstream release.
  - Add support for filtering using mimetypes of selected files
  - Add support for choice about case sensitiveness of file patterns
  - New Tango style icons
  - Grammar and spelling errors fixed
  - Fix segfault when defining an action with an empty file pattern
  - Fix a crash when selecting a cdrom drive with Nautilus 2.14
  - Added Bengali translation; others updated
  - Other minor bugfixes
* Bumped standards version to 2.7.0.0; no change.
* Added debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <config.h>
25
25
#include <glib/gi18n.h>
 
26
 
 
27
#ifdef N_
 
28
#undef N_
 
29
#endif
26
30
#define N_(String) String
27
31
 
28
32
// GConf general information
51
55
#define ACTION_PATH_ENTRY      "path"
52
56
#define ACTION_PARAMS_ENTRY    "parameters"
53
57
#define ACTION_BASENAMES_ENTRY "basenames"
 
58
#define ACTION_MATCHCASE_ENTRY "matchcase"
 
59
#define ACTION_MIMETYPES_ENTRY "mimetypes"
54
60
#define ACTION_ISFILE_ENTRY    "isfile"
55
61
#define ACTION_ISDIR_ENTRY     "isdir"
56
62
#define ACTION_MULTIPLE_ENTRY  "accept-multiple-files"
70
76
#define ACTION_PATH_DESC_LONG                   _("The path of the command to start when the user select the menu item in the Nautilus popup menu")
71
77
#define ACTION_PARAMS_DESC_SHORT                _("The parameters of the command")
72
78
/* i18n notes : Sorry for this long paragraph, will try to fix it the next release */
73
 
#define ACTION_PARAMS_DESC_LONG         _("The parameters of the command to start when the user selects the menu item in the Nautilus popup menu.\n\nThe parameters can contains some special tokens which are replaced by Nautilus informations before starting the command :\n\n%d : base folder of the selected file(s)\n%f : the name of the selected file or the 1st one if many are selected\n%m : list of the basename of the selected file(s)/folder(s) separated by space\n%M : list of the selected file(s)/folder(s) with their full path separated by space\n%u : gnome-vfs URI\n%s : scheme of the gnome-vfs URI\n%h : hostname of the gnome-vfs URI\n%U : username of the gnome-vfs URI\n%% : a percent sign")
 
79
#define ACTION_PARAMS_DESC_LONG         _("The parameters of the command to start when the user selects the menu item in the Nautilus popup menu.\n\nThe parameters can contain some special tokens which are replaced by Nautilus information before starting the command:\n\n%d: base folder of the selected file(s)\n%f: the name of the selected file or the first one if many are selected\n%m: space-separated list of the basenames of the selected file(s)/folder(s)\n%M: space-separated list of the selected file(s)/folder(s), with their full paths\n%u: GnomeVFS URI\n%s: scheme of the GnomeVFS URI\n%h: hostname of the GnomeVFS URI\n%U: username of the :%s/GnomeVFS URI\n%%: a percent sign")
74
80
#define ACTION_BASENAMES_DESC_SHORT     _("The list of pattern to match the selected file(s)/folder(s)")
75
 
#define ACTION_BASENAMES_DESC_LONG      _("A list of strings with joker '*' or '?' to match the selected file(s)/folder(s). Each selected items must match at least one of the pattern for the action to appear")
 
81
#define ACTION_BASENAMES_DESC_LONG      _("A list of strings with joker '*' or '?' to match the name of the selected file(s)/folder(s). Each selected items must match at least one of the filename patterns for the action to appear")
 
82
#define ACTION_MATCHCASE_DESC_SHORT _("'true' if the filename patterns have to be case sensitive, 'false' otherwise")
 
83
#define ACTION_MATCHCASE_DESC_LONG      _("If you need to match a filename in a case-sensitive manner, set this key to 'true'. If you also want, for example '*.jpg' to match 'photo.JPG', set 'false'")
 
84
#define ACTION_MIMETYPES_DESC_SHORT     _("The list of patterns to match the mimetypes of the selected file(s)")
 
85
#define ACTION_MIMETYPES_DESC_LONG      _("A list of strings with joker '*' or '?' to match the mimetypes of the selected file(s). Each selected items must match at least one of the mimetype patterns for the action to appear")
76
86
/* i18n notes : Sorry for this long paragraph, will try to fix it in the next release */
77
 
#define ACTION_ISFILE_ISDIR_COMBINAITION_DESC_LONG N_("Here are the valid combinations :\n\n- 'isfile' is 'true' and 'isdir' is 'false' : the selection must holds only files\n- 'isfile' is 'false' and 'isdir' is 'true' : the selection must holds only folders\n- 'isfile' is 'true' and 'isdir' is 'true' : the selection can holds both files and folders\n- 'isfile' is 'false' and 'isdir' is 'false' : invalid combination")
 
87
#define ACTION_ISFILE_ISDIR_COMBINAITION_DESC_LONG N_("The valid combinations are:\n\nisfile=TRUE and isdir=FALSE: the selection may hold only files\nisfile=FALSE and isdir=TRUE: the selection may hold only folders\nisfile=TRUE and isdir=TRUE': the selection may hold both files and folders\nisfile=FALSE and isdir=FALSE: this is an invalid combination (your configuration will never appear)")
78
88
#define ACTION_ISFILE_DESC_SHORT                _("'true' if the selection can have files, 'false' otherwise")
79
 
#define ACTION_ISFILE_DESC_LONG         N_("This setting is tied with the 'isdir' setting. ") ACTION_ISFILE_ISDIR_COMBINAITION_DESC_LONG 
 
89
#define ACTION_ISFILE_DESC_LONG         N_("This setting is tied in with the 'isdir' setting. ") ACTION_ISFILE_ISDIR_COMBINAITION_DESC_LONG 
80
90
#define ACTION_ISDIR_DESC_SHORT         _("'true' if the selection can have folders, 'false' otherwise")
81
 
#define ACTION_ISDIR_DESC_LONG          N_("This setting is tied with the 'isfile' setting. ") ACTION_ISFILE_ISDIR_COMBINAITION_DESC_LONG
 
91
#define ACTION_ISDIR_DESC_LONG          N_("This setting is tied in with the 'isfile' setting. ") ACTION_ISFILE_ISDIR_COMBINAITION_DESC_LONG
82
92
#define ACTION_MULTIPLE_DESC_SHORT      _("'true' if the selection can have several items, 'false' otherwise")
83
 
#define ACTION_MULTIPLE_DESC_LONG       _("If you need one or more files or folders to be selected, set 'true' to this key. If you want just one file or folder, set 'false'")
 
93
#define ACTION_MULTIPLE_DESC_LONG       _("If you need one or more files or folders to be selected, set this key to 'true'. If you want just one file or folder, set 'false'")
84
94
#define ACTION_SCHEMES_DESC_SHORT       _("The list of GnomeVFS schemes where the selected files should be located")
85
95
/* i18n notes : Sorry for this long paragraph, will try to fix it in the next release */
86
 
#define ACTION_SCHEMES_DESC_LONG                _("Defines the list of valid GnomeVFS scheme to match the selected items. The GnomeVFS scheme is the protocol used to access the files. The keyword to use is the one use in GnomeVFS URI.\n\nExample of GnomeVFS URI : \nfile:///tmp/foo.txt\nsftp:///root@test.example.net/tmp/foo.txt\n\nThe most common schemes are :\n\n'file' : local files\n'sftp' : files accessed via SSH\n'ftp' : files accessed via FTP\n'smb' : files accessed via Samba (Windows share)\n'dav' : files accessed via WebDav\n\nAll GnomeVFS scheme use by Nautilus can be used here.")
 
96
#define ACTION_SCHEMES_DESC_LONG                _("Defines the list of valid GnomeVFS schemes to be matched against the selected items. The GnomeVFS scheme is the protocol used to access the files. The keyword to use is the one used in the GnomeVFS URI.\n\nExamples of GnomeVFS URI include: \nfile:///tmp/foo.txt\nsftp:///root@test.example.net/tmp/foo.txt\n\nThe most common schemes are:\n\n'file': local files\n'sftp': files accessed via SSH\n'ftp': files accessed via FTP\n'smb': files accessed via Samba (Windows share)\n'dav': files accessed via WebDav\n\nAll GnomeVFS schemes used by Nautilus can be used here.")
87
97
#define ACTION_VERSION_DESC_SHORT       _("The version of the configuration format")
88
98
#define ACTION_VERSION_DESC_LONG                _("The version of the configuration format that will be used to manage backward compatibility")