[iOS] Fixed localizations in onboarding/subscriptions

This commit is contained in:
Alexander Boriskov 2019-11-28 12:30:56 +03:00 committed by Arsentiy Milchakov
parent a70ea5a173
commit 7579b29d08
3 changed files with 6 additions and 6 deletions

View file

@ -289,7 +289,7 @@
<userDefinedRuntimeAttribute type="string" keyPath="textColorHighlightedName" value="linkBlueHighlighted"/>
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="medium14"/>
<userDefinedRuntimeAttribute type="string" keyPath="textColorName" value="allPassSubscriptionDescription"/>
<userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="restore_purchase"/>
<userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="restore_subscription"/>
</userDefinedRuntimeAttributes>
<connections>
<action selector="onRestore:" destination="-1" eventType="touchUpInside" id="Y63-jh-jyb"/>

View file

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15400" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina5_5" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15404"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15510"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@ -252,7 +252,7 @@
<userDefinedRuntimeAttribute type="string" keyPath="textColorHighlightedName" value="linkBlueHighlighted"/>
<userDefinedRuntimeAttribute type="string" keyPath="fontName" value="medium14"/>
<userDefinedRuntimeAttribute type="string" keyPath="textColorName" value="linkBlue"/>
<userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="restore_purchase"/>
<userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="restore_subscription"/>
</userDefinedRuntimeAttributes>
<connections>
<action selector="onRestore:" destination="-1" eventType="touchUpInside" id="3br-rR-hqk"/>

View file

@ -19,8 +19,8 @@ class TermsOfUsePresenter {
extension TermsOfUsePresenter: ITermsOfUsePresenter {
func configure() {
view?.setTitleImage(UIImage(named: "img_onboarding_travelbuddy"))
view?.setTitle(L("new_onboarding_step1_header"))
view?.setText(L("new_onboarding_step1_header_2"))
view?.setTitle("\(L("new_onboarding_step1_header"))\n\(L("new_onboarding_step1_header_2"))")
view?.setText(L("sign_message_gdpr"))
view?.setPrivacyPolicyTitle(String(coreFormat: L("sign_agree_pp_gdpr"), arguments: [privacyPolicyLink]))
view?.setTermsOfUseTitle(String(coreFormat: L("sign_agree_tof_gdpr"), arguments: [termsOfUseLink]))
}