mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 10:51:23 +00:00
reformat statics, add TheStringsTableLock add _cachedStringsTable() add _cachedStringForKey() rewrote -stringForKey:inTableNamed:withDefaultValue:inFramework:languages: use NONESTR, not @"NONE" * Testing/DynamicElements/ImagePage.h * Testing/DynamicElements/Resources/Chinese.lproj/Localizable.strings * Testing/DynamicElements/Resources/Russian.lproj/Localizable.strings * Testing/DynamicElements/Resources/French.lproj/Localizable.strings * Testing/DynamicElements/Resources/English.lproj/Localizable.strings * Testing/DynamicElements/Resources/German.lproj/Localizable.strings * Testing/DynamicElements/ImagePage.m * Testing/DynamicElements/ImagePage.wo add test for GSWResourceManager's -stringForKey:inTableNamed:withDefaultValue:inFramework:languages: * Testing/DynamicElements/DynamicElements.m set UTF8 encoding * Testing/DynamicElements/GNUmakefile add new files git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30841 72102866-910b-0410-8b05-ffd578937521
51 lines
1.5 KiB
Objective-C
51 lines
1.5 KiB
Objective-C
/** ImagePage.m - <title>GSWeb Testing: Class GSWImage</title>
|
|
|
|
Copyright (C) 2010 Free Software Foundation, Inc.
|
|
|
|
Written by: David Wetzel <dave@turbocat.de>
|
|
|
|
$Revision: 30689 $
|
|
$Date: 2010-06-11 18:18:12 -0700 (Fr, 11 Jun 2010) $
|
|
$Id: CheckBox2Page.m 30689 2010-06-12 01:18:12Z dwetzel $
|
|
|
|
This file is part of the GNUstep Web Library.
|
|
|
|
<license>
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Library General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
License along with this library; if not, write to the Free
|
|
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
</license>
|
|
**/
|
|
|
|
#include <WebObjects/WebObjects.h>
|
|
#include "BasePage.h"
|
|
#include "ImagePage.h"
|
|
|
|
|
|
@implementation ImagePage
|
|
|
|
- (NSString*) helloMessage
|
|
{
|
|
NSString * helloStr;
|
|
|
|
helloStr = [[WOApp resourceManager] stringForKey:@"hello"
|
|
inTableNamed:nil
|
|
withDefaultValue:@"string not found"
|
|
inFramework:nil
|
|
languages:[self languages]];
|
|
|
|
return helloStr;
|
|
}
|
|
|
|
@end
|
|
|