Skip to content

Commit 966d077

Browse files
Sam Hocevarspearce
authored andcommitted
git-gui: minor spelling fix and string factorisation.
Properly spell "successful" and slightly rewrite a couple of strings that actually say the same thing in order to reduce translation work. Update .pot and .po files accordingly since no new translation is required. Signed-off-by: Shawn O. Pearce <[email protected]>
1 parent b59f091 commit 966d077

File tree

13 files changed

+12
-111
lines changed

13 files changed

+12
-111
lines changed

lib/branch_delete.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ constructor dialog {} {
5151
$w.check \
5252
[mc "Delete Only If Merged Into"] \
5353
]
54-
$w_check none [mc "Always (Do not perform merge test.)"]
54+
$w_check none [mc "Always (Do not perform merge checks)"]
5555
pack $w.check -anchor nw -fill x -pady 5 -padx 5
5656

5757
foreach h [load_all_heads] {
@@ -112,7 +112,7 @@ method _delete {} {
112112
}
113113
if {$to_delete eq {}} return
114114
if {$check_cmt eq {}} {
115-
set msg [mc "Recovering deleted branches is difficult. \n\n Delete the selected branches?"]
115+
set msg [mc "Recovering deleted branches is difficult.\n\nDelete the selected branches?"]
116116
if {[tk_messageBox \
117117
-icon warning \
118118
-type yesno \

lib/remote_branch_delete.tcl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,7 @@ method _delete {} {
213213
-type yesno \
214214
-title [wm title $w] \
215215
-parent $w \
216-
-message [mc "Recovering deleted branches is difficult.
217-
218-
Delete the selected branches?"]] ne yes} {
216+
-message [mc "Recovering deleted branches is difficult.\n\nDelete the selected branches?"]] ne yes} {
219217
return
220218
}
221219

lib/tools.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ proc tools_complete {fullname w {ok 1}} {
146146
}
147147

148148
if {$ok} {
149-
set msg [mc "Tool completed succesfully: %s" $fullname]
149+
set msg [mc "Tool completed successfully: %s" $fullname]
150150
} else {
151151
set msg [mc "Tool failed: %s" $fullname]
152152
}

po/de.po

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -773,16 +773,6 @@ msgstr "Immer (ohne Zusammenführungstest)"
773773
msgid "The following branches are not completely merged into %s:"
774774
msgstr "Folgende Zweige sind noch nicht mit »%s« zusammengeführt:"
775775

776-
#: lib/branch_delete.tcl:115
777-
msgid ""
778-
"Recovering deleted branches is difficult. \n"
779-
"\n"
780-
" Delete the selected branches?"
781-
msgstr ""
782-
"Gelöschte Zweige können nur mit größerem Aufwand wiederhergestellt werden.\n"
783-
"\n"
784-
"Gewählte Zweige jetzt löschen?"
785-
786776
#: lib/branch_delete.tcl:141
787777
#, tcl-format
788778
msgid ""
@@ -2506,7 +2496,7 @@ msgstr "Starten: %s"
25062496

25072497
#: lib/tools.tcl:149
25082498
#, tcl-format
2509-
msgid "Tool completed succesfully: %s"
2499+
msgid "Tool completed successfully: %s"
25102500
msgstr "Werkzeug erfolgreich abgeschlossen: %s"
25112501

25122502
#: lib/tools.tcl:151

po/fr.po

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -780,16 +780,6 @@ msgstr "Toujours (Ne pas faire de test de fusion.)"
780780
msgid "The following branches are not completely merged into %s:"
781781
msgstr "Les branches suivantes ne sont pas complètement fusionnées dans %s :"
782782

783-
#: lib/branch_delete.tcl:115
784-
msgid ""
785-
"Recovering deleted branches is difficult. \n"
786-
"\n"
787-
" Delete the selected branches?"
788-
msgstr ""
789-
"Il est difficile de récupérer des branches supprimées.\n"
790-
"\n"
791-
"Supprimer les branches sélectionnées ?"
792-
793783
#: lib/branch_delete.tcl:141
794784
#, tcl-format
795785
msgid ""
@@ -2412,7 +2402,7 @@ msgstr "Lancement de : %s"
24122402

24132403
#: lib/tools.tcl:149
24142404
#, tcl-format
2415-
msgid "Tool completed succesfully: %s"
2405+
msgid "Tool completed successfully: %s"
24162406
msgstr "L'outil a terminé avec succès : %s"
24172407

24182408
#: lib/tools.tcl:151

po/git-gui.pot

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -753,13 +753,6 @@ msgstr ""
753753
msgid "The following branches are not completely merged into %s:"
754754
msgstr ""
755755

756-
#: lib/branch_delete.tcl:115
757-
msgid ""
758-
"Recovering deleted branches is difficult. \n"
759-
"\n"
760-
" Delete the selected branches?"
761-
msgstr ""
762-
763756
#: lib/branch_delete.tcl:141
764757
#, tcl-format
765758
msgid ""
@@ -2220,7 +2213,7 @@ msgstr ""
22202213

22212214
#: lib/tools.tcl:149
22222215
#, tcl-format
2223-
msgid "Tool completed succesfully: %s"
2216+
msgid "Tool completed successfully: %s"
22242217
msgstr ""
22252218

22262219
#: lib/tools.tcl:151

po/hu.po

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -776,16 +776,6 @@ msgstr "Mindig (Ne legyen merge teszt.)"
776776
msgid "The following branches are not completely merged into %s:"
777777
msgstr "A következő branchek nem teljesen lettek merge-ölve ebbe: %s:"
778778

779-
#: lib/branch_delete.tcl:115
780-
msgid ""
781-
"Recovering deleted branches is difficult. \n"
782-
"\n"
783-
" Delete the selected branches?"
784-
msgstr ""
785-
"A törölt branchek visszaállítása bonyolult. \n"
786-
"\n"
787-
" Biztosan törli a kiválasztott brancheket?"
788-
789779
#: lib/branch_delete.tcl:141
790780
#, tcl-format
791781
msgid ""
@@ -2399,7 +2389,7 @@ msgstr "Futtatás: %s..."
23992389

24002390
#: lib/tools.tcl:149
24012391
#, tcl-format
2402-
msgid "Tool completed succesfully: %s"
2392+
msgid "Tool completed successfully: %s"
24032393
msgstr "Az eszköz sikeresen befejeződött: %s"
24042394

24052395
#: lib/tools.tcl:151

po/it.po

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -778,16 +778,6 @@ msgstr "Sempre (Non effettuare verifiche di fusione)."
778778
msgid "The following branches are not completely merged into %s:"
779779
msgstr "I rami seguenti non sono stati fusi completamente in %s:"
780780

781-
#: lib/branch_delete.tcl:115
782-
msgid ""
783-
"Recovering deleted branches is difficult. \n"
784-
"\n"
785-
" Delete the selected branches?"
786-
msgstr ""
787-
"Ricomporre rami cancellati può essere complicato. \n"
788-
"\n"
789-
" Eliminare i rami selezionati?"
790-
791781
#: lib/branch_delete.tcl:141
792782
#, tcl-format
793783
msgid ""
@@ -2418,7 +2408,7 @@ msgstr "Eseguo: %s"
24182408

24192409
#: lib/tools.tcl:149
24202410
#, tcl-format
2421-
msgid "Tool completed succesfully: %s"
2411+
msgid "Tool completed successfully: %s"
24222412
msgstr "Il programma esterno è terminato con successo: %s"
24232413

24242414
#: lib/tools.tcl:151

po/ja.po

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -773,16 +773,6 @@ msgstr "無条件(マージテストしない)"
773773
msgid "The following branches are not completely merged into %s:"
774774
msgstr "以下のブランチは %s に完全にマージされていません:"
775775

776-
#: lib/branch_delete.tcl:115
777-
msgid ""
778-
"Recovering deleted branches is difficult. \n"
779-
"\n"
780-
" Delete the selected branches?"
781-
msgstr ""
782-
"ブランチを削除すると元に戻すのは困難です。 \n"
783-
"\n"
784-
" 選択したブランチを削除しますか?"
785-
786776
#: lib/branch_delete.tcl:141
787777
#, tcl-format
788778
msgid ""
@@ -2382,7 +2372,7 @@ msgstr "実行中: %s"
23822372

23832373
#: lib/tools.tcl:149
23842374
#, tcl-format
2385-
msgid "Tool completed succesfully: %s"
2375+
msgid "Tool completed successfully: %s"
23862376
msgstr "ツールが完了しました: %s"
23872377

23882378
#: lib/tools.tcl:151

po/nb.po

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -761,16 +761,6 @@ msgstr "Alltid (Ikke utfør sammenslåingstest.)"
761761
msgid "The following branches are not completely merged into %s:"
762762
msgstr "Følgende grener er ikke fullstendig slått sammen med %s:"
763763

764-
#: lib/branch_delete.tcl:115
765-
msgid ""
766-
"Recovering deleted branches is difficult. \n"
767-
"\n"
768-
" Delete the selected branches?"
769-
msgstr ""
770-
"Gjenoppretting av fjernede grener er vanskelig. \n"
771-
"\n"
772-
" Fjern valgte grener?"
773-
774764
#: lib/branch_delete.tcl:141
775765
#, tcl-format
776766
msgid ""
@@ -2331,7 +2321,7 @@ msgstr "Kjører: %s"
23312321

23322322
#: lib/tools.tcl:149
23332323
#, tcl-format
2334-
msgid "Tool completed succesfully: %s"
2324+
msgid "Tool completed successfully: %s"
23352325
msgstr "Verktøyet ble fullført med suksess: %s"
23362326

23372327
#: lib/tools.tcl:151

0 commit comments

Comments
 (0)