From e6397c05615346ee5048013260701d0a89811ff8 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 3 Feb 2019 18:11:58 +0300 Subject: [PATCH] Ticket #3935: extra optopns in n "File exists" query dialog. (overwrite_query_dialog): rename "Update" button to "If older". Signed-off-by: Andrew Borodin --- src/filemanager/filegui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/filemanager/filegui.c b/src/filemanager/filegui.c index 016469cdf..513070d26 100644 --- a/src/filemanager/filegui.c +++ b/src/filemanager/filegui.c @@ -192,7 +192,7 @@ typedef enum REPLACE_NO, REPLACE_APPEND, REPLACE_ALWAYS, - REPLACE_UPDATE, + REPLACE_OLDER, REPLACE_NEVER, REPLACE_ABORT, REPLACE_SIZE, @@ -434,7 +434,7 @@ overwrite_query_dialog (file_op_context_t * ctx, enum OperationMode mode) /* 10 */ { N_("A&ll"), 11, 28, WPOS_KEEP_DEFAULT, REPLACE_ALWAYS }, /* 11 */ - { N_("&Update"), 11, 36, WPOS_KEEP_DEFAULT, REPLACE_UPDATE }, + { N_("If &older"), 11, 36, WPOS_KEEP_DEFAULT, REPLACE_OLDER }, /* 12 */ { N_("Non&e"), 11, 47, WPOS_KEEP_DEFAULT, REPLACE_NEVER }, /* 13 */ @@ -572,7 +572,7 @@ overwrite_query_dialog (file_op_context_t * ctx, enum OperationMode mode) ADD_RD_LABEL (9, 0, 0, y); /* Overwrite all targets? */ ADD_RD_BUTTON (10, y); /* All" */ - ADD_RD_BUTTON (11, y); /* Update */ + ADD_RD_BUTTON (11, y); /* If older */ ADD_RD_BUTTON (12, y++); /* None */ ADD_RD_BUTTON (13, y++); /* If size differs */ @@ -1116,7 +1116,7 @@ file_progress_real_query_replace (file_op_context_t * ctx, switch (ui->replace_result) { - case REPLACE_UPDATE: + case REPLACE_OLDER: do_refresh (); if (src_stat->st_mtime > dst_stat->st_mtime) return FILE_CONT;