[tracker] Use Unicode in translatable strings
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Use Unicode in translatable strings
- Date: Sun, 9 Oct 2016 14:18:33 +0000 (UTC)
commit 738644d8b7eea6ed3f1392a0f3c222480efd8e1e
Author: Piotr Drąg <piotrdrag gmail com>
Date: Thu Oct 6 03:47:52 2016 +0200
Use Unicode in translatable strings
See https://developer.gnome.org/hig/stable/typography.html
src/libtracker-data/tracker-data-backup.c | 6 ++--
.../org.freedesktop.Tracker.FTS.gschema.xml.in | 6 ++--
src/miners/apps/tracker-main.c | 2 +-
....freedesktop.Tracker.Miner.Files.gschema.xml.in | 4 +-
src/miners/fs/tracker-main.c | 6 ++--
src/miners/rss/tracker-main.c | 2 +-
src/miners/user-guides/tracker-main.c | 2 +-
src/tracker-extract/tracker-main.c | 8 +++---
src/tracker-needle/tracker-needle.desktop.in.in | 2 +-
src/tracker-preferences/tracker-preferences.ui | 2 +-
src/tracker-store/tracker-main.vala | 2 +-
src/tracker-writeback/tracker-main.c | 2 +-
src/tracker/tracker-daemon.c | 22 ++++++++++----------
src/tracker/tracker-extract.c | 6 ++--
src/tracker/tracker-help.c | 4 +-
src/tracker/tracker-info.c | 2 +-
src/tracker/tracker-main.c | 4 +-
src/tracker/tracker-process.c | 10 ++++----
src/tracker/tracker-reset.c | 2 +-
src/tracker/tracker-search.c | 4 +-
src/tracker/tracker-sparql.c | 2 +-
src/tracker/tracker-tag.c | 4 +-
22 files changed, 52 insertions(+), 52 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-backup.c b/src/libtracker-data/tracker-data-backup.c
index 1d6d4b9..691b7b6 100644
--- a/src/libtracker-data/tracker-data-backup.c
+++ b/src/libtracker-data/tracker-data-backup.c
@@ -497,7 +497,7 @@ tracker_data_backup_save (GFile *destination,
TRACKER_DATA_BACKUP_ERROR,
TRACKER_DATA_BACKUP_ERROR_UNKNOWN,
"%s, %s",
- _("Error starting 'tar' program"),
+ _("Error starting “tar” program"),
local_error ? local_error->message : _("No error given"));
g_warning ("%s", error->message);
@@ -617,7 +617,7 @@ tracker_data_backup_restore (GFile *journal,
TRACKER_DATA_BACKUP_ERROR,
TRACKER_DATA_BACKUP_ERROR_UNKNOWN,
"%s, %s",
- _("Error starting 'tar' program"),
+ _("Error starting “tar” program"),
n_error ? n_error->message : _("No error given"));
g_warning ("%s", info->error->message);
g_clear_error (&n_error);
@@ -631,7 +631,7 @@ tracker_data_backup_restore (GFile *journal,
g_set_error (&info->error,
TRACKER_DATA_BACKUP_ERROR,
TRACKER_DATA_BACKUP_ERROR_UNKNOWN,
- _("Unknown error, 'tar' exited with status %d"),
+ _("Unknown error, “tar” exited with status %d"),
exit_status);
}
diff --git a/src/libtracker-fts/org.freedesktop.Tracker.FTS.gschema.xml.in
b/src/libtracker-fts/org.freedesktop.Tracker.FTS.gschema.xml.in
index b487aed..61d617d 100644
--- a/src/libtracker-fts/org.freedesktop.Tracker.FTS.gschema.xml.in
+++ b/src/libtracker-fts/org.freedesktop.Tracker.FTS.gschema.xml.in
@@ -35,13 +35,13 @@ Boston, MA 02110-1301, USA.
<key name="enable-stemmer" type="b">
<_summary>Enable stemmer</_summary>
- <_description>Simplify the words to their root to provide more results. E.g. 'shelves' and 'shelf' to
'shel'</_description>
+ <_description>Simplify the words to their root to provide more results. E.g. “shelves” and “shelf” to
“shel”</_description>
<default>false</default>
</key>
<key name="enable-unaccent" type="b">
<_summary>Enable unaccent</_summary>
- <_description>Translate accented characters to the equivalent unaccented. E.g. 'Idéa' to 'Idea' for
improved matching. </_description>
+ <_description>Translate accented characters to the equivalent unaccented. E.g. “Idéa” to “Idea” for
improved matching. </_description>
<default>true</default>
</key>
@@ -53,7 +53,7 @@ Boston, MA 02110-1301, USA.
<key name="ignore-stop-words" type="b">
<_summary>Ignore stop words</_summary>
- <_description>If enabled, the words listed in the stop-words list are ignored. E.g. common words like
'the', 'yes', 'no', etc.</_description>
+ <_description>If enabled, the words listed in the stop-words list are ignored. E.g. common words like
“the”, “yes”, “no”, etc.</_description>
<default>true</default>
</key>
diff --git a/src/miners/apps/tracker-main.c b/src/miners/apps/tracker-main.c
index 6d4f012..5bd944a 100644
--- a/src/miners/apps/tracker-main.c
+++ b/src/miners/apps/tracker-main.c
@@ -181,7 +181,7 @@ main (gint argc, gchar *argv[])
/* Translators: this messagge will apper immediately after the
* usage string - Usage: COMMAND <THIS_MESSAGE>
*/
- context = g_option_context_new (_("- start the application data miner"));
+ context = g_option_context_new (_("— start the application data miner"));
g_option_context_add_main_entries (context, entries, NULL);
g_option_context_parse (context, &argc, &argv, &error);
diff --git a/src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
b/src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
index 1dfa058..44a7472 100644
--- a/src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
+++ b/src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
@@ -68,7 +68,7 @@ Boston, MA 02110-1301, USA.
</key>
<key name="removable-days-threshold" type="i">
- <_summary>Removable devices' data permanence threshold</_summary>
+ <_summary>Removable devices’ data permanence threshold</_summary>
<_description>
Threshold in days after which files from removables devices
will be removed from database if not mounted. 0 means never,
@@ -100,7 +100,7 @@ Boston, MA 02110-1301, USA.
<_summary>Index optical discs</_summary>
<_description>
Set to true to enable indexing CDs, DVDs, and generally optical media
- (if removable devices are not indexed, optical discs won't be either)
+ (if removable devices are not indexed, optical discs won’t be either)
</_description>
<default>false</default>
</key>
diff --git a/src/miners/fs/tracker-main.c b/src/miners/fs/tracker-main.c
index 31b7bc2..f40ff5c 100644
--- a/src/miners/fs/tracker-main.c
+++ b/src/miners/fs/tracker-main.c
@@ -451,8 +451,8 @@ check_eligible (void)
}
g_print (exists ?
- _("Data object '%s' currently exists") :
- _("Data object '%s' currently does not exist"),
+ _("Data object “%s” currently exists") :
+ _("Data object “%s” currently does not exist"),
path);
g_print ("\n");
@@ -694,7 +694,7 @@ main (gint argc, gchar *argv[])
/* Translators: this messagge will apper immediately after the
* usage string - Usage: COMMAND <THIS_MESSAGE>
*/
- context = g_option_context_new (_("- start the tracker indexer"));
+ context = g_option_context_new (_("— start the tracker indexer"));
g_option_context_add_main_entries (context, entries, NULL);
g_option_context_parse (context, &argc, &argv, &error);
diff --git a/src/miners/rss/tracker-main.c b/src/miners/rss/tracker-main.c
index 71af988..57c1039 100644
--- a/src/miners/rss/tracker-main.c
+++ b/src/miners/rss/tracker-main.c
@@ -70,7 +70,7 @@ main (int argc, char **argv)
/* Translators: this messagge will apper immediately after the
* usage string - Usage: COMMAND <THIS_MESSAGE>
*/
- context = g_option_context_new (_("- start the feeds indexer"));
+ context = g_option_context_new (_("— start the feeds indexer"));
g_option_context_add_main_entries (context, entries, NULL);
g_option_context_parse (context, &argc, &argv, NULL);
diff --git a/src/miners/user-guides/tracker-main.c b/src/miners/user-guides/tracker-main.c
index 55920d9..b375165 100644
--- a/src/miners/user-guides/tracker-main.c
+++ b/src/miners/user-guides/tracker-main.c
@@ -193,7 +193,7 @@ main (gint argc, gchar *argv[])
/* Translators: this messagge will apper immediately after the
* usage string - Usage: COMMAND <THIS_MESSAGE>
*/
- context = g_option_context_new (_("- start the user guides data miner"));
+ context = g_option_context_new (_("— start the user guides data miner"));
g_option_context_add_main_entries (context, entries, NULL);
g_option_context_parse (context, &argc, &argv, &error);
diff --git a/src/tracker-extract/tracker-main.c b/src/tracker-extract/tracker-main.c
index 38b5f68..d8e0f5f 100644
--- a/src/tracker-extract/tracker-main.c
+++ b/src/tracker-extract/tracker-main.c
@@ -93,10 +93,10 @@ static GOptionEntry entries[] = {
N_("MIME") },
{ "force-module", 'm', 0,
G_OPTION_ARG_STRING, &force_module,
- N_("Force a module to be used for extraction (e.g. \"foo\" for \"foo.so\")"),
+ N_("Force a module to be used for extraction (e.g. “foo” for “foo.so”)"),
N_("MODULE") },
{ "output-format", 'o', 0, G_OPTION_ARG_STRING, &output_format_name,
- N_("Output results format: 'sparql', or 'turtle'"),
+ N_("Output results format: “sparql”, or “turtle”"),
N_("FORMAT") },
{ "version", 'V', 0,
G_OPTION_ARG_NONE, &version,
@@ -266,7 +266,7 @@ run_standalone (TrackerConfig *config)
enum_value = g_enum_get_value_by_nick (enum_class, output_format_name);
g_type_class_unref (enum_class);
if (!enum_value) {
- g_printerr (N_("Unsupported serialization format '%s'\n"), output_format_name);
+ g_printerr (N_("Unsupported serialization format “%s”\n"), output_format_name);
return EXIT_FAILURE;
}
output_format = enum_value->value;
@@ -317,7 +317,7 @@ main (int argc, char *argv[])
/* Translators: this message will appear immediately after the */
/* usage string - Usage: COMMAND [OPTION]... <THIS_MESSAGE> */
- context = g_option_context_new (_("- Extract file meta data"));
+ context = g_option_context_new (_("— Extract file meta data"));
g_option_context_add_main_entries (context, entries, NULL);
g_option_context_parse (context, &argc, &argv, &error);
diff --git a/src/tracker-needle/tracker-needle.desktop.in.in b/src/tracker-needle/tracker-needle.desktop.in.in
index df03de4..d0b31d7 100644
--- a/src/tracker-needle/tracker-needle.desktop.in.in
+++ b/src/tracker-needle/tracker-needle.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
_Name=Desktop Search
-_Comment=Find what you're looking for on this computer by name or content using Tracker
+_Comment=Find what you’re looking for on this computer by name or content using Tracker
Exec=tracker-needle
Icon=system-search
Terminal=false
diff --git a/src/tracker-preferences/tracker-preferences.ui b/src/tracker-preferences/tracker-preferences.ui
index 67ab58b..f8302f0 100644
--- a/src/tracker-preferences/tracker-preferences.ui
+++ b/src/tracker-preferences/tracker-preferences.ui
@@ -1331,7 +1331,7 @@ Those which are the same are disabled!</property>
<object class="GtkTreeView" id="treeview_ignored_files">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="tooltip_text" translatable="yes">Globbing patterns
can be used here, for example: "*bar*".
+ <property name="tooltip_text" translatable="yes">Globbing patterns
can be used here, for example: “*bar*”.
Most commonly this is used to ignore directories like *~, *.o, *.la, etc</property>
<property name="model">liststore_ignored_files</property>
<property name="headers_visible">False</property>
diff --git a/src/tracker-store/tracker-main.vala b/src/tracker-store/tracker-main.vala
index 4685867..32faead 100644
--- a/src/tracker-store/tracker-main.vala
+++ b/src/tracker-store/tracker-main.vala
@@ -163,7 +163,7 @@ License which can be viewed at:
/* Translators: this messagge will apper immediately after the
* usage string - Usage: COMMAND <THIS_MESSAGE>
*/
- var context = new OptionContext (_("- start the tracker daemon"));
+ var context = new OptionContext (_("— start the tracker daemon"));
context.add_main_entries (entries, null);
context.parse (ref args);
} catch (Error e) {
diff --git a/src/tracker-writeback/tracker-main.c b/src/tracker-writeback/tracker-main.c
index e944540..2fb2be6 100644
--- a/src/tracker-writeback/tracker-main.c
+++ b/src/tracker-writeback/tracker-main.c
@@ -95,7 +95,7 @@ main (int argc,
/* Translators: this message will appear immediately after the
* usage string - Usage: COMMAND <THIS_MESSAGE>
*/
- context = g_option_context_new (_("- start the tracker writeback service"));
+ context = g_option_context_new (_("— start the tracker writeback service"));
g_option_context_add_main_entries (context, entries, NULL);
g_option_context_parse (context, &argc, &argv, &error);
diff --git a/src/tracker/tracker-daemon.c b/src/tracker/tracker-daemon.c
index 7cda3e3..5d3fb42 100644
--- a/src/tracker/tracker-daemon.c
+++ b/src/tracker/tracker-daemon.c
@@ -122,8 +122,8 @@ static const gchar *statuses[8] = {
N_("Initializing"),
N_("Processing…"),
N_("Fetching…"), /* miner/rss */
- N_("Crawling single directory '%s'"),
- N_("Crawling recursively directory '%s'"),
+ N_("Crawling single directory “%s”"),
+ N_("Crawling recursively directory “%s”"),
N_("Paused"),
N_("Idle")
};
@@ -175,16 +175,16 @@ static GOptionEntry entries[] = {
{ "list-processes", 'p', 0, G_OPTION_ARG_NONE, &list_processes,
N_("List all Tracker processes") },
{ "kill", 'k', G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, term_option_arg_func,
- N_("Use SIGKILL to stop all matching processes, either \"store\", \"miners\" or \"all\" may be
used, no parameter equals \"all\""),
+ N_("Use SIGKILL to stop all matching processes, either “store”, “miners” or “all” may be used, no
parameter equals “all”"),
N_("APPS") },
{ "terminate", 't', G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, term_option_arg_func,
- N_("Use SIGTERM to stop all matching processes, either \"store\", \"miners\" or \"all\" may be
used, no parameter equals \"all\""),
+ N_("Use SIGTERM to stop all matching processes, either “store”, “miners” or “all” may be used, no
parameter equals “all”"),
N_("APPS") },
{ "start", 's', 0, G_OPTION_ARG_NONE, &start,
N_("Starts miners (which indirectly starts tracker-store too)"),
NULL },
{ "set-log-verbosity", 0, 0, G_OPTION_ARG_STRING, &set_log_verbosity,
- N_("Sets the logging verbosity to LEVEL ('debug', 'detailed', 'minimal', 'errors') for all
processes"),
+ N_("Sets the logging verbosity to LEVEL (“debug”, “detailed”, “minimal”, “errors”) for all
processes"),
N_("LEVEL") },
{ "get-log-verbosity", 0, 0, G_OPTION_ARG_NONE, &get_log_verbosity,
N_("Show logging values in terms of log verbosity for each process"),
@@ -893,7 +893,7 @@ miner_pause (const gchar *miner,
return EXIT_FAILURE;
}
- str = g_strdup_printf (_("Attempting to pause miner '%s' with reason '%s'"),
+ str = g_strdup_printf (_("Attempting to pause miner “%s” with reason “%s”"),
miner,
reason);
g_print ("%s\n", str);
@@ -1204,7 +1204,7 @@ term_option_arg_func (const gchar *option_value,
option = TRACKER_PROCESS_TYPE_MINERS;
} else {
g_set_error_literal (error, G_OPTION_ERROR, G_OPTION_ERROR_FAILED,
- _("Only one of 'all', 'store' and 'miners' options are allowed"));
+ _("Only one of “all”, “store” and “miners” options are allowed"));
return FALSE;
}
@@ -1360,7 +1360,7 @@ daemon_run (void)
name = tracker_miner_manager_get_display_name (manager, l->data);
if (!name) {
- g_critical (_("Could not get display name for miner '%s'"),
+ g_critical (_("Could not get display name for miner “%s”"),
(const gchar*) l->data);
continue;
}
@@ -1527,7 +1527,7 @@ daemon_run (void)
set_log_verbosity_value = TRACKER_VERBOSITY_ERRORS;
} else {
g_printerr ("%s\n",
- _("Invalid log verbosity, try 'debug', 'detailed', 'minimal' or
'errors'"));
+ _("Invalid log verbosity, try “debug”, “detailed”, “minimal” or
“errors”"));
return EXIT_FAILURE;
}
}
@@ -1565,7 +1565,7 @@ daemon_run (void)
for (l = pids; l; l = l->next) {
TrackerProcessData *pd = l->data;
- str = g_strdup_printf (_("Found process ID %d for '%s'"), pd->pid, pd->cmd);
+ str = g_strdup_printf (_("Found process ID %d for “%s”"), pd->pid, pd->cmd);
g_print ("%s\n", str);
g_free (str);
}
@@ -1620,7 +1620,7 @@ daemon_run (void)
return EXIT_FAILURE;
}
- str = g_strdup_printf (_("Setting log verbosity for all components to '%s'…"),
set_log_verbosity);
+ str = g_strdup_printf (_("Setting log verbosity for all components to “%s”…"),
set_log_verbosity);
g_print ("%s\n", str);
g_print ("\n");
g_free (str);
diff --git a/src/tracker/tracker-extract.c b/src/tracker/tracker-extract.c
index fad25f4..9b5e737 100644
--- a/src/tracker/tracker-extract.c
+++ b/src/tracker/tracker-extract.c
@@ -39,10 +39,10 @@ static gchar **filenames;
static GOptionEntry entries[] = {
{ "verbosity", 'v', 0, G_OPTION_ARG_STRING, &verbosity,
- N_("Sets the logging verbosity to LEVEL ('debug', 'detailed', 'minimal', 'errors') for all
processes"),
+ N_("Sets the logging verbosity to LEVEL (“debug”, “detailed”, “minimal”, “errors”) for all
processes"),
N_("LEVEL") },
{ "output-format", 'o', 0, G_OPTION_ARG_STRING, &output_format,
- N_("Output results format: 'sparql', or 'turtle'"),
+ N_("Output results format: “sparql”, or “turtle”"),
N_("FORMAT") },
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &filenames,
N_("FILE"),
@@ -102,7 +102,7 @@ extract_run (void)
verbosity_level = TRACKER_VERBOSITY_ERRORS;
} else {
g_printerr ("%s\n",
- _("Invalid log verbosity, try 'debug', 'detailed', 'minimal' or
'errors'"));
+ _("Invalid log verbosity, try “debug”, “detailed”, “minimal” or
“errors”"));
return EXIT_FAILURE;
}
}
diff --git a/src/tracker/tracker-help.c b/src/tracker/tracker-help.c
index e1db902..fef95e1 100644
--- a/src/tracker/tracker-help.c
+++ b/src/tracker/tracker-help.c
@@ -56,7 +56,7 @@ exec_man_man (const char *path, const char *page)
}
execlp (path, "man", page, (char *) NULL);
- g_warning(_("failed to exec '%s': %s"), path, strerror (errno));
+ g_warning(_("failed to exec “%s”: %s"), path, strerror (errno));
return -1;
}
@@ -68,7 +68,7 @@ exec_man_cmd (const char *cmd, const char *page)
shell_cmd = g_strdup_printf ("%s %s", cmd, page);
execl ("/bin/sh", "sh", "-c", shell_cmd, (char *) NULL);
- g_warning (_("failed to exec '%s': %s"), cmd, strerror (errno));
+ g_warning (_("failed to exec “%s”: %s"), cmd, strerror (errno));
g_free (shell_cmd);
return -1;
diff --git a/src/tracker/tracker-info.c b/src/tracker/tracker-info.c
index 9ae62cb..e4ae9cf 100644
--- a/src/tracker/tracker-info.c
+++ b/src/tracker/tracker-info.c
@@ -46,7 +46,7 @@ static gboolean turtle;
static GOptionEntry entries[] = {
{ "full-namespaces", 'f', 0, G_OPTION_ARG_NONE, &full_namespaces,
- N_("Show full namespaces (i.e. don't use nie:title, use full URLs)"),
+ N_("Show full namespaces (i.e. don’t use nie:title, use full URLs)"),
NULL,
},
{ "plain-text-content", 'c', 0, G_OPTION_ARG_NONE, &plain_text_content,
diff --git a/src/tracker/tracker-main.c b/src/tracker/tracker-main.c
index 57d9af8..09dc12f 100644
--- a/src/tracker/tracker-main.c
+++ b/src/tracker/tracker-main.c
@@ -45,7 +45,7 @@ const char usage_string[] =
" <command> [<args>]";
const char usage_more_info_string[] =
- N_("See 'tracker help <command>' to read about a specific subcommand.");
+ N_("See “tracker help <command>” to read about a specific subcommand.");
const char about[] =
"Tracker " PACKAGE_VERSION "\n"
@@ -150,7 +150,7 @@ handle_command (int argc, const char **argv)
exit (run_builtin (p, argc, argv));
}
- g_printerr (_("'%s' is not a tracker command. See 'tracker --help'"), argv[0]);
+ g_printerr (_("“%s” is not a tracker command. See “tracker --help”"), argv[0]);
g_printerr ("\n");
exit (EXIT_FAILURE);
}
diff --git a/src/tracker/tracker-process.c b/src/tracker/tracker-process.c
index 17063e9..ee02b02 100644
--- a/src/tracker/tracker-process.c
+++ b/src/tracker/tracker-process.c
@@ -200,7 +200,7 @@ tracker_process_find_all (void)
if (!g_file_get_contents (filename, &contents, NULL, &error)) {
gchar *str;
- str = g_strdup_printf (_("Could not open '%s'"), filename);
+ str = g_strdup_printf (_("Could not open “%s”"), filename);
g_printerr ("%s: %s\n",
str,
error ? error->message : _("No error given"));
@@ -329,13 +329,13 @@ tracker_process_stop (TrackerProcessTypes daemons_to_term,
if (kill (pid, SIGTERM) == -1) {
const gchar *errstr = g_strerror (errno);
- str = g_strdup_printf (_("Could not terminate process %d - '%s'"), pid,
basename);
+ str = g_strdup_printf (_("Could not terminate process %d — “%s”"), pid,
basename);
g_printerr (" %s: %s\n",
str,
errstr ? errstr : _("No error given"));
g_free (str);
} else {
- str = g_strdup_printf (_("Terminated process %d - '%s'"), pid, basename);
+ str = g_strdup_printf (_("Terminated process %d — “%s”"), pid, basename);
g_print (" %s\n", str);
g_free (str);
}
@@ -350,13 +350,13 @@ tracker_process_stop (TrackerProcessTypes daemons_to_term,
if (kill (pid, SIGKILL) == -1) {
const gchar *errstr = g_strerror (errno);
- str = g_strdup_printf (_("Could not kill process %d - '%s'"), pid, basename);
+ str = g_strdup_printf (_("Could not kill process %d — “%s”"), pid, basename);
g_printerr (" %s: %s\n",
str,
errstr ? errstr : _("No error given"));
g_free (str);
} else {
- str = g_strdup_printf (_("Killed process %d - '%s'"), pid, basename);
+ str = g_strdup_printf (_("Killed process %d — “%s”"), pid, basename);
g_print (" %s\n", str);
g_free (str);
}
diff --git a/src/tracker/tracker-reset.c b/src/tracker/tracker-reset.c
index cc2fa87..8278b60 100644
--- a/src/tracker/tracker-reset.c
+++ b/src/tracker/tracker-reset.c
@@ -223,7 +223,7 @@ reset_run (void)
g_print (CRIT_BEGIN "%s" CRIT_END "\n%s\n\n%s %s: ",
_("CAUTION: This process may irreversibly delete data."),
_("Although most content indexed by Tracker can "
- "be safely reindexed, it can't be assured that "
+ "be safely reindexed, it can’t be assured that "
"this is the case for all data. Be aware that "
"you may be incurring in a data loss situation, "
"proceed at your own risk."),
diff --git a/src/tracker/tracker-search.c b/src/tracker/tracker-search.c
index d68f581..782d1bb 100644
--- a/src/tracker/tracker-search.c
+++ b/src/tracker/tracker-search.c
@@ -147,7 +147,7 @@ static GOptionEntry entries[] = {
NULL
},
{ "detailed", 'd', 0, G_OPTION_ARG_NONE, &detailed,
- N_("Show URNs for results (doesn't apply to --music-albums, --music-artists, --feeds, --software,
--software-categories)"),
+ N_("Show URNs for results (doesn’t apply to --music-albums, --music-artists, --feeds, --software,
--software-categories)"),
NULL
},
{ "all", 'a', 0, G_OPTION_ARG_NONE, &all,
@@ -1550,7 +1550,7 @@ search_run (void)
down = g_utf8_strdown (*p, -1);
if (tracker_language_is_stop_word (language, down)) {
- g_printerr (_("Search term '%s' is a stop word."),
+ g_printerr (_("Search term “%s” is a stop word."),
down);
g_printerr ("\n");
diff --git a/src/tracker/tracker-sparql.c b/src/tracker/tracker-sparql.c
index e428b64..23cc691 100644
--- a/src/tracker/tracker-sparql.c
+++ b/src/tracker/tracker-sparql.c
@@ -1141,7 +1141,7 @@ sparql_run (void)
if (!p) {
g_printerr ("%s\n",
_("Could not find property for class prefix, "
- "e.g. :Resource in 'rdfs:Resource'"));
+ "e.g. :Resource in “rdfs:Resource”"));
g_free (prefix);
g_object_unref (connection);
diff --git a/src/tracker/tracker-tag.c b/src/tracker/tracker-tag.c
index 1c275bb..a7160f4 100644
--- a/src/tracker/tracker-tag.c
+++ b/src/tracker/tracker-tag.c
@@ -648,7 +648,7 @@ add_tag_for_urns (TrackerSparqlConnection *connection,
cursor = get_file_urns (connection, uris, NULL);
if (!cursor) {
- g_printerr ("%s\n", _("Files do not exist or aren't indexed"));
+ g_printerr ("%s\n", _("Files do not exist or aren’t indexed"));
g_strfreev (uris);
return FALSE;
}
@@ -656,7 +656,7 @@ add_tag_for_urns (TrackerSparqlConnection *connection,
urns_strv = result_to_strv (cursor, 0);
if (!urns_strv || g_strv_length (urns_strv) < 1) {
- g_printerr ("%s\n", _("Files do not exist or aren't indexed"));
+ g_printerr ("%s\n", _("Files do not exist or aren’t indexed"));
g_object_unref (cursor);
g_strfreev (uris);
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]