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:
Germán Arias 2010-01-03 22:27:01 +00:00
parent 1f0b992588
commit d6fae7cd17
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>
* Source/NSPrintPanel.m: Added missing internationalisation.

View file

@ -13,7 +13,7 @@ add comments above this one
/* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:211 */
/* Comment: Info */
"Info" = "Info";
"Info" = "Informaci\U00F3n";
/* File: ../Source/GSNibLoading.m:153 */
/* Comment: Quit */
@ -70,8 +70,17 @@ add comments above this one
/* File: ../Source/NSPageLayout.m:1060 */
/* File: ../Source/NSPrintPanel.m:454 */
/* File: ../Source/NSPrintPanel.m:500 */
/* File: ../Source/GSInfoPanel.m:313 */
"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 ***/
@ -89,8 +98,6 @@ add comments above this one
"Font preview" = "Vista Previa";
/* File: ../Source/NSFontPanel.m:629 */
"Size" = "Tama\U00F1o";
/* File: ../Source/NSFontPanel.m:697 */
"Preview" = "Previa";
/* File: ../Source/NSFontPanel.m:710 */
"Set" = "Aplicar";
/* 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";
/*** Strings from ../Source/GSHelpManagerPanel.m ***/
/* File: ../Source/GSHelpManagerPanel.m:70 */
"Help" = "Ayuda";
/*** Strings from ../Source/GSInoPanel.m ***/
/* File: ../Source/GSInfoPanel.m:338 */
"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 ***/
@ -154,8 +178,6 @@ add comments above this one
/*** Strings from ../Source/GSPrintOperation.m ***/
/* File: ../Source/GSPrintOperation.m:157 */
"Preview" = "Vista Previa";
/* File: ../Source/GSPrintOperation.m:158 */
"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";

View file

@ -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];

View file

@ -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];

View file

@ -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];