Changeset 5451


Ignore:
Timestamp:
Mar 30, 2008, 3:40:13 AM (14 years ago)
Author:
livings124
Message:

update the strings file; adjust the blocklist text

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/English.lproj/Localizable.strings

    r5396 r5451  
    1717"%@ (%@ verified)" = "%1$@ (%2$@ verified)";
    1818
     19/* Prefs -> blocklist -> message */
     20"%@ IP address rules in list" = "%@ IP address rules in list";
     21
    1922/* Torrent -> progress string */
    2023"%@ of %@ (%.2f%%)" = "%1$@ of %2$@ (%3$.2f%%)";
     
    2932"%@ selected, uploaded %@ (Ratio: %@)" = "%1$@ selected, uploaded %2$@ (Ratio: %3$@)";
    3033
     34/* stats total */
     35"%@ total" = "%@ total";
     36
    3137/* Inspector -> selected torrents */
    3238"%@ Total" = "%@ Total";
    33 
    34 /* stats total */
    35 "%@ total" = "%@ total";
    3639
    3740/* Inspector -> Activity tab -> have */
     
    142145"\"%@\" cannot be used. The transfer will be paused." = "\"%@\" cannot be used. The transfer will be paused.";
    143146
     147/* Prefs -> blocklist -> message */
     148"A blocklist must first be downloaded" = "A blocklist must first be downloaded";
     149
    144150/* Create torrent -> file already exists warning -> warning */
    145151"A file with the name \"%@\" already exists in the directory \"%@\". Choose a new name or directory to create the torrent." = "A file with the name \"%1$@\" already exists in the directory \"%2$@\". Choose a new name or directory to create the torrent.";
     
    198204/* Confirm Quit panel -> button
    199205   Removal confirm panel -> button
     206   Blocklist -> cancel button
    200207   Add torrent -> same name -> button */
    201208"Cancel" = "Cancel";
     
    252259"Confirm removal of \"%@\" from the transfer list." = "Confirm removal of \"%@\" from the transfer list.";
    253260
     261/* Blocklist -> message */
     262"Connecting to site" = "Connecting to site";
     263
    254264/* Torrent file copy alert -> title */
    255265"Copy of \"%@\" Cannot Be Created" = "Copy of \"%@\" Cannot Be Created";
    256266
    257267/* Create torrent -> failed -> warning */
    258 "Could not read \"%s\": %s" = "Could not read \"%1$s\": %2$s";
     268"Could not read \"%s\": %s." = "Could not read \"%1$s\": %2$s.";
    259269
    260270/* Create torrent -> failed -> warning */
    261 "Could not write \"%s\": %s" = "Could not write \"%1$s\": %2$s";
     271"Could not write \"%s\": %s." = "Could not write \"%1$s\": %2$s.";
    262272
    263273/* Create toolbar item -> label */
     
    266276/* Drag overlay -> file */
    267277"Create a Torrent File" = "Create a Torrent File";
    268 
    269 /* Create toolbar item -> tooltip */
    270 "Create torrent file" = "Create torrent file";
    271278
    272279/* Create torrent -> select file
     
    274281"Create Torrent File" = "Create Torrent File";
    275282
     283/* Create toolbar item -> tooltip */
     284"Create torrent file" = "Create torrent file";
     285
    276286/* Create torrent -> failed -> title */
    277287"Creation of \"%@\" failed." = "Creation of \"%@\" failed.";
     
    311321"Download Complete" = "Download Complete";
    312322
     323/* Blocklist -> message */
     324"Download of the blocklist failed." = "Download of the blocklist failed.";
     325
    313326/* files tab -> tooltip */
    314327"Download Some" = "Download Some";
     
    322335/* Torrent -> status string */
    323336"Downloading" = "Downloading";
     337
     338/* Blocklist -> message */
     339"Downloading blocklist" = "Downloading blocklist";
    324340
    325341/* Torrent -> status string */
     
    338354/* Message window -> level string
    339355   Torrent -> status string
    340    Message window -> level */
     356   Message window -> level
     357   Blocklist -> message */
    341358"Error" = "Error";
    342359
     
    479496   Download not a torrent -> button
    480497   About window -> license close button
     498   Blocklist -> button
    481499   Open duplicate alert -> button
    482500   Create torrent -> zero size -> button
     
    497515"Open Torrent Address" = "Open Torrent Address";
    498516
     517/* Open toolbar item -> palette label */
     518"Open Torrent Files" = "Open Torrent Files";
     519
    499520/* Open toolbar item -> tooltip */
    500521"Open torrent files" = "Open torrent files";
    501 
    502 /* Open toolbar item -> palette label */
    503 "Open Torrent Files" = "Open Torrent Files";
    504522
    505523/* Open address toolbar item -> tooltip */
  • trunk/macosx/PrefsController.m

    r5444 r5451  
    379379        NSNumberFormatter * numberFormatter = [[NSNumberFormatter alloc] init];
    380380        [numberFormatter setNumberStyle: NSNumberFormatterDecimalStyle];
     381        [numberFormatter setMaximumFractionDigits: 0];
    381382        NSString * countString = [numberFormatter stringFromNumber: [NSNumber numberWithInt: tr_blocklistGetRuleCount(fHandle)]];
    382383        [numberFormatter release];
    383384       
    384         [fBlocklistMessageField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%@ IP addresses in list",
     385        [fBlocklistMessageField setStringValue: [NSString stringWithFormat: NSLocalizedString(@"%@ IP address rules in list",
    385386            "Prefs -> blocklist -> message"), countString]];
    386387    }
Note: See TracChangeset for help on using the changeset viewer.