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/upnp.c

    r13625 r13631  
    3333
    3434static const char *
    35 getKey (void) { return _ ("Port Forwarding (UPnP)"); }
     35getKey (void) { return _("Port Forwarding (UPnP)"); }
    3636
    3737typedef enum
     
    198198                             handle->lanaddr, sizeof (handle->lanaddr)) == UPNP_IGD_VALID_CONNECTED)
    199199        {
    200             tr_ninf (getKey (), _ (
     200            tr_ninf (getKey (), _(
    201201                         "Found Internet Gateway Device \"%s\""),
    202202                     handle->urls.controlURL);
    203             tr_ninf (getKey (), _ (
     203            tr_ninf (getKey (), _(
    204204                         "Local Address is \"%s\""), handle->lanaddr);
    205205            handle->state = TR_UPNP_IDLE;
     
    231231          (tr_upnpGetSpecificPortMappingEntry (handle, "UDP") != UPNPCOMMAND_SUCCESS))
    232232        {
    233             tr_ninf (getKey (), _ ("Port %d isn't forwarded"), handle->port);
     233            tr_ninf (getKey (), _("Port %d isn't forwarded"), handle->port);
    234234            handle->isMapped = false;
    235235        }
     
    242242
    243243        tr_ninf (getKey (),
    244                  _ ("Stopping port forwarding through \"%s\", service \"%s\""),
     244                 _("Stopping port forwarding through \"%s\", service \"%s\""),
    245245                 handle->urls.controlURL, handle->data.first.servicetype);
    246246
     
    275275        }
    276276        tr_ninf (getKey (),
    277                  _ ("Port forwarding through \"%s\", service \"%s\". (local address: %s:%d)"),
     277                 _("Port forwarding through \"%s\", service \"%s\". (local address: %s:%d)"),
    278278                 handle->urls.controlURL, handle->data.first.servicetype,
    279279                 handle->lanaddr, port);
    280280        if (handle->isMapped)
    281281        {
    282             tr_ninf (getKey (), "%s", _ ("Port forwarding successful!"));
     282            tr_ninf (getKey (), "%s", _("Port forwarding successful!"));
    283283            handle->port = port;
    284284            handle->state = TR_UPNP_IDLE;
Note: See TracChangeset for help on using the changeset viewer.