mirror of
https://github.com/zhigang1992/SORelativeDateTransformer.git
synced 2026-01-12 17:52:35 +08:00
Updated for Italian localization.
This commit is contained in:
9
.gitignore
vendored
9
.gitignore
vendored
@@ -1,9 +0,0 @@
|
||||
build/
|
||||
*.pbxuser
|
||||
*.perspective
|
||||
*.perspectivev3
|
||||
.DS_Store
|
||||
*.xcworkspace
|
||||
xcuserdata
|
||||
DerivedData/
|
||||
.idea
|
||||
@@ -31,6 +31,7 @@
|
||||
6143EE571631527500AF766F /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hant"; path = "zh-Hant.lproj/TesterViewController.xib"; sourceTree = "<group>"; };
|
||||
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 = "<group>"; };
|
||||
AD146F5C17412FC300205BB9 /* nb */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nb; path = nb.lproj/TesterViewController.xib; sourceTree = "<group>"; };
|
||||
C00164F21741524100F26B56 /* it */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = it; path = it.lproj/TesterViewController.xib; sourceTree = "<group>"; };
|
||||
DA300D8F16C8326F002E4C04 /* ja */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ja; path = ja.lproj/TesterViewController.xib; sourceTree = "<group>"; };
|
||||
DAD012DB16C8311E00AF7B51 /* SORelativeDateTransformer.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = SORelativeDateTransformer.bundle; path = ../SORelativeDateTransformer/SORelativeDateTransformer.bundle; sourceTree = "<group>"; };
|
||||
F202C6FF15DAE09A0090BD6C /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/TesterViewController.xib; sourceTree = "<group>"; };
|
||||
@@ -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 = "<group>";
|
||||
|
||||
@@ -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).
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user