mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:10:38 +00:00
Added missing internationalisation (now is completed) and more strings in spanish
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29201 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
59048d14b3
commit
a7410c2e6d
5 changed files with 33 additions and 6 deletions
|
@ -33,6 +33,7 @@
|
|||
#include "AppKit/NSTextView.h"
|
||||
#include "AppKit/NSWindow.h"
|
||||
#include "GSThemePrivate.h"
|
||||
#include "GSGuiPrivate.h"
|
||||
|
||||
static NSTextField *
|
||||
new_label (NSString *value)
|
||||
|
@ -136,7 +137,7 @@ static GSThemeInspector *sharedInspector = nil;
|
|||
version = [[theme infoDictionary] objectForKey: @"GSThemeVersion"];
|
||||
if ([version length] > 0)
|
||||
{
|
||||
version = [NSString stringWithFormat: @"Version: %@", version];
|
||||
version = [NSString stringWithFormat: _(@"Version: %@"), version];
|
||||
tf = new_label(version);
|
||||
[tf setFont: [NSFont systemFontOfSize: 12]];
|
||||
[tf sizeToFit];
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
#include "GNUstepGUI/GSEPSPrintOperation.h"
|
||||
#include "GNUstepGUI/GSPDFPrintOperation.h"
|
||||
#include "GNUstepGUI/GSPrintOperation.h"
|
||||
#include "GSGuiPrivate.h"
|
||||
|
||||
#define NSNUMBER(a) [NSNumber numberWithInt: (a)]
|
||||
#define NSFNUMBER(a) [NSNumber numberWithFloat: (a)]
|
||||
|
@ -676,8 +677,8 @@ static NSString *NSPrintOperationThreadKey = @"NSPrintOperationThreadKey";
|
|||
{
|
||||
[_view _cleanupPrinting];
|
||||
[NSGraphicsContext setCurrentContext: oldContext];
|
||||
NSRunAlertPanel(@"Error", @"Printing error: %@",
|
||||
@"OK", NULL, NULL, localException);
|
||||
NSRunAlertPanel(_(@"Error"), _(@"Printing error: %@"),
|
||||
_(@"OK"), NULL, NULL, localException);
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
[self destroyContext];
|
||||
|
|
|
@ -464,7 +464,7 @@ static NSPrintPanel *shared_instance;
|
|||
|
||||
manual = [printer stringForKey:@"DefaultManualFeed" inTable: @"PPD"];
|
||||
if (manual)
|
||||
[control addItemWithTitle: @"Manual"];
|
||||
[control addItemWithTitle: _(@"Manual")];
|
||||
list = [printer stringListForKey:@"InputSlot" inTable: @"PPD"];
|
||||
if ([list count])
|
||||
{
|
||||
|
@ -599,14 +599,14 @@ static NSPrintPanel *shared_instance;
|
|||
if (manual)
|
||||
{
|
||||
if (selected == 0)
|
||||
sel = @"Manual";
|
||||
sel = _(@"Manual");
|
||||
else
|
||||
selected--;
|
||||
}
|
||||
if (sel == nil)
|
||||
sel = [list objectAtIndex: selected];
|
||||
def = [printer stringForKey:@"DefaultInputSlot" inTable: @"PPD"];
|
||||
if ([sel isEqual: @"Manual"] == YES)
|
||||
if ([sel isEqual: _(@"Manual")] == YES)
|
||||
{
|
||||
[dict setObject: NSPrintManualFeed forKey: NSPrintPaperFeed];
|
||||
/* FIXME: This needs to be more robust. I'm just assuming
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue