Skip to content

Commit

Permalink
Added Dutch localizations
Browse files Browse the repository at this point in the history
  • Loading branch information
4np committed Feb 8, 2018
1 parent c95766a commit 41401e1
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 10 deletions.
70 changes: 63 additions & 7 deletions TVGemist.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
F3047DBF2029F012000C48F9 /* TVGemistUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3047DBE2029F012000C48F9 /* TVGemistUITests.swift */; };
F311085F2029F62E006539CA /* ProgramCollectionViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F311085D2029F62D006539CA /* ProgramCollectionViewCell.xib */; };
F31108602029F62E006539CA /* ProgramCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F311085E2029F62E006539CA /* ProgramCollectionViewCell.swift */; };
F3AB6CDE202CB862008A4F73 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = F3AB6CDC202CB862008A4F73 /* Localizable.strings */; };
F3B1FDB3202CADAD00AB90CE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F3B1FDB5202CADAD00AB90CE /* Main.storyboard */; };
F3C8150D202C7FEF000D4A72 /* UIImage+tinted.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3C8150C202C7FEF000D4A72 /* UIImage+tinted.swift */; };
F3FD1D582029F2450099C247 /* LoggerWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3FD1D562029F2440099C247 /* LoggerWrapper.swift */; };
F3FD1D592029F2450099C247 /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3FD1D572029F2440099C247 /* Utilities.swift */; };
Expand All @@ -37,7 +39,6 @@
F3FD1D8B2029F3110099C247 /* LegacyPlayerViewController.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F3FD1D892029F3110099C247 /* LegacyPlayerViewController.storyboard */; };
F3FD1D8C2029F3110099C247 /* LegacyPlayerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3FD1D8A2029F3110099C247 /* LegacyPlayerViewController.swift */; };
F3FD1D902029F3260099C247 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F3FD1D8F2029F3260099C247 /* Assets.xcassets */; };
F3FD1D922029F3910099C247 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F3FD1D912029F3910099C247 /* Main.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -73,6 +74,11 @@
F3047DC02029F012000C48F9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
F311085D2029F62D006539CA /* ProgramCollectionViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ProgramCollectionViewCell.xib; sourceTree = "<group>"; };
F311085E2029F62E006539CA /* ProgramCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgramCollectionViewCell.swift; sourceTree = "<group>"; };
F3AB6CD7202CB7A6008A4F73 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Main.strings; sourceTree = "<group>"; };
F3AB6CD8202CB7AD008A4F73 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Main.strings; sourceTree = "<group>"; };
F3AB6CDD202CB862008A4F73 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = TVGemist/en.lproj/Localizable.strings; sourceTree = "<group>"; };
F3AB6CDF202CB874008A4F73 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = TVGemist/nl.lproj/Localizable.strings; sourceTree = "<group>"; };
F3B1FDB4202CADAD00AB90CE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
F3C8150C202C7FEF000D4A72 /* UIImage+tinted.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIImage+tinted.swift"; sourceTree = "<group>"; };
F3FD1D562029F2440099C247 /* LoggerWrapper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LoggerWrapper.swift; sourceTree = "<group>"; };
F3FD1D572029F2440099C247 /* Utilities.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Utilities.swift; sourceTree = "<group>"; };
Expand All @@ -96,7 +102,6 @@
F3FD1D892029F3110099C247 /* LegacyPlayerViewController.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LegacyPlayerViewController.storyboard; sourceTree = "<group>"; };
F3FD1D8A2029F3110099C247 /* LegacyPlayerViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LegacyPlayerViewController.swift; sourceTree = "<group>"; };
F3FD1D8F2029F3260099C247 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
F3FD1D912029F3910099C247 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -145,6 +150,7 @@
F3047D922029F011000C48F9 = {
isa = PBXGroup;
children = (
F3AB6CDC202CB862008A4F73 /* Localizable.strings */,
F3047D9D2029F012000C48F9 /* TVGemist */,
F3047DB22029F012000C48F9 /* TVGemistTests */,
F3047DBD2029F012000C48F9 /* TVGemistUITests */,
Expand All @@ -169,7 +175,7 @@
children = (
F3047DAA2029F012000C48F9 /* Info.plist */,
F3047D9E2029F012000C48F9 /* AppDelegate.swift */,
F3FD1D912029F3910099C247 /* Main.storyboard */,
F3B1FDB5202CADAD00AB90CE /* Main.storyboard */,
F3FD1D6E2029F2BF0099C247 /* Filtered Programs */,
F3FD1D772029F2D50099C247 /* Program */,
F3FD1D842029F2EC0099C247 /* Player */,
Expand Down Expand Up @@ -201,12 +207,36 @@
F31108612029FCCE006539CA /* Resourses */ = {
isa = PBXGroup;
children = (
F3AB6CCC202CB5B5008A4F73 /* localizations */,
F3FD1D8F2029F3260099C247 /* Assets.xcassets */,
F3047DA22029F012000C48F9 /* TVGemist.xcdatamodeld */,
);
path = Resourses;
sourceTree = "<group>";
};
F3AB6CCB202CB5A4008A4F73 /* en */ = {
isa = PBXGroup;
children = (
);
path = en;
sourceTree = "<group>";
};
F3AB6CCC202CB5B5008A4F73 /* localizations */ = {
isa = PBXGroup;
children = (
F3AB6CCB202CB5A4008A4F73 /* en */,
F3AB6CCD202CB5CD008A4F73 /* nl */,
);
path = localizations;
sourceTree = "<group>";
};
F3AB6CCD202CB5CD008A4F73 /* nl */ = {
isa = PBXGroup;
children = (
);
path = nl;
sourceTree = "<group>";
};
F3BFEA05202C72E5000B668A /* Miscelaneous */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -365,8 +395,9 @@
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
en,
nl,
);
mainGroup = F3047D922029F011000C48F9;
productRefGroup = F3047D9C2029F012000C48F9 /* Products */;
Expand All @@ -385,11 +416,12 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F3FD1D922029F3910099C247 /* Main.storyboard in Resources */,
F3B1FDB3202CADAD00AB90CE /* Main.storyboard in Resources */,
F3FD1D822029F2E20099C247 /* ProgramViewController.storyboard in Resources */,
F3FD1D7F2029F2E20099C247 /* EpisodeCollectionViewCell.xib in Resources */,
F3FD1D8B2029F3110099C247 /* LegacyPlayerViewController.storyboard in Resources */,
F3FD1D802029F2E20099C247 /* ProgramCollectionReusableView.xib in Resources */,
F3AB6CDE202CB862008A4F73 /* Localizable.strings in Resources */,
F3FD1D902029F3260099C247 /* Assets.xcassets in Resources */,
F311085F2029F62E006539CA /* ProgramCollectionViewCell.xib in Resources */,
);
Expand Down Expand Up @@ -545,11 +577,34 @@
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
F3AB6CDC202CB862008A4F73 /* Localizable.strings */ = {
isa = PBXVariantGroup;
children = (
F3AB6CDD202CB862008A4F73 /* en */,
F3AB6CDF202CB874008A4F73 /* nl */,
);
name = Localizable.strings;
sourceTree = "<group>";
};
F3B1FDB5202CADAD00AB90CE /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
F3B1FDB4202CADAD00AB90CE /* Base */,
F3AB6CD7202CB7A6008A4F73 /* en */,
F3AB6CD8202CB7AD008A4F73 /* nl */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
F3047DC12029F012000C48F9 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
Expand Down Expand Up @@ -606,6 +661,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
Expand Down Expand Up @@ -658,7 +714,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = USQSAZ85Q4;
INFOPLIST_FILE = TVGemist/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = eu.osx.ios.TVGemist;
Expand All @@ -675,7 +731,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = USQSAZ85Q4;
INFOPLIST_FILE = TVGemist/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = eu.osx.ios.TVGemist;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@
</objects>
<point key="canvasLocation" x="8667" y="1283"/>
</scene>
<!--Programma's-->
<!--Programs-->
<scene sceneID="iNV-js-rDC">
<objects>
<splitViewController id="ngH-Gb-jbQ" customClass="ProgramsSplitViewController" customModule="TVGemist" customModuleProvider="target" sceneMemberID="viewController">
<tabBarItem key="tabBarItem" title="Programma's" id="ywL-it-49z"/>
<splitViewController id="ngH-Gb-jbQ" userLabel="Programs" customClass="ProgramsSplitViewController" customModule="TVGemist" customModuleProvider="target" sceneMemberID="viewController">
<tabBarItem key="tabBarItem" title="Programs" id="ywL-it-49z" userLabel="Programs"/>
<connections>
<segue destination="tdJ-Fj-GO8" kind="relationship" relationship="masterViewController" id="eac-6X-BjM"/>
<segue destination="Pzj-pw-QDV" kind="relationship" relationship="detailViewController" id="mXN-Ae-eiY"/>
Expand Down
15 changes: 15 additions & 0 deletions TVGemist/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
Localizable.strings
TVGemist

Created by Jeroen Wesbeek on 08/02/2018.
Copyright © 2018 Jeroen Wesbeek. All rights reserved.
*/

/* Alert actions */
"ok" = "Ok";

/* Alert when a program or episode is not available */
"'%@' is not available" = "'%@' is not available";
"This program is exclusively available on NPO Start Plus and hence cannot be watched.\n\n\"%@\"" = "This program is exclusively available on NPO Start Plus and hence cannot be watched.\n\n\"%@\"";
"This episode is exclusively available on NPO Start Plus and hence cannot be watched.\n\n\n\"%@\"" = "This episode is exclusively available on NPO Start Plus and hence cannot be watched.\n\n\n\"%@\"";
6 changes: 6 additions & 0 deletions TVGemist/en.lproj/Main.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

/* Class = "UINavigationItem"; title = "Root View Controller"; ObjectID = "VoN-om-wEG"; */
"VoN-om-wEG.title" = "Root View Controller";

/* Class = "UITabBarItem"; title = "Programs"; ObjectID = "ywL-it-49z"; */
"ywL-it-49z.title" = "Programs";
15 changes: 15 additions & 0 deletions TVGemist/nl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
Localizable.strings
TVGemist

Created by Jeroen Wesbeek on 08/02/2018.
Copyright © 2018 Jeroen Wesbeek. All rights reserved.
*/

/* Alert actions */
"ok" = "Ok";

/* Alert when a program or episode is not available */
"'%@' is not available" = "'%@' is niet beschikbaar";
"This program is exclusively available on NPO Start Plus and hence cannot be watched.\n\n\"%@\"" = "Dit programma is exclusief beschikbaar voor NPO Start Plus abonnees en kan zodoende helaas niet worden bekeken.\n\n\"%@\"";
"This episode is exclusively available on NPO Start Plus and hence cannot be watched.\n\n\n\"%@\"" = "Deze aflevering is exclusief beschikbaar voor NPO Start Plus abonnees en kan zodoende helaas niet worden bekeken.\n\n\n\"%@\"";
6 changes: 6 additions & 0 deletions TVGemist/nl.lproj/Main.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

/* Class = "UINavigationItem"; title = "Root View Controller"; ObjectID = "VoN-om-wEG"; */
"VoN-om-wEG.title" = "Root View Controller";

/* Class = "UITabBarItem"; title = "Programs"; ObjectID = "ywL-it-49z"; */
"ywL-it-49z.title" = "Programma's";

0 comments on commit 41401e1

Please sign in to comment.