Skip to content
Snippets Groups Projects
Commit 33492d9b authored by Alexander Schwinn's avatar Alexander Schwinn
Browse files

Dont add extra-dot when creating links (#1019)

(cherry picked from commit 1e9cc251)
parent 7098ff06
No related branches found
No related tags found
No related merge requests found
......@@ -756,12 +756,12 @@ thunar_util_next_new_file_name (ThunarFile *dir,
{
if (count == 0)
{
new_name = g_strdup_printf (_("link to %.*s.%s"), (int) file_name_size, file_name, extension ? extension : "");
new_name = g_strdup_printf (_("link to %.*s%s"), (int) file_name_size, file_name, extension ? extension : "");
++count;
}
else
{
new_name = g_strdup_printf (_("link %u to %.*s.%s"), ++count, (int) file_name_size, file_name, extension ? extension : "");
new_name = g_strdup_printf (_("link %u to %.*s%s"), ++count, (int) file_name_size, file_name, extension ? extension : "");
}
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment