mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 01:30:47 +00:00
Added missing internationalisation and more strings in spanish
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29198 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
18ccb39873
commit
a7465998ed
5 changed files with 49 additions and 18 deletions
|
@ -335,7 +335,7 @@ new_label (NSString *value)
|
|||
/* NB: fullVersionID can be nil! */
|
||||
|
||||
/* Now we prepare the complete release string */
|
||||
release = [@"Release: " stringByAppendingString: release];
|
||||
release = [_(@"Release: ") stringByAppendingString: release];
|
||||
if (fullVersionID)
|
||||
{
|
||||
release = [release stringByAppendingString: @" ("];
|
||||
|
@ -377,7 +377,7 @@ new_label (NSString *value)
|
|||
(@"NSHumanReadableCopyright");
|
||||
|
||||
if (nil_or_not_of_class (copyright, [NSString class]))
|
||||
copyright = @"Copyright Information Not Available";
|
||||
copyright = _(@"Copyright Information Not Available");
|
||||
}
|
||||
}
|
||||
/* Copyright Description */
|
||||
|
@ -431,11 +431,11 @@ new_label (NSString *value)
|
|||
}
|
||||
else if ([authors count] == 1)
|
||||
{
|
||||
authorTitleLabel = new_label (@"Author: ");
|
||||
authorTitleLabel = new_label (_(@"Author: "));
|
||||
}
|
||||
else
|
||||
{
|
||||
authorTitleLabel = new_label (@"Authors: ");
|
||||
authorTitleLabel = new_label (_(@"Authors: "));
|
||||
}
|
||||
[authorTitleLabel setFont: smallFont];
|
||||
[authorTitleLabel sizeToFit];
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include "AppKit/NSMatrix.h"
|
||||
#include "AppKit/NSScrollView.h"
|
||||
#include "GSThemePrivate.h"
|
||||
#include "GSGuiPrivate.h"
|
||||
|
||||
|
||||
@implementation GSThemePanel
|
||||
|
@ -110,7 +111,7 @@ static GSThemePanel *sharedPanel = nil;
|
|||
[container addSubview: bottomView];
|
||||
RELEASE(bottomView);
|
||||
|
||||
[self setTitle: @"Themes"];
|
||||
[self setTitle: _(@"Themes")];
|
||||
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
addObserver: self
|
||||
|
@ -188,11 +189,11 @@ static GSThemePanel *sharedPanel = nil;
|
|||
dName = [[NSUserDefaults standardUserDefaults] stringForKey: @"GSTheme"];
|
||||
if ([[[n object] name] isEqual: dName] == YES)
|
||||
{
|
||||
[button setTitle: @"Revert default theme"];
|
||||
[button setTitle: _(@"Revert default theme")];
|
||||
}
|
||||
else
|
||||
{
|
||||
[button setTitle: @"Make this the default theme"];
|
||||
[button setTitle: _(@"Make this the default theme")];
|
||||
}
|
||||
[button sizeToFit];
|
||||
frame = [button frame];
|
||||
|
@ -223,12 +224,12 @@ static GSThemePanel *sharedPanel = nil;
|
|||
if ([cName isEqual: dName] == YES)
|
||||
{
|
||||
[defs removeObjectForKey: @"GSTheme"];
|
||||
[button setTitle: @"Make this the default theme"];
|
||||
[button setTitle: _(@"Make this the default theme")];
|
||||
}
|
||||
else
|
||||
{
|
||||
[defs setObject: cName forKey: @"GSTheme"];
|
||||
[button setTitle: @"Revert default theme"];
|
||||
[button setTitle: _(@"Revert default theme")];
|
||||
}
|
||||
[defs synchronize];
|
||||
[button sizeToFit];
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "AppKit/NSScrollView.h"
|
||||
#include "AppKit/NSTextView.h"
|
||||
#include "AppKit/NSTextContainer.h"
|
||||
#include "GSGuiPrivate.h"
|
||||
|
||||
|
||||
@implementation NSApplication (NSHelpPanel)
|
||||
|
@ -149,7 +150,7 @@ static NSHelpPanel *_sharedPanel = nil;
|
|||
defer: NO
|
||||
screen: nil];
|
||||
[self setReleasedWhenClosed: NO];
|
||||
[self setTitle: @"Help"];
|
||||
[self setTitle: _(@"Help")];
|
||||
s = [[NSScrollView alloc] initWithFrame: contentRect];
|
||||
[s setHasHorizontalScroller: YES];
|
||||
[s setHasVerticalScroller: YES];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue