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:
espectador 2010-01-03 22:27:01 +00:00
parent 18ccb39873
commit a7465998ed
5 changed files with 49 additions and 18 deletions

View file

@ -1,3 +1,10 @@
2010-01-03 German Arias <german@xelalug.org>
* Source/GSInfoPanel.m: Added missing internationalisation.
* Source/GSThemePanel.m: Added missing internationalisation.
* Source/NSHelpPanel.m: Added missing internationalisation.
* Resources/Spanish.lproj/Localizable.strings: More strings in spanish.
2010-01-03 German Arias <german@xelalug.org> 2010-01-03 German Arias <german@xelalug.org>
* Source/NSPrintPanel.m: Added missing internationalisation. * Source/NSPrintPanel.m: Added missing internationalisation.

View file

@ -13,7 +13,7 @@ add comments above this one
/* Comment: Title of the Info Panel */ /* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:211 */ /* File: ../Source/NSMenu.m:211 */
/* Comment: Info */ /* Comment: Info */
"Info" = "Info"; "Info" = "Informaci\U00F3n";
/* File: ../Source/GSNibLoading.m:153 */ /* File: ../Source/GSNibLoading.m:153 */
/* Comment: Quit */ /* Comment: Quit */
@ -70,8 +70,17 @@ add comments above this one
/* File: ../Source/NSPageLayout.m:1060 */ /* File: ../Source/NSPageLayout.m:1060 */
/* File: ../Source/NSPrintPanel.m:454 */ /* File: ../Source/NSPrintPanel.m:454 */
/* File: ../Source/NSPrintPanel.m:500 */ /* File: ../Source/NSPrintPanel.m:500 */
/* File: ../Source/GSInfoPanel.m:313 */
"Unknown" = "Desconocido"; "Unknown" = "Desconocido";
/* File: ../Source/GSHelpManagerPanel.m:70 */
/* File: ../Source/NSHelpPanel.m:153 */
"Help" = "Ayuda";
/* File: ../Source/NSFontPanel.m:697 */
/* File: ../Source/GSPrintOperation.m:157 */
"Preview" = "Vista Previa";
/*** Unmatched/untranslated keys ***/ /*** Unmatched/untranslated keys ***/
@ -89,8 +98,6 @@ add comments above this one
"Font preview" = "Vista Previa"; "Font preview" = "Vista Previa";
/* File: ../Source/NSFontPanel.m:629 */ /* File: ../Source/NSFontPanel.m:629 */
"Size" = "Tama\U00F1o"; "Size" = "Tama\U00F1o";
/* File: ../Source/NSFontPanel.m:697 */
"Preview" = "Previa";
/* File: ../Source/NSFontPanel.m:710 */ /* File: ../Source/NSFontPanel.m:710 */
"Set" = "Aplicar"; "Set" = "Aplicar";
/* File: ../Source/NSFontPanel.m:785 */ /* File: ../Source/NSFontPanel.m:785 */
@ -142,9 +149,26 @@ add comments above this one
"Faxing of print file not implemented" = "El faxeo de archivos no esta implementado"; "Faxing of print file not implemented" = "El faxeo de archivos no esta implementado";
/*** Strings from ../Source/GSHelpManagerPanel.m ***/ /*** Strings from ../Source/GSInoPanel.m ***/
/* File: ../Source/GSHelpManagerPanel.m:70 */ /* File: ../Source/GSInfoPanel.m:338 */
"Help" = "Ayuda"; "Release: " = "Versi\U00F3n: ";
/* File: ../Source/GSInfoPanel.m:380 */
"Copyright Information Not Available" = "Informaci\U00F3n no disponible";
/* File: ../Source/GSInfoPanel.m:434 */
"Author: " = "Autor: ";
/* File: ../Source/GSInfoPanel.m:438 */
"Authors: " = "Autores: ";
/*** Strings from ../Source/GSThemePanel.m ***/
/* File: ../Source/GSThemePanel.m:114 */
"Themes" = "Temas";
/* File: ../Source/GSThemePanel.m:192 */
/* File: ../Source/GSThemePanel.m:232 */
"Revert default theme" = "Regresar al tema por defecto";
/* File: ../Source/GSThemePanel.m:196 */
/* File: ../Source/GSThemePanel.m:227 */
"Make this the default theme" = "Hacer este el tema por defecto";
/*** Strings from ../Source/GSInfoPanel.m ***/ /*** Strings from ../Source/GSInfoPanel.m ***/
@ -154,8 +178,6 @@ add comments above this one
/*** Strings from ../Source/GSPrintOperation.m ***/ /*** Strings from ../Source/GSPrintOperation.m ***/
/* File: ../Source/GSPrintOperation.m:157 */
"Preview" = "Vista Previa";
/* File: ../Source/GSPrintOperation.m:158 */ /* File: ../Source/GSPrintOperation.m:158 */
"Problem running the preview application '%@' perhaps you need to set your NSPreviewApp user default" "Problem running the preview application '%@' perhaps you need to set your NSPreviewApp user default"
= "Problema con la aplicaci\U00F3n de vista previa '%@' talvez usted necesite establecer NSPreviewApp para su usuario"; = "Problema con la aplicaci\U00F3n de vista previa '%@' talvez usted necesite establecer NSPreviewApp para su usuario";

View file

@ -335,7 +335,7 @@ new_label (NSString *value)
/* NB: fullVersionID can be nil! */ /* NB: fullVersionID can be nil! */
/* Now we prepare the complete release string */ /* Now we prepare the complete release string */
release = [@"Release: " stringByAppendingString: release]; release = [_(@"Release: ") stringByAppendingString: release];
if (fullVersionID) if (fullVersionID)
{ {
release = [release stringByAppendingString: @" ("]; release = [release stringByAppendingString: @" ("];
@ -377,7 +377,7 @@ new_label (NSString *value)
(@"NSHumanReadableCopyright"); (@"NSHumanReadableCopyright");
if (nil_or_not_of_class (copyright, [NSString class])) if (nil_or_not_of_class (copyright, [NSString class]))
copyright = @"Copyright Information Not Available"; copyright = _(@"Copyright Information Not Available");
} }
} }
/* Copyright Description */ /* Copyright Description */
@ -431,11 +431,11 @@ new_label (NSString *value)
} }
else if ([authors count] == 1) else if ([authors count] == 1)
{ {
authorTitleLabel = new_label (@"Author: "); authorTitleLabel = new_label (_(@"Author: "));
} }
else else
{ {
authorTitleLabel = new_label (@"Authors: "); authorTitleLabel = new_label (_(@"Authors: "));
} }
[authorTitleLabel setFont: smallFont]; [authorTitleLabel setFont: smallFont];
[authorTitleLabel sizeToFit]; [authorTitleLabel sizeToFit];

View file

@ -34,6 +34,7 @@
#include "AppKit/NSMatrix.h" #include "AppKit/NSMatrix.h"
#include "AppKit/NSScrollView.h" #include "AppKit/NSScrollView.h"
#include "GSThemePrivate.h" #include "GSThemePrivate.h"
#include "GSGuiPrivate.h"
@implementation GSThemePanel @implementation GSThemePanel
@ -110,7 +111,7 @@ static GSThemePanel *sharedPanel = nil;
[container addSubview: bottomView]; [container addSubview: bottomView];
RELEASE(bottomView); RELEASE(bottomView);
[self setTitle: @"Themes"]; [self setTitle: _(@"Themes")];
[[NSNotificationCenter defaultCenter] [[NSNotificationCenter defaultCenter]
addObserver: self addObserver: self
@ -188,11 +189,11 @@ static GSThemePanel *sharedPanel = nil;
dName = [[NSUserDefaults standardUserDefaults] stringForKey: @"GSTheme"]; dName = [[NSUserDefaults standardUserDefaults] stringForKey: @"GSTheme"];
if ([[[n object] name] isEqual: dName] == YES) if ([[[n object] name] isEqual: dName] == YES)
{ {
[button setTitle: @"Revert default theme"]; [button setTitle: _(@"Revert default theme")];
} }
else else
{ {
[button setTitle: @"Make this the default theme"]; [button setTitle: _(@"Make this the default theme")];
} }
[button sizeToFit]; [button sizeToFit];
frame = [button frame]; frame = [button frame];
@ -223,12 +224,12 @@ static GSThemePanel *sharedPanel = nil;
if ([cName isEqual: dName] == YES) if ([cName isEqual: dName] == YES)
{ {
[defs removeObjectForKey: @"GSTheme"]; [defs removeObjectForKey: @"GSTheme"];
[button setTitle: @"Make this the default theme"]; [button setTitle: _(@"Make this the default theme")];
} }
else else
{ {
[defs setObject: cName forKey: @"GSTheme"]; [defs setObject: cName forKey: @"GSTheme"];
[button setTitle: @"Revert default theme"]; [button setTitle: _(@"Revert default theme")];
} }
[defs synchronize]; [defs synchronize];
[button sizeToFit]; [button sizeToFit];

View file

@ -30,6 +30,7 @@
#include "AppKit/NSScrollView.h" #include "AppKit/NSScrollView.h"
#include "AppKit/NSTextView.h" #include "AppKit/NSTextView.h"
#include "AppKit/NSTextContainer.h" #include "AppKit/NSTextContainer.h"
#include "GSGuiPrivate.h"
@implementation NSApplication (NSHelpPanel) @implementation NSApplication (NSHelpPanel)
@ -149,7 +150,7 @@ static NSHelpPanel *_sharedPanel = nil;
defer: NO defer: NO
screen: nil]; screen: nil];
[self setReleasedWhenClosed: NO]; [self setReleasedWhenClosed: NO];
[self setTitle: @"Help"]; [self setTitle: _(@"Help")];
s = [[NSScrollView alloc] initWithFrame: contentRect]; s = [[NSScrollView alloc] initWithFrame: contentRect];
[s setHasHorizontalScroller: YES]; [s setHasHorizontalScroller: YES];
[s setHasVerticalScroller: YES]; [s setHasVerticalScroller: YES];