Changeset 5187


Ignore:
Timestamp:
Mar 3, 2008, 4:44:27 AM (14 years ago)
Author:
charles
Message:

mark the libnotify strings for translation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/notify.c

    r5181 r5187  
    1111 */
    1212
     13#include <glib/gi18n.h>
    1314#include "notify.h"
    1415
     
    5657{
    5758    const tr_info * info = tr_torrent_info( tor );
    58     NotifyNotification * n = notify_notification_new( "Torrent Complete", info->name, "transmission", NULL );
     59    NotifyNotification * n = notify_notification_new( _( "Torrent Complete" ), info->name, "transmission", NULL );
    5960 
    6061    if (info->fileCount == 1)
    61         notify_notification_add_action( n, "file", "Open File",
     62        notify_notification_add_action( n, "file", _( "Open File" ),
    6263                                        NOTIFY_ACTION_CALLBACK(notifyCallback), tor, NULL);
    63     notify_notification_add_action( n, "folder", "Open Containing Folder",
     64    notify_notification_add_action( n, "folder", _( "Open Folder" ),
    6465                                    NOTIFY_ACTION_CALLBACK(notifyCallback), tor, NULL );
    6566    notify_notification_show( n, NULL );
Note: See TracChangeset for help on using the changeset viewer.