mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Refactored the scan error message system which was too complicated, especially on cocoa. Replaced it with a simpler view.show_message(msg) call.
This commit is contained in:
@@ -62,4 +62,5 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
|
||||
/* model --> view */
|
||||
- (void)showExtraFairwareReminder;
|
||||
- (void)showMessage:(NSString *)msg;
|
||||
@end
|
||||
|
||||
@@ -94,7 +94,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
[op setCanCreateDirectories:NO];
|
||||
[op setAllowsMultipleSelection:NO];
|
||||
[op setAllowedFileTypes:[NSArray arrayWithObject:@"dupeguru"]];
|
||||
[op setTitle:TR(@"SelectResultToLoadMsg")];
|
||||
[op setTitle:TRMSG(@"SelectResultToLoadMsg")];
|
||||
if ([op runModal] == NSOKButton) {
|
||||
NSString *filename = [[op filenames] objectAtIndex:0];
|
||||
[py loadResultsFrom:filename];
|
||||
@@ -173,7 +173,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender
|
||||
{
|
||||
if ([py resultsAreModified]) {
|
||||
NSString *msg = TR(@"ReallyWantToQuitMsg");
|
||||
NSString *msg = TRMSG(@"ReallyWantToQuitMsg");
|
||||
if ([Dialogs askYesNo:msg] == NSAlertSecondButtonReturn) { // NO
|
||||
return NSTerminateCancel;
|
||||
}
|
||||
@@ -215,4 +215,9 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
[NSApp runModalForWindow:[dialog window]];
|
||||
[dialog release];
|
||||
}
|
||||
|
||||
- (void)showMessage:(NSString *)msg
|
||||
{
|
||||
[Dialogs showMessage:msg];
|
||||
}
|
||||
@end
|
||||
|
||||
@@ -20,4 +20,5 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
#define DGPrioritizeIndexPasteboardType @"DGPrioritizeIndexPasteboardType"
|
||||
|
||||
#define TR(s) NSLocalizedString(s, @"")
|
||||
#define TRCOL(s) NSLocalizedStringFromTable(s, @"columns", @"")
|
||||
#define TRCOL(s) NSLocalizedStringFromTable(s, @"columns", @"")
|
||||
#define TRMSG(s) NSLocalizedStringFromTable(s, @"message", @"")
|
||||
@@ -58,7 +58,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
[op setCanChooseFiles:YES];
|
||||
[op setCanChooseDirectories:YES];
|
||||
[op setAllowsMultipleSelection:YES];
|
||||
[op setTitle:TR(@"SelectFolderToAddMsg")];
|
||||
[op setTitle:TRMSG(@"SelectFolderToAddMsg")];
|
||||
[op setDelegate:self];
|
||||
if ([op runModal] == NSOKButton) {
|
||||
for (NSString *directory in [op filenames]) {
|
||||
@@ -122,10 +122,10 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
if (r) {
|
||||
NSString *m = @"";
|
||||
if (r == 1) {
|
||||
m = TR(@"FolderAlreadyInListMsg");
|
||||
m = TRMSG(@"FolderAlreadyInListMsg");
|
||||
}
|
||||
else if (r == 2) {
|
||||
m = TR(@"FolderDoesNotExistMsg");
|
||||
m = TRMSG(@"FolderDoesNotExistMsg");
|
||||
}
|
||||
[Dialogs showMessage:[NSString stringWithFormat:m,directory]];
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
- (NSString *)exportToXHTMLwithColumns:(NSArray *)aColIds;
|
||||
- (void)invokeCommand:(NSString *)cmd;
|
||||
|
||||
- (NSNumber *)doScan;
|
||||
- (void)doScan;
|
||||
|
||||
- (void)toggleSelectedMark;
|
||||
- (void)markAll;
|
||||
|
||||
@@ -68,7 +68,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
NSInteger selectedDupeCount = [self selectedDupeCount];
|
||||
if (!selectedDupeCount)
|
||||
return;
|
||||
NSString *msgFmt = TR(@"FileRemovalConfirmMsg");
|
||||
NSString *msgFmt = TRMSG(@"FileRemovalConfirmMsg");
|
||||
NSString *msg = [NSString stringWithFormat:msgFmt,selectedDupeCount];
|
||||
if ([Dialogs askYesNo:msg] == NSAlertSecondButtonReturn) // NO
|
||||
return;
|
||||
@@ -98,7 +98,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
if (![newName isEqual:oldName]) {
|
||||
BOOL renamed = [[self py] renameSelected:newName];
|
||||
if (!renamed) {
|
||||
[Dialogs showMessage:[NSString stringWithFormat:TR(@"FilenameAlreadyExistsMsg"), newName]];
|
||||
[Dialogs showMessage:[NSString stringWithFormat:TRMSG(@"FilenameAlreadyExistsMsg"), newName]];
|
||||
}
|
||||
else {
|
||||
[tableView setNeedsDisplay:YES];
|
||||
|
||||
@@ -36,7 +36,6 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
/* Virtual */
|
||||
- (void)initResultColumns;
|
||||
- (void)setScanOptions;
|
||||
- (NSString *)getScanErrorMessageForCode:(NSInteger)errorCode;
|
||||
|
||||
/* Helpers */
|
||||
- (void)fillColumnsMenu;
|
||||
|
||||
@@ -56,17 +56,6 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
{
|
||||
}
|
||||
|
||||
- (NSString *)getScanErrorMessageForCode:(NSInteger)errorCode
|
||||
{
|
||||
if (errorCode == 0) {
|
||||
return nil;
|
||||
}
|
||||
if (errorCode == 3) {
|
||||
return TR(@"NoScannableFileMsg");
|
||||
}
|
||||
return TR(@"UnknownErrorMsg");
|
||||
}
|
||||
|
||||
/* Helpers */
|
||||
- (void)fillColumnsMenu
|
||||
{
|
||||
@@ -149,9 +138,9 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
if (!mark_count) {
|
||||
return;
|
||||
}
|
||||
NSString *msg = TR(@"SendToTrashConfirmMsg");
|
||||
NSString *msg = TRMSG(@"SendToTrashConfirmMsg");
|
||||
if (hardlinkDeleted) {
|
||||
msg = TR(@"HardlinkConfirmMsg");
|
||||
msg = TRMSG(@"HardlinkConfirmMsg");
|
||||
}
|
||||
if ([Dialogs askYesNo:[NSString stringWithFormat:msg,mark_count]] == NSAlertSecondButtonReturn) { // NO
|
||||
return;
|
||||
@@ -179,7 +168,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
NSInteger i = n2i([py getIgnoreListCount]);
|
||||
if (!i)
|
||||
return;
|
||||
NSString *msg = [NSString stringWithFormat:TR(@"ClearIgnoreListConfirmMsg"),i];
|
||||
NSString *msg = [NSString stringWithFormat:TRMSG(@"ClearIgnoreListConfirmMsg"),i];
|
||||
if ([Dialogs askYesNo:msg] == NSAlertSecondButtonReturn) // NO
|
||||
return;
|
||||
[py clearIgnoreList];
|
||||
@@ -209,7 +198,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
[op setCanChooseDirectories:YES];
|
||||
[op setCanCreateDirectories:YES];
|
||||
[op setAllowsMultipleSelection:NO];
|
||||
[op setTitle:TR(@"SelectCopyDestinationMsg")];
|
||||
[op setTitle:TRMSG(@"SelectCopyDestinationMsg")];
|
||||
if ([op runModal] == NSOKButton) {
|
||||
NSString *directory = [[op filenames] objectAtIndex:0];
|
||||
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
|
||||
@@ -245,7 +234,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
NSInteger selectedDupeCount = [table selectedDupeCount];
|
||||
if (!selectedDupeCount)
|
||||
return;
|
||||
NSString *msg = [NSString stringWithFormat:TR(@"IgnoreConfirmMsg"),selectedDupeCount];
|
||||
NSString *msg = [NSString stringWithFormat:TRMSG(@"IgnoreConfirmMsg"),selectedDupeCount];
|
||||
if ([Dialogs askYesNo:msg] == NSAlertSecondButtonReturn) // NO
|
||||
return;
|
||||
[py addSelectedToIgnoreList];
|
||||
@@ -259,7 +248,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
[py invokeCommand:cmd];
|
||||
}
|
||||
else {
|
||||
[Dialogs showMessage:TR(@"NoCustomCommandMsg")];
|
||||
[Dialogs showMessage:TRMSG(@"NoCustomCommandMsg")];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -293,7 +282,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
[op setCanChooseDirectories:YES];
|
||||
[op setCanCreateDirectories:YES];
|
||||
[op setAllowsMultipleSelection:NO];
|
||||
[op setTitle:TR(@"SelectMoveDestinationMsg")];
|
||||
[op setTitle:TRMSG(@"SelectMoveDestinationMsg")];
|
||||
if ([op runModal] == NSOKButton) {
|
||||
NSString *directory = [[op filenames] objectAtIndex:0];
|
||||
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
|
||||
@@ -365,7 +354,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
NSSavePanel *sp = [NSSavePanel savePanel];
|
||||
[sp setCanCreateDirectories:YES];
|
||||
[sp setAllowedFileTypes:[NSArray arrayWithObject:@"dupeguru"]];
|
||||
[sp setTitle:TR(@"SelectResultToSaveMsg")];
|
||||
[sp setTitle:TRMSG(@"SelectResultToSaveMsg")];
|
||||
if ([sp runModal] == NSOKButton) {
|
||||
[py saveResultsAs:[sp filename]];
|
||||
[[app recentResults] addFile:[sp filename]];
|
||||
@@ -375,16 +364,11 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
- (IBAction)startDuplicateScan:(id)sender
|
||||
{
|
||||
if ([py resultsAreModified]) {
|
||||
if ([Dialogs askYesNo:TR(@"ReallyWantToContinueMsg")] == NSAlertSecondButtonReturn) // NO
|
||||
if ([Dialogs askYesNo:TRMSG(@"ReallyWantToContinueMsg")] == NSAlertSecondButtonReturn) // NO
|
||||
return;
|
||||
}
|
||||
[self setScanOptions];
|
||||
NSInteger r = n2i([py doScan]);
|
||||
NSString *errorMsg = [self getScanErrorMessageForCode:r];
|
||||
if (errorMsg != nil) {
|
||||
[[ProgressController mainProgressController] hide];
|
||||
[Dialogs showMessage:errorMsg];
|
||||
}
|
||||
[py doScan];
|
||||
}
|
||||
|
||||
- (IBAction)switchSelected:(id)sender
|
||||
@@ -437,7 +421,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
[problemDialog showWindow:self];
|
||||
}
|
||||
else {
|
||||
[Dialogs showMessage:TR(@"CopySuccessMsg")];
|
||||
[Dialogs showMessage:TRMSG(@"CopySuccessMsg")];
|
||||
}
|
||||
}
|
||||
else if ([lastAction isEqualTo:jobMove]) {
|
||||
@@ -445,7 +429,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
[problemDialog showWindow:self];
|
||||
}
|
||||
else {
|
||||
[Dialogs showMessage:TR(@"MoveSuccessMsg")];
|
||||
[Dialogs showMessage:TRMSG(@"MoveSuccessMsg")];
|
||||
}
|
||||
}
|
||||
else if ([lastAction isEqualTo:jobDelete]) {
|
||||
@@ -453,20 +437,20 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
[problemDialog showWindow:self];
|
||||
}
|
||||
else {
|
||||
[Dialogs showMessage:TR(@"SendToTrashSuccessMsg")];
|
||||
[Dialogs showMessage:TRMSG(@"SendToTrashSuccessMsg")];
|
||||
}
|
||||
}
|
||||
else if ([lastAction isEqualTo:jobScan]) {
|
||||
NSInteger rowCount = [[table py] numberOfRows];
|
||||
if (rowCount == 0) {
|
||||
[Dialogs showMessage:TR(@"NoDuplicateFoundMsg")];
|
||||
[Dialogs showMessage:TRMSG(@"NoDuplicateFoundMsg")];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void)jobInProgress:(NSNotification *)aNotification
|
||||
{
|
||||
[Dialogs showMessage:TR(@"TaskHangingMsg")];
|
||||
[Dialogs showMessage:TRMSG(@"TaskHangingMsg")];
|
||||
}
|
||||
|
||||
- (void)jobStarted:(NSNotification *)aNotification
|
||||
|
||||
@@ -7,34 +7,3 @@
|
||||
|
||||
"Add iPhoto Library" = "Add iPhoto Library";
|
||||
"Clear Picture Cache" = "Bildzwischenspeicher leeren";
|
||||
|
||||
/* Messages */
|
||||
"SelectResultToLoadMsg" = "Wählen Sie eine Ergebnisliste zum Laden aus.";
|
||||
"SelectCopyDestinationMsg" = "Select a directory to copy marked files to";
|
||||
"SelectMoveDestinationMsg" = "Select a directory to move marked files to";
|
||||
"SelectResultToSaveMsg" = "Datei zum Speichern der Ergebnisliste auswählen.";
|
||||
"SelectFolderToAddMsg" = "Wählen Sie einen Ordner aus, um ihn der Scanliste hinzuzufügen.";
|
||||
"ReallyWantToQuitMsg" = "Sie haben ungespeicherte Ergebnisse. Wollen Sie wirklich beenden?";
|
||||
"ReallyWantToContinueMsg" = "Sie haben ungespeicherte Ergebnisse. Möchten Sie wirklich fortfahren?";
|
||||
"FolderAlreadyInListMsg" = "'%@' already is in the list.";
|
||||
"FolderDoesNotExistMsg" = "'%@' does not exist.";
|
||||
"FileRemovalConfirmMsg" = "{} Dateien werden aus der Ergebnisliste entfernt. Fortfahren?";
|
||||
"FilenameAlreadyExistsMsg" = "The name '%@' already exists.";
|
||||
"NoScannableFileMsg" = "Der ausgewählte Ordner enthält keine scannbare Dateien.";
|
||||
"UnknownErrorMsg" = "Unknown Error.";
|
||||
"SendToTrashConfirmMsg" = "{} Dateien werden in den Mülleimer zu verschoben. Fortfahren?";
|
||||
"HardlinkConfirmMsg" = "{} Dateien werden gelöscht und mit physikalischen Verknüpfungen ersetzt. Fortfahren?";
|
||||
"ClearIgnoreListConfirmMsg" = "Möchten Sie wirklich alle {} Einträge aus der Ignorier-Liste löschen?";
|
||||
"IgnoreConfirmMsg" = "%d Dateien werden in zukünftigen Scans ignoriert werden. Fortfahren?";
|
||||
"NoCustomCommandMsg" = "Sie haben keinen eigenen Befehl erstellt. Bitte in den Einstellungen konfigurieren.";
|
||||
"CopySuccessMsg" = "All marked files were copied sucessfully.";
|
||||
"MoveSuccessMsg" = "All marked files were moved sucessfully.";
|
||||
"SendToTrashSuccessMsg" = "All marked files were sucessfully sent to Trash.";
|
||||
"NoDuplicateFoundMsg" = "Keine Duplikate gefunden.";
|
||||
"TaskHangingMsg" = "Eine vorherige Aktion ist noch in der Bearbeitung. Sie können noch keine Neue starten. Warten Sie einige Sekunden und versuchen es erneut.";
|
||||
|
||||
"RemoveDeadTracksConfirmMsg" = "Your iTunes Library contains %d dead tracks ready to be removed. Continue?";
|
||||
"NoDeadTrackMsg" = "You have no dead tracks in your iTunes Library";
|
||||
|
||||
"IPhotoAppNotFoundMsg" = "The iPhoto application couldn't be found.";
|
||||
"ClearPictureCacheConfirmMsg" = "Möchten Sie wirklich alle zwischengespeicherten Bildanalysen entfernen?";
|
||||
|
||||
29
cocoa/base/de.lproj/message.strings
Normal file
29
cocoa/base/de.lproj/message.strings
Normal file
@@ -0,0 +1,29 @@
|
||||
"SelectResultToLoadMsg" = "Wählen Sie eine Ergebnisliste zum Laden aus.";
|
||||
"SelectCopyDestinationMsg" = "Select a directory to copy marked files to";
|
||||
"SelectMoveDestinationMsg" = "Select a directory to move marked files to";
|
||||
"SelectResultToSaveMsg" = "Datei zum Speichern der Ergebnisliste auswählen.";
|
||||
"SelectFolderToAddMsg" = "Wählen Sie einen Ordner aus, um ihn der Scanliste hinzuzufügen.";
|
||||
"ReallyWantToQuitMsg" = "Sie haben ungespeicherte Ergebnisse. Wollen Sie wirklich beenden?";
|
||||
"ReallyWantToContinueMsg" = "Sie haben ungespeicherte Ergebnisse. Möchten Sie wirklich fortfahren?";
|
||||
"FolderAlreadyInListMsg" = "'%@' already is in the list.";
|
||||
"FolderDoesNotExistMsg" = "'%@' does not exist.";
|
||||
"FileRemovalConfirmMsg" = "{} Dateien werden aus der Ergebnisliste entfernt. Fortfahren?";
|
||||
"FilenameAlreadyExistsMsg" = "The name '%@' already exists.";
|
||||
"NoScannableFileMsg" = "Der ausgewählte Ordner enthält keine scannbare Dateien.";
|
||||
"UnknownErrorMsg" = "Unknown Error.";
|
||||
"SendToTrashConfirmMsg" = "{} Dateien werden in den Mülleimer zu verschoben. Fortfahren?";
|
||||
"HardlinkConfirmMsg" = "{} Dateien werden gelöscht und mit physikalischen Verknüpfungen ersetzt. Fortfahren?";
|
||||
"ClearIgnoreListConfirmMsg" = "Möchten Sie wirklich alle {} Einträge aus der Ignorier-Liste löschen?";
|
||||
"IgnoreConfirmMsg" = "%d Dateien werden in zukünftigen Scans ignoriert werden. Fortfahren?";
|
||||
"NoCustomCommandMsg" = "Sie haben keinen eigenen Befehl erstellt. Bitte in den Einstellungen konfigurieren.";
|
||||
"CopySuccessMsg" = "All marked files were copied sucessfully.";
|
||||
"MoveSuccessMsg" = "All marked files were moved sucessfully.";
|
||||
"SendToTrashSuccessMsg" = "All marked files were sucessfully sent to Trash.";
|
||||
"NoDuplicateFoundMsg" = "Keine Duplikate gefunden.";
|
||||
"TaskHangingMsg" = "Eine vorherige Aktion ist noch in der Bearbeitung. Sie können noch keine Neue starten. Warten Sie einige Sekunden und versuchen es erneut.";
|
||||
|
||||
"RemoveDeadTracksConfirmMsg" = "Your iTunes Library contains %d dead tracks ready to be removed. Continue?";
|
||||
"NoDeadTrackMsg" = "You have no dead tracks in your iTunes Library";
|
||||
|
||||
"IPhotoAppNotFoundMsg" = "The iPhoto application couldn't be found.";
|
||||
"ClearPictureCacheConfirmMsg" = "Möchten Sie wirklich alle zwischengespeicherten Bildanalysen entfernen?";
|
||||
@@ -7,34 +7,3 @@
|
||||
|
||||
"Add iPhoto Library" = "Add iPhoto Library";
|
||||
"Clear Picture Cache" = "Clear Picture Cache";
|
||||
|
||||
/* Messages */
|
||||
"SelectResultToLoadMsg" = "Select a results file to load";
|
||||
"SelectCopyDestinationMsg" = "Select a directory to copy marked files to";
|
||||
"SelectMoveDestinationMsg" = "Select a directory to move marked files to";
|
||||
"SelectResultToSaveMsg" = "Select a file to save your results to";
|
||||
"SelectFolderToAddMsg" = "Select a folder to add to the scanning list";
|
||||
"ReallyWantToQuitMsg" = "You have unsaved results, do you really want to quit?";
|
||||
"ReallyWantToContinueMsg" = "You have unsaved results, do you really want to continue?";
|
||||
"FolderAlreadyInListMsg" = "'%@' already is in the list.";
|
||||
"FolderDoesNotExistMsg" = "'%@' does not exist.";
|
||||
"FileRemovalConfirmMsg" = "You are about to remove %d files from results. Continue?";
|
||||
"FilenameAlreadyExistsMsg" = "The name '%@' already exists.";
|
||||
"NoScannableFileMsg" = "The selected directories contain no scannable file.";
|
||||
"UnknownErrorMsg" = "Unknown Error.";
|
||||
"SendToTrashConfirmMsg" = "You are about to send %d files to Trash. Continue?";
|
||||
"HardlinkConfirmMsg" = "You are about to send %d files to Trash (and hardlink them afterwards). Continue?";
|
||||
"ClearIgnoreListConfirmMsg" = "Do you really want to remove all %d items from the ignore list?";
|
||||
"IgnoreConfirmMsg" = "All selected %d matches are going to be ignored in all subsequent scans. Continue?";
|
||||
"NoCustomCommandMsg" = "You have no custom command set up. Set it up in your preferences.";
|
||||
"CopySuccessMsg" = "All marked files were copied sucessfully.";
|
||||
"MoveSuccessMsg" = "All marked files were moved sucessfully.";
|
||||
"SendToTrashSuccessMsg" = "All marked files were sucessfully sent to Trash.";
|
||||
"NoDuplicateFoundMsg" = "No duplicates found.";
|
||||
"TaskHangingMsg" = "A previous action is still hanging in there. You can't start a new one yet. Wait a few seconds, then try again.";
|
||||
|
||||
"RemoveDeadTracksConfirmMsg" = "Your iTunes Library contains %d dead tracks ready to be removed. Continue?";
|
||||
"NoDeadTrackMsg" = "You have no dead tracks in your iTunes Library";
|
||||
|
||||
"IPhotoAppNotFoundMsg" = "The iPhoto application couldn't be found.";
|
||||
"ClearPictureCacheConfirmMsg" = "Do you really want to remove all your cached picture analysis?";
|
||||
|
||||
29
cocoa/base/en.lproj/message.strings
Normal file
29
cocoa/base/en.lproj/message.strings
Normal file
@@ -0,0 +1,29 @@
|
||||
"SelectResultToLoadMsg" = "Select a results file to load";
|
||||
"SelectCopyDestinationMsg" = "Select a directory to copy marked files to";
|
||||
"SelectMoveDestinationMsg" = "Select a directory to move marked files to";
|
||||
"SelectResultToSaveMsg" = "Select a file to save your results to";
|
||||
"SelectFolderToAddMsg" = "Select a folder to add to the scanning list";
|
||||
"ReallyWantToQuitMsg" = "You have unsaved results, do you really want to quit?";
|
||||
"ReallyWantToContinueMsg" = "You have unsaved results, do you really want to continue?";
|
||||
"FolderAlreadyInListMsg" = "'%@' already is in the list.";
|
||||
"FolderDoesNotExistMsg" = "'%@' does not exist.";
|
||||
"FileRemovalConfirmMsg" = "You are about to remove %d files from results. Continue?";
|
||||
"FilenameAlreadyExistsMsg" = "The name '%@' already exists.";
|
||||
"NoScannableFileMsg" = "The selected directories contain no scannable file.";
|
||||
"UnknownErrorMsg" = "Unknown Error.";
|
||||
"SendToTrashConfirmMsg" = "You are about to send %d files to Trash. Continue?";
|
||||
"HardlinkConfirmMsg" = "You are about to send %d files to Trash (and hardlink them afterwards). Continue?";
|
||||
"ClearIgnoreListConfirmMsg" = "Do you really want to remove all %d items from the ignore list?";
|
||||
"IgnoreConfirmMsg" = "All selected %d matches are going to be ignored in all subsequent scans. Continue?";
|
||||
"NoCustomCommandMsg" = "You have no custom command set up. Set it up in your preferences.";
|
||||
"CopySuccessMsg" = "All marked files were copied sucessfully.";
|
||||
"MoveSuccessMsg" = "All marked files were moved sucessfully.";
|
||||
"SendToTrashSuccessMsg" = "All marked files were sucessfully sent to Trash.";
|
||||
"NoDuplicateFoundMsg" = "No duplicates found.";
|
||||
"TaskHangingMsg" = "A previous action is still hanging in there. You can't start a new one yet. Wait a few seconds, then try again.";
|
||||
|
||||
"RemoveDeadTracksConfirmMsg" = "Your iTunes Library contains %d dead tracks ready to be removed. Continue?";
|
||||
"NoDeadTrackMsg" = "You have no dead tracks in your iTunes Library";
|
||||
|
||||
"IPhotoAppNotFoundMsg" = "The iPhoto application couldn't be found.";
|
||||
"ClearPictureCacheConfirmMsg" = "Do you really want to remove all your cached picture analysis?";
|
||||
@@ -7,34 +7,3 @@
|
||||
|
||||
"Add iPhoto Library" = "Ajouter librairie iPhoto";
|
||||
"Clear Picture Cache" = "Vider la cache d'images";
|
||||
|
||||
/* Messages */
|
||||
"SelectResultToLoadMsg" = "Sélectionnez un fichier résultats à charger";
|
||||
"SelectCopyDestinationMsg" = "Sélectionnez un dossier vers lequel copier les fichiers";
|
||||
"SelectMoveDestinationMsg" = "Sélectionnez un dossier vers lequel déplacer les fichiers";
|
||||
"SelectResultToSaveMsg" = "Sélectionnez un fichier résultats dans lequel sauvegarder";
|
||||
"SelectFolderToAddMsg" = "Sélectionnez un dossier à ajouter à la liste";
|
||||
"ReallyWantToQuitMsg" = "Vos résultats ne sont pas sauvegardés. Voulez-vous vraiment quitter?";
|
||||
"ReallyWantToContinueMsg" = "Vos résultats ne sont pas sauvegardés. Voulez-vous vraiment continuer?";
|
||||
"FolderAlreadyInListMsg" = "'%@' est déjà dans la liste.";
|
||||
"FolderDoesNotExistMsg" = "'%@' n'existe pas.";
|
||||
"FileRemovalConfirmMsg" = "%d fichiers seront retirés des résultats. Continuer?";
|
||||
"FilenameAlreadyExistsMsg" = "Le nom '%@' existe déjà.";
|
||||
"NoScannableFileMsg" = "Les dossiers sélectionnés ne continnent pas de fichiers valides.";
|
||||
"UnknownErrorMsg" = "Erreur inconnue.";
|
||||
"SendToTrashConfirmMsg" = "%d fichiers seront envoyés à la corbeille. Continuer?";
|
||||
"HardlinkConfirmMsg" = "%d fichiers seront envoyés à la corbeille (puis 'hardlinkés'). Continuer?";
|
||||
"ClearIgnoreListConfirmMsg" = "Voulez-vous vider la liste de fichiers ignorés des %d items qu'elle contient?";
|
||||
"IgnoreConfirmMsg" = "%d fichiers seront ignorés des prochains scans. Continuer?";
|
||||
"NoCustomCommandMsg" = "Vous n'avez pas de commande personnalisée. Ajoutez-la dans vos préférences.";
|
||||
"CopySuccessMsg" = "Tous les fichiers marqués ont été copiés correctement.";
|
||||
"MoveSuccessMsg" = "Tous les fichiers déplacés ont été copiés correctement.";
|
||||
"SendToTrashSuccessMsg" = "Tous les fichiers marqués ont été correctement envoyés à la corbeille.";
|
||||
"NoDuplicateFoundMsg" = "Aucun doublon trouvé.";
|
||||
"TaskHangingMsg" = "Une action précédente est encore en cours. Attendez quelques secondes avant d'en repartir une nouvelle.";
|
||||
|
||||
"RemoveDeadTracksConfirmMsg" = "Votre librairie iTunes contient %d tracks mortes qui seront retirées. Continuer?";
|
||||
"NoDeadTrackMsg" = "Votre librairie iTunes ne contient aucune track morte.";
|
||||
|
||||
"IPhotoAppNotFoundMsg" = "iPhoto n'a pas pu être trouvée dans vos applications.";
|
||||
"ClearPictureCacheConfirmMsg" = "Voulez-vous vraiment vider la cache de vos analyses précédentes?";
|
||||
|
||||
29
cocoa/base/fr.lproj/message.strings
Normal file
29
cocoa/base/fr.lproj/message.strings
Normal file
@@ -0,0 +1,29 @@
|
||||
"SelectResultToLoadMsg" = "Sélectionnez un fichier résultats à charger";
|
||||
"SelectCopyDestinationMsg" = "Sélectionnez un dossier vers lequel copier les fichiers";
|
||||
"SelectMoveDestinationMsg" = "Sélectionnez un dossier vers lequel déplacer les fichiers";
|
||||
"SelectResultToSaveMsg" = "Sélectionnez un fichier résultats dans lequel sauvegarder";
|
||||
"SelectFolderToAddMsg" = "Sélectionnez un dossier à ajouter à la liste";
|
||||
"ReallyWantToQuitMsg" = "Vos résultats ne sont pas sauvegardés. Voulez-vous vraiment quitter?";
|
||||
"ReallyWantToContinueMsg" = "Vos résultats ne sont pas sauvegardés. Voulez-vous vraiment continuer?";
|
||||
"FolderAlreadyInListMsg" = "'%@' est déjà dans la liste.";
|
||||
"FolderDoesNotExistMsg" = "'%@' n'existe pas.";
|
||||
"FileRemovalConfirmMsg" = "%d fichiers seront retirés des résultats. Continuer?";
|
||||
"FilenameAlreadyExistsMsg" = "Le nom '%@' existe déjà.";
|
||||
"NoScannableFileMsg" = "Les dossiers sélectionnés ne contiennent pas de fichiers valides.";
|
||||
"UnknownErrorMsg" = "Erreur inconnue.";
|
||||
"SendToTrashConfirmMsg" = "%d fichiers seront envoyés à la corbeille. Continuer?";
|
||||
"HardlinkConfirmMsg" = "%d fichiers seront envoyés à la corbeille (puis 'hardlinkés'). Continuer?";
|
||||
"ClearIgnoreListConfirmMsg" = "Voulez-vous vider la liste de fichiers ignorés des %d items qu'elle contient?";
|
||||
"IgnoreConfirmMsg" = "%d fichiers seront ignorés des prochains scans. Continuer?";
|
||||
"NoCustomCommandMsg" = "Vous n'avez pas de commande personnalisée. Ajoutez-la dans vos préférences.";
|
||||
"CopySuccessMsg" = "Tous les fichiers marqués ont été copiés correctement.";
|
||||
"MoveSuccessMsg" = "Tous les fichiers déplacés ont été copiés correctement.";
|
||||
"SendToTrashSuccessMsg" = "Tous les fichiers marqués ont été correctement envoyés à la corbeille.";
|
||||
"NoDuplicateFoundMsg" = "Aucun doublon trouvé.";
|
||||
"TaskHangingMsg" = "Une action précédente est encore en cours. Attendez quelques secondes avant d'en repartir une nouvelle.";
|
||||
|
||||
"RemoveDeadTracksConfirmMsg" = "Votre librairie iTunes contient %d tracks mortes qui seront retirées. Continuer?";
|
||||
"NoDeadTrackMsg" = "Votre librairie iTunes ne contient aucune track morte.";
|
||||
|
||||
"IPhotoAppNotFoundMsg" = "iPhoto n'a pas pu être trouvée dans vos applications.";
|
||||
"ClearPictureCacheConfirmMsg" = "Voulez-vous vraiment vider la cache de vos analyses précédentes?";
|
||||
@@ -7,34 +7,3 @@
|
||||
|
||||
"Add iPhoto Library" = "Add iPhoto Library";
|
||||
"Clear Picture Cache" = "清空图片缓存";
|
||||
|
||||
/* Messages */
|
||||
"SelectResultToLoadMsg" = "选择一个结果文件并载入";
|
||||
"SelectCopyDestinationMsg" = "Select a directory to copy marked files to";
|
||||
"SelectMoveDestinationMsg" = "Select a directory to move marked files to";
|
||||
"SelectResultToSaveMsg" = "将结果保存为...";
|
||||
"SelectFolderToAddMsg" = "请选择一个文件夹并加入到扫描列表中";
|
||||
"ReallyWantToQuitMsg" = "您还没有保存扫描结果,确定要退出吗?";
|
||||
"ReallyWantToContinueMsg" = "目前还有结果尚未保存,确定要继续吗?";
|
||||
"FolderAlreadyInListMsg" = "'%@' already is in the list.";
|
||||
"FolderDoesNotExistMsg" = "'%@' does not exist.";
|
||||
"FileRemovalConfirmMsg" = "你将从结果中移除 {} 个文件。继续吗?";
|
||||
"FilenameAlreadyExistsMsg" = "The name '%@' already exists.";
|
||||
"NoScannableFileMsg" = "所选文件夹中不包含可供扫描的文件。";
|
||||
"UnknownErrorMsg" = "Unknown Error.";
|
||||
"SendToTrashConfirmMsg" = "即将有 {} 个文件被移到回收站。继续吗?";
|
||||
"HardlinkConfirmMsg" = "即将有 {} 个文件被移动垃圾桶并删除硬盘上的文件。继续吗?";
|
||||
"ClearIgnoreListConfirmMsg" = "确定要从忽略列表中移除 {} 项吗?";
|
||||
"IgnoreConfirmMsg" = "目前已选的 {} 个匹配项将在后续的扫描中被忽略。继续吗?";
|
||||
"NoCustomCommandMsg" = "你没有设定自定义命令。请在首选项中进行设定。";
|
||||
"CopySuccessMsg" = "All marked files were copied sucessfully.";
|
||||
"MoveSuccessMsg" = "All marked files were moved sucessfully.";
|
||||
"SendToTrashSuccessMsg" = "All marked files were sucessfully sent to Trash.";
|
||||
"NoDuplicateFoundMsg" = "没有找到重复文件。";
|
||||
"TaskHangingMsg" = "目前还有任务在执行,新任务无法开启。请等待几秒钟后再重新试一次。";
|
||||
|
||||
"RemoveDeadTracksConfirmMsg" = "Your iTunes Library contains %d dead tracks ready to be removed. Continue?";
|
||||
"NoDeadTrackMsg" = "You have no dead tracks in your iTunes Library";
|
||||
|
||||
"IPhotoAppNotFoundMsg" = "The iPhoto application couldn't be found.";
|
||||
"ClearPictureCacheConfirmMsg" = "确定要移除所有缓存图片?";
|
||||
|
||||
29
cocoa/base/zh_CN.lproj/message.strings
Normal file
29
cocoa/base/zh_CN.lproj/message.strings
Normal file
@@ -0,0 +1,29 @@
|
||||
"SelectResultToLoadMsg" = "选择一个结果文件并载入";
|
||||
"SelectCopyDestinationMsg" = "Select a directory to copy marked files to";
|
||||
"SelectMoveDestinationMsg" = "Select a directory to move marked files to";
|
||||
"SelectResultToSaveMsg" = "将结果保存为...";
|
||||
"SelectFolderToAddMsg" = "请选择一个文件夹并加入到扫描列表中";
|
||||
"ReallyWantToQuitMsg" = "您还没有保存扫描结果,确定要退出吗?";
|
||||
"ReallyWantToContinueMsg" = "目前还有结果尚未保存,确定要继续吗?";
|
||||
"FolderAlreadyInListMsg" = "'%@' already is in the list.";
|
||||
"FolderDoesNotExistMsg" = "'%@' does not exist.";
|
||||
"FileRemovalConfirmMsg" = "你将从结果中移除 {} 个文件。继续吗?";
|
||||
"FilenameAlreadyExistsMsg" = "The name '%@' already exists.";
|
||||
"NoScannableFileMsg" = "所选文件夹中不包含可供扫描的文件。";
|
||||
"UnknownErrorMsg" = "Unknown Error.";
|
||||
"SendToTrashConfirmMsg" = "即将有 {} 个文件被移到回收站。继续吗?";
|
||||
"HardlinkConfirmMsg" = "即将有 {} 个文件被移动垃圾桶并删除硬盘上的文件。继续吗?";
|
||||
"ClearIgnoreListConfirmMsg" = "确定要从忽略列表中移除 {} 项吗?";
|
||||
"IgnoreConfirmMsg" = "目前已选的 {} 个匹配项将在后续的扫描中被忽略。继续吗?";
|
||||
"NoCustomCommandMsg" = "你没有设定自定义命令。请在首选项中进行设定。";
|
||||
"CopySuccessMsg" = "All marked files were copied sucessfully.";
|
||||
"MoveSuccessMsg" = "All marked files were moved sucessfully.";
|
||||
"SendToTrashSuccessMsg" = "All marked files were sucessfully sent to Trash.";
|
||||
"NoDuplicateFoundMsg" = "没有找到重复文件。";
|
||||
"TaskHangingMsg" = "目前还有任务在执行,新任务无法开启。请等待几秒钟后再重新试一次。";
|
||||
|
||||
"RemoveDeadTracksConfirmMsg" = "Your iTunes Library contains %d dead tracks ready to be removed. Continue?";
|
||||
"NoDeadTrackMsg" = "You have no dead tracks in your iTunes Library";
|
||||
|
||||
"IPhotoAppNotFoundMsg" = "The iPhoto application couldn't be found.";
|
||||
"ClearPictureCacheConfirmMsg" = "确定要移除所有缓存图片?";
|
||||
Reference in New Issue
Block a user