Browse files

Initial Commit

  • Loading branch information...
0 parents commit 70da4392538fb1a8c9f00d35ea6f5ca6ca5445d9 @odrobnik odrobnik committed Mar 2, 2011
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2011, Oliver Drobnik All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+- Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
BIN NSTimeZone+Translation/English.lproj/LocalizableTimezones.strings
Binary file not shown.
15 NSTimeZone+Translation/NSTimeZone+Translation.h
@@ -0,0 +1,15 @@
+//
+// NSTimeZone+Translation.h
+//
+// Created by Oliver Drobnik on 3/2/11.
+// Copyright 2011 Drobnik.com. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+
+@interface NSTimeZone (Translation)
+
+- (NSString *)localizedGeoName;
+
+@end
19 NSTimeZone+Translation/NSTimeZone+Translation.m
@@ -0,0 +1,19 @@
+//
+// NSTimeZone+Translation.m
+// Summertime
+//
+// Created by Oliver Drobnik on 3/2/11.
+// Copyright 2011 __MyCompanyName__. All rights reserved.
+//
+
+#import "NSTimeZone+Translation.h"
+
+
+@implementation NSTimeZone (Translation)
+
+- (NSString *)localizedGeoName
+{
+ return NSLocalizedStringFromTable(self.name, @"LocalizableTimezones", @"NSTimeZone+Translation");
+}
+
+@end
BIN NSTimeZone+Translation/de.lproj/LocalizableTimezones.strings
Binary file not shown.
BIN NSTimeZone+Translation/es.lproj/LocalizableTimezones.strings
Binary file not shown.
BIN NSTimeZone+Translation/fr.lproj/LocalizableTimezones.strings
Binary file not shown.
BIN NSTimeZone+Translation/nl.lproj/LocalizableTimezones.strings
Binary file not shown.
9 Readme.markdown
@@ -0,0 +1,9 @@
+# NSTimeZone Localization
+
+This project aims to provide localization for the "geopolitical IDs" i.e. region names in the NSTimeZone class.
+
+These strings files where created by running the knownTimeZoneNames (411 in total) through Google Translate and manually cleaning up inconsistencies.
+
+Please report any errors you see or contact us if you want to help us add an additional language.
+
+Follow [@cocoanetics](http://twitter.com/cocoanetics) on Twitter.

0 comments on commit 70da439

Please sign in to comment.