Fixed french translation

CQTexperiment
vspader 2006-04-05 17:25:51 +00:00
parent 676b220430
commit caf949db90
8 changed files with 56 additions and 23 deletions

View File

@ -1,12 +1,13 @@
0.05 alpha 2 0.05 alpha 2
------------ ------------
Fixed dock menu connections, and menu connections for play/stop/next/prev. Fixed dock menu connections, and menu connections for play, stop, next, and previous.
Fixed bindings for tag/info drawer. Fixed bindings for tag/info drawer.
Volume settings are now consistent across songs. Volume settings are now consistent across songs.
Window remembers its location. Window remembers its location.
Info button now turns off when manually dragging the info drawer closed. Info button now turns off when manually dragging the info drawer closed.
Fixed weirdness when displaying the info drawer after closing the window (via menu or keyboard shortcut). Performing Get info now makes the window visible. Fixed weirdness when displaying the info drawer after closing the window (via menu or keyboard shortcut). Performing Get info now makes the window visible.
Added a donation menu item. ($) Added a donation menu item. ($)
Clicking the text field now toggles Time Elapsed with Time Remaining.
0.05 alpha 1 0.05 alpha 1
------------ ------------

View File

@ -10,7 +10,7 @@
{ {
if([theEvent type] == NSLeftMouseDown) if([theEvent type] == NSLeftMouseDown)
{ {
[soundController toggleShowTimeRemaining:self]; [self sendAction:[self action] to:[self target]];
} }
} }

View File

@ -28,10 +28,10 @@
<integer>3</integer> <integer>3</integer>
<key>IBOpenObjects</key> <key>IBOpenObjects</key>
<array> <array>
<integer>513</integer>
<integer>463</integer> <integer>463</integer>
<integer>29</integer> <integer>29</integer>
<integer>21</integer> <integer>21</integer>
<integer>513</integer>
</array> </array>
<key>IBSystem Version</key> <key>IBSystem Version</key>
<string>8H14</string> <string>8H14</string>

Binary file not shown.

View File

@ -4,17 +4,19 @@
ACTIONS = { ACTIONS = {
addFiles = id; addFiles = id;
delEntries = id; delEntries = id;
donate = id;
loadPlaylist = id; loadPlaylist = id;
savePlaylist = id; savePlaylist = id;
savePlaylistAs = id; savePlaylistAs = id;
showInfo = id; toggleInfoDrawer = id;
}; };
CLASS = AppController; CLASS = AppController;
LANGUAGE = ObjC; LANGUAGE = ObjC;
OUTLETS = { OUTLETS = {
addButton = NSButton; addButton = NSButton;
infoButton = NSButton; infoButton = NSButton;
mainWindow = NSWindow; infoDrawer = NSDrawer;
mainWindow = NSPanel;
nextButton = NSButton; nextButton = NSButton;
playButton = NSButton; playButton = NSButton;
playlistController = PlaylistController; playlistController = PlaylistController;
@ -54,6 +56,33 @@
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{CLASS = InfoController; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, {CLASS = InfoController; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{CLASS = InfoView; LANGUAGE = ObjC; SUPERCLASS = NSView; }, {CLASS = InfoView; LANGUAGE = ObjC; SUPERCLASS = NSView; },
{
ACTIONS = {
changeVolume = id;
next = id;
pause = id;
pauseResume = id;
play = id;
playPauseResume = id;
prev = id;
resume = id;
seek = id;
stop = id;
toggleShowTimeRemaining = id;
};
CLASS = PlaybackController;
LANGUAGE = ObjC;
OUTLETS = {
bitrateField = NSTextField;
lengthField = NSTextField;
playButton = NSButton;
playlistController = PlaylistController;
playlistView = PlaylistView;
positionSlider = TrackingSlider;
timeField = NSTextField;
};
SUPERCLASS = NSObject;
},
{ {
ACTIONS = {takeRepeatFromObject = id; takeShuffleFromObject = id; }; ACTIONS = {takeRepeatFromObject = id; takeShuffleFromObject = id; };
CLASS = PlaylistController; CLASS = PlaylistController;
@ -64,7 +93,10 @@
{ {
CLASS = PlaylistView; CLASS = PlaylistView;
LANGUAGE = ObjC; LANGUAGE = ObjC;
OUTLETS = {playlistController = PlaylistController; soundController = SoundController; }; OUTLETS = {
playbackController = PlaybackController;
playlistController = PlaylistController;
};
SUPERCLASS = NSTableView; SUPERCLASS = NSTableView;
}, },
{ {

View File

@ -3,29 +3,28 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>IBDocumentLocation</key> <key>IBDocumentLocation</key>
<string>108 200 356 240 0 0 1280 938 </string> <string>36 273 625 294 0 0 1024 746 </string>
<key>IBEditorPositions</key> <key>IBEditorPositions</key>
<dict> <dict>
<key>29</key> <key>29</key>
<string>335 861 394 44 0 0 1280 938 </string> <string>335 923 394 44 0 0 1280 1002 </string>
<key>463</key> <key>463</key>
<string>484 555 312 249 0 0 1280 1002 </string> <string>484 555 312 249 0 0 1280 1002 </string>
<key>513</key> <key>513</key>
<string>608 220 166 106 0 0 1280 1002 </string> <string>513 509 166 106 0 0 1024 746 </string>
</dict> </dict>
<key>IBFramework Version</key> <key>IBFramework Version</key>
<string>439.0</string> <string>443.0</string>
<key>IBLockedObjects</key> <key>IBLockedObjects</key>
<array> <array>
<integer>484</integer> <integer>484</integer>
</array> </array>
<key>IBOpenObjects</key> <key>IBOpenObjects</key>
<array> <array>
<integer>29</integer>
<integer>280</integer>
<integer>21</integer> <integer>21</integer>
<integer>513</integer>
</array> </array>
<key>IBSystem Version</key> <key>IBSystem Version</key>
<string>8C46</string> <string>8H14</string>
</dict> </dict>
</plist> </plist>

Binary file not shown.

View File

@ -263,9 +263,8 @@
if (shuffle == YES) if (shuffle == YES)
{ {
int i = shuffleIndex; int i = shuffleIndex;
i += offset; i += offset;
// NSLog(@"SHUFFLE: %i %i %i %i", i, shuffleIndex, offset, [shuffleList count]);
while (i < 0) while (i < 0)
{ {
if (repeat == YES) if (repeat == YES)
@ -283,6 +282,7 @@
{ {
if (repeat == YES) if (repeat == YES)
{ {
NSLog(@"Adding shuffled list to back!");
[self addShuffledListToBack]; [self addShuffledListToBack];
} }
else else
@ -326,6 +326,9 @@
if (pe == nil) if (pe == nil)
return NO; return NO;
if (shuffle == YES)
shuffleIndex++;
[self setCurrentEntry:pe]; [self setCurrentEntry:pe];
return YES; return YES;
@ -352,24 +355,22 @@
NSArray *newList = [Shuffle shuffleList:[self arrangedObjects]]; NSArray *newList = [Shuffle shuffleList:[self arrangedObjects]];
NSIndexSet *indexSet = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, [newList count])]; NSIndexSet *indexSet = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, [newList count])];
[self insertObjects:newList atArrangedObjectIndexes:indexSet]; [shuffleList insertObjects:newList atIndexes:indexSet];
[newList release];
} }
- (void)addShuffledListToFront - (void)addShuffledListToFront
{ {
NSArray *newList = [Shuffle shuffleList:[self arrangedObjects]]; NSArray *newList = [Shuffle shuffleList:[self arrangedObjects]];
NSIndexSet *indexSet = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange([[self arrangedObjects] count], [newList count])]; NSIndexSet *indexSet = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange([shuffleList count], [newList count])];
NSLog(@"%@", newList);
[self insertObjects:newList atArrangedObjectIndexes:indexSet]; [shuffleList insertObjects:newList atIndexes:indexSet];
[newList release];
} }
- (void)resetShuffleList - (void)resetShuffleList
{ {
[shuffleList removeAllObjects]; [shuffleList removeAllObjects];
[self addShuffledListToFront];
shuffleIndex = 0; shuffleIndex = 0;
} }