Browse Source

Cosmetics: add spaces around slash in statistics messages.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Ovsyannikov Sergey E 2 years ago
parent
commit
21c45e8a7a
3 changed files with 7 additions and 7 deletions
  1. 2 2
      src/filemanager/filegui.c
  2. 4 4
      src/filemanager/info.c
  3. 1 1
      src/filemanager/panel.c

+ 2 - 2
src/filemanager/filegui.c

@@ -1024,7 +1024,7 @@ file_progress_show_count (file_op_context_t * ctx, size_t done, size_t total)
         return;
 
     if (ctx->progress_totals_computed)
-        label_set_textv (ui->total_files_processed_label, _("Files processed: %zu/%zu"), done,
+        label_set_textv (ui->total_files_processed_label, _("Files processed: %zu / %zu"), done,
                          total);
     else
         label_set_textv (ui->total_files_processed_label, _("Files processed: %zu"), done);
@@ -1100,7 +1100,7 @@ file_progress_show_total (file_op_total_context_t * tctx, file_op_context_t * ct
         else
         {
             size_trunc_len (buffer3, 5, ctx->progress_bytes, 0, panels_options.kilobyte_si);
-            hline_set_textv (ui->total_bytes_label, _(" Total: %s/%s "), buffer2, buffer3);
+            hline_set_textv (ui->total_bytes_label, _(" Total: %s / %s "), buffer2, buffer3);
         }
     }
 }

+ 4 - 4
src/filemanager/info.c

@@ -163,11 +163,11 @@ info_show_info (WInfo * info)
             (myfs_stats.nfree == (uintmax_t) (-1) && myfs_stats.nodes == (uintmax_t) (-1)))
             tty_print_string (_("No node information"));
         else if (myfs_stats.nfree == (uintmax_t) (-1))
-            tty_printf ("%s -/%" PRIuMAX, _("Free nodes:"), myfs_stats.nodes);
+            tty_printf ("%s - / %" PRIuMAX, _("Free nodes:"), myfs_stats.nodes);
         else if (myfs_stats.nodes == (uintmax_t) (-1))
-            tty_printf ("%s %" PRIuMAX "/-", _("Free nodes:"), myfs_stats.nfree);
+            tty_printf ("%s %" PRIuMAX " / -", _("Free nodes:"), myfs_stats.nfree);
         else
-            tty_printf ("%s %" PRIuMAX "/%" PRIuMAX " (%d%%)",
+            tty_printf ("%s %" PRIuMAX " / %" PRIuMAX " (%d%%)",
                         _("Free nodes:"),
                         myfs_stats.nfree, myfs_stats.nodes,
                         myfs_stats.nodes == 0 ? 0 :
@@ -183,7 +183,7 @@ info_show_info (WInfo * info)
 
             size_trunc_len (buffer1, 5, myfs_stats.avail, 1, panels_options.kilobyte_si);
             size_trunc_len (buffer2, 5, myfs_stats.total, 1, panels_options.kilobyte_si);
-            tty_printf (_("Free space: %s/%s (%d%%)"), buffer1, buffer2,
+            tty_printf (_("Free space: %s / %s (%d%%)"), buffer1, buffer2,
                         myfs_stats.total == 0 ? 0 :
                         (int) (100 * (long double) myfs_stats.avail / myfs_stats.total));
         }

+ 1 - 1
src/filemanager/panel.c

@@ -1172,7 +1172,7 @@ show_free_space (const WPanel * panel)
                         panels_options.kilobyte_si);
         size_trunc_len (buffer2, sizeof (buffer2) - 1, myfs_stats.total, 1,
                         panels_options.kilobyte_si);
-        g_snprintf (tmp, sizeof (tmp), " %s/%s (%d%%) ", buffer1, buffer2,
+        g_snprintf (tmp, sizeof (tmp), " %s / %s (%d%%) ", buffer1, buffer2,
                     myfs_stats.total == 0 ? 0 :
                     (int) (100 * (long double) myfs_stats.avail / myfs_stats.total));
         widget_gotoyx (w, w->rect.lines - 1, w->rect.cols - 2 - (int) strlen (tmp));