mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-05 19:28:46 +02:00
Support encrypted transactions
This commit is contained in:
parent
4fd8b81a77
commit
f125c65907
18 changed files with 4418 additions and 3986 deletions
|
|
@ -1,17 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
swift -swift-version 4 tools/GenerateLocalization.swift Telegram-iOS/en.lproj/Localizable.strings submodules/TelegramPresentationData/Sources/PresentationStrings.swift submodules/TelegramUI/TelegramUI/Resources/PresentationStrings.mapping
|
||||
swift -swift-version 4 tools/GenerateLocalization.swift Telegram/Telegram-iOS/en.lproj/Localizable.strings submodules/TelegramPresentationData/Sources/PresentationStrings.swift submodules/TelegramUI/TelegramUI/Resources/PresentationStrings.mapping
|
||||
|
||||
mkdir -p submodules/WalletUI/Resources
|
||||
swift -swift-version 4 tools/GenerateLocalization.swift Telegram-iOS/en.lproj/Localizable.strings submodules/WalletUI/Sources/WalletStrings.swift submodules/WalletUI/Resources/WalletStrings.mapping "Wallet."
|
||||
swift -swift-version 4 tools/GenerateLocalization.swift Telegram/Telegram-iOS/en.lproj/Localizable.strings submodules/WalletUI/Sources/WalletStrings.swift submodules/WalletUI/Resources/WalletStrings.mapping "Wallet."
|
||||
|
||||
wallet_strings_path="Wallet/Strings"
|
||||
strings_name="Localizable.strings"
|
||||
rm -rf "$wallet_strings_path"
|
||||
|
||||
for f in $(basename $(find "Telegram-iOS" -name "*.lproj")); do
|
||||
for f in $(basename $(find "Telegram/Telegram-iOS" -name "*.lproj")); do
|
||||
mkdir -p "$wallet_strings_path/$f"
|
||||
if [ -f "Telegram-iOS/$f/$strings_name" ]; then
|
||||
cat "Telegram-iOS/$f/$strings_name" | grep -E '^"Wallet\..*?$' > "$wallet_strings_path/$f/$strings_name"
|
||||
if [ -f "Telegram/Telegram-iOS/$f/$strings_name" ]; then
|
||||
cat "Telegram/Telegram-iOS/$f/$strings_name" | grep -E '^"Wallet\..*?$' > "$wallet_strings_path/$f/$strings_name"
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue