diff --git a/cocoa/me/en.lproj/Preferences.strings b/cocoa/me/en.lproj/Preferences.strings index 9424e4e9..7edcb1ed 100644 Binary files a/cocoa/me/en.lproj/Preferences.strings and b/cocoa/me/en.lproj/Preferences.strings differ diff --git a/cocoa/me/en.lproj/Preferences.xib b/cocoa/me/en.lproj/Preferences.xib index 43ab9617..5193509a 100644 --- a/cocoa/me/en.lproj/Preferences.xib +++ b/cocoa/me/en.lproj/Preferences.xib @@ -12,7 +12,7 @@ YES - + YES @@ -34,6 +34,10 @@ NSApplication + + YES + DebugMode + YES @@ -691,7 +695,7 @@ 292 - {{14, 146}, {332, 13}} + {{14, 126}, {332, 13}} YES @@ -707,7 +711,7 @@ 292 - {{14, 189}, {332, 17}} + {{14, 169}, {332, 17}} YES @@ -723,7 +727,7 @@ 292 - {{14, 114}, {256, 26}} + {{14, 94}, {256, 26}} YES @@ -793,7 +797,7 @@ 266 - {{17, 167}, {326, 22}} + {{17, 147}, {326, 22}} YES @@ -841,6 +845,27 @@ 25 + + + 256 + {{15, 192}, {265, 18}} + + YES + + 67239424 + 0 + Debug mode (restart required) + + + 1211912703 + 2 + + + + 200 + 25 + + {{10, 33}, {360, 251}} @@ -1491,6 +1516,22 @@ 128 + + + value: values.DebugMode + + + + + + value: values.DebugMode + value + values.DebugMode + 2 + + + 132 + @@ -1594,10 +1635,11 @@ YES - - + + + @@ -2065,6 +2107,20 @@ + + 129 + + + YES + + + + + + 130 + + + @@ -2094,11 +2150,16 @@ 122.IBViewBoundsToFrameTransform 123.IBPluginDependency 125.IBPluginDependency + 125.IBViewBoundsToFrameTransform 125.ImportedFromIB2 126.IBPluginDependency + 129.IBPluginDependency + 129.IBViewBoundsToFrameTransform + 129.ImportedFromIB2 13.IBPluginDependency 13.IBViewBoundsToFrameTransform 13.ImportedFromIB2 + 130.IBPluginDependency 14.IBPluginDependency 14.IBViewBoundsToFrameTransform 14.ImportedFromIB2 @@ -2225,31 +2286,40 @@ com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABBYAAAwzAAAA + P4AAAL+AAABBYAAAwzQAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABBiAAAwx8AAA + P4AAAL+AAABBiAAAwyMAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBcAAAw2QAAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBoAAAw18AAA + + + com.apple.InterfaceBuilder.CocoaPlugin P4AAAL+AAABBcAAAwggAAA com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABC0AAAwvIAAA + P4AAAL+AAABBYAAAwuQAAA com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABBYAAAwuYAAA + P4AAAL+AAABBYAAAwwUAAA com.apple.InterfaceBuilder.CocoaPlugin @@ -2386,7 +2456,7 @@ - 128 + 132 diff --git a/cocoa/me/fr.lproj/Preferences.strings b/cocoa/me/fr.lproj/Preferences.strings index f0c04f4a..f5cce7e2 100644 --- a/cocoa/me/fr.lproj/Preferences.strings +++ b/cocoa/me/fr.lproj/Preferences.strings @@ -97,3 +97,6 @@ /* Class = "NSButtonCell"; title = "Ignore duplicates hardlinking to the same file"; ObjectID = "126"; */ "126.title" = "Ignorer doublons avec hardlink vers le même fichier"; + +/* Class = "NSButtonCell"; title = "Debug mode (restart required)"; ObjectID = "130"; */ +"130.title" = "Mode de déboguage (redémarrage requis)"; \ No newline at end of file diff --git a/cocoa/me/fr.lproj/Preferences.xib b/cocoa/me/fr.lproj/Preferences.xib index 8b1c02e6..c32e6875 100644 --- a/cocoa/me/fr.lproj/Preferences.xib +++ b/cocoa/me/fr.lproj/Preferences.xib @@ -335,7 +335,7 @@ 1211912703 2 - + NSImage NSSwitch @@ -362,7 +362,7 @@ 1211912703 2 - + @@ -465,7 +465,7 @@ 1211912703 2 - + @@ -487,7 +487,7 @@ 1211912703 2 - + @@ -509,7 +509,7 @@ 1211912703 2 - + @@ -547,7 +547,7 @@ 1211912703 2 - + @@ -569,7 +569,7 @@ 1211912703 2 - + @@ -591,7 +591,7 @@ 1211912703 2 - + @@ -613,7 +613,7 @@ 1211912703 2 - + @@ -635,7 +635,7 @@ 1211912703 2 - + @@ -657,7 +657,7 @@ 1211912703 2 - + @@ -694,7 +694,7 @@ 1211912703 2 - + @@ -705,7 +705,7 @@ 292 - {{14, 146}, {332, 13}} + {{14, 126}, {332, 13}} YES @@ -721,7 +721,7 @@ 292 - {{14, 189}, {332, 17}} + {{14, 169}, {332, 17}} YES @@ -737,7 +737,7 @@ 292 - {{14, 114}, {256, 26}} + {{14, 94}, {256, 26}} YES @@ -807,7 +807,7 @@ 266 - {{17, 167}, {326, 22}} + {{17, 147}, {326, 22}} YES @@ -848,7 +848,29 @@ 1211912703 2 - + + + + + 200 + 25 + + + + + 256 + {{15, 192}, {265, 18}} + + YES + + 67239424 + 0 + Mode de déboguage (redémarrage requis) + + + 1211912703 + 2 + @@ -1505,6 +1527,22 @@ 128 + + + value: values.DebugMode + + + + + + value: values.DebugMode + value + values.DebugMode + 2 + + + 132 + @@ -1608,10 +1646,11 @@ YES - - + + + @@ -2079,6 +2118,20 @@ + + 129 + + + YES + + + + + + 130 + + + @@ -2108,11 +2161,16 @@ 122.IBViewBoundsToFrameTransform 123.IBPluginDependency 125.IBPluginDependency + 125.IBViewBoundsToFrameTransform 125.ImportedFromIB2 126.IBPluginDependency + 129.IBPluginDependency + 129.IBViewBoundsToFrameTransform + 129.ImportedFromIB2 13.IBPluginDependency 13.IBViewBoundsToFrameTransform 13.ImportedFromIB2 + 130.IBPluginDependency 14.IBPluginDependency 14.IBViewBoundsToFrameTransform 14.ImportedFromIB2 @@ -2240,31 +2298,40 @@ com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABBYAAAwzAAAA + P4AAAL+AAABBYAAAwzQAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABBiAAAwx8AAA + P4AAAL+AAABBiAAAwyMAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBcAAAw2QAAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBoAAAw18AAA + + + com.apple.InterfaceBuilder.CocoaPlugin P4AAAL+AAABBcAAAwggAAA com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABC0AAAwvIAAA + P4AAAL+AAABBYAAAwuQAAA com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABBYAAAwuYAAA + P4AAAL+AAABBYAAAwwUAAA com.apple.InterfaceBuilder.CocoaPlugin @@ -2402,7 +2469,7 @@ - 128 + 132 diff --git a/cocoa/pe/en.lproj/Preferences.strings b/cocoa/pe/en.lproj/Preferences.strings index edcae149..810ff6ed 100644 Binary files a/cocoa/pe/en.lproj/Preferences.strings and b/cocoa/pe/en.lproj/Preferences.strings differ diff --git a/cocoa/pe/en.lproj/Preferences.xib b/cocoa/pe/en.lproj/Preferences.xib index 98619f78..6f98a515 100644 --- a/cocoa/pe/en.lproj/Preferences.xib +++ b/cocoa/pe/en.lproj/Preferences.xib @@ -34,12 +34,16 @@ NSApplication + + YES + DebugMode + YES 3 2 - {{92, 371}, {392, 231}} + {{92, 348}, {392, 254}} 1886912512 dupeGuru PE Preferences @@ -85,7 +89,7 @@ 12 - {{13, 40}, {366, 185}} + {{13, 40}, {366, 208}} YES @@ -99,7 +103,7 @@ 292 - {{117, 117}, {181, 21}} + {{117, 140}, {181, 21}} YES @@ -127,7 +131,7 @@ 292 - {{119, 100}, {80, 13}} + {{119, 123}, {80, 13}} YES @@ -163,7 +167,7 @@ 289 - {{216, 100}, {80, 13}} + {{216, 123}, {80, 13}} YES @@ -179,7 +183,7 @@ 292 - {{14, 122}, {100, 14}} + {{14, 145}, {100, 14}} YES @@ -199,7 +203,7 @@ 256 - {{15, 56}, {316, 18}} + {{15, 79}, {316, 18}} YES @@ -222,7 +226,7 @@ 256 - {{15, 76}, {316, 18}} + {{15, 99}, {316, 18}} YES @@ -243,7 +247,7 @@ 256 - {{15, 16}, {316, 18}} + {{15, 39}, {316, 18}} YES @@ -264,7 +268,7 @@ 256 - {{15, 36}, {316, 18}} + {{15, 59}, {316, 18}} YES @@ -285,7 +289,7 @@ 256 - {{301, 122}, {31, 14}} + {{301, 145}, {31, 14}} YES @@ -364,7 +368,7 @@ - {{10, 33}, {346, 139}} + {{10, 33}, {346, 162}} Basic @@ -381,7 +385,7 @@ 256 - {{15, 120}, {316, 18}} + {{15, 143}, {316, 18}} YES @@ -402,7 +406,7 @@ 256 - {{15, 100}, {316, 18}} + {{15, 123}, {316, 18}} YES @@ -420,10 +424,31 @@ 25 + + + 256 + {{15, 103}, {316, 18}} + + YES + + 67239424 + 0 + Debug mode (restart required) + + + 1211912703 + 2 + + + + 200 + 25 + + 292 - {{14, 34}, {318, 13}} + {{14, 37}, {318, 13}} YES @@ -439,7 +464,7 @@ 292 - {{14, 77}, {318, 17}} + {{14, 80}, {318, 17}} YES @@ -455,7 +480,7 @@ 292 - {{14, 2}, {216, 26}} + {{14, 5}, {216, 26}} YES @@ -531,7 +556,7 @@ 266 - {{17, 55}, {312, 22}} + {{17, 58}, {312, 22}} YES @@ -559,7 +584,7 @@ - {{10, 33}, {346, 139}} + {{10, 33}, {346, 162}} Advanced @@ -577,7 +602,7 @@ - {392, 231} + {392, 254} {{0, 0}, {1440, 878}} @@ -828,6 +853,30 @@ 73 + + + nextKeyView + + + + 77 + + + + value: values.DebugMode + + + + + + value: values.DebugMode + value + values.DebugMode + 2 + + + 78 + @@ -931,10 +980,11 @@ YES - - + + + @@ -1204,6 +1254,20 @@ + + 74 + + + YES + + + + + + 75 + + + @@ -1214,6 +1278,7 @@ 1.IBPluginDependency 1.ImportedFromIB2 10.IBPluginDependency + 10.IBViewBoundsToFrameTransform 10.ImportedFromIB2 11.IBPluginDependency 11.ImportedFromIB2 @@ -1278,10 +1343,15 @@ 66.IBViewBoundsToFrameTransform 67.IBPluginDependency 69.IBPluginDependency + 69.IBViewBoundsToFrameTransform 69.ImportedFromIB2 7.IBPluginDependency 7.ImportedFromIB2 70.IBPluginDependency + 74.IBPluginDependency + 74.IBViewBoundsToFrameTransform + 74.ImportedFromIB2 + 75.IBPluginDependency 8.IBPluginDependency 8.IBViewBoundsToFrameTransform 8.ImportedFromIB2 @@ -1295,6 +1365,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABDZgAAwoIAAA + com.apple.InterfaceBuilder.CocoaPlugin @@ -1311,9 +1384,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{88, 614}, {392, 231}} + {{88, 591}, {392, 254}} com.apple.InterfaceBuilder.CocoaPlugin - {{88, 614}, {392, 231}} + {{88, 591}, {392, 254}} {213, 107} @@ -1355,28 +1428,37 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABCVAAAwoYAAA + P4AAAL+AAABBYAAAwrwAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABCYAAAwkgAAA + P4AAAL+AAABBiAAAwpoAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBcAAAwwsAAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABCtgAAwdgAAA + P4AAAL+AAABBcAAAwu4AAA + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBYAAAweAAAA com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAAA/gAAAwagAAA + P4AAAL+AAABBYAAAwjwAAA @@ -1397,7 +1479,7 @@ - 73 + 78 diff --git a/cocoa/pe/fr.lproj/Preferences.strings b/cocoa/pe/fr.lproj/Preferences.strings index ccbf1233..69f6f88f 100644 --- a/cocoa/pe/fr.lproj/Preferences.strings +++ b/cocoa/pe/fr.lproj/Preferences.strings @@ -52,3 +52,6 @@ /* Class = "NSButtonCell"; title = "Ignore duplicates hardlinking to the same file"; ObjectID = "70"; */ "70.title" = "Ignorer doublons avec hardlink vers le même fichier"; + +/* Class = "NSButtonCell"; title = "Debug mode (restart required)"; ObjectID = "75"; */ +"75.title" = "Mode de déboguage (redémarrage requis)"; \ No newline at end of file diff --git a/cocoa/pe/fr.lproj/Preferences.xib b/cocoa/pe/fr.lproj/Preferences.xib index 66527f51..9d08bf8b 100644 --- a/cocoa/pe/fr.lproj/Preferences.xib +++ b/cocoa/pe/fr.lproj/Preferences.xib @@ -38,7 +38,7 @@ 3 2 - {{92, 371}, {392, 231}} + {{92, 348}, {392, 254}} 1886912512 Préférences de dupeGuru PE @@ -84,7 +84,7 @@ 12 - {{13, 40}, {366, 185}} + {{13, 40}, {366, 208}} YES @@ -98,7 +98,7 @@ 292 - {{117, 117}, {181, 21}} + {{117, 140}, {181, 21}} YES @@ -126,7 +126,7 @@ 292 - {{119, 100}, {80, 13}} + {{119, 123}, {80, 13}} YES @@ -162,7 +162,7 @@ 289 - {{216, 100}, {80, 13}} + {{216, 123}, {80, 13}} YES @@ -178,7 +178,7 @@ 292 - {{14, 122}, {100, 14}} + {{14, 145}, {100, 14}} YES @@ -198,7 +198,7 @@ 256 - {{15, 56}, {316, 18}} + {{15, 79}, {316, 18}} YES @@ -209,7 +209,7 @@ 1211912703 2 - + NSImage NSSwitch @@ -225,18 +225,18 @@ 256 - {{15, 76}, {316, 18}} + {{15, 99}, {316, 18}} YES 67239424 0 - Comparer les images de taille différente + Comparer les images de tailles différentes 1211912703 2 - + @@ -247,7 +247,7 @@ 256 - {{15, 16}, {316, 18}} + {{15, 39}, {316, 18}} YES @@ -258,7 +258,7 @@ 1211912703 2 - + @@ -269,7 +269,7 @@ 256 - {{15, 36}, {316, 18}} + {{15, 59}, {316, 18}} YES @@ -280,7 +280,7 @@ 1211912703 2 - + @@ -291,7 +291,7 @@ 256 - {{301, 122}, {31, 14}} + {{301, 145}, {31, 14}} YES @@ -370,7 +370,7 @@ - {{10, 33}, {346, 139}} + {{10, 33}, {346, 162}} Simple @@ -387,7 +387,7 @@ 256 - {{15, 120}, {316, 18}} + {{15, 143}, {316, 18}} YES @@ -398,7 +398,7 @@ 1211912703 2 - + @@ -409,7 +409,7 @@ 256 - {{15, 100}, {316, 18}} + {{15, 123}, {316, 18}} YES @@ -420,7 +420,29 @@ 1211912703 2 - + + + + + 200 + 25 + + + + + 256 + {{15, 103}, {316, 18}} + + YES + + 67239424 + 0 + Mode de déboguage (redémarrage requis) + + + 1211912703 + 2 + @@ -431,7 +453,7 @@ 292 - {{14, 34}, {318, 13}} + {{14, 37}, {318, 13}} YES @@ -447,7 +469,7 @@ 292 - {{14, 77}, {318, 17}} + {{14, 80}, {318, 17}} YES @@ -463,7 +485,7 @@ 292 - {{14, 2}, {216, 26}} + {{14, 5}, {216, 26}} YES @@ -539,7 +561,7 @@ 266 - {{17, 55}, {312, 22}} + {{17, 58}, {312, 22}} YES @@ -567,7 +589,7 @@ - {{10, 33}, {346, 139}} + {{10, 33}, {346, 162}} Avancé @@ -585,7 +607,7 @@ - {392, 231} + {392, 254} {{0, 0}, {1440, 878}} {213, 129} @@ -835,6 +857,30 @@ 73 + + + nextKeyView + + + + 77 + + + + value: values.DebugMode + + + + + + value: values.DebugMode + value + values.DebugMode + 2 + + + 78 + @@ -938,10 +984,11 @@ YES - - + + + @@ -1211,6 +1258,20 @@ + + 74 + + + YES + + + + + + 75 + + + @@ -1221,6 +1282,7 @@ 1.IBPluginDependency 1.ImportedFromIB2 10.IBPluginDependency + 10.IBViewBoundsToFrameTransform 10.ImportedFromIB2 11.IBPluginDependency 11.ImportedFromIB2 @@ -1286,10 +1348,15 @@ 66.IBViewBoundsToFrameTransform 67.IBPluginDependency 69.IBPluginDependency + 69.IBViewBoundsToFrameTransform 69.ImportedFromIB2 7.IBPluginDependency 7.ImportedFromIB2 70.IBPluginDependency + 74.IBPluginDependency + 74.IBViewBoundsToFrameTransform + 74.ImportedFromIB2 + 75.IBPluginDependency 8.IBPluginDependency 8.IBViewBoundsToFrameTransform 8.ImportedFromIB2 @@ -1303,6 +1370,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABDZgAAwoIAAA + com.apple.InterfaceBuilder.CocoaPlugin @@ -1319,9 +1389,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{88, 614}, {392, 231}} + {{88, 591}, {392, 254}} com.apple.InterfaceBuilder.CocoaPlugin - {{88, 614}, {392, 231}} + {{88, 591}, {392, 254}} {1.79769e+308, 1.79769e+308} @@ -1364,28 +1434,37 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABCVAAAwoYAAA + P4AAAL+AAABBYAAAwrwAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABCYAAAwkgAAA + P4AAAL+AAABBiAAAwpoAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBcAAAwwsAAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABCtgAAwdgAAA + P4AAAL+AAABBcAAAwu4AAA + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBYAAAweAAAA com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAAA/gAAAwagAAA + P4AAAL+AAABBYAAAwjwAAA @@ -1406,7 +1485,7 @@ - 73 + 78 diff --git a/cocoa/se/en.lproj/Preferences.strings b/cocoa/se/en.lproj/Preferences.strings index 9bfd1877..8ca4e5c1 100644 Binary files a/cocoa/se/en.lproj/Preferences.strings and b/cocoa/se/en.lproj/Preferences.strings differ diff --git a/cocoa/se/en.lproj/Preferences.xib b/cocoa/se/en.lproj/Preferences.xib index b68be647..ffb394a9 100644 --- a/cocoa/se/en.lproj/Preferences.xib +++ b/cocoa/se/en.lproj/Preferences.xib @@ -34,6 +34,10 @@ NSApplication + + YES + DebugMode + YES @@ -641,10 +645,31 @@ 25 + + + 256 + {{15, 174}, {313, 18}} + + YES + + 67239424 + 0 + Debug mode (restart required) + + + 1211912703 + 2 + + + + 200 + 25 + + 292 - {{14, 171}, {315, 17}} + {{14, 151}, {315, 17}} YES @@ -660,7 +685,7 @@ 266 - {{17, 141}, {309, 22}} + {{17, 121}, {309, 22}} YES @@ -677,7 +702,7 @@ 292 - {{14, 120}, {315, 13}} + {{14, 100}, {315, 13}} YES @@ -693,7 +718,7 @@ 292 - {{14, 88}, {234, 26}} + {{14, 68}, {234, 26}} YES @@ -1102,6 +1127,22 @@ 144 + + + value: values.DebugMode + + + + + + value: values.DebugMode + value + values.DebugMode + 2 + + + 148 + @@ -1205,6 +1246,7 @@ YES + @@ -1601,6 +1643,20 @@ + + 145 + + + YES + + + + + + 146 + + + @@ -1618,13 +1674,20 @@ 128.ImportedFromIB2 129.IBPluginDependency 133.IBPluginDependency + 133.IBViewBoundsToFrameTransform 133.ImportedFromIB2 134.IBPluginDependency 138.IBPluginDependency + 138.IBViewBoundsToFrameTransform 139.IBPluginDependency 141.IBPluginDependency + 141.IBViewBoundsToFrameTransform 141.ImportedFromIB2 142.IBPluginDependency + 145.IBPluginDependency + 145.IBViewBoundsToFrameTransform + 145.ImportedFromIB2 + 146.IBPluginDependency 51.IBPluginDependency 51.ImportedFromIB2 52.IBEditorWindowLastContentRect @@ -1653,6 +1716,7 @@ 60.IBViewBoundsToFrameTransform 60.ImportedFromIB2 61.IBPluginDependency + 61.IBViewBoundsToFrameTransform 61.ImportedFromIB2 62.IBPluginDependency 62.ImportedFromIB2 @@ -1728,11 +1792,26 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBYAAAwyYAAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBiAAAww0AAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBcAAAw1IAAA + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBoAAAw00AAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1769,10 +1848,13 @@ com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABCygAAwtwAAA + P4AAAL+AAABBYAAAwrgAAA com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBYAAAwt4AAA + com.apple.InterfaceBuilder.CocoaPlugin @@ -1854,7 +1936,7 @@ - 144 + 148 diff --git a/cocoa/se/fr.lproj/Preferences.strings b/cocoa/se/fr.lproj/Preferences.strings index 054d5bc0..15214e95 100644 --- a/cocoa/se/fr.lproj/Preferences.strings +++ b/cocoa/se/fr.lproj/Preferences.strings @@ -70,3 +70,6 @@ /* Class = "NSButtonCell"; title = "Ignore duplicates hardlinking to the same file"; ObjectID = "142"; */ "142.title" = "Ignorer doublons avec hardlink vers le même fichier"; + +/* Class = "NSButtonCell"; title = "Debug mode (restart required)"; ObjectID = "146"; */ +"146.title" = "Mode de déboguage (redémarrage requis)"; \ No newline at end of file diff --git a/cocoa/se/fr.lproj/Preferences.xib b/cocoa/se/fr.lproj/Preferences.xib index 38457029..79da7f23 100644 --- a/cocoa/se/fr.lproj/Preferences.xib +++ b/cocoa/se/fr.lproj/Preferences.xib @@ -290,7 +290,7 @@ 1211912703 2 - + NSImage NSSwitch @@ -317,7 +317,7 @@ 1211912703 2 - + @@ -339,7 +339,7 @@ 1211912703 2 - + @@ -361,7 +361,7 @@ 1211912703 2 - + @@ -383,7 +383,7 @@ 1211912703 2 - + @@ -405,7 +405,7 @@ 1211912703 2 - + @@ -621,7 +621,7 @@ 1211912703 2 - + @@ -643,7 +643,29 @@ 1211912703 2 - + + + + + 200 + 25 + + + + + 256 + {{15, 174}, {313, 18}} + + YES + + 67239424 + 0 + Mode de déboguage (redémarrage requis) + + + 1211912703 + 2 + @@ -654,7 +676,7 @@ 292 - {{14, 171}, {315, 17}} + {{14, 151}, {315, 17}} YES @@ -670,7 +692,7 @@ 266 - {{17, 141}, {309, 22}} + {{17, 121}, {309, 22}} YES @@ -687,7 +709,7 @@ 292 - {{14, 120}, {315, 13}} + {{14, 100}, {315, 13}} YES @@ -703,7 +725,7 @@ 292 - {{14, 88}, {234, 26}} + {{14, 68}, {234, 26}} YES @@ -1111,6 +1133,22 @@ 144 + + + value: values.DebugMode + + + + + + value: values.DebugMode + value + values.DebugMode + 2 + + + 148 + @@ -1214,6 +1252,7 @@ YES + @@ -1610,6 +1649,20 @@ + + 145 + + + YES + + + + + + 146 + + + @@ -1627,13 +1680,20 @@ 128.ImportedFromIB2 129.IBPluginDependency 133.IBPluginDependency + 133.IBViewBoundsToFrameTransform 133.ImportedFromIB2 134.IBPluginDependency 138.IBPluginDependency + 138.IBViewBoundsToFrameTransform 139.IBPluginDependency 141.IBPluginDependency + 141.IBViewBoundsToFrameTransform 141.ImportedFromIB2 142.IBPluginDependency + 145.IBPluginDependency + 145.IBViewBoundsToFrameTransform + 145.ImportedFromIB2 + 146.IBPluginDependency 51.IBPluginDependency 51.ImportedFromIB2 52.IBEditorWindowLastContentRect @@ -1663,6 +1723,7 @@ 60.IBViewBoundsToFrameTransform 60.ImportedFromIB2 61.IBPluginDependency + 61.IBViewBoundsToFrameTransform 61.ImportedFromIB2 62.IBPluginDependency 62.ImportedFromIB2 @@ -1738,11 +1799,26 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBYAAAwyYAAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBiAAAww0AAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBcAAAw1IAAA + + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBoAAAw00AAA + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1780,10 +1856,13 @@ com.apple.InterfaceBuilder.CocoaPlugin - P4AAAL+AAABCygAAwtwAAA + P4AAAL+AAABBYAAAwrgAAA com.apple.InterfaceBuilder.CocoaPlugin + + P4AAAL+AAABBYAAAwt4AAA + com.apple.InterfaceBuilder.CocoaPlugin @@ -1865,7 +1944,7 @@ - 144 + 148 diff --git a/core/app.py b/core/app.py index fe48180f..af88c9f7 100644 --- a/core/app.py +++ b/core/app.py @@ -30,12 +30,16 @@ JOB_COPY = 'job_copy' JOB_DELETE = 'job_delete' HAD_FIRST_LAUNCH_PREFERENCE = 'HadFirstLaunch' +DEBUG_MODE_PREFERENCE = 'DebugMode' class NoScannableFileError(Exception): pass class DupeGuru(RegistrableApplication, Broadcaster): def __init__(self, data_module, appdata): + if self.get_default(DEBUG_MODE_PREFERENCE, False): + logging.getLogger().setLevel(logging.DEBUG) + logging.debug("Debug mode enabled") RegistrableApplication.__init__(self, appid=1) Broadcaster.__init__(self) self.is_first_run = not self.get_default(HAD_FIRST_LAUNCH_PREFERENCE, False) diff --git a/core/app_cocoa.py b/core/app_cocoa.py index 9e2b5e53..7efd56a0 100644 --- a/core/app_cocoa.py +++ b/core/app_cocoa.py @@ -29,9 +29,7 @@ JOBID2TITLE = { class DupeGuru(app.DupeGuru): def __init__(self, data_module, appdata_subdir): - LOGGING_LEVEL = logging.DEBUG if self.get_default('debug') else logging.WARNING - logging.basicConfig(level=LOGGING_LEVEL, format='%(levelname)s %(message)s') - logging.debug('started in debug mode') + logging.basicConfig(level=logging.WARNING, format='%(levelname)s %(message)s') install_exception_hook() appsupport = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, True)[0] appdata = op.join(appsupport, appdata_subdir) diff --git a/core/directories.py b/core/directories.py index d1a67a76..7bdca852 100644 --- a/core/directories.py +++ b/core/directories.py @@ -7,6 +7,7 @@ # http://www.hardcoded.net/licenses/bsd_license from xml.etree import ElementTree as ET +import logging from hscommon import io from hscommon.path import Path @@ -24,7 +25,7 @@ class AlreadyThereError(Exception): class InvalidPathError(Exception): """The path being added is invalid""" -class Directories(object): +class Directories: #---Override def __init__(self, fileclasses=[fs.File]): self._dirs = [] @@ -63,7 +64,9 @@ class Directories(object): try: filepaths = set() if state != STATE_EXCLUDED: - for file in fs.get_files(from_path, fileclasses=self.fileclasses): + found_files = fs.get_files(from_path, fileclasses=self.fileclasses) + logging.debug("Collected {} files in folder {}".format(len(found_files), str(from_path))) + for file in found_files: file.is_ref = state == STATE_REFERENCE filepaths.add(file.path) yield file diff --git a/core/scanner.py b/core/scanner.py index 3d192a0c..9df5197e 100644 --- a/core/scanner.py +++ b/core/scanner.py @@ -66,6 +66,7 @@ class Scanner: ScanType.Tag: lambda f: [engine.getwords(str(getattr(f, attrname))) for attrname in SCANNABLE_TAGS if attrname in self.scanned_tags], }[self.scan_type] for f in j.iter_with_progress(files, tr("Read metadata of %d/%d files")): + logging.debug("Reading metadata of {}".format(str(f.path))) f.words = func(f) return engine.getmatches(files, j=j, **kw) diff --git a/qt/base/app.py b/qt/base/app.py index 30cda8e2..851f42ea 100644 --- a/qt/base/app.py +++ b/qt/base/app.py @@ -48,7 +48,8 @@ class DupeGuru(DupeGuruBase, QObject): if not op.exists(appdata): os.makedirs(appdata) # For basicConfig() to work, we have to be sure that no logging has taken place before this call. - logging.basicConfig(filename=op.join(appdata, 'debug.log'), level=logging.WARNING) + logging.basicConfig(filename=op.join(appdata, 'debug.log'), level=logging.WARNING, + format='%(asctime)s - %(levelname)s - %(message)s') self.prefs = self._create_preferences() self.prefs.load() DupeGuruBase.__init__(self, data_module, appdata) diff --git a/qt/base/preferences.py b/qt/base/preferences.py index 1b63df01..63c3436e 100644 --- a/qt/base/preferences.py +++ b/qt/base/preferences.py @@ -27,6 +27,7 @@ class Preferences(PreferencesBase): self.ignore_hardlink_matches = get('IgnoreHardlinkMatches', self.ignore_hardlink_matches) self.use_regexp = get('UseRegexp', self.use_regexp) self.remove_empty_folders = get('RemoveEmptyFolders', self.remove_empty_folders) + self.debug_mode = get('DebugMode', self.debug_mode) self.destination_type = get('DestinationType', self.destination_type) self.custom_command = get('CustomCommand', self.custom_command) self.language = get('Language', self.language) @@ -59,6 +60,7 @@ class Preferences(PreferencesBase): self.use_regexp = False self.ignore_hardlink_matches = False self.remove_empty_folders = False + self.debug_mode = False self.destination_type = 1 self.custom_command = '' self.language = '' @@ -89,6 +91,7 @@ class Preferences(PreferencesBase): set_('IgnoreHardlinkMatches', self.ignore_hardlink_matches) set_('UseRegexp', self.use_regexp) set_('RemoveEmptyFolders', self.remove_empty_folders) + set_('DebugMode', self.debug_mode) set_('DestinationType', self.destination_type) set_('CustomCommand', self.custom_command) set_('ColumnsWidth', self.columns_width) diff --git a/qt/base/preferences_dialog.py b/qt/base/preferences_dialog.py index 1d90a268..d220136f 100644 --- a/qt/base/preferences_dialog.py +++ b/qt/base/preferences_dialog.py @@ -131,6 +131,7 @@ class PreferencesDialogBase(QDialog): setchecked(self.useRegexpBox, prefs.use_regexp) setchecked(self.removeEmptyFoldersBox, prefs.remove_empty_folders) setchecked(self.ignoreHardlinkMatches, prefs.ignore_hardlink_matches) + setchecked(self.debugModeBox, prefs.debug_mode) self.copyMoveDestinationComboBox.setCurrentIndex(prefs.destination_type) self.customCommandEdit.setText(prefs.custom_command) langindex = {'fr': 1}.get(self.app.prefs.language, 0) @@ -145,6 +146,7 @@ class PreferencesDialogBase(QDialog): prefs.use_regexp = ischecked(self.useRegexpBox) prefs.remove_empty_folders = ischecked(self.removeEmptyFoldersBox) prefs.ignore_hardlink_matches = ischecked(self.ignoreHardlinkMatches) + prefs.debug_mode = ischecked(self.debugModeBox) prefs.destination_type = self.copyMoveDestinationComboBox.currentIndex() prefs.custom_command = str(self.customCommandEdit.text()) langs = ['en', 'fr'] diff --git a/qt/lang/fr.ts b/qt/lang/fr.ts index f67dcdc3..f0d03b31 100644 --- a/qt/lang/fr.ts +++ b/qt/lang/fr.ts @@ -390,6 +390,8 @@ Delete and hardlink duplicates Hardlinking de doublons + + Scan Type: Type de scan: @@ -534,6 +536,10 @@ French Français + + Debug mode (restart required) + Mode de déboguage (redémarrage requis) + diff --git a/qt/me/preferences_dialog.py b/qt/me/preferences_dialog.py index 77edca4b..f613c1fe 100644 --- a/qt/me/preferences_dialog.py +++ b/qt/me/preferences_dialog.py @@ -88,6 +88,8 @@ class PreferencesDialog(PreferencesDialogBase): self.widgetsVLayout.addWidget(self.removeEmptyFoldersBox) self._setupAddCheckbox('ignoreHardlinkMatches', tr("Ignore duplicates hardlinking to the same file")) self.widgetsVLayout.addWidget(self.ignoreHardlinkMatches) + self._setupAddCheckbox('debugModeBox', tr(tr("Debug mode (restart required)"))) + self.widgetsVLayout.addWidget(self.debugModeBox) self._setupBottomPart() def _load(self, prefs, setchecked): diff --git a/qt/pe/preferences_dialog.py b/qt/pe/preferences_dialog.py index 113fb109..d7cb8b1f 100644 --- a/qt/pe/preferences_dialog.py +++ b/qt/pe/preferences_dialog.py @@ -28,6 +28,8 @@ class PreferencesDialog(PreferencesDialogBase): self.widgetsVLayout.addWidget(self.removeEmptyFoldersBox) self._setupAddCheckbox('ignoreHardlinkMatches', tr("Ignore duplicates hardlinking to the same file")) self.widgetsVLayout.addWidget(self.ignoreHardlinkMatches) + self._setupAddCheckbox('debugModeBox', tr(tr("Debug mode (restart required)"))) + self.widgetsVLayout.addWidget(self.debugModeBox) self._setupBottomPart() def _load(self, prefs, setchecked): diff --git a/qt/se/preferences_dialog.py b/qt/se/preferences_dialog.py index 6154b634..ea773d16 100644 --- a/qt/se/preferences_dialog.py +++ b/qt/se/preferences_dialog.py @@ -76,6 +76,8 @@ class PreferencesDialog(PreferencesDialogBase): self.verticalLayout_4.addLayout(self.horizontalLayout_2) self._setupAddCheckbox('ignoreHardlinkMatches', tr("Ignore duplicates hardlinking to the same file"), self.widget) self.verticalLayout_4.addWidget(self.ignoreHardlinkMatches) + self._setupAddCheckbox('debugModeBox', tr(tr("Debug mode (restart required)")), self.widget) + self.verticalLayout_4.addWidget(self.debugModeBox) self.widgetsVLayout.addWidget(self.widget) self._setupBottomPart()