Commit e212d452 authored by Rafael Fontenelle's avatar Rafael Fontenelle 🇧🇷 Committed by Pierre Wieser

Take advantage of Unicode characters

Fix #779443.
parent 194f4efc
......@@ -56,7 +56,7 @@ static NAExporterFormatStr st_format_ask = {
};
/* i18n: FMAIExporter is an interface name, do not even try to translate */
#define NO_IMPLEMENTATION_MSG N_( "No FMAIExporter implementation found for '%s' format." )
#define NO_IMPLEMENTATION_MSG N_( "No FMAIExporter implementation found for “%s” format." )
static GList *exporter_get_formats( const FMAIExporter *exporter );
static void exporter_free_formats( const FMAIExporter *exporter, GList * str_list );
......@@ -300,7 +300,7 @@ fma_exporter_to_buffer( const FMAPivot *pivot,
} else {
name = exporter_get_name( exporter );
/* i18n: FMAIExporter is an interface name, do not even try to translate */
msg = g_strdup_printf( _( "%s FMAIExporter doesn't implement 'to_buffer' interface." ), name );
msg = g_strdup_printf( _( "%s FMAIExporter doesn’t implement “to_buffer” interface." ), name );
*messages = g_slist_append( *messages, msg );
g_free( name );
}
......@@ -373,7 +373,7 @@ fma_exporter_to_file( const FMAPivot *pivot,
} else {
name = exporter_get_name( exporter );
/* i18n: FMAIExporter is an interface name, do not even try to translate */
msg = g_strdup_printf( _( "%s FMAIExporter doesn't implement 'to_file' interface." ), name );
msg = g_strdup_printf( _( "%s FMAIExporter doesn’t implement “to_file” interface." ), name );
*messages = g_slist_append( *messages, msg );
g_free( name );
}
......
......@@ -49,14 +49,14 @@ FMADataDef data_def_conditions [] = {
TRUE,
TRUE,
N_( "List of patterns to be matched against the selected file(s)/folder(s)" ),
/* i18n: wildcard characters '*' and '?' should be considered as literals,
/* i18n: wildcard characters “*” and “?” should be considered as literals,
* and not be translated */
N_( "A list of strings with joker '*' or '?' to be matched against the name(s) " \
N_( "A list of strings with joker “*” or “?” to be matched against the name(s) " \
"of the selected file(s)/folder(s). Each selected item must match at least " \
"one of the filename patterns for the action or the menu be candidate to " \
"display.\n" \
"This obviously only applies when there is a selection.\n" \
"Defaults to '*'." ),
"Defaults to “*”." ),
FMA_DATA_TYPE_STRING_LIST,
"*",
FALSE,
......@@ -70,7 +70,7 @@ FMADataDef data_def_conditions [] = {
"basename",
0,
G_OPTION_ARG_STRING_ARRAY,
/* i18n: wildcard characters '*' and '?' should be considered as literalls,
/* i18n: wildcard characters “*” and “?” should be considered as literalls,
* and not be translated */
N_( "A pattern to be matched against basenames of selected file(s)/folder(s). " \
"May include wildcards (* or ?). " \
......@@ -84,13 +84,13 @@ FMADataDef data_def_conditions [] = {
TRUE,
TRUE,
N_( "Whether the specified basenames are case sensitive (default)" ),
/* i18n: 'true' and 'false' values are taken literally, and should not be translated */
N_( "Must be set to 'true' if the filename patterns are case sensitive, to 'false' " \
/* i18n: “true” and “false” values are taken literally, and should not be translated */
N_( "Must be set to “true” if the filename patterns are case sensitive, to “false” " \
"otherwise. E.g., 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', " \
"then set 'false'.\n" \
"set this key to “true”. If you also want, for example “*.jpg” to match “photo.JPG”, " \
"then set “false”.\n" \
"This obviously only applies when there is a selection.\n" \
"Defaults to 'true'." ),
"Defaults to “true”." ),
FMA_DATA_TYPE_BOOLEAN,
"true",
FALSE,
......@@ -112,12 +112,12 @@ FMADataDef data_def_conditions [] = {
TRUE,
TRUE,
N_( "List of patterns to be matched against the mimetypes of the selected file(s)/folder(s)" ),
/* i18n: wildcard character '*' is taken literally, and should not be translated */
N_( "A list of strings with joker '*' to be matched against the mimetypes of the " \
/* i18n: wildcard character “*” is taken literally, and should not be translated */
N_( "A list of strings with joker “*” to be matched against the mimetypes of the " \
"selected file(s)/folder(s). Each selected item must match at least one of " \
"the mimetype patterns for the action to appear.\n" \
"This obviously only applies when there is a selection.\n" \
"Defaults to '*/*'." ),
"Defaults to “*/*”." ),
FMA_DATA_TYPE_STRING_LIST,
"*",
FALSE,
......@@ -131,9 +131,9 @@ FMADataDef data_def_conditions [] = {
"mimetype",
0,
G_OPTION_ARG_STRING_ARRAY,
/* i18n: wildcard character '*' is taken literally, and should not be translated */
/* i18n: wildcard character “*” is taken literally, and should not be translated */
N_( "A pattern to be matched against mimetypes of selected file(s)/folder(s). " \
"May include the asterisk wildcard '*'. " \
"May include the asterisk wildcard “*”. " \
"You must set one option for each pattern you need" ),
/* i18n: "<EXPR>" is just an abbreviation for "an expression", so is tranlatable */
N_( "<EXPR>" ) },
......@@ -150,7 +150,7 @@ FMADataDef data_def_conditions [] = {
FALSE,
TRUE,
"Does the mimetypes list is generic ?",
"The generic wildcard may be coded as '*', or '*/*' or 'all' or 'all/*' or 'all/all'. "
"The generic wildcard may be coded as “*”, or '*/*' or 'all' or 'all/*' or 'all/all'. "
"In each case, we will try to spend as less time as possible to check " \
"selection mimetypes",
FMA_DATA_TYPE_BOOLEAN,
......@@ -177,16 +177,16 @@ FMADataDef data_def_conditions [] = {
FALSE,
FALSE,
N_( "Whether the profile applies to files (deprecated option, see mimetype)" ),
/* i18n: 'true' and 'false' values are taken literally, and should not be translated */
N_( "Set to 'true' if the selection can have files, to 'false' otherwise.\n" \
"This setting is tied in with the 'isdir' setting. The valid combinations are: \n" \
"isfile='true' and isdir='false': the selection may hold only files\n" \
"isfile='false' and isdir='true': the selection may hold only folders\n" \
"isfile='true' and isdir='true': the selection may hold both files and folders\n" \
"isfile='false' and isdir='false': this is an invalid combination " \
/* i18n: “true” and “false” values are taken literally, and should not be translated */
N_( "Set to “true” if the selection can have files, to “false” otherwise.\n" \
"This setting is tied in with the “isdir” setting. The valid combinations are: \n" \
"isfile=“true” and isdir=“false”: the selection may hold only files\n" \
"isfile=“false” and isdir=“true”: the selection may hold only folders\n" \
"isfile=“true” and isdir=“true”: the selection may hold both files and folders\n" \
"isfile=“false” and isdir=“false”: this is an invalid combination " \
"(your configuration will never appear).\n" \
"This obviously only applies when there is a selection.\n" \
"Defaults to 'true'." ),
"Defaults to “true”." ),
FMA_DATA_TYPE_BOOLEAN,
"true",
FALSE,
......@@ -208,16 +208,16 @@ FMADataDef data_def_conditions [] = {
FALSE,
FALSE,
N_( "Whether the profile applies to folders (deprecated option, see mimetype)" ),
/* i18n: 'true' and 'false' values are taken literally, and should not be translated */
N_( "Set to 'true' if the selection can have folders, to 'false' otherwise.\n" \
"This setting is tied in with the 'isfile' setting. The valid combinations are: \n" \
"isfile='true' and isdir='false': the selection may hold only files\n" \
"isfile='false' and isdir='true': the selection may hold only folders\n" \
"isfile='true' and isdir='true': the selection may hold both files and folders\n" \
"isfile='false' and isdir='false': this is an invalid combination " \
/* i18n: “true” and “false” values are taken literally, and should not be translated */
N_( "Set to “true” if the selection can have folders, to “false” otherwise.\n" \
"This setting is tied in with the “isfile” setting. The valid combinations are: \n" \
"isfile=“true” and isdir=“false”: the selection may hold only files\n" \
"isfile=“false” and isdir=“true”: the selection may hold only folders\n" \
"isfile=“true” and isdir=“true”: the selection may hold both files and folders\n" \
"isfile=“false” and isdir=“false”: this is an invalid combination " \
"(your configuration will never appear).\n" \
"This obviously only applies when there is a selection.\n" \
"Defaults to 'false'." ),
"Defaults to “false”." ),
FMA_DATA_TYPE_BOOLEAN,
"false",
FALSE,
......@@ -242,11 +242,11 @@ FMADataDef data_def_conditions [] = {
FALSE,
FALSE,
N_( "Whether the selection may be multiple (deprecated option, see selection count)" ),
/* i18n: 'true' and 'false' values are taken literally, and should not be translated */
/* i18n: “true” and “false” values are taken literally, and should not be translated */
N_( "If you need more than one files or folders to be selected, set this " \
"key to 'true'. If you want just one file or folder, set it to 'false'.\n" \
"key to “true”. If you want just one file or folder, set it to “false”.\n" \
"This obviously only applies when there is a selection.\n" \
"Defaults to 'false'." ),
"Defaults to “false”." ),
FMA_DATA_TYPE_BOOLEAN,
"false",
FALSE,
......@@ -275,18 +275,18 @@ FMADataDef data_def_conditions [] = {
"items. The scheme is the protocol used to access the files. The " \
"keyword to use is the one used in the URI by the file manager.\n" \
"Examples of valid URI include:\n" \
"- file:///tmp/foo.txt\n" \
"- sftp:///root@test.example.net/tmp/foo.txt\n" \
" file:///tmp/foo.txt\n" \
" sftp:///root@test.example.net/tmp/foo.txt\n" \
"The most common schemes are:\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" \
"• “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" \
"All schemes used by your favorite file manager may be used here.\n" \
"This obviously only applies when there is a selection, " \
"or when targeting the special 'x-nautilus-desktop' scheme.\n" \
"Defaults to 'file'." ),
"or when targeting the special “x-nautilus-desktop” scheme.\n" \
"Defaults to “file”." ),
FMA_DATA_TYPE_STRING_LIST,
"*",
FALSE,
......@@ -311,8 +311,8 @@ FMADataDef data_def_conditions [] = {
TRUE,
N_( "List of folders" ),
N_( "Defines the list of valid paths to be matched against the current folder.\n " \
"All folders 'under' the specified path are considered valid.\n" \
"Defaults to '/'." ),
"All folders “under” the specified path are considered valid.\n" \
"Defaults to “/”." ),
FMA_DATA_TYPE_STRING_LIST,
"/",
FALSE,
......@@ -337,9 +337,9 @@ FMADataDef data_def_conditions [] = {
TRUE,
N_( "Operator of the selection count relation" ),
N_( "Whether this profile may be selected depending of the count of the selection.\n" \
"This is a string of the form \"{'<'|'='|'>'} number\".\n" \
"Examples of valid strings are: \"=0\", \"> 1\", \"< 10\".\n" \
"Defaults to \">0\"." ),
"This is a string of the form “{'<'|'='|'>'} number”.\n" \
"Examples of valid strings are: “=0”, “> 1”, “< 10”.\n" \
"Defaults to “>0”." ),
FMA_DATA_TYPE_STRING,
">0",
FALSE,
......@@ -413,7 +413,7 @@ FMADataDef data_def_conditions [] = {
/* i18n: TryExec is a keyword of the specification, it is not translatable */
N_( "Note that, when specified, only the presence and the executability status of " \
"the specified file are checked.\n" \
"Parameters may appear in 'TryExec' value, and will be substituted at runtime.\n" \
"Parameters may appear in “TryExec” value, and will be substituted at runtime.\n" \
"Defaults to successful." ),
FMA_DATA_TYPE_STRING,
"",
......@@ -440,7 +440,7 @@ FMADataDef data_def_conditions [] = {
/* i18n: ShowIfRegistered is a keyword of the specification, it is not translatable */
N_( "The well-known name of a DBus service.\n" \
"The item will be candidate if the named service is registered on session DBus at runtime.\n" \
"Parameters may appear in 'ShowIfRegistered' value, and will be substituted at runtime.\n" \
"Parameters may appear in “ShowIfRegistered” value, and will be substituted at runtime.\n" \
"Defaults to successful." ),
FMA_DATA_TYPE_STRING,
"",
......@@ -465,8 +465,8 @@ FMADataDef data_def_conditions [] = {
N_( "Show if True" ),
/* i18n: ShowIfTrue is a keyword of the specification, it is not translatable */
N_( "A command which, when executed, should output a string on stdout.\n" \
"The item will be candidate if the outputed string is equal to \"true\".\n" \
"Parameters may appear in 'ShowIfTrue' value, and will be substituted at runtime.\n" \
"The item will be candidate if the outputed string is equal to “true”.\n" \
"Parameters may appear in “ShowIfTrue” value, and will be substituted at runtime.\n" \
"Defaults to successful." ),
FMA_DATA_TYPE_STRING,
"",
......@@ -481,8 +481,8 @@ FMADataDef data_def_conditions [] = {
"show-if-true",
0,
G_OPTION_ARG_STRING,
/* i18n: 'true' is to be taken as a literal, must not be translated */
N_( "The path to a command which will display the 'true' string" ),
/* i18n: “true” is to be taken as a literal, must not be translated */
N_( "The path to a command which will display the “true” string" ),
N_( "<PATH>" ) },
{ FMAFO_DATA_SHOW_IF_RUNNING,
......@@ -493,7 +493,7 @@ FMADataDef data_def_conditions [] = {
/* i18n: ShowIfRunning is a keyword of the specification, it is not translatable */
N_( "The name of a process.\n" \
"The item will be candidate if the process name is found in memory at runtime.\n" \
"Parameters may appear in 'ShowIfRunning' value, and will be substituted at runtime.\n" \
"Parameters may appear in “ShowIfRunning” value, and will be substituted at runtime.\n" \
"Defaults to successful." ),
FMA_DATA_TYPE_STRING,
"",
......@@ -516,16 +516,16 @@ FMADataDef data_def_conditions [] = {
TRUE,
TRUE,
N_( "Capabilities" ),
/* i18n: 'Owner', 'Readable', 'Writable', 'Executable' and 'Local' are all keywords
/* i18n: “Owner”, “Readable”, “Writable”, “Executable” and “Local” are all keywords
* of the specification; they are not translatable */
N_( "A list of capabilities each item of the selection must satisfy in order for the item to be candidate.\n" \
"Capabilities may be negated.\n" \
"Capabilities have to be chosen between following predefined ones:\n" \
"- 'Owner': current user is the owner of selected items\n" \
"- 'Readable': selected items are readable by user (probably more usefull when negated)\n" \
"- 'Writable': selected items are writable by user\n" \
"- 'Executable': selected items are executable by user\n" \
"- 'Local': selected items are local.\n" \
"• “Owner”: current user is the owner of selected items\n" \
"• “Readable”: selected items are readable by user (probably more usefull when negated)\n" \
"• “Writable”: selected items are writable by user\n" \
"• “Executable”: selected items are executable by user\n" \
"• “Local”: selected items are local.\n" \
"Defaults to empty list." ),
FMA_DATA_TYPE_STRING_LIST,
"",
......@@ -541,7 +541,7 @@ FMADataDef data_def_conditions [] = {
0,
G_OPTION_ARG_STRING_ARRAY,
N_( "The name of a capability the selection must meet. "
"May be 'Owner', 'Readable', 'Writable', 'Executable' or 'Local'" ),
"May be “Owner”, “Readable”, “Writable”, “Executable” or “Local”" ),
N_( "<NAME>" ) },
{ NULL },
......
......@@ -266,8 +266,8 @@ import_ask_new( GtkWindow *parent )
} else {
toplevel = GTK_WINDOW( gtk_builder_get_object( builder, "ImporterAskDialog" ));
if( !toplevel ){
/* l10n: 'ImporterAskDialog' is the dialog name: do not translate */
gtk_message_dialog_new( parent, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _( "Unable to load 'ImporterAskDialog' from %s" ), st_uixml );
/* l10n: “ImporterAskDialog” is the dialog name: do not translate */
gtk_message_dialog_new( parent, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, _( "Unable to load “ImporterAskDialog” from %s" ), st_uixml );
g_object_unref( dialog );
dialog = NULL;
......@@ -396,13 +396,13 @@ initialize_window( FMAImporterAsk *editor, GtkWindow *toplevel )
if( FMA_IS_OBJECT_ACTION( editor->private->importing )){
/* i18n: The action <action_label> imported from <file> has the same id than <existing_label> */
label = g_strdup_printf(
_( "The action \"%s\" imported from \"%s\" has the same identifier than the already existing \"%s\"." ),
_( "The action “%s” imported from “%s” has the same identifier than the already existing “%s”." ),
imported_label, editor->private->parms->uri, existing_label );
} else {
/* i18n: The menu <menu_label> imported from <file> has the same id than <existing_label> */
label = g_strdup_printf(
_( "The menu \"%s\" imported from \"%s\" has the same identifier than the already existing \"%s\"." ),
_( "The menu “%s” imported from “%s” has the same identifier than the already existing “%s”." ),
imported_label, editor->private->parms->uri, existing_label );
}
......
......@@ -57,7 +57,7 @@ static FMAImportModeStr st_import_modes[] = {
"NoImport",
N_( "Do _not import the item" ),
N_( "This used to be the historical behavior.\n" \
"The selected file will be marked as \"NOT OK\" in the Summary page.\n" \
"The selected file will be marked as “NOT OK” in the Summary page.\n" \
"The existing item will not be modified." ),
"fma-import-mode-no-import.png" },
......@@ -97,7 +97,7 @@ static guint ask_user_for_mode( const FMAObjectItem *importing, con
static guint get_id_from_string( const gchar *str );
static FMAIOption *get_mode_from_struct( const FMAImportModeStr *str );
/* i18n: '%s' stands for the file URI */
/* i18n: “%s” stands for the file URI */
#define ERR_NOT_LOADABLE _( "%s is not loadable (empty or too big or not a regular file)" )
/*
......
......@@ -325,7 +325,7 @@ fma_object_id_set_copy_of_label( FMAObjectId *object )
label = fma_object_get_label( object );
/* i18n: copied items have a label as 'Copy of original label' */
/* i18n: copied items have a label as “Copy of original label” */
new_label = g_strdup_printf( _( "Copy of %s" ), label );
fma_object_set_label( object, new_label );
......
......@@ -64,8 +64,8 @@ FMADataDef data_def_item [] = {
FALSE,
N_( "Type of the item" ),
N_( "Defines if the item is an action or a menu. Possible values are :\n" \
"- 'Action',\n" \
"- 'Menu'.\n" \
"• “Action”,\n" \
"• “Menu”.\n" \
"The value is case sensitive and must not be localized." ),
FMA_DATA_TYPE_STRING,
NULL,
......@@ -216,7 +216,7 @@ FMADataDef data_def_item [] = {
"Please note that this might be only a suggestion as the shortcut may " \
"be already reserved for another use. Implementation should not override " \
"an already existing shortcut to define this one.\n" \
"The format may look like \"<Control>a\" or \"<Shift><Alt>F1\".\n" \
"The format may look like “<Control>a” or “<Shift><Alt>F1”.\n" \
"Defaults to empty." ),
FMA_DATA_TYPE_STRING,
"",
......@@ -268,7 +268,7 @@ FMADataDef data_def_item [] = {
N_( "List of subitem ids" ),
N_( "Ordered list of the IDs of the subitems. This may be actions or menus " \
"if the item is a menu, or profiles if the item is an action.\n" \
"If this list doesn't exist or is empty for an action or a menu, " \
"If this list doesnt exist or is empty for an action or a menu, " \
"subitems are attached in the order of the read operations." ),
FMA_DATA_TYPE_STRING_LIST,
NULL,
......
......@@ -130,7 +130,7 @@ static FMADataDef data_def_profile [] = {
"item in the file manager context menu or in the toolbar.\n" \
"The parameters may contain some special tokens which are replaced by the " \
"informations provided by the file manager before starting the command:\n" \
"- up to version 2.0:\n" \
" up to version 2.0:\n" \
" %d: base folder of the selected file(s)\n" \
" %f: the name of the selected file or the first one if several are selected\n" \
" %h: hostname of the URI\n" \
......@@ -142,7 +142,7 @@ static FMADataDef data_def_profile [] = {
" %u: URI\n" \
" %U: username of the URI\n" \
" %%: a percent sign.\n" \
"- starting from version 3:\n" \
" starting from version 3:\n" \
" %b: (first) basename\n" \
" %B: space-separated list of the basenames of the selected file(s)/folder(s)\n" \
" %c: count the selected file(s)/folder(s)\n" \
......@@ -187,7 +187,7 @@ static FMADataDef data_def_profile [] = {
TRUE,
N_( "Working directory" ),
N_( "The working directory the command will be started in.\n" \
"Defaults to \"%d\"." ),
"Defaults to “%d”." ),
FMA_DATA_TYPE_STRING,
"%d",
FALSE,
......@@ -209,15 +209,15 @@ static FMADataDef data_def_profile [] = {
TRUE,
TRUE,
N_( "Execution mode" ),
/* i18n: 'Normal', 'Terminal', 'Embedded' and 'DisplayOutput' are non-translatable keywords */
/* i18n: “Normal”, “Terminal”, “Embedded” and “DisplayOutput” are non-translatable keywords */
N_( "Execution mode of the program.\n" \
"This may be chosen between following values:\n" \
"- Normal: starts as a standard graphical user interface\n" \
"- Terminal: starts the preferred terminal of the graphical environment, " \
"• “Normal”: starts as a standard graphical user interface\n" \
"• “Terminal”: starts the preferred terminal of the graphical environment, " \
"and runs the command in it\n" \
"- Embedded: makes use of a special feature of the file manager which allows " \
"• “Embedded”: makes use of a special feature of the file manager which allows " \
"a terminal to be ran inside of it; an acceptable fallback is Terminal\n" \
"- DisplayOutput: the ran terminal may be closed at end of the command, but " \
"• “DisplayOutput”: the ran terminal may be closed at end of the command, but " \
"standard streams (stdout, stderr) should be collected and displayed; " \
"an acceptable fallback is Terminal.\n" \
"Defaults to \"Normal\"." ),
......
......@@ -61,9 +61,9 @@ static sExportFormat st_desktop_formats[] = {
"as long as their own application implements the DES-EMA specification " \
"which describes this format.\n" \
"The exported .desktop file may later be imported via :\n" \
"- Import assistant of the FileManager-Actions Configuration Tool,\n" \
"- drag-n-drop into the FileManager-Actions Configuration Tool,\n" \
"- or by copying it into a XDG_DATA_DIRS/file-manager/actions directory." ),
" Import assistant of the FileManager-Actions Configuration Tool,\n" \
" drag-n-drop into the FileManager-Actions Configuration Tool,\n" \
" or by copying it into a XDG_DATA_DIRS/file-manager/actions directory." ),
"fma-desktop-export.png" },
{ NULL }
......
......@@ -288,7 +288,7 @@ item_from_desktop_file( const FMADesktopProvider *provider, FMADesktopFile *ndf,
item = FMA_IFACTORY_OBJECT( fma_object_menu_new());
} else {
/* i18n: 'type' is the nature of the item: Action or Menu */
/* i18n: “type” is the nature of the item: Action or Menu */
fma_core_utils_slist_add_message( messages, _( "unknown type: %s" ), type );
}
......
......@@ -55,9 +55,9 @@ static NaxmlExportFormat fma_xml_formats[] = {
N_( "Export as a _full GConf schema file" ),
N_( "This used to be the historical export format.\n" \
"The exported schema file may later be imported via :\n" \
"- Import assistant of the FileManager-Actions Configuration Tool,\n" \
"- drag-n-drop into the FileManager-Actions Configuration Tool,\n" \
"- or via the gconftool-2 --import-schema-file command-line tool." ),
" Import assistant of the FileManager-Actions Configuration Tool,\n" \
" drag-n-drop into the FileManager-Actions Configuration Tool,\n" \
" or via the gconftool-2 --import-schema-file command-line tool." ),
"fma-xml-export-schemas-v1.png" },
/* GCONF_SCHEMA_V2: the lightest schema still compatible with gconftool-2 --install-schema-file
......@@ -70,9 +70,9 @@ static NaxmlExportFormat fma_xml_formats[] = {
"while keeping backward compatibility with the FileManager-Actions Configuration " \
"Tool oldest versions.\n"
"The exported schema file may later be imported via :\n" \
"- Import assistant of the FileManager-Actions Configuration Tool,\n" \
"- drag-n-drop into the FileManager-Actions Configuration Tool,\n" \
"- or via the gconftool-2 --import-schema-file command-line tool." ),
" Import assistant of the FileManager-Actions Configuration Tool,\n" \
" drag-n-drop into the FileManager-Actions Configuration Tool,\n" \
" or via the gconftool-2 --import-schema-file command-line tool." ),
"fma-xml-export-schemas-v2.png" },
/* GCONF_ENTRY: not a schema, but a dump of the GConf entry
......@@ -85,9 +85,9 @@ static NaxmlExportFormat fma_xml_formats[] = {
"Configuration Tool versions previous to 1.11, " \
"it may still be imported via standard GConf command-line tools.\n" \
"The exported dump file may later be imported via :\n" \
"- Import assistant of the FileManager-Actions Configuration Tool (1.11 and above),\n" \
"- drag-n-drop into the FileManager-Actions Configuration Tool (1.11 and above),\n" \
"- or via the gconftool-2 --load command-line tool." ),
" Import assistant of the FileManager-Actions Configuration Tool (1.11 and above),\n" \
" drag-n-drop into the FileManager-Actions Configuration Tool (1.11 and above),\n" \
" or via the gconftool-2 --load command-line tool." ),
"fma-xml-export-dump.png" },
{ NULL }
......
......@@ -149,7 +149,7 @@ static RootNodeStr st_root_node_str[] = {
#define ERR_NODE_ALREADY_FOUND _( "Element %s at line %d already found, ignored." )
#define ERR_NODE_INVALID_ID _( "Invalid item ID: waited for %s, found %s at line %d." )
#define ERR_NODE_UNKNOWN _( "Unknown element %s found at line %d while waiting for %s." )
/* i18n: do not translate keywords 'Action' nor 'Menu' */
/* i18n: do not translate keywords “Action” nor “Menu” */
#define ERR_NODE_UNKNOWN_TYPE _( "Unknown type %s found at line %d, while waiting for Action or Menu." )
#define ERR_NOT_IOXML _( "The XML I/O Provider is not able to handle the URI" )
......
......@@ -143,7 +143,7 @@ class_init( BaseAssistantClass *klass )
g_param_spec_boolean(
BASE_PROP_QUIT_ON_ESCAPE,
_( "Quit on Escape" ),
_( "Should the assistant 'Quit' when the user hits Escape ?" ),
_( "Should the assistant “Quit” when the user hits Escape ?" ),
FALSE,
G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE ));
......
......@@ -185,7 +185,7 @@ egg_desktop_file_new_from_key_file (GKeyFile *key_file,
{
g_set_error (error, EGG_DESKTOP_FILE_ERROR,
EGG_DESKTOP_FILE_ERROR_INVALID,
_("Unrecognized desktop file Version '%s'"), version);
_("Unrecognized desktop file Version “%s”"), version);
g_free (version);
g_key_file_free (key_file);
return NULL;
......@@ -1362,7 +1362,7 @@ egg_desktop_file_launch (EggDesktopFile *desktop_file,
{
g_set_error (error, EGG_DESKTOP_FILE_ERROR,
EGG_DESKTOP_FILE_ERROR_NOT_LAUNCHABLE,
_("Can't pass document URIs to a 'Type=Link' desktop entry"));
_("Can’t pass document URIs to a “Type=Link” desktop entry"));
return FALSE;
}
......
......@@ -158,11 +158,11 @@
<attribute name="label" translatable="yes">_Tools</attribute>
<section>
<item>
<attribute name="label" translatable="yes">_Import assistant...</attribute>
<attribute name="label" translatable="yes">_Import assistant</attribute>
<attribute name="action">win.import</attribute>
</item>
<item>
<attribute name="label" translatable="yes">E_xport assistant...</attribute>
<attribute name="label" translatable="yes">E_xport assistant</attribute>
<attribute name="action">win.export</attribute>
</item>
</section>
......
......@@ -384,10 +384,10 @@ on_base_initialize_window( FMAExportAsk *editor, gpointer user_data )
if( FMA_IS_OBJECT_ACTION( priv->item )){
/* i18n: The action <label> is about to be exported */
label = g_strdup_printf( _( "The action \"%s\" is about to be exported." ), item_label );
label = g_strdup_printf( _( "The action “%s” is about to be exported." ), item_label );
} else {
/* i18n: The menu <label> is about to be exported */
label = g_strdup_printf( _( "The menu \"%s\" is about to be exported." ), item_label );
label = g_strdup_printf( _( "The menu “%s” is about to be exported." ), item_label );
}
widget = base_window_get_widget( BASE_WINDOW( editor ), "ExportAskLabel" );
......
......@@ -239,7 +239,7 @@ on_browse_folder_clicked( GtkButton *button, FMAIFoldersTab *instance )
uri = NULL;
/* i18n: title of the FileChoose dialog when selecting an URI which
* will be compare to Nautilus 'current_folder'
* will be compare to Nautilus “current_folder”
*/
dialog = gtk_file_chooser_dialog_new( _( "Select a folder" ),
GTK_WINDOW( instance ),
......
......@@ -360,7 +360,7 @@ In this case, the defined conditions will be applied to the current folder, and
</child>
<child>
<object class="GtkButton" id="ActionIconBrowseButton">
<property name="label" translatable="yes">_Browse...</property>
<property name="label" translatable="yes">_Browse</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -896,7 +896,7 @@ An acceptable fallback is running in the standard terminal.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">When checked, it is known that the run command will send a "remove" message to the desktop environment.
<property name="tooltip_text" translatable="yes">When checked, it is known that the run command will send a “remove” message to the desktop environment.
See the Startup Notification Protocol Specification for more details.
Only relevant when chosen execution mode is Normal.</property>
<property name="use_underline">True</property>
......@@ -1057,7 +1057,7 @@ Leave the field empty to run the command as the current user.</property>
<object class="GtkLabel" id="label411">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">The current item will appear if the basename of each element of the selection matches one filter of the 'Must match one of' column, while not matching any of the filters of the 'Must not match any of' column.</property>
<property name="label" translatable="yes">The current item will appear if the basename of each element of the selection matches one filter of the “Must match one of” column, while not matching any of the filters of the “Must not match any of” column.</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
......@@ -1076,7 +1076,7 @@ Leave the field empty to run the command as the current user.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">This list lets you determine for which basenames the currently selected item will be displayed in the Nautilus context menu.
Basenames may use '*' and '?' wildcards.
Basenames may use “*” and “?” wildcards.
Basenames may be negated to specify for which basenames your item must not appear.</property>
<property name="hexpand">True</property>
<property name="shadow_type">in</property>
......@@ -1235,7 +1235,7 @@ Basenames may be negated to specify for which basenames your item must not appea
<object class="GtkLabel" id="label511">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">The current item will appear if the mimetype of each element of the selection matches one filter of the 'Must match one of' column, while not matching any of the filters of the 'Must not match any of' column.</property>
<property name="label" translatable="yes">The current item will appear if the mimetype of each element of the selection matches one filter of the “Must match one of” column, while not matching any of the filters of the “Must not match any of” column.</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
......@@ -1255,7 +1255,7 @@ Basenames may be negated to specify for which basenames your item must not appea
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">This list lets you determine for which mimetypes the currently selected item will be displayed in the Nautilus context menu.
Mimetypes may be specified as '*', '*/*', 'group/*' or 'group/subgroup'.
Mimetypes may be specified as “*”, “*/*”, “group/*” or “group/subgroup”.
Mimetypes may be negated to specify for which type of objects your item must not appear.</property>
<property name="shadow_type">in</property>
<child>
......@@ -1356,7 +1356,7 @@ Mimetypes may be negated to specify for which type of objects your item must not
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">This tab lets you determine for which mimetypes the currently selected item will be displayed in the Nautilus context menu.
Mimetypes may be specified as '*', '/*', 'group/*' or 'group/subgroup'.
Mimetypes may be specified as “*”, “/*”, “group/*” or “group/subgroup”.
Mimetypes may be negated to specify for which type of objects your item must not appear.</property>
<property name="label" translatable="yes">_Mimetypes</property>
<property name="use_underline">True</property>
......@@ -1394,7 +1394,7 @@ Mimetypes may be negated to specify for which type of objects your item must not
<object class="GtkLabel" id="label611">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">The current item will appear if the location of each element of the selection is one or inside one of the paths of the 'Must match one of' column, while not being one or inside one of the 'Must not match any of' column.</property>
<property name="label" translatable="yes">The current item will appear if the location of each element of the selection is one or inside one of the paths of the “Must match one of” column, while not being one or inside one of the “Must not match any of” column.</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
......@@ -1409,7 +1409,7 @@ Mimetypes may be negated to specify for which type of objects your item must not
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">This list lets you determine where (in which folders) the currently selected files must be found in order for the item to be displayed in the Nautilus context menu.
Folders may use '*' or '?' wildcards.
Folders may use “*” or “?” wildcards.
Folder filters may be negated to specify for which folders your item must not appear.</property>
<property name="shadow_type">in</property>
<child>
......@@ -1553,7 +1553,7 @@ Folder filters may be negated to specify for which folders your item must not ap
<object class="GtkLabel" id="label711">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">The current item will appear if the scheme of each element of the selection matches one of the 'Must match one of' column, while not matching any of the 'Must not match any of' column.</property>
<property name="label" translatable="yes">The current item will appear if the scheme of each element of the selection matches one of the “Must match one of” column, while not matching any of the “Must not match any of” column.</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
......@@ -1615,7 +1615,7 @@ Filters may be negated to specify for which schemes your item must not appear.</
</child>
<child>
<object class="GtkButton" id="AddFromDefaultButton">
<property name="label" translatable="yes">De_faults...</property>
<property name="label" translatable="yes">De_faults</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -1713,7 +1713,7 @@ Filters may be negated to specify for which schemes your item must not appear.</
<object class="GtkLabel" id="label77">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">The current item will appear if each element of the selection matches all capabilities of the 'Must match all of' column, while not matching any capability of the 'Must not match any of' column.</property>
<property name="label" translatable="yes">The current item will appear if each element of the selection matches all capabilities of the “Must match all of” column, while not matching any capability of the “Must not match any of” column.</property>
<property name="wrap">True</property>
<property name="xalign">0</property>
</object>
......@@ -2101,7 +2101,7 @@ Filters may be negated to specify for which capabilities your item must not appe
<object class="GtkLabel" id="label57">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Appears if the command outputs "_true" :</property>
<property name="label" translatable="yes">Appears if the command outputs “_true” :</property>
<property name="use_underline">True</property>
<property name="xalign">1</property>
</object>
......@@ -2130,7 +2130,7 @@ Filters may be negated to specify for which capabilities your item must not appe
<property name="column_spacing">2</property>
<child>
<object class="GtkButton" id="TryExecButton">
<property name="label" translatable="yes">Bro_wse...</property>
<property name="label" translatable="yes">Bro_wse</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -2206,7 +2206,7 @@ This may be used for example for testing that a prerequisite service is currentl
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">This is an advanced condition based on a runtime result.
Enter here a command which is able to display the exact "true" string on its standard output.
Enter here a command which is able to display the exact “true” string on its standard output.
This may be used for example for testing a complex condition.</property>
<property name="hexpand">True</property>
<property name="invisible_char"></property>
......@@ -2239,7 +2239,7 @@ This may be used for example for testing a complex condition.</property>
<property name="column_spacing">2</property>
<child>
<object class="GtkButton" id="ShowIfRunningButton">
<property name="label" translatable="yes">Brow_se...</property>
<property name="label" translatable="yes">Brow_se</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -2472,7 +2472,7 @@ Note: this is not yet implemented in FileManager-Actions.</property>
<property name="focus_on_click">False</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">This box is checked if the item cannot be edited.
There may be multiple reasons for why an item cannot be edited. See your User's Manual.</property>
There may be multiple reasons for why an item cannot be edited. See your Users Manual.</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>
......
......@@ -476,7 +476,7 @@ on_filter_edited( GtkCellRendererText *renderer, const gchar *path_str, const gc
dialog = gtk_message_dialog_new(
GTK_WINDOW( data->window ),
GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
_( "'%s' filter already exists in the list.\nPlease provide another one." ), text );
_( "“%s” filter already exists in the list.\nPlease provide another one." ), text );
gtk_dialog_run( GTK_DIALOG( dialog ));
gtk_widget_destroy( dialog );
......