Skip to content

Commit 124356b

Browse files
vascoolgitster
authored andcommitted
git-gui i18n: mark strings for translation
Mark strings for translation in lib/index.tcl that were seemingly left behind by 700e560 ("git-gui: Mark forgotten strings for translation.", 2008-09-04) which marks string in do_revert_selection procedure. These strings are passed to unstage_help and add_helper procedures. Signed-off-by: Vasco Almeida <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4498b3a commit 124356b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/index.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ proc do_unstage_selection {} {
291291

292292
if {[array size selected_paths] > 0} {
293293
unstage_helper \
294-
{Unstaging selected files from commit} \
294+
[mc "Unstaging selected files from commit"] \
295295
[array names selected_paths]
296296
} elseif {$current_diff_path ne {}} {
297297
unstage_helper \
@@ -343,7 +343,7 @@ proc do_add_selection {} {
343343

344344
if {[array size selected_paths] > 0} {
345345
add_helper \
346-
{Adding selected files} \
346+
[mc "Adding selected files"] \
347347
[array names selected_paths]
348348
} elseif {$current_diff_path ne {}} {
349349
add_helper \
@@ -385,7 +385,7 @@ proc do_add_all {} {
385385
set paths [concat $paths $untracked_paths]
386386
}
387387
}
388-
add_helper {Adding all changed files} $paths
388+
add_helper [mc "Adding all changed files"] $paths
389389
}
390390

391391
proc revert_helper {txt paths} {

0 commit comments

Comments
 (0)