allow columns in peer table to be reordered

This commit is contained in:
Mitchell Livingston 2007-10-01 15:50:38 +00:00
parent cba61802cf
commit 794ea0b0c6
3 changed files with 6 additions and 6 deletions

View File

@ -47,17 +47,17 @@
if (size < 1048576) if (size < 1048576)
{ {
convertedSize = size / 1024.0; convertedSize = size / 1024.0;
unit = NSLocalizedString(@"KB", "File size (beware of leading space)"); unit = NSLocalizedString(@"KB", "File size");
} }
else if (size < 1073741824) else if (size < 1073741824)
{ {
convertedSize = size / 1048576.0; convertedSize = size / 1048576.0;
unit = NSLocalizedString(@"MB", "File size (beware of leading space)"); unit = NSLocalizedString(@"MB", "File size");
} }
else else
{ {
convertedSize = size / 1073741824.0; convertedSize = size / 1073741824.0;
unit = NSLocalizedString(@"GB", "File size (beware of leading space)"); unit = NSLocalizedString(@"GB", "File size");
} }
//attempt to have minimum of 3 digits with at least 1 decimal //attempt to have minimum of 3 digits with at least 1 decimal

Binary file not shown.

View File

@ -284,7 +284,7 @@
/* Inspector -> Peers tab -> table row tooltip */ /* Inspector -> Peers tab -> table row tooltip */
"From: tracker" = "From: tracker"; "From: tracker" = "From: tracker";
/* File size (beware of leading space) */ /* File size */
"GB" = "GB"; "GB" = "GB";
/* Preferences -> General toolbar item title */ /* Preferences -> General toolbar item title */
@ -312,7 +312,7 @@
/* Download not a torrent -> message */ /* Download not a torrent -> message */
"It appears that the file \"%@\" from %@ is not a torrent file." = "It appears that the file \"%1$@\" from %2$@ is not a torrent file."; "It appears that the file \"%@\" from %@ is not a torrent file." = "It appears that the file \"%1$@\" from %2$@ is not a torrent file.";
/* File size (beware of leading space) */ /* File size */
"KB" = "KB"; "KB" = "KB";
/* About window -> license button */ /* About window -> license button */
@ -328,7 +328,7 @@
/* Inspector -> files tab -> tooltip */ /* Inspector -> files tab -> tooltip */
"Low Priority" = "Low Priority"; "Low Priority" = "Low Priority";
/* File size (beware of leading space) */ /* File size */
"MB" = "MB"; "MB" = "MB";
/* Inspector -> files tab -> tooltip */ /* Inspector -> files tab -> tooltip */