forked from organicmaps/organicmaps
[android][ios] Rename "More on KAYAK" option and update icon
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
parent
3304528f11
commit
4572755093
8 changed files with 64 additions and 49 deletions
14
android/app/src/main/res/drawable/ic_kayak_white.xml
Normal file
14
android/app/src/main/res/drawable/ic_kayak_white.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="72dp"
|
||||
android:height="72dp"
|
||||
android:viewportWidth="72"
|
||||
android:viewportHeight="72">
|
||||
<path
|
||||
android:pathData="M11.459,4L27.018,4L27.018,68L11.459,68Z"
|
||||
android:strokeWidth="5.347"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M60.541,67.946L43.378,67.946L25.681,35.973 43.378,4L60.541,4L42.737,35.973Z"
|
||||
android:strokeWidth="5.347"
|
||||
android:fillColor="#ffffff"/>
|
||||
</vector>
|
|
@ -10,13 +10,13 @@
|
|||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv__place_booking"
|
||||
android:id="@+id/iv__place_kayak"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
android:src="@drawable/ic_bookmark_hotel"
|
||||
android:src="@drawable/ic_kayak_white"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_booking"
|
||||
android:id="@+id/tv__place_kayak"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/more_on_kayak"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<include layout="@layout/place_page_kayak" />
|
||||
<include layout="@layout/place_page_website" />
|
||||
<include layout="@layout/place_page_email" />
|
||||
<include layout="@layout/place_page_facebook" />
|
||||
|
@ -13,4 +12,5 @@
|
|||
<include layout="@layout/place_page_vk" />
|
||||
<include layout="@layout/place_page_line" />
|
||||
<include layout="@layout/place_page_wikimedia" />
|
||||
<include layout="@layout/place_page_kayak" />
|
||||
</LinearLayout>
|
|
@ -16042,45 +16042,46 @@
|
|||
[more_on_kayak]
|
||||
comment = A referral link on the place page for some hotels
|
||||
tags = android,ios
|
||||
en = Details on KAYAK
|
||||
ar = التفاصيل على KAYAK
|
||||
be = Падрабязнасці на KAYAK
|
||||
bg = Подробности в KAYAK
|
||||
ca = Detalls a KAYAK
|
||||
cs = Podrobnosti na KAYAK
|
||||
da = Detaljer på KAYAK
|
||||
de = Einzelheiten bei KAYAK
|
||||
el = Λεπτομέρειες στο KAYAK
|
||||
es = Detalles en KAYAK
|
||||
es-MX = Detalles sobre KAYAK
|
||||
et = Üksikasjad KAYAKi kohta
|
||||
eu = Xehetasunak KAYAK-en
|
||||
fa = جزئیات در KAYAK
|
||||
fi = Lisätietoa osoitteessa KAYAK
|
||||
fr = Détails sur KAYAK
|
||||
he = פרטים על KAYAK
|
||||
hi = कयाक पर विवरण
|
||||
hu = Részletek a KAYAK-on
|
||||
id = Perincian di KAYAK
|
||||
it = Dettagli su KAYAK
|
||||
ja = KAYAK で詳細表示
|
||||
ko = KAYAK의 세부 정보
|
||||
mr = कायाक वर तपशील
|
||||
nb = Mer informasjon om KAYAK
|
||||
nl = Details op KAYAK
|
||||
pl = Szczegóły na KAYAK
|
||||
pt = Detalhes em KAYAK
|
||||
ro = Detalii pe KAYAK
|
||||
ru = Подробнее на KAYAK
|
||||
sk = Podrobnosti na KAYAK
|
||||
sv = Information på KAYAK
|
||||
sw = Maelezo kuhusu KAYAK
|
||||
th = รายละเอียดบน KAYAK
|
||||
tr = KAYAK hakkında detaylar
|
||||
uk = Докладніше на KAYAK
|
||||
vi = Chi tiết trên KAYAK
|
||||
zh-Hans = KAYAK 上的详细信息
|
||||
zh-Hant = KAYAK 上的詳細資訊
|
||||
en = Photos, reviews, booking
|
||||
ar = الصور والتعليقات والحجز
|
||||
be = Фота, водгукі, браніраванне
|
||||
bg = Снимки, отзиви, резервация
|
||||
ca = Fotos, comentaris, reserves
|
||||
cs = Fotografie, recenze, rezervace
|
||||
da = Fotos, anmeldelser, booking
|
||||
de = Fotos, bewertungen, buchung
|
||||
el = Φωτογραφίες, κριτικές, κράτηση
|
||||
es = Fotos, opiniones, reservas
|
||||
es-MX = Fotos, reseñas, reservas.
|
||||
et = Fotod, arvustused, broneerimine
|
||||
eu = Argazkiak, iritziak, erreserba
|
||||
fa = عکس ها، نظرات، رزرو
|
||||
fi = Kuvat, arvostelut, varaus
|
||||
fr = Photos, commentaires, réservations
|
||||
he = תמונות, ביקורות, הזמנה
|
||||
hi = तस्वीरें, समीक्षाएँ, बुकिंग
|
||||
hu = Fényképek, vélemények, foglalás
|
||||
id = Foto, ulasan, pemesanan
|
||||
it = Foto, recensioni, prenotazioni
|
||||
ja = 写真、レビュー、予約
|
||||
ko = 사진, 리뷰, 예약
|
||||
mr = फोटोपुनरावलोकनेबुकिंगबुकिंग
|
||||
nb = Bilder, anmeldelser, bestilling
|
||||
nl = Foto's, beoordelingen, boeken
|
||||
pl = Zdjęcia, opinie, rezerwacja
|
||||
pt = Fotos, comentários, reservas
|
||||
pt-BR = Fotos, avaliações, reservas
|
||||
ro = Fotografii, comentarii, rezervări
|
||||
ru = Фотографии, отзывы, бронирование
|
||||
sk = Fotografie, recenzie, rezervácie
|
||||
sv = Foton, recensioner, bokning
|
||||
sw = Picha, hakiki, uhifadhi
|
||||
th = รูปภาพ รีวิว การจอง
|
||||
tr = Fotoğraflar, yorumlar, rezervasyon
|
||||
uk = Фото, відгуки, бронювання
|
||||
vi = Hình ảnh, đánh giá, đặt phòng
|
||||
zh-Hans = 照片、评论、预订
|
||||
zh-Hant = 照片、評論、預訂
|
||||
|
||||
[dialog_kayak_disclaimer]
|
||||
comment = An explanation dialog shown when clicking on more_on_kayak link.
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 496 B |
Binary file not shown.
Before Width: | Height: | Size: 585 B After Width: | Height: | Size: 899 B |
Binary file not shown.
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 1.2 KiB |
|
@ -146,12 +146,6 @@ class PlacePageInfoViewController: UIViewController {
|
|||
self?.delegate?.didPressWikipedia()
|
||||
}
|
||||
}
|
||||
|
||||
if placePageInfoData.kayak != nil {
|
||||
kayakView = createInfoItem(L("more_on_kayak"), icon: UIImage(named: "ic_placepage_kayak"), style: .link) { [weak self] in
|
||||
self?.delegate?.didPressKayak()
|
||||
}
|
||||
}
|
||||
|
||||
if placePageInfoData.wikimediaCommons != nil {
|
||||
wikimediaCommonsView = createInfoItem(L("wikimedia_commons"), icon: UIImage(named: "ic_placepage_wikimedia_commons"), style: .link) { [weak self] in
|
||||
|
@ -208,6 +202,12 @@ class PlacePageInfoViewController: UIViewController {
|
|||
addressView?.canShowMenu = true
|
||||
}
|
||||
|
||||
if placePageInfoData.kayak != nil {
|
||||
kayakView = createInfoItem(L("more_on_kayak"), icon: UIImage(named: "ic_placepage_kayak"), style: .link) { [weak self] in
|
||||
self?.delegate?.didPressKayak()
|
||||
}
|
||||
}
|
||||
|
||||
var formatId = self.coordinatesFormatId
|
||||
if let coordFormats = self.placePageInfoData.coordFormats as? Array<String> {
|
||||
if formatId >= coordFormats.count {
|
||||
|
|
Loading…
Add table
Reference in a new issue