Skip to content

Commit

Permalink
Merge pull request Evernote#99 from sunsidew/master
Browse files Browse the repository at this point in the history
Add Korean localization & setTitle by localized string
  • Loading branch information
everic committed Jul 13, 2015
2 parents 673628b + 1ebbe02 commit 7826238
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 3 deletions.
31 changes: 31 additions & 0 deletions ENSDKResources.bundle/ko.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
Localizable.strings
evernote-sdk-ios

Created by Eric Cheng on 1/26/15.
Copyright (c) 2015 Evernote Corporation. All rights reserved.
*/

"Save to Evernote" = "Evernote에 저장";

"Add Title" = "제목 추가";

"Add Tag" = "태그 추가";

"Untitled note" = "무제 노트";

"Untitled" = "무제";

"Notebooks" = "노트북";

"Current" = "현재";

"Recent Notebooks" = "최근 노트북";

"All Notebooks" = "모든 노트북";

"Notebook" = "노트북";

"Evernote-International" = "Evernote-국제";

"Evernote-China" = "Evernote-중국";
2 changes: 1 addition & 1 deletion EvernoteSDKSample/SaveActivityViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ - (void)loadView {
- (void)viewDidLoad
{
[super viewDidLoad];
[self.navigationItem setTitle:@"Save Activity"];
[self.navigationItem setTitle:NSLocalizedString(@"Save Activity", @"Save Activity")];
UIBarButtonItem * actionItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAction target:self action:@selector(action:)];
[self.navigationItem setRightBarButtonItem:actionItem];
}
Expand Down
2 changes: 1 addition & 1 deletion EvernoteSDKSample/TagsInfoViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ - (void)loadView {
- (void)viewDidLoad
{
[super viewDidLoad];
[self.navigationItem setTitle:@"Tags"];
[self.navigationItem setTitle:NSLocalizedString(@"Tags", @"Tags")];
NSMutableString * str = [NSMutableString string];

[self.textView setText:str];
Expand Down
2 changes: 1 addition & 1 deletion EvernoteSDKSample/UserInfoViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ - (void)loadView {
- (void)viewDidLoad
{
[super viewDidLoad];
[self.navigationItem setTitle:@"User Info"];
[self.navigationItem setTitle:NSLocalizedString(@"User info", @"User info")];
ENSession *sesssion = [ENSession sharedSession];
NSMutableString * str = [NSMutableString string];
[str appendFormat:@"Display name: %@\n", [[ENSession sharedSession] userDisplayName]];
Expand Down
29 changes: 29 additions & 0 deletions EvernoteSDKSample/ko.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
Localizable.strings
evernote-sdk-ios

Created by Eric Cheng on 1/26/15.
Copyright (c) 2015 Evernote Corporation. All rights reserved.
*/

"Login" = "로그인";

"Logout" = "로그아웃";

"Back" = "뒤로";

"User info" = "회원 정보";

"Tags" = "태그";

"Save Activity" = "액티비티 저장";

"Create photo note" = "사진 노트 생성";

"Clip web page" = "웹 페이지 스크랩";

"Search notes via keyword" = "노트 검색";

"View my notes" = "내 노트 보기";

"Save a customized note" = "맞춤형 노트 저장";
3 changes: 3 additions & 0 deletions evernote-sdk-ios.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@
86D792B219E862DF008664DF /* TagsInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TagsInfoViewController.h; sourceTree = "<group>"; };
86D792B319E862DF008664DF /* TagsInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TagsInfoViewController.m; sourceTree = "<group>"; };
86F2D7FC1909EDAA00C0AA7F /* ENSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = ENSDKResources.bundle; sourceTree = SOURCE_ROOT; };
9A8685D31B53FD6700DBAEE2 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Localizable.strings; sourceTree = "<group>"; };
A9BE476B1781FAFA00471BF7 /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = usr/lib/libxml2.dylib; sourceTree = SDKROOT; };
BE2E23BF18EBA5D400BD7E6E /* EDAM.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EDAM.h; sourceTree = "<group>"; };
BE2E23C018EBA5D400BD7E6E /* EDAMErrors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EDAMErrors.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1273,6 +1274,7 @@
Base,
"zh-Hans",
ja,
ko,
);
mainGroup = 0BB3D1A21524ED96001C4534;
productRefGroup = 0BB3D1AE1524ED96001C4534 /* Products */;
Expand Down Expand Up @@ -1540,6 +1542,7 @@
862CEA2F1A77273C00D0DB23 /* zh-Hans */,
862CEA311A77275600D0DB23 /* en */,
86AB1CCE1B50607500CF2C57 /* ja */,
9A8685D31B53FD6700DBAEE2 /* ko */,
);
name = Localizable.strings;
sourceTree = "<group>";
Expand Down

0 comments on commit 7826238

Please sign in to comment.