forked from organicmaps/organicmaps
Settings changes.
This commit is contained in:
parent
d23dd9fd35
commit
34d536c8b3
55 changed files with 449 additions and 225 deletions
|
@ -143,7 +143,7 @@
|
|||
<activity
|
||||
android:name="com.mapswithme.maps.settings.SettingsActivity"
|
||||
android:configChanges="orientation|screenLayout|screenSize"
|
||||
android:label="@string/settings"
|
||||
android:label="@string/settings_and_more"
|
||||
android:screenOrientation="behind">
|
||||
</activity>
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@
|
|||
<activity
|
||||
android:name="com.mapswithme.maps.settings.SettingsActivity"
|
||||
android:configChanges="orientation|screenLayout|screenSize"
|
||||
android:label="@string/settings"
|
||||
android:label="@string/settings_and_more"
|
||||
android:screenOrientation="behind" >
|
||||
</activity>
|
||||
<activity
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
android:drawableLeft="@drawable/ic_menu_settings"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/settings"
|
||||
android:text="@string/settings_and_more"
|
||||
android:textColor="@android:color/white"/>
|
||||
|
||||
<View
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
android:drawableLeft="@drawable/ic_menu_settings"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="@string/settings"
|
||||
android:text="@string/settings_and_more"
|
||||
android:textColor="@android:color/white"/>
|
||||
|
||||
<View
|
||||
|
|
|
@ -371,7 +371,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">تطبيق MAPS.ME مجاني اليوم! يمكنك مشاركة الأخبار على الفيسبوك.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME متوفر الآن مع خصم 80٪ على منصة جوجل بلاي.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME متوفر الآن مع خصم 80٪ على منصة جوجل بلاي. يمكنك مشاركة الأخبار على الفيسبوك.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">تطبيق الخرائط غير المتصلة المذهل MAPS.ME أصبح مجاني على متجر التطبيقات ومتوفر بخصم 80% على Google Play. أسرع للحصول على التطبيق اليوم، فالترويج سوف ينتهي قريبا!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -358,7 +358,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME je dnes zdarma! Sdílejte tu zprávu na Facebooku.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME jsou dostupné na Google Play se slevou 80 %.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME jsou dostupné na Google Play se slevou 80 %! Sdílejte tu zprávu na Facebooku.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Úžasné offline mapy MAPS.ME jsou zdarma na App Store a dostupné s 80% slevou na Google Play. Pospěšte si a získejte tuto aplikaci ještě dnes, tato propagační akce brzy skončí!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -369,7 +369,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME er gratis i dag! Del nyheden på Facebook.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME er tilgængeligt med 80% rabat på Google Play.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME er tilgængeligt med 80% rabat på Google Play! Del nyheden på Facebook.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Den fantastiske offline kort app MAPS.ME er gratis i App Store og kan fås på Google Play med 80% i rabat. Skynd dig at få app´en i dag, promotionperioden er snart forbi!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -362,7 +362,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME Pro ist heute gratis! Neuigkeiten auf Facebook teilen.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME gibt es mit 80 % Rabatt auf Google Play.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME gibt es mit 80 % Rabatt auf Google Play! Neuigkeiten auf Facebook teilen.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Die tolle Offline-Karten-App MAPS.ME gibt es gratis im App Store und ist mit 80 % Rabatt bei Google Play verfügbar. Beeilen Sie sich und holen Sie sich heute die App. Die Aktion ist bald vorbei!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -348,7 +348,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">¡MAPS.ME es gratis hoy! Comparte la noticia en Facebook.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME disponible con un descuento del 80 % en Google Play</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME disponible con un descuento del 80 % en Google Play! Comparte la noticia en Facebook.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">La increíble app de mapas sin conexión, MAPS.ME, está en la App Store gratis y disponible en Google Play con un descuento del 80 %. Date prisa y consigue la app hoy, ¡la promoción pronto se acabará!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -378,7 +378,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME est gratuit aujourd\'hui ! Partagez la nouvelle sur Facebook.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME est disponible avec 80 % de réduction sur Google Play.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME est disponible avec 80 % de réduction sur Google Play ! Partagez la nouvelle sur Facebook.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Cette géniale application hors-connexion de cartes MAPS.ME est gratuite sur l\'App Store et disponible avec une réduction de 80 % sur Google Play. Dépêchez-vous d\'obtenir l\'application dès aujourd\'hui, la promotion se termine bientôt !</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -366,7 +366,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">A MAPS.ME ma ingyenes! Oszd meg a hírt facebookon.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">A MAPS.ME 80 százalékos kedvezménnyel érhető el a Google Playen.</string>
|
||||
<string name="maps_me_is_free_today_android">A MAPS.ME 80 százalékos kedvezménnyel érhető el a Google Playen! Oszd meg a hírt facebookon.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">A szuper offline térképek alkalmazása, a MAPS.ME ingyenes az App Store-ban és elérhető 80%-os kedvezménnyel a Google Play-en. Siess és szerezd meg az alkalmazást még ma, az akció hamarosan véget ér!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -354,7 +354,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME è gratis quest\'oggi! Condividi la notizia su Facebook.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME è disponibile con uno sconto dell\'80% su Google Play</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME è disponibile con uno sconto dell\'80% su Google Play! Condividi la notizia su Facebook.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">La bellissima app MAPS.ME con mappe off-line è gratuita sull\'App Store ed è disponibile con l\'80% di sconto su Google Play. Affrettati per avere l\'applicazione oggi stesso; la promozione scadrà presto!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -354,7 +354,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME が本日無料!Facebookでニュースをシェアしよう。</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">Google Playから8割引の価格でMAPS.MEをお買い求めいただけます。</string>
|
||||
<string name="maps_me_is_free_today_android">Google Playから8割引の価格でMAPS.MEをお買い求めいただけます! Facebookでニュースをシェアしよう。</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">素晴らしい機能を搭載し、オフラインでも使用可能なマップアプリのMAPS.MEがApp Storeで無料、Google Playからは8割引の価格で入手できます。このプロモーションは間もなく終わってしまうので、今すぐにでもゲットしましょう!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -345,7 +345,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME는 오늘 무료입니다! Facebook에서 뉴스를 공유할 수 있습니다.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME는 구글 플레이에서 80% 할인된 가격으로 구입할 수 있습니다.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME는 구글 플레이에서 80% 할인된 가격으로 구입할 수 있습니다! Facebook에서 뉴스를 공유할 수 있습니다.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">멋진 오프라인 지도 앱인 MAPS.ME는 App Store에서 무료이며, Google Play에서 80% 할인된 가격으로 사용할 수 있습니다. 오늘 서둘러 앱을 다운로드하세요. 프로모션이 곧 끝납니다!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -347,7 +347,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME is vandaag gratis! Deel het nieuws op Facebook.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME is met 80% korting te koop op Google Play.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME is met 80% korting te koop op Google Play! Deel het nieuws op Facebook.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Geweldige app MAPS.ME met offline kaarten is gratis in de App Store en beschikbaar met een korting van 80% op Google Play. Wees er snel bij en haal die app vandaag, want de actie is binnenkort ten einde!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -368,7 +368,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">Aplikacja MAPS.ME jest dziś bezpłatna! Podziel się tą wiadomością na Facebooku.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME jest dostępne z 80% zniżką na Google Play.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME jest dostępne z 80% zniżką na Google Play! Podziel się tą wiadomością na Facebooku.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Fantastyczna aplikacja z mapami offline MAPS.ME jest dostępna na darmo w App Store oraz z 80% zniżką w Google Play. Pospiesz się i pobierz ją już dziś, gdyż promocja wkrótce dobiegnie końca!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -364,7 +364,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">A MAPS.ME é hoje grátis! Partilhe a notícia no Facebook.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">A MAPS.ME está disponível com 80% de desconto na Google Play.</string>
|
||||
<string name="maps_me_is_free_today_android">A MAPS.ME está disponível com 80% de desconto na Google Play! Partilhe a notícia no Facebook.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">A app espetacular de mapas offline MAPS.ME é grátis na App Store e está disponível com um desconto de 80% no Google Play. Apresse-se para obter hoje a app, a promoção acabará em breve!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -368,7 +368,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME сегодня бесплатно! Поделись новостью на Facebook.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">Сегодня в Google Play скидка на MAPS.ME 80%</string>
|
||||
<string name="maps_me_is_free_today_android">Сегодня в Google Play скидка на MAPS.ME 80%! Поделись новостью на Facebook.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Сегодня замечательное приложение с офлайн-картами MAPS.ME бесплатно в App Store, а в Google Play - со скидкой 80%. Рекомендую! Акция скоро закончится.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<dimen name="zoom_plus_top_margin">150dp</dimen>
|
||||
<dimen name="activity_horizontal_margin">128dp</dimen>
|
||||
<dimen name="dialog_max_height">640dp</dimen>
|
||||
<dimen name="dialog_max_height">600dp</dimen>
|
||||
<dimen name="drawer_item_height">96dp</dimen>
|
||||
|
||||
<dimen name="dp_x_1">8dp</dimen>
|
||||
|
|
|
@ -369,7 +369,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME วันนี้ฟรี! แบ่งปันข่าวนี้บน Facebook</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">สามารถใช้ MAPS.ME ลด 80% ได้ที่ Google Play</string>
|
||||
<string name="maps_me_is_free_today_android">สามารถใช้ MAPS.ME ลด 80% ได้ที่ Google Play! แบ่งปันข่าวนี้บน Facebook</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">แอป MAPS.ME แผนที่ออฟไลน์สุดเจ๋งฟรีใน App Store และสามารถใช้ได้กับส่วนลด 80% บน Google Play เร็วเข้าเพื่อรับแอปวันนี้ โปรโมชั่นจะหมดเร็ว ๆ นี้!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -371,7 +371,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME bugün ücretsiz! Haberi Facebook\'ta paylaş.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME Google Play\'de %80 indirimli.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME Google Play\'de %80 indirimli! Haberi Facebook\'ta paylaş.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Mükemmel çevrimdışı harita uygulaması MAPS.ME App Store\'da ücretsiz, Google Play üzerinde ise %80 indirimle hizmetinizde. Uygulamayı bugün edinmek için acele edin, promosyon yakında sona erecek!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -362,7 +362,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME сьогодні безкоштовний! Розповсюдити новину на Facebook.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">Сьогодні в Google Play знижка на MAPS.ME 80%</string>
|
||||
<string name="maps_me_is_free_today_android">Сьогодні в Google Play знижка на MAPS.ME 80%! Розповсюдити новину на Facebook.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Сьогодні чудова програма з офлайн-картами MAPS.ME безкоштовна в App Store, а в Google Play - зі знижкою 80%. Рекомендую! Акція скоро закінчиться.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -346,7 +346,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME今日免費!在Facebook上分享此新聞。</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME在Google Play上可享受80%折扣。</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME在Google Play上可享受80%折扣! 在Facebook上分享此新聞。</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">精彩的離線地圖應用MAPS.ME可在App Store免費獲取,在Google Play則可享受兩折優惠。趕快立即獲取該應用吧,此優惠促銷很快即將結束!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -373,7 +373,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME今日免费!在Facebook上分享该消息。</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME在Google Play上可享受80%折扣。</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME在Google Play上可享受80%折扣! 在Facebook上分享该消息。</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">精彩的离线地图应用MAPS.ME可在App Store免费获取,在Google Play则可享受两折优惠。赶快立即获取该应用吧,此优惠促销很快即将结束!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -7,7 +7,16 @@
|
|||
<string name="pref_yota" translatable="false">Yota</string>
|
||||
<string name="pref_zoom_btns_enabled" translatable="false">ZoomButtonsEnabled</string>
|
||||
<string name="pref_about" translatable="false">AboutMapsWithMe</string>
|
||||
|
||||
<string name="pref_rate_app" translatable="false">RateApp</string>
|
||||
<string name="pref_help" translatable="false">Help</string>
|
||||
<string name="pref_copyright" translatable="false">Copyright</string>
|
||||
<string name="pref_report_bug" translatable="false">ReportBug</string>
|
||||
<string name="pref_community" translatable="false">Community</string>
|
||||
<string name="pref_like_fb" translatable="false">LikeFb</string>
|
||||
<string name="pref_follow_twitter" translatable="false">FollowTwitter</string>
|
||||
<string name="pref_contact" translatable="false">ContactUs</string>
|
||||
<string name="pref_subscribe" translatable="false">Subscribe</string>
|
||||
<string name="pref_settings" translatable="false">Settings</string>
|
||||
<string name="pref_file_name" translatable="false">MapsMePrefs</string>
|
||||
|
||||
</resources>
|
|
@ -382,7 +382,7 @@
|
|||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_ios">MAPS.ME Pro is free today! Share the news on Facebook.</string>
|
||||
<!-- Message to display on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME is available with 80% discount at Google Play.</string>
|
||||
<string name="maps_me_is_free_today_android">MAPS.ME is available with 80% discount at Google Play! Share the news on Facebook.</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
<string name="maps_me_is_free_today_facebook_post_ios">Awesome offline maps app MAPS.ME is free on the App Store and is available with an 80% discount on Google Play. Hurry up to get the app today, the promotion will soon be over!</string>
|
||||
<!-- Message for facebook post on 17th-18th august -->
|
||||
|
|
|
@ -1,40 +1,119 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
|
||||
<PreferenceCategory
|
||||
android:order="0"
|
||||
android:title=" ">
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_storage_activity"
|
||||
android:summary="@string/maps_storage_summary"
|
||||
android:title="@string/maps_storage"
|
||||
android:order="0"/>
|
||||
|
||||
<ListPreference
|
||||
android:entries="@array/measument_units"
|
||||
android:entryValues="@array/measument_units_values"
|
||||
android:key="@string/pref_munits"
|
||||
android:summary="@string/measurement_units_summary"
|
||||
android:title="@string/measurement_units"
|
||||
android:order="1"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="@string/pref_allow_stat"
|
||||
android:summary="@string/allow_statistics_hint"
|
||||
android:title="@string/allow_statistics"
|
||||
android:order="2"/>
|
||||
<CheckBoxPreference
|
||||
android:key="@string/pref_zoom_btns_enabled"
|
||||
android:summary="@string/pref_zoom_summary"
|
||||
android:title="@string/pref_zoom_title"
|
||||
android:order="3"/>
|
||||
android:key="@string/pref_help"
|
||||
android:order="1"
|
||||
android:title="@string/help"/>
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_yota"
|
||||
android:summary="@string/yopme_pref_summary"
|
||||
android:title="@string/yopme_pref_title"
|
||||
android:order="98"/>
|
||||
android:key="@string/pref_report_bug"
|
||||
android:order="2"
|
||||
android:title="@string/report_a_bug"/>
|
||||
|
||||
<PreferenceScreen
|
||||
android:key="@string/pref_settings"
|
||||
android:order="0"
|
||||
android:persistent="false"
|
||||
android:title="@string/settings">
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_storage_activity"
|
||||
android:order="1"
|
||||
android:summary="@string/maps_storage_summary"
|
||||
android:title="@string/maps_storage"/>
|
||||
|
||||
<ListPreference
|
||||
android:entries="@array/measument_units"
|
||||
android:entryValues="@array/measument_units_values"
|
||||
android:key="@string/pref_munits"
|
||||
android:order="2"
|
||||
android:summary="@string/measurement_units_summary"
|
||||
android:title="@string/measurement_units"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="@string/pref_allow_stat"
|
||||
android:order="3"
|
||||
android:summary="@string/allow_statistics_hint"
|
||||
android:title="@string/allow_statistics"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="@string/pref_zoom_btns_enabled"
|
||||
android:order="4"
|
||||
android:summary="@string/pref_zoom_summary"
|
||||
android:title="@string/pref_zoom_title"/>
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_yota"
|
||||
android:order="98"
|
||||
android:summary="@string/yopme_pref_summary"
|
||||
android:title="@string/yopme_pref_title"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:order="1"
|
||||
android:title=" ">
|
||||
|
||||
<PreferenceScreen
|
||||
android:order="1"
|
||||
android:persistent="false"
|
||||
android:title="@string/maps_me_community">
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_like_fb"
|
||||
android:order="1"
|
||||
android:title="@string/like_on_facebook"/>
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_follow_twitter"
|
||||
android:order="2"
|
||||
android:title="@string/follow_on_twitter"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:order="4"
|
||||
android:title=" ">
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_contact"
|
||||
android:title="@string/contact_us"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_subscribe"
|
||||
android:order="3"
|
||||
android:title="@string/subscribe_to_news"/>
|
||||
</PreferenceScreen>
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_rate_app"
|
||||
android:order="2"
|
||||
android:title="@string/rate_the_app"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:order="2"
|
||||
android:title=" ">
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_about"
|
||||
android:title="@string/about_menu_title"
|
||||
android:order="99"/>
|
||||
android:order="0"
|
||||
android:title="@string/about_menu_title"/>
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_copyright"
|
||||
android:order="1"
|
||||
android:title="@string/copyright"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
|
@ -10,7 +10,6 @@ import android.content.Intent;
|
|||
import android.content.res.Configuration;
|
||||
import android.graphics.Point;
|
||||
import android.location.Location;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.Environment;
|
||||
|
@ -486,20 +485,6 @@ public class MWMActivity extends NvEventQueueActivity
|
|||
.show();
|
||||
}
|
||||
|
||||
private void showFacebookPage()
|
||||
{
|
||||
try
|
||||
{
|
||||
// Exception is thrown if we don't have installed Facebook application.
|
||||
getPackageManager().getPackageInfo(Constants.Package.FB_PACKAGE, 0);
|
||||
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(Constants.Url.FB_MAPSME_COMMUNITY_NATIVE)));
|
||||
} catch (final Exception e)
|
||||
{
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(Constants.Url.FB_MAPSME_COMMUNITY_HTTP)));
|
||||
}
|
||||
}
|
||||
|
||||
private boolean isChinaISO(String iso)
|
||||
{
|
||||
final String arr[] = {"CN", "CHN", "HK", "HKG", "MO", "MAC"};
|
||||
|
@ -551,7 +536,7 @@ public class MWMActivity extends NvEventQueueActivity
|
|||
mApplication.submitDialogResult(MWMApplication.FACEBOOK, MWMApplication.OK);
|
||||
|
||||
dlg.dismiss();
|
||||
showFacebookPage();
|
||||
UiUtils.showFacebookPage(MWMActivity.this);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
@ -15,7 +15,6 @@ import android.os.Bundle;
|
|||
import android.preference.CheckBoxPreference;
|
||||
import android.preference.ListPreference;
|
||||
import android.preference.Preference;
|
||||
import android.preference.Preference.OnPreferenceChangeListener;
|
||||
import android.preference.Preference.OnPreferenceClickListener;
|
||||
import android.preference.PreferenceActivity;
|
||||
import android.preference.PreferenceScreen;
|
||||
|
@ -30,14 +29,17 @@ import android.webkit.WebViewClient;
|
|||
|
||||
import com.mapswithme.maps.MWMApplication;
|
||||
import com.mapswithme.maps.R;
|
||||
import com.mapswithme.util.Constants;
|
||||
import com.mapswithme.util.UiUtils;
|
||||
import com.mapswithme.util.Utils;
|
||||
import com.mapswithme.util.Yota;
|
||||
import com.mapswithme.util.statistics.Statistics;
|
||||
|
||||
public class SettingsActivity extends PreferenceActivity
|
||||
public class SettingsActivity extends PreferenceActivity implements OnPreferenceClickListener, Preference.OnPreferenceChangeListener
|
||||
{
|
||||
public final static String ZOOM_BUTTON_ENABLED = "ZoomButtonsEnabled";
|
||||
private static final String ABOUT_ASSET_URL = "file:///android_asset/about.html";
|
||||
private static final String COPYRIGHT_HTML_URL = "file:///android_asset/copyright.html";
|
||||
private static final String FAQ_HTML_URL = "file:///android_asset/faq.html";
|
||||
|
||||
private Preference mStoragePreference = null;
|
||||
private StoragePathManager mPathManager = new StoragePathManager();
|
||||
|
@ -57,97 +59,43 @@ public class SettingsActivity extends PreferenceActivity
|
|||
}
|
||||
|
||||
addPreferencesFromResource(R.xml.preferences);
|
||||
initPreferences();
|
||||
yotaSetup();
|
||||
}
|
||||
|
||||
final Activity parent = this;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private void initPreferences()
|
||||
{
|
||||
mStoragePreference = findPreference(getString(R.string.pref_storage_activity));
|
||||
mStoragePreference.setOnPreferenceClickListener(new OnPreferenceClickListener()
|
||||
{
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference)
|
||||
{
|
||||
if (isDownloadingActive())
|
||||
{
|
||||
new AlertDialog.Builder(parent)
|
||||
.setTitle(parent.getString(R.string.downloading_is_active))
|
||||
.setMessage(parent.getString(R.string.cant_change_this_setting))
|
||||
.setPositiveButton(parent.getString(R.string.ok), new DialogInterface.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
public void onClick(DialogInterface dlg, int which)
|
||||
{
|
||||
dlg.dismiss();
|
||||
}
|
||||
})
|
||||
.create()
|
||||
.show();
|
||||
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
parent.startActivity(new Intent(parent, StoragePathActivity.class));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
});
|
||||
mStoragePreference.setOnPreferenceClickListener(this);
|
||||
|
||||
final ListPreference lPref = (ListPreference) findPreference(getString(R.string.pref_munits));
|
||||
|
||||
lPref.setValue(String.valueOf(UnitLocale.getUnits()));
|
||||
lPref.setOnPreferenceChangeListener(new OnPreferenceChangeListener()
|
||||
{
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newValue)
|
||||
{
|
||||
UnitLocale.setUnits(Integer.parseInt((String) newValue));
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
lPref.setOnPreferenceChangeListener(this);
|
||||
|
||||
final CheckBoxPreference allowStatsPreference = (CheckBoxPreference) findPreference(getString(R.string.pref_allow_stat));
|
||||
allowStatsPreference.setChecked(Statistics.INSTANCE.isStatisticsEnabled(this));
|
||||
allowStatsPreference.setOnPreferenceChangeListener(new OnPreferenceChangeListener()
|
||||
{
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newValue)
|
||||
{
|
||||
Statistics.INSTANCE.setStatEnabled(getApplicationContext(), (Boolean) newValue);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
allowStatsPreference.setOnPreferenceChangeListener(this);
|
||||
|
||||
final CheckBoxPreference enableZoomButtons = (CheckBoxPreference) findPreference(getString(R.string.pref_zoom_btns_enabled));
|
||||
enableZoomButtons.setChecked(MWMApplication.get().nativeGetBoolean(ZOOM_BUTTON_ENABLED, true));
|
||||
enableZoomButtons.setOnPreferenceChangeListener(new OnPreferenceChangeListener()
|
||||
{
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newValue)
|
||||
{
|
||||
MWMApplication.get().nativeSetBoolean(ZOOM_BUTTON_ENABLED, (Boolean) newValue);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
enableZoomButtons.setOnPreferenceChangeListener(this);
|
||||
|
||||
final Preference pref = findPreference(getString(R.string.pref_about));
|
||||
pref.setOnPreferenceClickListener(new OnPreferenceClickListener()
|
||||
{
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference)
|
||||
{
|
||||
onAboutDialogClicked(SettingsActivity.this);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
yotaSetup();
|
||||
findPreference(getString(R.string.pref_about)).setOnPreferenceClickListener(this);
|
||||
findPreference(getString(R.string.pref_rate_app)).setOnPreferenceClickListener(this);
|
||||
findPreference(getString(R.string.pref_contact)).setOnPreferenceClickListener(this);
|
||||
findPreference(getString(R.string.pref_copyright)).setOnPreferenceClickListener(this);
|
||||
findPreference(getString(R.string.pref_like_fb)).setOnPreferenceClickListener(this);
|
||||
findPreference(getString(R.string.pref_follow_twitter)).setOnPreferenceClickListener(this);
|
||||
findPreference(getString(R.string.pref_report_bug)).setOnPreferenceClickListener(this);
|
||||
findPreference(getString(R.string.pref_subscribe)).setOnPreferenceClickListener(this);
|
||||
findPreference(getString(R.string.pref_help)).setOnPreferenceClickListener(this);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private void storagePathSetup()
|
||||
{
|
||||
PreferenceScreen screen = getPreferenceScreen();
|
||||
PreferenceScreen screen = (PreferenceScreen) findPreference(getString(R.string.pref_settings));
|
||||
if (Yota.isYota())
|
||||
screen.removePreference(mStoragePreference);
|
||||
else if (mPathManager.hasMoreThanOneStorage())
|
||||
|
@ -159,9 +107,10 @@ public class SettingsActivity extends PreferenceActivity
|
|||
@SuppressWarnings("deprecation")
|
||||
private void yotaSetup()
|
||||
{
|
||||
final PreferenceScreen screen = (PreferenceScreen) findPreference(getString(R.string.pref_settings));
|
||||
final Preference yopPreference = findPreference(getString(R.string.pref_yota));
|
||||
if (!Yota.isYota())
|
||||
getPreferenceScreen().removePreference(yopPreference);
|
||||
screen.removePreference(yopPreference);
|
||||
else
|
||||
{
|
||||
yopPreference.setOnPreferenceClickListener(new OnPreferenceClickListener()
|
||||
|
@ -229,10 +178,10 @@ public class SettingsActivity extends PreferenceActivity
|
|||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
||||
public void onAboutDialogClicked(Activity parent)
|
||||
private WebView buildWebViewDialog(String dialogTitle)
|
||||
{
|
||||
final LayoutInflater inflater = LayoutInflater.from(parent);
|
||||
final View alertDialogView = inflater.inflate(R.layout.about, null);
|
||||
final LayoutInflater inflater = LayoutInflater.from(this);
|
||||
final View alertDialogView = inflater.inflate(R.layout.dialog_about, null);
|
||||
final WebView myWebView = (WebView) alertDialogView.findViewById(R.id.webview_about);
|
||||
|
||||
myWebView.setWebViewClient(new WebViewClient()
|
||||
|
@ -286,18 +235,9 @@ public class SettingsActivity extends PreferenceActivity
|
|||
}
|
||||
});
|
||||
|
||||
String versionStr = "";
|
||||
try
|
||||
{
|
||||
versionStr = parent.getPackageManager().getPackageInfo(parent.getPackageName(), 0).versionName;
|
||||
} catch (final NameNotFoundException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
new AlertDialog.Builder(parent)
|
||||
new AlertDialog.Builder(this)
|
||||
.setView(alertDialogView)
|
||||
.setTitle(String.format(parent.getString(R.string.version), versionStr))
|
||||
.setTitle(dialogTitle)
|
||||
.setPositiveButton(R.string.close, new DialogInterface.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
|
@ -309,11 +249,145 @@ public class SettingsActivity extends PreferenceActivity
|
|||
.create()
|
||||
.show();
|
||||
|
||||
myWebView.loadUrl(ABOUT_ASSET_URL);
|
||||
return myWebView;
|
||||
}
|
||||
|
||||
private void showWebViewDialogWithUrl(String url, String dialogTitle)
|
||||
{
|
||||
WebView webView = buildWebViewDialog(dialogTitle);
|
||||
webView.getSettings().setJavaScriptEnabled(true);
|
||||
webView.getSettings().setDefaultTextEncodingName("utf-8");
|
||||
webView.loadUrl(url);
|
||||
}
|
||||
|
||||
private void showDialogWithData(String text, String title)
|
||||
{
|
||||
new AlertDialog.Builder(this)
|
||||
.setTitle(title)
|
||||
.setMessage(text)
|
||||
.setPositiveButton(R.string.close, new DialogInterface.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which)
|
||||
{
|
||||
dialog.dismiss();
|
||||
}
|
||||
})
|
||||
.create()
|
||||
.show();
|
||||
}
|
||||
|
||||
private native boolean isDownloadingActive();
|
||||
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference)
|
||||
{
|
||||
final String key = preference.getKey();
|
||||
if (key.equals(getString(R.string.pref_rate_app)))
|
||||
{
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.SETTINGS_RATE);
|
||||
UiUtils.runProMarketActivity(this);
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_contact)))
|
||||
{
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.MAIL_INFO);
|
||||
final Intent intent = new Intent(Intent.ACTION_SENDTO);
|
||||
intent.setData(Utils.buildMailUri(Constants.Url.MAIL_MAPSME_INFO, "", ""));
|
||||
startActivity(intent);
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_subscribe)))
|
||||
{
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.MAIL_SUBSCRIBE);
|
||||
final Intent intent = new Intent(Intent.ACTION_SENDTO);
|
||||
intent.setData(Utils.buildMailUri(Constants.Url.MAIL_MAPSME_SUBSCRIBE, getString(R.string.subscribe_me_subject), getString(R.string.subscribe_me_body)));
|
||||
startActivity(intent);
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_report_bug)))
|
||||
{
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.REPORT_BUG);
|
||||
final Intent intent = new Intent(Intent.ACTION_SENDTO);
|
||||
intent.setData(Utils.buildMailUri(Constants.Url.MAIL_MAPSME_BUGS, "", ""));
|
||||
startActivity(intent);
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_like_fb)))
|
||||
{
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.SETTINGS_FB);
|
||||
UiUtils.showFacebookPage(this);
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_follow_twitter)))
|
||||
{
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.SETTINGS_TWITTER);
|
||||
UiUtils.showTwitterPage(this);
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_help)))
|
||||
{
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.SETTINGS_HELP);
|
||||
showWebViewDialogWithUrl(FAQ_HTML_URL, getString(R.string.help));
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_copyright)))
|
||||
{
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.SETTINGS_COPYRIGHT);
|
||||
showWebViewDialogWithUrl(COPYRIGHT_HTML_URL, getString(R.string.copyright));
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_about)))
|
||||
{
|
||||
String versionStr = "";
|
||||
try
|
||||
{
|
||||
versionStr = getPackageManager().getPackageInfo(getPackageName(), 0).versionName;
|
||||
} catch (final NameNotFoundException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Statistics.INSTANCE.trackSimpleNamedEvent(Statistics.EventName.SETTINGS_ABOUT);
|
||||
showDialogWithData(getString(R.string.about_text),
|
||||
String.format(getString(R.string.version), versionStr));
|
||||
}
|
||||
else if (key.equals(getString(R.string.pref_storage_activity)))
|
||||
{
|
||||
if (isDownloadingActive())
|
||||
{
|
||||
new AlertDialog.Builder(SettingsActivity.this)
|
||||
.setTitle(getString(R.string.downloading_is_active))
|
||||
.setMessage(getString(R.string.cant_change_this_setting))
|
||||
.setPositiveButton(getString(R.string.ok), new DialogInterface.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
public void onClick(DialogInterface dlg, int which)
|
||||
{
|
||||
dlg.dismiss();
|
||||
}
|
||||
})
|
||||
.create()
|
||||
.show();
|
||||
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
startActivity(new Intent(this, StoragePathActivity.class));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onPreferenceChange(Preference preference, Object newValue)
|
||||
{
|
||||
final String key = preference.getKey();
|
||||
if (key.equals(getString(R.string.pref_munits)))
|
||||
UnitLocale.setUnits(Integer.parseInt((String) newValue));
|
||||
else if (key.equals(getString(R.string.pref_allow_stat)))
|
||||
Statistics.INSTANCE.setStatEnabled(getApplicationContext(), (Boolean) newValue);
|
||||
else if (key.equals(getString(R.string.pref_zoom_btns_enabled)))
|
||||
MWMApplication.get().nativeSetBoolean(ZOOM_BUTTON_ENABLED, (Boolean) newValue);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
// needed for soft keyboard to appear in alertdialog.
|
||||
// check https://code.google.com/p/android/issues/detail?id=7189 for details
|
||||
|
|
|
@ -8,6 +8,9 @@ public class Constants
|
|||
public static class Url
|
||||
{
|
||||
public static final String GE0_PREFIX = "ge0://";
|
||||
public static final String MAILTO_SCHEME = "mailto:";
|
||||
public static final String MAIL_SUBJECT = "?subject=";
|
||||
public static final String MAIL_BODY = "&body=";
|
||||
public static final String HTTP_GE0_PREFIX = "http://ge0.me/";
|
||||
|
||||
public static final String PLAY_MARKET_APP_PREFIX = "market://details?id=";
|
||||
|
@ -16,6 +19,12 @@ public class Constants
|
|||
public static final String FB_MAPSME_COMMUNITY_HTTP = "http://www.facebook.com/MapsWithMe";
|
||||
// Profile id is taken from http://graph.facebook.com/MapsWithMe
|
||||
public static final String FB_MAPSME_COMMUNITY_NATIVE = "fb://profile/111923085594432";
|
||||
public static final String TWITTER_MAPSME_HTTP = "https://twitter.com/MAPS_ME";
|
||||
public static final String TWITTER_MAPSME_NATIVE = "twitter://user?user_id=MAPS_ME";
|
||||
|
||||
public static final String MAIL_MAPSME_INFO = "android@maps.me";
|
||||
public static final String MAIL_MAPSME_BUGS = "android@maps.me";
|
||||
public static final String MAIL_MAPSME_SUBSCRIBE = "subscribe@maps.me";
|
||||
|
||||
public static final String DATA_SCHEME_FILE = "file";
|
||||
|
||||
|
@ -28,6 +37,7 @@ public class Constants
|
|||
public static final String MWM_PRO_PACKAGE = "com.mapswithme.maps.pro";
|
||||
public static final String MWM_LITE_PACKAGE = "com.mapswithme.maps";
|
||||
public static final String MWM_SAMSUNG_PACKAGE = "com.mapswithme.maps.samsung";
|
||||
public static final String TWITTER_PACKAGE = "com.twitter.android";
|
||||
|
||||
private Package() {}
|
||||
}
|
||||
|
|
|
@ -275,6 +275,38 @@ public final class UiUtils
|
|||
}
|
||||
}
|
||||
|
||||
public static void showFacebookPage(Activity activity)
|
||||
{
|
||||
try
|
||||
{
|
||||
// Exception is thrown if we don't have installed Facebook application.
|
||||
activity.getPackageManager().getPackageInfo(Constants.Package.FB_PACKAGE, 0);
|
||||
|
||||
activity.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(Constants.Url.FB_MAPSME_COMMUNITY_NATIVE)));
|
||||
} catch (final Exception e)
|
||||
{
|
||||
activity.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(Constants.Url.FB_MAPSME_COMMUNITY_HTTP)));
|
||||
}
|
||||
}
|
||||
|
||||
public static void showTwitterPage(Activity activity)
|
||||
{
|
||||
Intent intent;
|
||||
try
|
||||
{
|
||||
// get the Twitter app if possible
|
||||
activity.getPackageManager().getPackageInfo(Constants.Package.TWITTER_PACKAGE, 0);
|
||||
intent = new Intent(Intent.ACTION_VIEW, Uri.parse(Constants.Url.TWITTER_MAPSME_NATIVE));
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
} catch (Exception e)
|
||||
{
|
||||
// no Twitter app, revert to browser
|
||||
intent = new Intent(Intent.ACTION_VIEW, Uri.parse(Constants.Url.TWITTER_MAPSME_HTTP));
|
||||
}
|
||||
activity.startActivity(intent);
|
||||
}
|
||||
|
||||
|
||||
// utility class
|
||||
private UiUtils()
|
||||
{}
|
||||
|
|
|
@ -8,6 +8,7 @@ import android.content.Context;
|
|||
import android.content.Intent;
|
||||
import android.content.pm.PackageInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
@ -213,5 +214,14 @@ public class Utils
|
|||
return mgr.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY).size() > 0;
|
||||
}
|
||||
|
||||
public static Uri buildMailUri(String to, String subject, String body)
|
||||
{
|
||||
String uriString = Constants.Url.MAILTO_SCHEME + Uri.encode(to) +
|
||||
Constants.Url.MAIL_SUBJECT + Uri.encode(subject) +
|
||||
Constants.Url.MAIL_BODY + Uri.encode(body);
|
||||
|
||||
return Uri.parse(uriString);
|
||||
}
|
||||
|
||||
private Utils() {}
|
||||
}
|
||||
|
|
|
@ -34,12 +34,37 @@ public enum Statistics
|
|||
private int mBookmarksCreated = 0;
|
||||
private int mSharedTimes = 0;
|
||||
|
||||
|
||||
public void trackSearchQuery(final String query)
|
||||
public static class EventName
|
||||
{
|
||||
NativeEventTracker.trackSearchQuery(query);
|
||||
public static final String COUNTRY_DOWNLOAD = "Country download";
|
||||
public static final String YOTA_BACK_CALL = "Yota back screen call";
|
||||
public static final String COUNTRY_UPDATE = "Country update";
|
||||
public static final String COUNTRY_DELETE = "Country deleted";
|
||||
public static final String SEARCH_CAT_CLICKED = "Search category clicked";
|
||||
public static final String BOOKMARK_GROUP_CHANGED = "Bookmark group changed";
|
||||
public static final String DESCRIPTION_CHANGED = "Description changed";
|
||||
public static final String GROUP_CREATED = "Group Created";
|
||||
public static final String SEARCH_CONTEXT_CNAHGED = "Search context changed";
|
||||
public static final String COLOR_CHANGED = "Color changed";
|
||||
public static final String BOOKMARK_CREATED = "Bookmark created";
|
||||
public static final String PLACE_SHARED = "Place Shared";
|
||||
public static final String API_CALLED = "API called";
|
||||
public static final String WIFI_CONNECTED = "Wifi connected";
|
||||
public static final String DOWNLOAD_COUNTRY_NOTIFICATION_SHOWN = "Download country notification shown";
|
||||
public static final String DOWNLOAD_COUNTRY_NOTIFICATION_CLICKED = "Download country notification clicked";
|
||||
public static final String SETTINGS_RATE = "Settings. Rate app called";
|
||||
public static final String MAIL_INFO = "Send mail at info@maps.me";
|
||||
public static final String MAIL_SUBSCRIBE = "Settings. Subscribed";
|
||||
public static final String REPORT_BUG = "Settings. Bug reported";
|
||||
public static final String SETTINGS_FB = "Settings. Go to FB.";
|
||||
public static final String SETTINGS_TWITTER = "Settings. Go to twitter.";
|
||||
public static final String SETTINGS_HELP = "Settings. Help.";
|
||||
public static final String SETTINGS_ABOUT = "Settings. About.";
|
||||
public static final String SETTINGS_COPYRIGHT = "Settings. Copyright.";
|
||||
}
|
||||
|
||||
|
||||
|
||||
private Statistics()
|
||||
{
|
||||
Log.d(TAG, "Created Statistics instance.");
|
||||
|
@ -64,7 +89,7 @@ public enum Statistics
|
|||
public void trackBackscreenCall(Context context, String from)
|
||||
{
|
||||
final Event event = getEventBuilder().reset()
|
||||
.setName("Yota back screen call")
|
||||
.setName(EventName.YOTA_BACK_CALL)
|
||||
.addParam("from", from)
|
||||
.getEvent();
|
||||
|
||||
|
@ -73,23 +98,23 @@ public enum Statistics
|
|||
|
||||
public void trackCountryDownload(Context context)
|
||||
{
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent("Country download"));
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent(EventName.COUNTRY_DOWNLOAD));
|
||||
}
|
||||
|
||||
public void trackCountryUpdate(Context context)
|
||||
{
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent("Country update"));
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent(EventName.COUNTRY_UPDATE));
|
||||
}
|
||||
|
||||
public void trackCountryDeleted(Context context)
|
||||
{
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent("Country deleted"));
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent(EventName.COUNTRY_DELETE));
|
||||
}
|
||||
|
||||
public void trackSearchCategoryClicked(Context context, String category)
|
||||
{
|
||||
final Event event = getEventBuilder().reset()
|
||||
.setName("Search category clicked")
|
||||
.setName(EventName.SEARCH_CAT_CLICKED)
|
||||
.addParam("category", category)
|
||||
.getEvent();
|
||||
|
||||
|
@ -98,23 +123,23 @@ public enum Statistics
|
|||
|
||||
public void trackGroupChanged(Context context)
|
||||
{
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent("Bookmark group changed"));
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent(EventName.BOOKMARK_GROUP_CHANGED));
|
||||
}
|
||||
|
||||
public void trackDescriptionChanged(Context context)
|
||||
{
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent("Description changed"));
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent(EventName.DESCRIPTION_CHANGED));
|
||||
}
|
||||
|
||||
public void trackGroupCreated(Context context)
|
||||
{
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent("Group Created"));
|
||||
trackIfEnabled(context, getEventBuilder().getSimpleNamedEvent(EventName.GROUP_CREATED));
|
||||
}
|
||||
|
||||
public void trackSearchContextChanged(Context context, String from, String to)
|
||||
{
|
||||
final Event event = getEventBuilder().reset()
|
||||
.setName("Search context changed")
|
||||
.setName(EventName.SEARCH_CONTEXT_CNAHGED)
|
||||
.addParam("from", from)
|
||||
.addParam("to", to)
|
||||
.getEvent();
|
||||
|
@ -125,7 +150,7 @@ public enum Statistics
|
|||
public void trackColorChanged(Context context, String from, String to)
|
||||
{
|
||||
final Event event = getEventBuilder().reset()
|
||||
.setName("Color changed")
|
||||
.setName(EventName.COLOR_CHANGED)
|
||||
.addParam("from", from)
|
||||
.addParam("to", to)
|
||||
.getEvent();
|
||||
|
@ -136,7 +161,7 @@ public enum Statistics
|
|||
public void trackBookmarkCreated(Context context)
|
||||
{
|
||||
final Event event = getEventBuilder().reset()
|
||||
.setName("Bookmark created")
|
||||
.setName(EventName.BOOKMARK_CREATED)
|
||||
.addParam("Count", String.valueOf(++mBookmarksCreated))
|
||||
.getEvent();
|
||||
|
||||
|
@ -146,7 +171,7 @@ public enum Statistics
|
|||
public void trackPlaceShared(Context context, String channel)
|
||||
{
|
||||
final Event event = getEventBuilder().reset()
|
||||
.setName("Place Shared")
|
||||
.setName(EventName.PLACE_SHARED)
|
||||
.addParam("Channel", channel)
|
||||
.addParam("Count", String.valueOf(++mSharedTimes))
|
||||
.getEvent();
|
||||
|
@ -171,7 +196,7 @@ public enum Statistics
|
|||
ensureConfigured(MWMApplication.get());
|
||||
//@formatter:off
|
||||
final Event event = getEventBuilder().reset()
|
||||
.setName("API called")
|
||||
.setName(EventName.API_CALLED)
|
||||
.addParam("Caller ID", request.getCallerInfo().packageName)
|
||||
.getEvent();
|
||||
//@formatter:on
|
||||
|
@ -183,7 +208,7 @@ public enum Statistics
|
|||
{
|
||||
ensureConfigured(MWMApplication.get());
|
||||
final Event event = getEventBuilder().reset().
|
||||
setName("Wifi connected").
|
||||
setName(EventName.WIFI_CONNECTED).
|
||||
addParam("Had valid location", String.valueOf(hasValidLocation)).
|
||||
getEvent();
|
||||
trackIfEnabled(MWMApplication.get(), event);
|
||||
|
@ -193,7 +218,7 @@ public enum Statistics
|
|||
{
|
||||
ensureConfigured(MWMApplication.get());
|
||||
final Event event = getEventBuilder().reset().
|
||||
setName("Wifi connected").
|
||||
setName(EventName.WIFI_CONNECTED).
|
||||
addParam("Had valid location", String.valueOf(isLocationExpired)).
|
||||
addParam("Delay in milliseconds", String.valueOf(delayMillis)).
|
||||
getEvent();
|
||||
|
@ -203,13 +228,13 @@ public enum Statistics
|
|||
public void trackDownloadCountryNotificationShown()
|
||||
{
|
||||
ensureConfigured(MWMApplication.get());
|
||||
getEventBuilder().getSimpleNamedEvent("Download country notification shown").post();
|
||||
getEventBuilder().getSimpleNamedEvent(EventName.DOWNLOAD_COUNTRY_NOTIFICATION_SHOWN).post();
|
||||
}
|
||||
|
||||
public void trackDownloadCountryNotificationClicked()
|
||||
{
|
||||
ensureConfigured(MWMApplication.get());
|
||||
getEventBuilder().getSimpleNamedEvent("Download country notification clicked").post();
|
||||
getEventBuilder().getSimpleNamedEvent(EventName.DOWNLOAD_COUNTRY_NOTIFICATION_CLICKED).post();
|
||||
}
|
||||
|
||||
public void trackSimpleNamedEvent(String eventName)
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "تطبيق MAPS.ME مجاني اليوم! يمكنك مشاركة الأخبار على الفيسبوك.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME متوفر الآن مع خصم 80٪ على منصة جوجل بلاي.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME متوفر الآن مع خصم 80٪ على منصة جوجل بلاي. يمكنك مشاركة الأخبار على الفيسبوك.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "تطبيق الخرائط غير المتصلة المذهل MAPS.ME أصبح مجاني على متجر التطبيقات ومتوفر بخصم 80% على Google Play. أسرع للحصول على التطبيق اليوم، فالترويج سوف ينتهي قريبا!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME je dnes zdarma! Sdílejte tu zprávu na Facebooku.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME jsou dostupné na Google Play se slevou 80 %.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME jsou dostupné na Google Play se slevou 80 %! Sdílejte tu zprávu na Facebooku.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Úžasné offline mapy MAPS.ME jsou zdarma na App Store a dostupné s 80% slevou na Google Play. Pospěšte si a získejte tuto aplikaci ještě dnes, tato propagační akce brzy skončí!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME er gratis i dag! Del nyheden på Facebook.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME er tilgængeligt med 80% rabat på Google Play.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME er tilgængeligt med 80% rabat på Google Play! Del nyheden på Facebook.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Den fantastiske offline kort app MAPS.ME er gratis i App Store og kan fås på Google Play med 80% i rabat. Skynd dig at få app´en i dag, promotionperioden er snart forbi!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME Pro ist heute gratis! Neuigkeiten auf Facebook teilen.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME gibt es mit 80 % Rabatt auf Google Play.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME gibt es mit 80 % Rabatt auf Google Play! Neuigkeiten auf Facebook teilen.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Die tolle Offline-Karten-App MAPS.ME gibt es gratis im App Store und ist mit 80 % Rabatt bei Google Play verfügbar. Beeilen Sie sich und holen Sie sich heute die App. Die Aktion ist bald vorbei!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME Pro is free today! Share the news on Facebook.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME is available with 80% discount at Google Play.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME is available with 80% discount at Google Play! Share the news on Facebook.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Awesome offline maps app MAPS.ME is free on the App Store and is available with an 80% discount on Google Play. Hurry up to get the app today, the promotion will soon be over!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "¡MAPS.ME es gratis hoy! Comparte la noticia en Facebook.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME disponible con un descuento del 80 % en Google Play";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME disponible con un descuento del 80 % en Google Play! Comparte la noticia en Facebook.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "La increíble app de mapas sin conexión, MAPS.ME, está en la App Store gratis y disponible en Google Play con un descuento del 80 %. Date prisa y consigue la app hoy, ¡la promoción pronto se acabará!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME est gratuit aujourd'hui ! Partagez la nouvelle sur Facebook.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME est disponible avec 80 % de réduction sur Google Play.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME est disponible avec 80 % de réduction sur Google Play ! Partagez la nouvelle sur Facebook.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Cette géniale application hors-connexion de cartes MAPS.ME est gratuite sur l'App Store et disponible avec une réduction de 80 % sur Google Play. Dépêchez-vous d'obtenir l'application dès aujourd'hui, la promotion se termine bientôt !";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "A MAPS.ME ma ingyenes! Oszd meg a hírt facebookon.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "A MAPS.ME 80 százalékos kedvezménnyel érhető el a Google Playen.";
|
||||
"maps_me_is_free_today_android" = "A MAPS.ME 80 százalékos kedvezménnyel érhető el a Google Playen! Oszd meg a hírt facebookon.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "A szuper offline térképek alkalmazása, a MAPS.ME ingyenes az App Store-ban és elérhető 80%-os kedvezménnyel a Google Play-en. Siess és szerezd meg az alkalmazást még ma, az akció hamarosan véget ér!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME è gratis quest'oggi! Condividi la notizia su Facebook.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME è disponibile con uno sconto dell'80% su Google Play";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME è disponibile con uno sconto dell'80% su Google Play! Condividi la notizia su Facebook.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "La bellissima app MAPS.ME con mappe off-line è gratuita sull'App Store ed è disponibile con l'80% di sconto su Google Play. Affrettati per avere l'applicazione oggi stesso; la promozione scadrà presto!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME が本日無料!Facebookでニュースをシェアしよう。";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "Google Playから8割引の価格でMAPS.MEをお買い求めいただけます。";
|
||||
"maps_me_is_free_today_android" = "Google Playから8割引の価格でMAPS.MEをお買い求めいただけます! Facebookでニュースをシェアしよう。";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "素晴らしい機能を搭載し、オフラインでも使用可能なマップアプリのMAPS.MEがApp Storeで無料、Google Playからは8割引の価格で入手できます。このプロモーションは間もなく終わってしまうので、今すぐにでもゲットしましょう!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME는 오늘 무료입니다! Facebook에서 뉴스를 공유할 수 있습니다.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME는 구글 플레이에서 80% 할인된 가격으로 구입할 수 있습니다.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME는 구글 플레이에서 80% 할인된 가격으로 구입할 수 있습니다! Facebook에서 뉴스를 공유할 수 있습니다.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "멋진 오프라인 지도 앱인 MAPS.ME는 App Store에서 무료이며, Google Play에서 80% 할인된 가격으로 사용할 수 있습니다. 오늘 서둘러 앱을 다운로드하세요. 프로모션이 곧 끝납니다!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME is vandaag gratis! Deel het nieuws op Facebook.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME is met 80% korting te koop op Google Play.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME is met 80% korting te koop op Google Play! Deel het nieuws op Facebook.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Geweldige app MAPS.ME met offline kaarten is gratis in de App Store en beschikbaar met een korting van 80% op Google Play. Wees er snel bij en haal die app vandaag, want de actie is binnenkort ten einde!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "Aplikacja MAPS.ME jest dziś bezpłatna! Podziel się tą wiadomością na Facebooku.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME jest dostępne z 80% zniżką na Google Play.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME jest dostępne z 80% zniżką na Google Play! Podziel się tą wiadomością na Facebooku.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Fantastyczna aplikacja z mapami offline MAPS.ME jest dostępna na darmo w App Store oraz z 80% zniżką w Google Play. Pospiesz się i pobierz ją już dziś, gdyż promocja wkrótce dobiegnie końca!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "A MAPS.ME é hoje grátis! Partilhe a notícia no Facebook.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "A MAPS.ME está disponível com 80% de desconto na Google Play.";
|
||||
"maps_me_is_free_today_android" = "A MAPS.ME está disponível com 80% de desconto na Google Play! Partilhe a notícia no Facebook.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "A app espetacular de mapas offline MAPS.ME é grátis na App Store e está disponível com um desconto de 80% no Google Play. Apresse-se para obter hoje a app, a promoção acabará em breve!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME сегодня бесплатно! Поделись новостью на Facebook.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "Сегодня в Google Play скидка на MAPS.ME 80%";
|
||||
"maps_me_is_free_today_android" = "Сегодня в Google Play скидка на MAPS.ME 80%! Поделись новостью на Facebook.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Сегодня замечательное приложение с офлайн-картами MAPS.ME бесплатно в App Store, а в Google Play - со скидкой 80%. Рекомендую! Акция скоро закончится.";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME วันนี้ฟรี! แบ่งปันข่าวนี้บน Facebook";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "สามารถใช้ MAPS.ME ลด 80% ได้ที่ Google Play";
|
||||
"maps_me_is_free_today_android" = "สามารถใช้ MAPS.ME ลด 80% ได้ที่ Google Play! แบ่งปันข่าวนี้บน Facebook";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "แอป MAPS.ME แผนที่ออฟไลน์สุดเจ๋งฟรีใน App Store และสามารถใช้ได้กับส่วนลด 80% บน Google Play เร็วเข้าเพื่อรับแอปวันนี้ โปรโมชั่นจะหมดเร็ว ๆ นี้!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME bugün ücretsiz! Haberi Facebook'ta paylaş.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME Google Play'de %80 indirimli.";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME Google Play'de %80 indirimli! Haberi Facebook'ta paylaş.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Mükemmel çevrimdışı harita uygulaması MAPS.ME App Store'da ücretsiz, Google Play üzerinde ise %80 indirimle hizmetinizde. Uygulamayı bugün edinmek için acele edin, promosyon yakında sona erecek!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME сьогодні безкоштовний! Розповсюдити новину на Facebook.";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "Сьогодні в Google Play знижка на MAPS.ME 80%";
|
||||
"maps_me_is_free_today_android" = "Сьогодні в Google Play знижка на MAPS.ME 80%! Розповсюдити новину на Facebook.";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "Сьогодні чудова програма з офлайн-картами MAPS.ME безкоштовна в App Store, а в Google Play - зі знижкою 80%. Рекомендую! Акція скоро закінчиться.";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME今日免费!在Facebook上分享该消息。";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME在Google Play上可享受80%折扣。";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME在Google Play上可享受80%折扣! 在Facebook上分享该消息。";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "精彩的离线地图应用MAPS.ME可在App Store免费获取,在Google Play则可享受两折优惠。赶快立即获取该应用吧,此优惠促销很快即将结束!";
|
||||
|
|
|
@ -591,7 +591,7 @@
|
|||
"maps_me_is_free_today_ios" = "MAPS.ME今日免費!在Facebook上分享此新聞。";
|
||||
|
||||
/* Message to display on 17th-18th august */
|
||||
"maps_me_is_free_today_android" = "MAPS.ME在Google Play上可享受80%折扣。";
|
||||
"maps_me_is_free_today_android" = "MAPS.ME在Google Play上可享受80%折扣! 在Facebook上分享此新聞。";
|
||||
|
||||
/* Message for facebook post on 17th-18th august */
|
||||
"maps_me_is_free_today_facebook_post_ios" = "精彩的離線地圖應用MAPS.ME可在App Store免費獲取,在Google Play則可享受兩折優惠。趕快立即獲取該應用吧,此優惠促銷很快即將結束!";
|
||||
|
|
40
strings.txt
40
strings.txt
|
@ -4749,26 +4749,26 @@
|
|||
[maps_me_is_free_today_android]
|
||||
tags = android
|
||||
comment = Message to display on 17th-18th august
|
||||
en = MAPS.ME is available with 80% discount at Google Play.
|
||||
cs = MAPS.ME jsou dostupné na Google Play se slevou 80 %.
|
||||
de = MAPS.ME gibt es mit 80 % Rabatt auf Google Play.
|
||||
es = MAPS.ME disponible con un descuento del 80 % en Google Play
|
||||
fr = MAPS.ME est disponible avec 80 % de réduction sur Google Play.
|
||||
it = MAPS.ME è disponibile con uno sconto dell'80% su Google Play
|
||||
ja = Google Playから8割引の価格でMAPS.MEをお買い求めいただけます。
|
||||
ko = MAPS.ME는 구글 플레이에서 80% 할인된 가격으로 구입할 수 있습니다.
|
||||
nl = MAPS.ME is met 80% korting te koop op Google Play.
|
||||
ru = Сегодня в Google Play скидка на MAPS.ME 80%
|
||||
uk = Сьогодні в Google Play знижка на MAPS.ME 80%
|
||||
zh-Hant = MAPS.ME在Google Play上可享受80%折扣。
|
||||
pl = MAPS.ME jest dostępne z 80% zniżką na Google Play.
|
||||
pt = A MAPS.ME está disponível com 80% de desconto na Google Play.
|
||||
hu = A MAPS.ME 80 százalékos kedvezménnyel érhető el a Google Playen.
|
||||
th = สามารถใช้ MAPS.ME ลด 80% ได้ที่ Google Play
|
||||
zh-Hans = MAPS.ME在Google Play上可享受80%折扣。
|
||||
ar = MAPS.ME متوفر الآن مع خصم 80٪ على منصة جوجل بلاي.
|
||||
da = MAPS.ME er tilgængeligt med 80% rabat på Google Play.
|
||||
tr = MAPS.ME Google Play'de %80 indirimli.
|
||||
en = MAPS.ME is available with 80% discount at Google Play! Share the news on Facebook.
|
||||
cs = MAPS.ME jsou dostupné na Google Play se slevou 80 %! Sdílejte tu zprávu na Facebooku.
|
||||
de = MAPS.ME gibt es mit 80 % Rabatt auf Google Play! Neuigkeiten auf Facebook teilen.
|
||||
es = MAPS.ME disponible con un descuento del 80 % en Google Play! Comparte la noticia en Facebook.
|
||||
fr = MAPS.ME est disponible avec 80 % de réduction sur Google Play ! Partagez la nouvelle sur Facebook.
|
||||
it = MAPS.ME è disponibile con uno sconto dell'80% su Google Play! Condividi la notizia su Facebook.
|
||||
ja = Google Playから8割引の価格でMAPS.MEをお買い求めいただけます! Facebookでニュースをシェアしよう。
|
||||
ko = MAPS.ME는 구글 플레이에서 80% 할인된 가격으로 구입할 수 있습니다! Facebook에서 뉴스를 공유할 수 있습니다.
|
||||
nl = MAPS.ME is met 80% korting te koop op Google Play! Deel het nieuws op Facebook.
|
||||
ru = Сегодня в Google Play скидка на MAPS.ME 80%! Поделись новостью на Facebook.
|
||||
uk = Сьогодні в Google Play знижка на MAPS.ME 80%! Розповсюдити новину на Facebook.
|
||||
zh-Hant = MAPS.ME在Google Play上可享受80%折扣! 在Facebook上分享此新聞。
|
||||
pl = MAPS.ME jest dostępne z 80% zniżką na Google Play! Podziel się tą wiadomością na Facebooku.
|
||||
pt = A MAPS.ME está disponível com 80% de desconto na Google Play! Partilhe a notícia no Facebook.
|
||||
hu = A MAPS.ME 80 százalékos kedvezménnyel érhető el a Google Playen! Oszd meg a hírt facebookon.
|
||||
th = สามารถใช้ MAPS.ME ลด 80% ได้ที่ Google Play! แบ่งปันข่าวนี้บน Facebook
|
||||
zh-Hans = MAPS.ME在Google Play上可享受80%折扣! 在Facebook上分享该消息。
|
||||
ar = MAPS.ME متوفر الآن مع خصم 80٪ على منصة جوجل بلاي. يمكنك مشاركة الأخبار على الفيسبوك.
|
||||
da = MAPS.ME er tilgængeligt med 80% rabat på Google Play! Del nyheden på Facebook.
|
||||
tr = MAPS.ME Google Play'de %80 indirimli! Haberi Facebook'ta paylaş.
|
||||
|
||||
[maps_me_is_free_today_facebook_post_ios]
|
||||
tags = ios
|
||||
|
|
Loading…
Add table
Reference in a new issue