Skip to content

Commit

Permalink
localization: string catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
Ytemiloluwa authored Aug 12, 2023
1 parent 9c563b9 commit d1562b1
Show file tree
Hide file tree
Showing 3 changed files with 311 additions and 0 deletions.
19 changes: 19 additions & 0 deletions BDKSwiftExampleWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
A733D6D02A81113000F333B4 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = A733D6CF2A81113000F333B4 /* Localizable.xcstrings */; };
A73F7A362A3B778E00B87FC6 /* Int+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A73F7A352A3B778E00B87FC6 /* Int+Extensions.swift */; };
AE0C30F72A804A2D008F1EAE /* WalletTransactionListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE0C30F62A804A2D008F1EAE /* WalletTransactionListView.swift */; };
AE0C30F92A804B65008F1EAE /* OnboardingViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE0C30F82A804B65008F1EAE /* OnboardingViewModel.swift */; };
Expand Down Expand Up @@ -54,6 +55,7 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
A733D6CF2A81113000F333B4 /* Localizable.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = Localizable.xcstrings; sourceTree = "<group>"; };
A73F7A352A3B778E00B87FC6 /* Int+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Int+Extensions.swift"; sourceTree = "<group>"; };
AE0C30F62A804A2D008F1EAE /* WalletTransactionListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletTransactionListView.swift; sourceTree = "<group>"; };
AE0C30F82A804B65008F1EAE /* OnboardingViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnboardingViewModel.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -121,6 +123,14 @@
path = "View Model";
sourceTree = "<group>";
};
A7FBCE392A72944C007C960E /* Resources */ = {
isa = PBXGroup;
children = (
A733D6CF2A81113000F333B4 /* Localizable.xcstrings */,
);
path = Resources;
sourceTree = "<group>";
};
AE1C341E2A42440A008F807A /* Extensions */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -193,6 +203,7 @@
AE49847A2A1BBBD6009951E2 /* BDKSwiftExampleWallet */ = {
isa = PBXGroup;
children = (
A7FBCE392A72944C007C960E /* Resources */,
AE1C34222A424440008F807A /* App */,
AE7F670A2A7451B600CED561 /* Model */,
AE1C341F2A424415008F807A /* View */,
Expand Down Expand Up @@ -330,6 +341,7 @@
knownRegions = (
en,
Base,
fr,
);
mainGroup = AE49846F2A1BBBD6009951E2;
packageReferences = (
Expand All @@ -353,6 +365,7 @@
buildActionMask = 2147483647;
files = (
AE4984A62A1BBCB8009951E2 /* README.md in Resources */,
A733D6D02A81113000F333B4 /* Localizable.xcstrings in Resources */,
AE4984832A1BBBD7009951E2 /* Preview Assets.xcassets in Resources */,
AE4984802A1BBBD7009951E2 /* Assets.xcassets in Resources */,
);
Expand Down Expand Up @@ -425,6 +438,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++20";
Expand Down Expand Up @@ -472,11 +486,13 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
Expand All @@ -485,6 +501,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++20";
Expand Down Expand Up @@ -526,10 +543,12 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
Expand Down
290 changes: 290 additions & 0 deletions BDKSwiftExampleWallet/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
@@ -0,0 +1,290 @@
{
"sourceLanguage" : "en",
"strings" : {
"- %llu sats" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "- %llu s'assit"
}
}
}
},
"+ %llu sats" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "+ %llu s'assit"
}
}
}
},
"A simple bitcoin wallet for your enjoyment." : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Un portefeuille bitcoin simple pour votre plaisir."
}
}
}
},
"Activity" : {
"comment" : "Localizable.strings\n BDKSwiftExampleWallet\n\n Created by Temiloluwa on 27/07/2023.",
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Activité"
}
}
}
},
"Address" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Adresse"
}
}
}
},
"Amount" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Montant"
}
}
}
},
"Bitcoin wallet" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Portefeuille de Bitcoins"
}
}
}
},
"Block %@" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Bloc %@"
}
}
}
},
"Confirmed" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Confirmé"
}
}
}
},
"Create a new wallet" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Créer un nouveau portefeuille"
}
}
}
},
"Enter address to send BTC to" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Entrez l'adresse à laquelle envoyer le BTC"
}
}
}
},
"Enter amount to send" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Entrez le montant à envoyer"
}
}
}
},
"Fee %llu" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Frais %llu"
}
}
}
},
"Last Synced: %@" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Dernière synchronisation : %@"
}
}
}
},
"No Transactions" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Aucune transaction"
}
}
}
},
"Receive" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Recevoir"
}
}
}
},
"Received" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Reçu"
}
}
}
},
"Restore existing wallet" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Restaurer le portefeuille existant"
}
}
}
},
"sats" : {
"extractionState" : "manual",
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "s'assit"
}
}
}
},
"Send" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Envoyer"
}
}
}
},
"Sent" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Expédié"
}
}
}
},
"Sync" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Synchroniser"
}
}
}
},
"Syncing" : {
"extractionState" : "manual",
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Synchronisation"
}
}
}
},
"Transactions" : {
"extractionState" : "manual",
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Transactions"
}
}
}
},
"Unconfirmed" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "non confirmé"
}
}
}
},
"Wallet" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "besace"
}
}
}
},
"Your Balance" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Votre solde"
}
}
}
},
"Your wallet, your coins \n 100% open-source & open-design" : {
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Votre portefeuille, vos pièces 100% open-source et open-design"
}
}
}
}
},
"version" : "1.0"
}
Loading

0 comments on commit d1562b1

Please sign in to comment.