From 577aa2d39df7decf9b09e15ee17faa86a03a2417 Mon Sep 17 00:00:00 2001 From: osaral Date: Tue, 30 Dec 2014 10:58:07 +0200 Subject: [PATCH 1/2] Add language Turkish --- .../YLMomentRelativeTimeLocalizable.strings | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 YLMoment/Localization/tr.lproj/YLMomentRelativeTimeLocalizable.strings diff --git a/YLMoment/Localization/tr.lproj/YLMomentRelativeTimeLocalizable.strings b/YLMoment/Localization/tr.lproj/YLMomentRelativeTimeLocalizable.strings new file mode 100644 index 0000000..26dea10 --- /dev/null +++ b/YLMoment/Localization/tr.lproj/YLMomentRelativeTimeLocalizable.strings @@ -0,0 +1,21 @@ +/* + YLMomentFormat.strings + YLMoment + + Created by Osman Saral on 30/12/2014. + Translation comes from the moment.js project. Learn more at http://momentjs.com +*/ + +"future" = "%@ sonra"; +"past" = "%@ önce"; +"s" = "birkaç saniye"; +"m" = "bir dakika"; +"mm" = "%d dakika"; +"h" = "bir saat"; +"hh" = "%d saat"; +"d" = "bir gün"; +"dd" = "%d gün"; +"M" = "bir ay"; +"MM" = "%d ay"; +"y" = "bir yıl"; +"yy" = "%d yıl"; \ No newline at end of file From 1ac31924b147bee024995b97448704cb35046073 Mon Sep 17 00:00:00 2001 From: osaral Date: Tue, 30 Dec 2014 11:32:29 +0200 Subject: [PATCH 2/2] Added unit tests for Turkish Language --- CHANGELOG.md | 4 + CONTRIBUTORS.md | 1 + Tests/Tests/Lang/YLMomentTest+LangTr.m | 191 ++++++++++++++++++ Tests/YLMomentTests.xcodeproj/project.pbxproj | 39 +++- .../xcshareddata/xcschemes/iOSTests.xcscheme | 11 +- .../YLMomentRelativeTimeLocalizable.strings | 14 +- 6 files changed, 242 insertions(+), 18 deletions(-) create mode 100644 Tests/Tests/Lang/YLMomentTest+LangTr.m diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e84b3b..de13b22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +### Version 0.5.2 (2014-12-30) + +- [ADD] `Turkish` language + ### Version 0.5.1 (2014-06-05) - [UPDATE] Xcode 5.1.1 version (to remove some warnings) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 4149992..a561ecb 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -18,3 +18,4 @@ Please keep the list sorted. * [Fanyj](https://github.com/fanyj) * [Michel Albers](https://github.com/michelalbers) * [Pieter Claerhout](https://github.com/pieterclaerhout) + * [Osman Saral](https://github.com/osrl) diff --git a/Tests/Tests/Lang/YLMomentTest+LangTr.m b/Tests/Tests/Lang/YLMomentTest+LangTr.m new file mode 100644 index 0000000..ddc426d --- /dev/null +++ b/Tests/Tests/Lang/YLMomentTest+LangTr.m @@ -0,0 +1,191 @@ +/* + * YLMoment + * + * Copyright 2013 - present Yannick Loriot. + * http://yannickloriot.com + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + +#import + +#define EXP_SHORTHAND +#import "Expecta.h" + +#import "YLMoment.h" + +@interface YLMomentTest_LangTr : XCTestCase + +@end + +@implementation YLMomentTest_LangTr + +- (void)setUp +{ + [super setUp]; + + [[YLMoment proxy] setLocale:[NSLocale localeWithLocaleIdentifier:@"tr_TR"]]; +} + +- (void)tearDown +{ + [[YLMoment proxy] setLocale:[NSLocale currentLocale]]; + + [super tearDown]; +} + +- (void)testLangFrom +{ + YLMoment *start = [YLMoment momentWithArray:@[@2007, @1, @28]]; + YLMoment *end; + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:44 forUnitKey:@"s"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"birkaç saniye"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:45 forUnitKey:@"s"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir dakika"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:89 forUnitKey:@"s"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir dakika"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:90 forUnitKey:@"s"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"2 dakika"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:44 forUnitKey:@"m"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"44 dakika"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:45 forUnitKey:@"m"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir saat"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:89 forUnitKey:@"m"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir saat"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:90 forUnitKey:@"m"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"2 saat"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:5 forUnitKey:@"h"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"5 saat"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:21 forUnitKey:@"h"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"21 saat"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:22 forUnitKey:@"h"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir gün"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:35 forUnitKey:@"h"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir gün"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:36 forUnitKey:@"h"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"2 gün"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:1 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir gün"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:5 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"5 gün"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:25 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"25 gün"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:26 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir ay"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:30 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir ay"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:45 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir ay"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:46 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"2 ay"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:74 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"2 ay"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:76 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"3 ay"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:1 forUnitKey:@"M"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir ay"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:5 forUnitKey:@"M"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"5 ay"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:344 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"11 ay"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:345 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir yıl"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:547 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir yıl"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:548 forUnitKey:@"d"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"2 yıl"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:1 forUnitKey:@"y"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"bir yıl"); + + end = [[YLMoment momentWithArray:@[@2007, @1, @28]] addAmountOfTime:5 forUnitKey:@"y"]; + expect([start fromMoment:end withSuffix:NO]).to.equal(@"5 yıl"); +} + +- (void)testLangSuffix +{ + YLMoment *moment = [YLMoment now]; + YLMoment *future = [[YLMoment now] addAmountOfTime:3 forUnitKey:@"s"]; + YLMoment *past = [[YLMoment now] addAmountOfTime:-3 forUnitKey:@"s"]; + + expect([future fromMoment:moment]).to.equal(@"birkaç saniye sonra"); + expect([past fromMoment:moment]).to.equal(@"birkaç saniye önce"); +} + +- (void)testLangNowFromNow +{ + expect([[YLMoment now] fromNow]).to.equal(@"birkaç saniye önce"); +} + +- (void)testLangFromNow +{ + YLMoment *reference1 = [[YLMoment now] addAmountOfTime:30 forCalendarUnit:NSCalendarUnitSecond]; + expect([reference1 fromNow]).to.equal(@"birkaç saniye sonra"); + + YLMoment *reference2 = [[YLMoment now] addAmountOfTime:5 forCalendarUnit:NSCalendarUnitDay]; + expect([reference2 fromNow]).to.equal(@"5 gün sonra"); + + YLMoment *reference3 = [[YLMoment now] addAmountOfTime:-1 forCalendarUnit:NSCalendarUnitDay]; + expect([reference3 fromNow]).to.equal(@"bir gün önce"); +} + +- (void)testLangFromNowWithSuffix +{ + YLMoment *reference1 = [[YLMoment now] addAmountOfTime:-3 forCalendarUnit:NSCalendarUnitMonth]; + expect([reference1 fromNowWithSuffix:NO]).to.equal(@"3 ay"); + + YLMoment *reference2 = [[YLMoment now] addAmountOfTime:9 forCalendarUnit:NSCalendarUnitHour]; + expect([reference2 fromNowWithSuffix:YES]).to.equal(@"9 saat sonra"); +} + +- (void)testLandFromDate { + YLMoment *reference = [[YLMoment now] subtractAmountOfTime:6 forCalendarUnit:NSCalendarUnitMinute]; + expect([reference fromDate:[NSDate date]]).to.equal(@"6 dakika sonra"); +} + +@end diff --git a/Tests/YLMomentTests.xcodeproj/project.pbxproj b/Tests/YLMomentTests.xcodeproj/project.pbxproj index 14d9c9d..587662e 100644 --- a/Tests/YLMomentTests.xcodeproj/project.pbxproj +++ b/Tests/YLMomentTests.xcodeproj/project.pbxproj @@ -9,6 +9,7 @@ /* Begin PBXBuildFile section */ 276FA9FF18D02B18003A3E3F /* YLMomentTest+LangZh.m in Sources */ = {isa = PBXBuildFile; fileRef = 276FA9FE18D02B18003A3E3F /* YLMomentTest+LangZh.m */; }; 276FAA0018D02B1A003A3E3F /* YLMomentTest+LangZh.m in Sources */ = {isa = PBXBuildFile; fileRef = 276FA9FE18D02B18003A3E3F /* YLMomentTest+LangZh.m */; }; + 8D5721491A52A24E006C383B /* YLMomentTest+LangTr.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D5721481A52A24E006C383B /* YLMomentTest+LangTr.m */; }; A54704E318B0759600497886 /* YLMomentTest+LangPt.m in Sources */ = {isa = PBXBuildFile; fileRef = A54704E218B0759600497886 /* YLMomentTest+LangPt.m */; }; C3EC52F6F21D4DC5A1F10500 /* libPods-ios.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADC09F2AE9564D008900DA94 /* libPods-ios.a */; }; ED7DF6AE538742429A8AEA2C /* libPods-osx.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AE61FE220675422EAEE6FB3F /* libPods-osx.a */; }; @@ -54,13 +55,17 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 14AA403AC069CD95E0EC564A /* Pods-osx.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-osx.release.xcconfig"; path = "Pods/Target Support Files/Pods-osx/Pods-osx.release.xcconfig"; sourceTree = ""; }; + 250E0436FF240052C03DBC29 /* Pods-ios.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ios/Pods-ios.debug.xcconfig"; sourceTree = ""; }; 276FA9FE18D02B18003A3E3F /* YLMomentTest+LangZh.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "YLMomentTest+LangZh.m"; sourceTree = ""; }; 2776776318D3FF9C00FB3B63 /* zh */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh; path = zh.lproj/YLMomentRelativeTimeLocalizable.strings; sourceTree = ""; }; - 2F21035625A34A29A4656C6A /* Pods-ios.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios.xcconfig"; path = "Pods/Pods-ios.xcconfig"; sourceTree = ""; }; + 5DE456B12B9C299B008D10D6 /* Pods-ios.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ios.release.xcconfig"; path = "Pods/Target Support Files/Pods-ios/Pods-ios.release.xcconfig"; sourceTree = ""; }; + 8D5721481A52A24E006C383B /* YLMomentTest+LangTr.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "YLMomentTest+LangTr.m"; sourceTree = ""; }; + 8D57214C1A52A7CC006C383B /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/YLMomentRelativeTimeLocalizable.strings; sourceTree = ""; }; A54704E218B0759600497886 /* YLMomentTest+LangPt.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "YLMomentTest+LangPt.m"; sourceTree = ""; }; ADC09F2AE9564D008900DA94 /* libPods-ios.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ios.a"; sourceTree = BUILT_PRODUCTS_DIR; }; AE61FE220675422EAEE6FB3F /* libPods-osx.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-osx.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - D38986F8261947CDA37C4DDE /* Pods-osx.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-osx.xcconfig"; path = "Pods/Pods-osx.xcconfig"; sourceTree = ""; }; + B691E0B2062ACFF01BF455E6 /* Pods-osx.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-osx.debug.xcconfig"; path = "Pods/Target Support Files/Pods-osx/Pods-osx.debug.xcconfig"; sourceTree = ""; }; F425CFC018282516002CABDC /* iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iOSTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; F425CFC51828296E002CABDC /* OSXTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OSXTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; F425CFC91828296E002CABDC /* OSXTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OSXTests-Info.plist"; sourceTree = ""; }; @@ -123,6 +128,17 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 6E389E83A0B76EC3D6F9D97E /* Pods */ = { + isa = PBXGroup; + children = ( + 250E0436FF240052C03DBC29 /* Pods-ios.debug.xcconfig */, + 5DE456B12B9C299B008D10D6 /* Pods-ios.release.xcconfig */, + B691E0B2062ACFF01BF455E6 /* Pods-osx.debug.xcconfig */, + 14AA403AC069CD95E0EC564A /* Pods-osx.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; F425CFC71828296E002CABDC /* OSXTests */ = { isa = PBXGroup; children = ( @@ -174,6 +190,7 @@ F4FDEA381838D38D00DB3901 /* YLMomentTest+LangNl.m */, F425CFE1182844D1002CABDC /* YLMomentTest+LangSq.m */, A54704E218B0759600497886 /* YLMomentTest+LangPt.m */, + 8D5721481A52A24E006C383B /* YLMomentTest+LangTr.m */, FA3A095418BDECE5001B2475 /* YLMomentTest+LangJa.m */, 276FA9FE18D02B18003A3E3F /* YLMomentTest+LangZh.m */, ); @@ -208,8 +225,7 @@ F425CFC71828296E002CABDC /* OSXTests */, F4605D2E181C33AA007F83EF /* Frameworks */, F4DD860A18292B79008D0D88 /* Products */, - 2F21035625A34A29A4656C6A /* Pods-ios.xcconfig */, - D38986F8261947CDA37C4DDE /* Pods-osx.xcconfig */, + 6E389E83A0B76EC3D6F9D97E /* Pods */, ); sourceTree = ""; }; @@ -331,6 +347,7 @@ pt, ja, zh, + tr, ); mainGroup = F4605D09181C326A007F83EF; productRefGroup = F4605D09181C326A007F83EF; @@ -377,7 +394,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Pods-osx-resources.sh\"\n"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-osx/Pods-osx-resources.sh\"\n"; showEnvVarsInLog = 0; }; 720CE271DFCB4ED1B5066E61 /* Check Pods Manifest.lock */ = { @@ -406,7 +423,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Pods-ios-resources.sh\"\n"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ios/Pods-ios-resources.sh\"\n"; showEnvVarsInLog = 0; }; C046DAF74BAA4A0E9999F383 /* Check Pods Manifest.lock */ = { @@ -471,6 +488,7 @@ F425CFE7182844D1002CABDC /* YLMomentTests+SOD_EOD.m in Sources */, FA3A095518BDECE5001B2475 /* YLMomentTest+LangJa.m in Sources */, F425CFE9182844D1002CABDC /* YLMomentTest+LangEs.m in Sources */, + 8D5721491A52A24E006C383B /* YLMomentTest+LangTr.m in Sources */, F4FDEA391838D38D00DB3901 /* YLMomentTest+LangNl.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -498,6 +516,7 @@ F43B57FC18B22E41001E9993 /* sq */, FA0470E918BDEEEA00BC1B91 /* ja */, 2776776318D3FF9C00FB3B63 /* zh */, + 8D57214C1A52A7CC006C383B /* tr */, ); name = YLMomentRelativeTimeLocalizable.strings; sourceTree = ""; @@ -515,7 +534,7 @@ /* Begin XCBuildConfiguration section */ F425CFD31828296E002CABDC /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D38986F8261947CDA37C4DDE /* Pods-osx.xcconfig */; + baseConfigurationReference = B691E0B2062ACFF01BF455E6 /* Pods-osx.debug.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; @@ -565,7 +584,7 @@ }; F425CFD41828296E002CABDC /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D38986F8261947CDA37C4DDE /* Pods-osx.xcconfig */; + baseConfigurationReference = 14AA403AC069CD95E0EC564A /* Pods-osx.release.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; @@ -632,7 +651,7 @@ }; F4605D3F181C33AA007F83EF /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 2F21035625A34A29A4656C6A /* Pods-ios.xcconfig */; + baseConfigurationReference = 250E0436FF240052C03DBC29 /* Pods-ios.debug.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; @@ -683,7 +702,7 @@ }; F4605D40181C33AA007F83EF /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 2F21035625A34A29A4656C6A /* Pods-ios.xcconfig */; + baseConfigurationReference = 5DE456B12B9C299B008D10D6 /* Pods-ios.release.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; diff --git a/Tests/YLMomentTests.xcodeproj/xcshareddata/xcschemes/iOSTests.xcscheme b/Tests/YLMomentTests.xcodeproj/xcshareddata/xcschemes/iOSTests.xcscheme index c199401..49733a5 100644 --- a/Tests/YLMomentTests.xcodeproj/xcshareddata/xcschemes/iOSTests.xcscheme +++ b/Tests/YLMomentTests.xcodeproj/xcshareddata/xcschemes/iOSTests.xcscheme @@ -14,7 +14,7 @@ buildForAnalyzing = "YES"> @@ -63,6 +63,15 @@ ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" allowLocationSimulation = "YES"> + + + + diff --git a/YLMoment/Localization/tr.lproj/YLMomentRelativeTimeLocalizable.strings b/YLMoment/Localization/tr.lproj/YLMomentRelativeTimeLocalizable.strings index 26dea10..311784e 100644 --- a/YLMoment/Localization/tr.lproj/YLMomentRelativeTimeLocalizable.strings +++ b/YLMoment/Localization/tr.lproj/YLMomentRelativeTimeLocalizable.strings @@ -1,10 +1,10 @@ -/* - YLMomentFormat.strings - YLMoment - - Created by Osman Saral on 30/12/2014. - Translation comes from the moment.js project. Learn more at http://momentjs.com -*/ +/* + YLMomentFormat.strings + YLMoment + + Created by Osman Saral on 30/12/2014. + Translation comes from the moment.js project. Learn more at http://momentjs.com + */ "future" = "%@ sonra"; "past" = "%@ önce";