Ignore:
Timestamp:
Dec 7, 2012, 1:53:31 AM (9 years ago)
Author:
jordan
Message:

(trunk, libT) #5165: fix r13625 oops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/port-forwarding.c

    r13625 r13631  
    2929
    3030static const char *
    31 getKey (void) { return _ ("Port Forwarding"); }
     31getKey (void) { return _("Port Forwarding"); }
    3232
    3333struct tr_shared
     
    5656    switch (state)
    5757    {
    58         case TR_PORT_MAPPING:   return _ ("Starting");
    59         case TR_PORT_MAPPED:    return _ ("Forwarded");
    60         case TR_PORT_UNMAPPING: return _ ("Stopping");
    61         case TR_PORT_UNMAPPED:  return _ ("Not forwarded");
     58        case TR_PORT_MAPPING:   return _("Starting");
     59        case TR_PORT_MAPPED:    return _("Forwarded");
     60        case TR_PORT_UNMAPPING: return _("Stopping");
     61        case TR_PORT_UNMAPPED:  return _("Not forwarded");
    6262        default:                return "???";
    6363    }
     
    8989
    9090    if (newStatus != oldStatus)
    91         tr_ninf (getKey (), _ ("State changed from \"%1$s\" to \"%2$s\""),
     91        tr_ninf (getKey (), _("State changed from \"%1$s\" to \"%2$s\""),
    9292                getNatStateStr (oldStatus),
    9393                getNatStateStr (newStatus));
     
    179179stop_forwarding (tr_shared * s)
    180180{
    181     tr_ninf (getKey (), "%s", _ ("Stopped"));
     181    tr_ninf (getKey (), "%s", _("Stopped"));
    182182    natPulse (s, false);
    183183
Note: See TracChangeset for help on using the changeset viewer.