Revision: 3929
http://skim-app.svn.sourceforge.net/skim-app/?rev=3929&view=rev
Author: hofman
Date: 2008-05-29 02:51:25 -0700 (Thu, 29 May 2008)
Log Message:
-----------
Add some more zoom values to popup
Modified Paths:
--------------
trunk/BDSKZoomablePDFView.m
trunk/Dutch.lproj/ZoomValues.strings
trunk/English.lproj/ZoomValues.strings
trunk/French.lproj/ZoomValues.strings
trunk/German.lproj/ZoomValues.strings
trunk/Italian.lproj/ZoomValues.strings
trunk/SKSecondaryPDFView.m
trunk/Spanish.lproj/ZoomValues.strings
trunk/cs.lproj/ZoomValues.strings
trunk/ru.lproj/ZoomValues.strings
Modified: trunk/BDSKZoomablePDFView.m
===================================================================
--- trunk/BDSKZoomablePDFView.m 2008-05-28 16:37:00 UTC (rev 3928)
+++ trunk/BDSKZoomablePDFView.m 2008-05-29 09:51:25 UTC (rev 3929)
@@ -46,18 +46,26 @@
/* For genstrings:
NSLocalizedStringFromTable(@"Auto", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"10%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"20%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"25%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"35%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"50%", @"ZoomValues", @"Zoom popup entry")
- NSLocalizedStringFromTable(@"75%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"60%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"71%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"85%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"100%", @"ZoomValues", @"Zoom popup entry")
- NSLocalizedStringFromTable(@"128%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"120%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"141%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"170%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"200%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"300%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"400%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"600%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"800%", @"ZoomValues", @"Zoom popup entry")
*/
-static NSString *BDSKDefaultScaleMenuLabels[] = {/* @"Set...", */ @"Auto",
@"10%", @"25%", @"50%", @"75%", @"100%", @"128%", @"150%", @"200%", @"400%",
@"800%"};
-static float BDSKDefaultScaleMenuFactors[] = {/* 0.0, */ 0, 0.1, 0.25, 0.5,
0.75, 1.0, 1.28, 1.5, 2.0, 4.0, 8.0};
-static float BDSKScaleMenuFontSize = 11.0;
+static NSString *SKDefaultScaleMenuLabels[] = {@"Auto", @"10%", @"20%",
@"25%", @"35%", @"50%", @"60%", @"71%", @"85%", @"100%", @"120%", @"141%",
@"170%", @"200%", @"300%", @"400%", @"600%", @"800%"};
+static float SKDefaultScaleMenuFactors[] = {0.0, 0.1, 0.2, 0.25, 0.35, 0.5,
0.6, 0.71, 0.85, 1.0, 1.2, 1.41, 1.7, 2.0, 3.0, 4.0, 6.0, 8.0};
+static float SKScaleMenuFontSize = 11.0;
#pragma mark Popup button
Modified: trunk/Dutch.lproj/ZoomValues.strings
===================================================================
(Binary files differ)
Modified: trunk/English.lproj/ZoomValues.strings
===================================================================
(Binary files differ)
Modified: trunk/French.lproj/ZoomValues.strings
===================================================================
(Binary files differ)
Modified: trunk/German.lproj/ZoomValues.strings
===================================================================
(Binary files differ)
Modified: trunk/Italian.lproj/ZoomValues.strings
===================================================================
(Binary files differ)
Modified: trunk/SKSecondaryPDFView.m
===================================================================
--- trunk/SKSecondaryPDFView.m 2008-05-28 16:37:00 UTC (rev 3928)
+++ trunk/SKSecondaryPDFView.m 2008-05-29 09:51:25 UTC (rev 3929)
@@ -47,18 +47,26 @@
/* For genstrings:
NSLocalizedStringFromTable(@"Auto", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"10%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"20%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"25%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"35%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"50%", @"ZoomValues", @"Zoom popup entry")
- NSLocalizedStringFromTable(@"75%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"60%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"71%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"85%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"100%", @"ZoomValues", @"Zoom popup entry")
- NSLocalizedStringFromTable(@"128%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"120%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"141%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"170%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"200%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"300%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"400%", @"ZoomValues", @"Zoom popup entry")
+ NSLocalizedStringFromTable(@"600%", @"ZoomValues", @"Zoom popup entry")
NSLocalizedStringFromTable(@"800%", @"ZoomValues", @"Zoom popup entry")
*/
-static NSString *SKDefaultScaleMenuLabels[] = {/* @"Set...", */ @"Auto",
@"10%", @"25%", @"50%", @"75%", @"100%", @"128%", @"150%", @"200%", @"400%",
@"800%"};
-static float SKDefaultScaleMenuFactors[] = {/* 0.0, */ 0, 0.1, 0.25, 0.5,
0.75, 1.0, 1.28, 1.5, 2.0, 4.0, 8.0};
-static float SKPopUpMenuFontSize = 11.0;
+static NSString *SKDefaultScaleMenuLabels[] = {@"Auto", @"10%", @"20%",
@"25%", @"35%", @"50%", @"60%", @"71%", @"85%", @"100%", @"120%", @"141%",
@"170%", @"200%", @"300%", @"400%", @"600%", @"800%"};
+static float SKDefaultScaleMenuFactors[] = {0.0, 0.1, 0.2, 0.25, 0.35, 0.5,
0.6, 0.71, 0.85, 1.0, 1.2, 1.41, 1.7, 2.0, 3.0, 4.0, 6.0, 8.0};
+static float SKScaleMenuFontSize = 11.0;
- (id)initWithFrame:(NSRect)frameRect {
Modified: trunk/Spanish.lproj/ZoomValues.strings
===================================================================
(Binary files differ)
Modified: trunk/cs.lproj/ZoomValues.strings
===================================================================
(Binary files differ)
Modified: trunk/ru.lproj/ZoomValues.strings
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit