summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inkscape.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index b1fbdb28d..582f7118f 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -477,7 +477,7 @@ inkscape_segv_handler (int signum)
char const *sstr = N_("Automatic backups of unsaved documents were done to the following locations:\n");
char const *fstr = N_("Automatic backup of the following documents failed:\n");
gint nllen = strlen ("\n");
- gint len = strlen (istr) + strlen (sstr) + strlen (fstr);
+ gint len = strlen (_(istr)) + strlen (_(sstr)) + strlen (_(fstr));
for (GSList *l = savednames; l != NULL; l = l->next) {
len = len + SP_INDENT + strlen ((gchar *) l->data) + nllen;
}
@@ -487,12 +487,12 @@ inkscape_segv_handler (int signum)
len += 1;
gchar *b = g_new (gchar, len);
gint pos = 0;
- len = strlen (istr);
- memcpy (b + pos, istr, len);
+ len = strlen (_(istr));
+ memcpy (b + pos, _(istr), len);
pos += len;
if (savednames) {
- len = strlen (sstr);
- memcpy (b + pos, sstr, len);
+ len = strlen (_(sstr));
+ memcpy (b + pos, _(sstr), len);
pos += len;
for (GSList *l = savednames; l != NULL; l = l->next) {
memset (b + pos, ' ', SP_INDENT);
@@ -505,8 +505,8 @@ inkscape_segv_handler (int signum)
}
}
if (failednames) {
- len = strlen (fstr);
- memcpy (b + pos, fstr, len);
+ len = strlen (_(fstr));
+ memcpy (b + pos, _(fstr), len);
pos += len;
for (GSList *l = failednames; l != NULL; l = l->next) {
memset (b + pos, ' ', SP_INDENT);