Skip to content

Commit

Permalink
Fix new languages.
Browse files Browse the repository at this point in the history
  • Loading branch information
victorpimentel committed Nov 11, 2013
1 parent 3f1615a commit 45aa426
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Classes/TVShowsPref.m
Expand Up @@ -162,6 +162,10 @@ - (BOOL) fixUnsupportedLanguages
return [self fixUnsupportedLanguage:@"sl-SI" withFallback:@"English" withMessage:@"System Preferences is not translated to Slovenian, so TVShows needs to fix it to be able to show the application in your language.\n\nPlease provide your password in the next window so we can fix it."]; return [self fixUnsupportedLanguage:@"sl-SI" withFallback:@"English" withMessage:@"System Preferences is not translated to Slovenian, so TVShows needs to fix it to be able to show the application in your language.\n\nPlease provide your password in the next window so we can fix it."];
} else if ([locale isEqualToString:@"tr"]) { } else if ([locale isEqualToString:@"tr"]) {
return [self fixUnsupportedLanguage:@"tr" withFallback:@"English" withMessage:@"System Preferences is not translated to Turkish, so TVShows needs to fix it to be able to show the application in your language.\n\nPlease provide your password in the next window so we can fix it."]; return [self fixUnsupportedLanguage:@"tr" withFallback:@"English" withMessage:@"System Preferences is not translated to Turkish, so TVShows needs to fix it to be able to show the application in your language.\n\nPlease provide your password in the next window so we can fix it."];
} else if ([locale isEqualToString:@"hu"]) {
return [self fixUnsupportedLanguage:@"hu" withFallback:@"English" withMessage:@"System Preferences is not translated to Hungarian, so TVShows needs to fix it to be able to show the application in your language.\n\nPlease provide your password in the next window so we can fix it."];
} else if ([locale isEqualToString:@"hu"]) {
return [self fixUnsupportedLanguage:@"fy" withFallback:@"Dutch" withMessage:@"System Preferences is not translated to Frysian, so TVShows needs to fix it to be able to show the application in your language.\n\nPlease provide your password in the next window so we can fix it."];
} }


return NO; return NO;
Expand Down
2 changes: 1 addition & 1 deletion Resources/en.lproj/InfoPlist.strings
@@ -1 +1 @@
NSHumanReadableCopyright = "© 2011, Víctor Pimentel"; NSHumanReadableCopyright = "© 2013, Víctor Pimentel";
1 change: 1 addition & 0 deletions Resources/fy.lproj/README.markdown
@@ -0,0 +1 @@
If you want to help translating TVShows, please [request to be added to the translation team](https://webtranslateit.com/en/projects/874-TVShows/invitation_request), GitHub pull requests will not be accepted.
1 change: 1 addition & 0 deletions Resources/nb.lproj/README.markdown
@@ -0,0 +1 @@
If you want to help translating TVShows, please [request to be added to the translation team](https://webtranslateit.com/en/projects/874-TVShows/invitation_request), GitHub pull requests will not be accepted.
1 change: 1 addition & 0 deletions Resources/zh-CN.lproj/README.markdown
@@ -0,0 +1 @@
If you want to help translating TVShows, please [request to be added to the translation team](https://webtranslateit.com/en/projects/874-TVShows/invitation_request), GitHub pull requests will not be accepted.
9 changes: 9 additions & 0 deletions TVShows.xcodeproj/project.pbxproj
Expand Up @@ -462,6 +462,9 @@
57A9248813AFE5780038C76C /* eu */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = eu; path = Resources/eu.lproj/Localizable.strings; sourceTree = "<group>"; }; 57A9248813AFE5780038C76C /* eu */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = eu; path = Resources/eu.lproj/Localizable.strings; sourceTree = "<group>"; };
57A9248913AFE5830038C76C /* de-CH */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "de-CH"; path = "Resources/de-CH.lproj/Localizable.strings"; sourceTree = "<group>"; }; 57A9248913AFE5830038C76C /* de-CH */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "de-CH"; path = "Resources/de-CH.lproj/Localizable.strings"; sourceTree = "<group>"; };
57A9248A13AFE5FF0038C76C /* sk-SK */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "sk-SK"; path = "Resources/sk-SK.lproj/Localizable.strings"; sourceTree = "<group>"; }; 57A9248A13AFE5FF0038C76C /* sk-SK */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "sk-SK"; path = "Resources/sk-SK.lproj/Localizable.strings"; sourceTree = "<group>"; };
57B8201B183185E50012A94B /* fy */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fy; path = Resources/fy.lproj/Localizable.strings; sourceTree = "<group>"; };
57B8201D1831860A0012A94B /* hu */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hu; path = Resources/hu.lproj/Localizable.strings; sourceTree = "<group>"; };
57B8201F1831861A0012A94B /* zh-CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-CN"; path = "Resources/zh-CN.lproj/Localizable.strings"; sourceTree = "<group>"; };
57C42693147507D70064B91A /* ko */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ko; path = Resources/ko.lproj/Localizable.strings; sourceTree = "<group>"; }; 57C42693147507D70064B91A /* ko */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ko; path = Resources/ko.lproj/Localizable.strings; sourceTree = "<group>"; };
57C712BE139811F50045361A /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; 57C712BE139811F50045361A /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
57D19A1313AEF44A00BDE873 /* LRFilterBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LRFilterBar.h; sourceTree = "<group>"; }; 57D19A1313AEF44A00BDE873 /* LRFilterBar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LRFilterBar.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1108,6 +1111,9 @@
ar, ar,
"sl-SI", "sl-SI",
ko, ko,
fy,
hu,
"zh-CN",
); );
mainGroup = 089C166AFE841209C02AAC07 /* TVShows */; mainGroup = 089C166AFE841209C02AAC07 /* TVShows */;
projectDirPath = ""; projectDirPath = "";
Expand Down Expand Up @@ -1421,6 +1427,9 @@
573210E914096F2D00497D44 /* ar */, 573210E914096F2D00497D44 /* ar */,
576173251430BFAC005AF776 /* sl-SI */, 576173251430BFAC005AF776 /* sl-SI */,
57C42693147507D70064B91A /* ko */, 57C42693147507D70064B91A /* ko */,
57B8201B183185E50012A94B /* fy */,
57B8201D1831860A0012A94B /* hu */,
57B8201F1831861A0012A94B /* zh-CN */,
); );
name = Localizable.strings; name = Localizable.strings;
sourceTree = "<group>"; sourceTree = "<group>";
Expand Down

0 comments on commit 45aa426

Please sign in to comment.