Revision: 29563
http://sourceforge.net/p/bibdesk/svn/29563
Author: hofman
Date: 2025-09-09 09:17:08 +0000 (Tue, 09 Sep 2025)
Log Message:
-----------
use yesterday to describe date
Modified Paths:
--------------
trunk/bibdesk/BDSKDownloadManager.m
trunk/bibdesk/de.lproj/Localizable.strings
trunk/bibdesk/en.lproj/Localizable.strings
trunk/bibdesk/fr.lproj/Localizable.strings
Modified: trunk/bibdesk/BDSKDownloadManager.m
===================================================================
--- trunk/bibdesk/BDSKDownloadManager.m 2025-09-08 22:36:50 UTC (rev 29562)
+++ trunk/bibdesk/BDSKDownloadManager.m 2025-09-09 09:17:08 UTC (rev 29563)
@@ -326,6 +326,8 @@
- (NSString *)dateDescription {
if ([[NSCalendar currentCalendar] isDateInToday:date])
return [date shortTimeDescription];
+ else if ([[NSCalendar currentCalendar] isDateInYesterday:date])
+ return [NSString stringWithFormat:@"%@ %@",
NSLocalizedString(@"Yesterday", @"date description"), [date
shortTimeDescription]];
else
return [NSString stringWithFormat:@"%@ %@", [date
shortDateDescription], [date shortTimeDescription]];
}
Modified: trunk/bibdesk/de.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/en.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/bibdesk/fr.lproj/Localizable.strings
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit