]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/about.m
* redesign of the about window
[vlc] / modules / gui / macosx / about.m
index 8ed93385b7646c67f2dc4cf7c5f9a80190ec0e0c..122eca2ecd011d3846cc2d1261dc64ba8d6baec5 100644 (file)
@@ -77,16 +77,16 @@ static VLAboutBox *_o_sharedInstance = nil;
         
         /* setup the creator / revision field */
         [o_revision_field setStringValue: [NSString stringWithFormat: \
-            _NS("Compiled by %s, based on SVN revision: %s"), \
-            VLC_CompileBy(), VLC_Changeset()]];
+            _NS("Compiled by %s, based on SVN revision %s"), VLC_CompileBy(), \
+            VLC_Changeset()]];
     
         /* Setup the nameversion field */
-        o_name_version = [NSString stringWithFormat:@"%@ - Version %@", o_name, o_version];
+        o_name_version = [NSString stringWithFormat:@"Version %@", o_version];
         [o_name_version_field setStringValue: o_name_version];
         
         /* Setup our credits */
         o_credits_path = [[NSBundle mainBundle] pathForResource:@"AUTHORS" ofType:nil];
-        o_credits = [[NSString alloc] initWithData: [NSData dataWithContentsOfFile: o_credits_path ] encoding:NSWindowsCP1252StringEncoding];
+        o_credits = [[NSString alloc] initWithData: [NSData dataWithContentsOfFile: o_credits_path ] encoding:NSUTF8StringEncoding];
         
         /* Parse the authors string */
         NSMutableString *o_outString = [NSMutableString stringWithFormat: @"%@\n\n", _NS(INTF_ABOUT_MSG)];
@@ -130,7 +130,7 @@ static VLAboutBox *_o_sharedInstance = nil;
         /* Parse the thanks string */
         o_thanks_path = [[NSBundle mainBundle] pathForResource:@"THANKS" ofType:nil];
         o_thanks = [[NSString alloc] initWithData: [NSData dataWithContentsOfFile: 
-                        o_thanks_path ] encoding:NSWindowsCP1252StringEncoding];
+                        o_thanks_path ] encoding:NSUTF8StringEncoding];
         
         NSScanner *o_scan_thanks = [NSScanner scannerWithString: o_thanks];
         [o_scan_thanks scanUpToCharactersFromSet: o_stopSet intoString: nil];