From 18ccb398736a1d4619511d9d80f814ca1367d76f Mon Sep 17 00:00:00 2001 From: espectador Date: Sun, 3 Jan 2010 21:38:44 +0000 Subject: [PATCH] Added missing internationalisation and more strings in spanish git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29197 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Resources/Spanish.lproj/Localizable.strings | 23 ++++++++++++++++++--- Source/NSPrintPanel.m | 12 +++++------ 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 59447171a..4d54fabe7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-01-03 German Arias + + * Source/NSPrintPanel.m: Added missing internationalisation. + * Resources/Spanish.lproj/Localizable.strings: More strings in spanish. + 2010-01-03 German Arias * Source/NSPageLayout.m: Added missing internationalisation. diff --git a/Resources/Spanish.lproj/Localizable.strings b/Resources/Spanish.lproj/Localizable.strings index d1f7dadd0..be7647fc8 100644 --- a/Resources/Spanish.lproj/Localizable.strings +++ b/Resources/Spanish.lproj/Localizable.strings @@ -49,6 +49,7 @@ add comments above this one /* File: ../Source/GSHelpManagerPanel.m:101 */ /* File: ../Source/NSAlert.m:1427 */ +/* File: ../Source/NSPrintPanel.m:285 */ "OK" = "Aceptar"; /* File: ../Source/GSPrintOperation.m:159 */ @@ -65,6 +66,12 @@ add comments above this one /* File: ../Source/NSDocument.m:1575 */ "Revert" = "Revertir"; +/* File: ../Source/NSPageLayout.m:989 */ +/* File: ../Source/NSPageLayout.m:1060 */ +/* File: ../Source/NSPrintPanel.m:454 */ +/* File: ../Source/NSPrintPanel.m:500 */ +"Unknown" = "Desconocido"; + /*** Unmatched/untranslated keys ***/ @@ -116,15 +123,25 @@ add comments above this one "Left Margin" = "Margen Izquierdo"; /* File: ../Source/NSPageLayout.m:988 */ "Right Margin" = "Margen Derecho"; -/* File: ../Source/NSPageLayout.m:989 */ -/* File: ../Source/NSPageLayout.m:1060 */ -"Unknown" = "Desconocido"; /* File: ../Source/NSPageLayout.m:1038 */ "Portrait" = "Vertical"; /* File: ../Source/NSPageLayout.m:1042 */ "Landscape" = "Horizontal"; +/*** Strings from ../Source/NSPrintPanel.m ***/ +/* File: ../Source/NSPrintPanel.m:169 */ +"1 up" = "1 p\U00E1gina"; +"2 up" = "2 p\U00E1ginas"; +"4 up" = "4 p\U00E1ginas"; +"6 up" = "6 p\U00E1ginas"; +/* File: ../Source/NSPrintPanel.m:169 */ +"8 up" = "8 p\U00E1ginas"; +/* File: ../Source/NSPrintPanel.m:284 */ +"Sorry" = "Error"; +"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"; diff --git a/Source/NSPrintPanel.m b/Source/NSPrintPanel.m index 93fa44fdc..b4ce982a5 100644 --- a/Source/NSPrintPanel.m +++ b/Source/NSPrintPanel.m @@ -166,8 +166,8 @@ static NSPrintPanel *shared_instance; /* Setup the layout popup */ control = CONTROL(self, NSPPLayoutButton); - list = [NSArray arrayWithObjects: @"1 up", @"2 up", @"4 up", @"6 up", - @"8 up", nil]; + list = [NSArray arrayWithObjects: _(@"1 up"), _(@"2 up"), _(@"4 up"), _(@"6 up"), + _(@"8 up"), nil]; [control removeAllItems]; for (i = 0; i < [list count]; i++) { @@ -281,8 +281,8 @@ static NSPrintPanel *shared_instance; else if (tag ==NSFaxButton) { _picked = NSFaxButton; - NSRunAlertPanel(@"Sorry", @"Faxing of print file not implemented", - @"OK", NULL, NULL); + NSRunAlertPanel(_(@"Sorry"), _(@"Faxing of print file not implemented"), + _(@"OK"), NULL, NULL); /* Don't stop the modal session */ return; } @@ -451,7 +451,7 @@ static NSPrintPanel *shared_instance; } } else - [control addItemWithTitle: @"Unknown"]; + [control addItemWithTitle: _(@"Unknown")]; /* Setup the paper feed popup */ control = CONTROL(_optionPanel, NSPPPaperFeedButton); @@ -497,7 +497,7 @@ static NSPrintPanel *shared_instance; } } else - [control addItemWithTitle: @"Unknown"]; + [control addItemWithTitle: _(@"Unknown")]; }