]> granicus.if.org Git - transmission/commitdiff
lib: fix translator comment extraction
authorPiotr Drąg <piotrdrag@gmail.com>
Tue, 2 May 2017 19:21:04 +0000 (21:21 +0200)
committerPiotr Drąg <piotrdrag@gmail.com>
Tue, 2 May 2017 19:22:15 +0000 (21:22 +0200)
gettext won’t pick up a comment if it’s
not exactly one line above the string.

libtransmission/torrent.c

index 5ac2000c8f960e94520d0183cea4e264b3ff3e40..fe819d83b51642ff43265a4d9d72882b3765e235 100644 (file)
@@ -2150,12 +2150,12 @@ static char const* getCompletionString(int type)
 {
     switch (type)
     {
-    /* Translators: this is a minor point that's safe to skip over, but FYI:
-       "Complete" and "Done" are specific, different terms in Transmission:
-       "Complete" means we've downloaded every file in the torrent.
-       "Done" means we're done downloading the files we wanted, but NOT all
-       that exist */
     case TR_PARTIAL_SEED:
+        /* Translators: this is a minor point that's safe to skip over, but FYI:
+           "Complete" and "Done" are specific, different terms in Transmission:
+           "Complete" means we've downloaded every file in the torrent.
+           "Done" means we're done downloading the files we wanted, but NOT all
+           that exist */
         return _("Done");
 
     case TR_SEED: