diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 31501e0..0000000 --- a/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -build/ -*.pbxuser -*.perspective -*.perspectivev3 -.DS_Store -*.xcworkspace -xcuserdata -DerivedData/ -.idea diff --git a/Example/RelativeDateDemo.xcodeproj/project.pbxproj b/Example/RelativeDateDemo.xcodeproj/project.pbxproj index 2840d10..d8cca3d 100755 --- a/Example/RelativeDateDemo.xcodeproj/project.pbxproj +++ b/Example/RelativeDateDemo.xcodeproj/project.pbxproj @@ -31,6 +31,7 @@ 6143EE571631527500AF766F /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hant"; path = "zh-Hant.lproj/TesterViewController.xib"; sourceTree = ""; }; 8D1107310486CEB800E47090 /* RelativeDateDemo-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "RelativeDateDemo-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; AD146F5C17412FC300205BB9 /* nb */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nb; path = nb.lproj/TesterViewController.xib; sourceTree = ""; }; + C00164F21741524100F26B56 /* it */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = it; path = it.lproj/TesterViewController.xib; sourceTree = ""; }; DA300D8F16C8326F002E4C04 /* ja */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ja; path = ja.lproj/TesterViewController.xib; sourceTree = ""; }; DAD012DB16C8311E00AF7B51 /* SORelativeDateTransformer.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = SORelativeDateTransformer.bundle; path = ../SORelativeDateTransformer/SORelativeDateTransformer.bundle; sourceTree = ""; }; F202C6FF15DAE09A0090BD6C /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/TesterViewController.xib; sourceTree = ""; }; @@ -176,6 +177,7 @@ ja, pt, nb, + it, ); mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; projectDirPath = ""; @@ -227,6 +229,7 @@ DA300D8F16C8326F002E4C04 /* ja */, 3A188B56173989EB00EF631C /* pt */, AD146F5C17412FC300205BB9 /* nb */, + C00164F21741524100F26B56 /* it */, ); name = TesterViewController.xib; sourceTree = ""; diff --git a/README.markdown b/README.markdown index 38a5ab8..c750e2b 100644 --- a/README.markdown +++ b/README.markdown @@ -46,6 +46,7 @@ Included localizations: * English * French * German +* Italian * Japanese * Norwegian * Portuguese @@ -60,22 +61,22 @@ The localization also includes NSString-compatible format templates for phrases To add your own localizations, copy the English localization within `SORelativeDateTransformer.bundle` directory to an appropriately named `.lproj` subdirectory, then edit the `.strings` file within that new localization subdirectory. -For example, to add an Italian localization: +For example, to add a Korean localization: # Change working directory to the SORelativeDateTransformer.bundle cd ${PROJECT_DIR}/SORelativeDateTransformer.bundle # Copy the English localization subdirectory - # to an appropriately named lproj directory for an Italian localization + # to an appropriately named lproj directory for a Korean localization - cp -R en.lproj it.lproj + cp -R en.lproj ko.lproj # Edit the .strings file within the Italian lproj directory - # to replace the English localization values with Italian equivalents. + # to replace the English localization values with Korean equivalents. # Use your favorite UTF-16-capable text editor. - mate it.lproj/SORelativeDateTransformer.strings + mate ko.lproj/SORelativeDateTransformer.strings ## Tester App ## @@ -115,3 +116,5 @@ Brian Gesiak, for contributing the Japanese localization. [@github](https://gith Paulo André G Rodrigues, for contributing the Portuguese localization. [@github](https://github.com/pauloandreget). Ragnar Henriksen, for contributing the Norwegian localization. [@github](https://github.com/ragnar). + +Hjalti Jakobsson, for contributing the Italian localization. [@github](https://github.com/hjaltij). diff --git a/SORelativeDateTransformer/SORelativeDateTransformer.bundle/it.lproj/SORelativeDateTransformer.strings b/SORelativeDateTransformer/SORelativeDateTransformer.bundle/it.lproj/SORelativeDateTransformer.strings index 26340c5..82cb3df 100644 Binary files a/SORelativeDateTransformer/SORelativeDateTransformer.bundle/it.lproj/SORelativeDateTransformer.strings and b/SORelativeDateTransformer/SORelativeDateTransformer.bundle/it.lproj/SORelativeDateTransformer.strings differ