From 93f9417d335088cfc1fd8a78c86dc18a0ebcd6ee Mon Sep 17 00:00:00 2001 From: Erik Olsson Date: Tue, 28 Feb 2012 10:20:37 +0100 Subject: [PATCH] Localized "Last updated" in header. --- .../Classes/View/EGORefreshTableHeaderView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m b/EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m index 56b345b..d916a60 100755 --- a/EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m +++ b/EGOTableViewPullRefresh/Classes/View/EGORefreshTableHeaderView.m @@ -117,7 +117,7 @@ - (void)refreshLastUpdatedDate { [dateFormatter setDateStyle:NSDateFormatterShortStyle]; [dateFormatter setTimeStyle:NSDateFormatterShortStyle]; - _lastUpdatedLabel.text = [NSString stringWithFormat:@"Last Updated: %@", [dateFormatter stringFromDate:date]]; + _lastUpdatedLabel.text = [NSString stringWithFormat:NSLocalizedString(@"Last updated: %@", @"Last updated, time"), [formatter stringFromDate:date]]; [[NSUserDefaults standardUserDefaults] setObject:_lastUpdatedLabel.text forKey:@"EGORefreshTableView_LastRefresh"]; [[NSUserDefaults standardUserDefaults] synchronize];