Skip to content

Commit

Permalink
Added some strings for localization.
Browse files Browse the repository at this point in the history
  • Loading branch information
AxFree authored and ideashower committed Nov 15, 2010
1 parent 7f34144 commit 35aca82
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Classes/ShareKit/Sharers/Services/Facebook/SHKFacebook.m
Expand Up @@ -169,7 +169,7 @@ - (BOOL)send

SHKFBStreamDialog* dialog = [[[SHKFBStreamDialog alloc] init] autorelease];
dialog.delegate = self;
dialog.userMessagePrompt = @"Enter your message:";
dialog.userMessagePrompt = SHKLocalizedString(@"Enter your message:");
dialog.defaultStatus = item.text;
dialog.actionLinks = [NSString stringWithFormat:@"[{\"text\":\"Get %@\",\"href\":\"%@\"}]",
SHKEncode(SHKMyAppName),
Expand Down
2 changes: 1 addition & 1 deletion Classes/ShareKit/Sharers/Services/Twitter/SHKTwitterForm.m
Expand Up @@ -53,7 +53,7 @@ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
target:self
action:@selector(cancel)];

self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Send to Twitter"
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:SHKLocalizedString(@"Send to Twitter")
style:UIBarButtonItemStyleDone
target:self
action:@selector(save)];
Expand Down
7 changes: 5 additions & 2 deletions ShareKit.xcodeproj/project.pbxproj
Expand Up @@ -245,6 +245,7 @@
43EF406D11D3FFF800B1F700 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
43FF9C7312270E9F00ADE53C /* en */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = en; path = Classes/ShareKit/Localization/en.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; };
43FF9C7512270EB900ADE53C /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = Classes/ShareKit/Localization/de.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; };
43FF9C7712270ED900ADE53C /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = Classes/ShareKit/Localization/ko.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; };
8D1107310486CEB800E47090 /* ShareKit-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "ShareKit-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -757,6 +758,7 @@
isa = PBXProject;
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ShareKit" */;
compatibilityVersion = "Xcode 3.1";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
Expand Down Expand Up @@ -876,6 +878,7 @@
children = (
43FF9C7312270E9F00ADE53C /* en */,
43FF9C7512270EB900ADE53C /* de */,
43FF9C7712270ED900ADE53C /* ko */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand All @@ -896,7 +899,7 @@
INFOPLIST_FILE = "ShareKit-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 3.2;
PRODUCT_NAME = ShareKit;
SDKROOT = iphoneos4.0;
SDKROOT = iphoneos4.1;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand Down Expand Up @@ -928,7 +931,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 3.1;
PREBINDING = NO;
SDKROOT = iphoneos4.0;
SDKROOT = iphoneos4.1;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand Down

0 comments on commit 35aca82

Please sign in to comment.