diff --git a/TranslationsGeneratorTests/Translations.swift b/TranslationsGeneratorTests/Translations.swift index 67cfd49..8b13789 100644 --- a/TranslationsGeneratorTests/Translations.swift +++ b/TranslationsGeneratorTests/Translations.swift @@ -1,9 +1 @@ -// -// Translations.swift -// TranslationsGeneratorTests -// -// Created by Andrew Lloyd on 07/08/2019. -// Copyright © 2019 Nodes. All rights reserved. -// -import Foundation diff --git a/TranslationsGeneratorTests/Translations_da-DK.json b/TranslationsGeneratorTests/Translations_da-DK.json deleted file mode 100644 index b714000..0000000 --- a/TranslationsGeneratorTests/Translations_da-DK.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "data" : { - "default" : { - "keyys" : "ffw", - "successKey" : "Success" - }, - "oneMoreSection" : { - "soManyKeys" : "AndValues", - "test1" : "
test<\/p>\r\n",
- "test2" : "__test2"
- },
- "otherSection" : {
- "otherString" : "Haha"
- }
- },
- "meta" : {
- "language" : {
- "direction" : "LRM",
- "id" : 11,
- "is_best_fit" : false,
- "is_default" : false,
- "locale" : "en-GB",
- "name" : "English (UK)"
- },
- "platform" : {
- "id" : 24,
- "slug" : "mobile"
- }
- }
-}
\ No newline at end of file
diff --git a/TranslationsGeneratorTests/Translations_en-GB.json b/TranslationsGeneratorTests/Translations_en-GB.json
index b714000..242d60a 100644
--- a/TranslationsGeneratorTests/Translations_en-GB.json
+++ b/TranslationsGeneratorTests/Translations_en-GB.json
@@ -1,7 +1,7 @@
{
"data" : {
"default" : {
- "keyys" : "ffw",
+ "keyys" : "englishKeyys",
"successKey" : "Success"
},
"oneMoreSection" : {
diff --git a/nstack-translations-generator.xcodeproj/project.pbxproj b/nstack-translations-generator.xcodeproj/project.pbxproj
index c54b122..37c31b3 100644
--- a/nstack-translations-generator.xcodeproj/project.pbxproj
+++ b/nstack-translations-generator.xcodeproj/project.pbxproj
@@ -17,6 +17,8 @@
2301ED2E22CF659C00DA51FB /* HTTPStatusCode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2301ED2C22CF659C00DA51FB /* HTTPStatusCode.swift */; };
2301ED3122CF665800DA51FB /* Localization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2301ED3022CF665800DA51FB /* Localization.swift */; };
2301ED3322CF66AB00DA51FB /* Language.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2301ED3222CF66AB00DA51FB /* Language.swift */; };
+ 231C6CD022FB148600C1B26F /* Translations.swift in Sources */ = {isa = PBXBuildFile; fileRef = 231C6CCE22FB148600C1B26F /* Translations.swift */; };
+ 231C6CD122FB148600C1B26F /* Translations_en-GB.json in Resources */ = {isa = PBXBuildFile; fileRef = 231C6CCF22FB148600C1B26F /* Translations_en-GB.json */; };
4BEB675802B887383D43E489 /* Pods_TranslationsGenerator.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6E542EC77F964BEA400B6BF8 /* Pods_TranslationsGenerator.framework */; };
A95D3AA6B98CC1065FAA7AE9 /* Pods_TranslationsGeneratorTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5793EFD3A20502E2E0D0C7BF /* Pods_TranslationsGeneratorTests.framework */; };
B4715A6A224841230020F25B /* Downloader.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4715A5E224841220020F25B /* Downloader.swift */; };
@@ -94,6 +96,8 @@
2301ED2C22CF659C00DA51FB /* HTTPStatusCode.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTTPStatusCode.swift; sourceTree = "