[ios] Added Mastodon & Bluesky

This commit is contained in:
Yannik Bloscheck
2025-06-19 16:34:48 +02:00
committed by Yannik Bloscheck
parent fe92bf2359
commit e500a9e5fa
63 changed files with 554 additions and 1 deletions

View File

@@ -13,11 +13,13 @@ NS_ASSUME_NONNULL_BEGIN
@property(nonatomic, readonly, nullable) NSString *website; @property(nonatomic, readonly, nullable) NSString *website;
@property(nonatomic, readonly, nullable) NSString *wikipedia; @property(nonatomic, readonly, nullable) NSString *wikipedia;
@property(nonatomic, readonly, nullable) NSString *wikimediaCommons; @property(nonatomic, readonly, nullable) NSString *wikimediaCommons;
@property(nonatomic, readonly, nullable) NSString *fediverse;
@property(nonatomic, readonly, nullable) NSString *facebook; @property(nonatomic, readonly, nullable) NSString *facebook;
@property(nonatomic, readonly, nullable) NSString *instagram; @property(nonatomic, readonly, nullable) NSString *instagram;
@property(nonatomic, readonly, nullable) NSString *twitter; @property(nonatomic, readonly, nullable) NSString *twitter;
@property(nonatomic, readonly, nullable) NSString *vk; @property(nonatomic, readonly, nullable) NSString *vk;
@property(nonatomic, readonly, nullable) NSString *line; @property(nonatomic, readonly, nullable) NSString *line;
@property(nonatomic, readonly, nullable) NSString *bluesky;
@property(nonatomic, readonly, nullable) NSString *email; @property(nonatomic, readonly, nullable) NSString *email;
@property(nonatomic, readonly, nullable) NSURL *emailUrl; @property(nonatomic, readonly, nullable) NSURL *emailUrl;
@property(nonatomic, readonly, nullable) NSString *cuisine; @property(nonatomic, readonly, nullable) NSString *cuisine;

View File

@@ -68,11 +68,13 @@ NSString * GetLocalizedMetadataValueString(MapObject::MetadataID metaID, std::st
_email = ToNSString(value); _email = ToNSString(value);
_emailUrl = [NSURL URLWithString:[NSString stringWithFormat:@"mailto:%@", _email]]; _emailUrl = [NSURL URLWithString:[NSString stringWithFormat:@"mailto:%@", _email]];
break; break;
case MetadataID::FMD_CONTACT_FEDIVERSE: _fediverse = ToNSString(value); break;
case MetadataID::FMD_CONTACT_FACEBOOK: _facebook = ToNSString(value); break; case MetadataID::FMD_CONTACT_FACEBOOK: _facebook = ToNSString(value); break;
case MetadataID::FMD_CONTACT_INSTAGRAM: _instagram = ToNSString(value); break; case MetadataID::FMD_CONTACT_INSTAGRAM: _instagram = ToNSString(value); break;
case MetadataID::FMD_CONTACT_TWITTER: _twitter = ToNSString(value); break; case MetadataID::FMD_CONTACT_TWITTER: _twitter = ToNSString(value); break;
case MetadataID::FMD_CONTACT_VK: _vk = ToNSString(value); break; case MetadataID::FMD_CONTACT_VK: _vk = ToNSString(value); break;
case MetadataID::FMD_CONTACT_LINE: _line = ToNSString(value); break; case MetadataID::FMD_CONTACT_LINE: _line = ToNSString(value); break;
case MetadataID::FMD_CONTACT_BLUESKY: _bluesky = ToNSString(value); break;
case MetadataID::FMD_OPERATOR: _ppOperator = [NSString stringWithFormat:NSLocalizedString(@"operator", nil), ToNSString(value)]; break; case MetadataID::FMD_OPERATOR: _ppOperator = [NSString stringWithFormat:NSLocalizedString(@"operator", nil), ToNSString(value)]; break;
case MetadataID::FMD_INTERNET: case MetadataID::FMD_INTERNET:
_wifiAvailable = (rawData.GetInternet() == feature::Internet::No) _wifiAvailable = (rawData.GetInternet() == feature::Internet::No)

View File

@@ -0,0 +1,26 @@
{
"images" : [
{
"filename" : "ic_placepage_bluesky.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_placepage_bluesky@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_placepage_bluesky@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,26 @@
{
"images" : [
{
"filename" : "ic_placepage_fediverse.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_placepage_fediverse@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_placepage_fediverse@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Nuus"; "news" = "Nuus";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Gradeer die toep"; "rate_the_app" = "Gradeer die toep";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "أخبار"; "news" = "أخبار";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "فيسبوك"; "facebook" = "فيسبوك";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "قيّم التطبيق"; "rate_the_app" = "قيّم التطبيق";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Xəbərlər"; "news" = "Xəbərlər";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Proqramı qiymətləndirin"; "rate_the_app" = "Proqramı qiymətləndirin";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Навіны"; "news" = "Навіны";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Ацаніць праграму"; "rate_the_app" = "Ацаніць праграму";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Новини"; "news" = "Новини";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Оцени приложение"; "rate_the_app" = "Оцени приложение";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Notícies"; "news" = "Notícies";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Puntua l'aplicació"; "rate_the_app" = "Puntua l'aplicació";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Novinky"; "news" = "Novinky";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Ohodnotit aplikaci"; "rate_the_app" = "Ohodnotit aplikaci";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Nyheder"; "news" = "Nyheder";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Bedøm appen"; "rate_the_app" = "Bedøm appen";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Neuigkeiten"; "news" = "Neuigkeiten";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Bewerten Sie die App"; "rate_the_app" = "Bewerten Sie die App";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Νέα"; "news" = "Νέα";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Βαθμολογήστε την εφαρμογή"; "rate_the_app" = "Βαθμολογήστε την εφαρμογή";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "News"; "news" = "News";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Rate the app"; "rate_the_app" = "Rate the app";

View File

@@ -267,6 +267,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "News"; "news" = "News";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -279,6 +282,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Rate the app"; "rate_the_app" = "Rate the app";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Noticias"; "news" = "Noticias";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Valore la aplicación"; "rate_the_app" = "Valore la aplicación";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Noticias"; "news" = "Noticias";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Valore la aplicación"; "rate_the_app" = "Valore la aplicación";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Uudised"; "news" = "Uudised";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Hinda rakendust"; "rate_the_app" = "Hinda rakendust";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Albisteak"; "news" = "Albisteak";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Baloratu aplikazioa"; "rate_the_app" = "Baloratu aplikazioa";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "اخبار"; "news" = "اخبار";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "امتیاز به این اپلیکیشن"; "rate_the_app" = "امتیاز به این اپلیکیشن";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Uutiset"; "news" = "Uutiset";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Arvioi sovellus"; "rate_the_app" = "Arvioi sovellus";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Nouvelles"; "news" = "Nouvelles";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Évaluer l'appli"; "rate_the_app" = "Évaluer l'appli";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "חדשות"; "news" = "חדשות";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "דרגו את האפליקציה"; "rate_the_app" = "דרגו את האפליקציה";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "समाचार"; "news" = "समाचार";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "फेसबुक"; "facebook" = "फेसबुक";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "एप्लिकेशन की श्रेणी बताओ"; "rate_the_app" = "एप्लिकेशन की श्रेणी बताओ";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Hírek"; "news" = "Hírek";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VKontakte"; "vk" = "VKontakte";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Értékelje az alkalmazást"; "rate_the_app" = "Értékelje az alkalmazást";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Berita"; "news" = "Berita";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Beri nilai aplikasi"; "rate_the_app" = "Beri nilai aplikasi";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Notizie"; "news" = "Notizie";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Vota l'app"; "rate_the_app" = "Vota l'app";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "ニュース"; "news" = "ニュース";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "アプリを評価"; "rate_the_app" = "アプリを評価";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "소식"; "news" = "소식";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "앱 평가"; "rate_the_app" = "앱 평가";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Naujienos"; "news" = "Naujienos";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Įvertinti šią programėlę"; "rate_the_app" = "Įvertinti šią programėlę";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Jaunumi"; "news" = "Jaunumi";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Novērtējiet lietotni"; "rate_the_app" = "Novērtējiet lietotni";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "बातम्या"; "news" = "बातम्या";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "ऍप मानांकित करा"; "rate_the_app" = "ऍप मानांकित करा";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Aħbarijiet"; "news" = "Aħbarijiet";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Għati rata lill-app"; "rate_the_app" = "Għati rata lill-app";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Nyheter"; "news" = "Nyheter";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Ranger appen"; "rate_the_app" = "Ranger appen";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Nieuws"; "news" = "Nieuws";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Beoordeel de app"; "rate_the_app" = "Beoordeel de app";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Wiadomości"; "news" = "Wiadomości";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Oceń aplikację"; "rate_the_app" = "Oceń aplikację";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Notícias"; "news" = "Notícias";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Avaliar o aplicativo"; "rate_the_app" = "Avaliar o aplicativo";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Notícias"; "news" = "Notícias";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Avaliar a aplicação"; "rate_the_app" = "Avaliar a aplicação";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Știri"; "news" = "Știri";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Evaluează aplicația"; "rate_the_app" = "Evaluează aplicația";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Новости"; "news" = "Новости";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Оценить приложение"; "rate_the_app" = "Оценить приложение";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Správy"; "news" = "Správy";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Ohodnotiť aplikáciu"; "rate_the_app" = "Ohodnotiť aplikáciu";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Новости"; "news" = "Новости";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Оцена апликације"; "rate_the_app" = "Оцена апликације";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Nyheter"; "news" = "Nyheter";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Betygsätt appen"; "rate_the_app" = "Betygsätt appen";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Habari"; "news" = "Habari";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Rate the app"; "rate_the_app" = "Rate the app";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "ข่าว"; "news" = "ข่าว";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "ให้คะแนนแอป"; "rate_the_app" = "ให้คะแนนแอป";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Haberler"; "news" = "Haberler";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Uygulamayı değerlendir"; "rate_the_app" = "Uygulamayı değerlendir";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Новини"; "news" = "Новини";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Оцінити застосунок"; "rate_the_app" = "Оцінити застосунок";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "Tin tức"; "news" = "Tin tức";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "Cho điểm ứng dụng"; "rate_the_app" = "Cho điểm ứng dụng";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "新闻"; "news" = "新闻";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "为我们评分"; "rate_the_app" = "为我们评分";

View File

@@ -255,6 +255,9 @@
/* Text in About menu, opens CoMaps news website */ /* Text in About menu, opens CoMaps news website */
"news" = "新聞"; "news" = "新聞";
/* Text in the editor */
"fediverse" = "Mastodon";
/* Text in menu */ /* Text in menu */
"facebook" = "Facebook"; "facebook" = "Facebook";
@@ -267,6 +270,12 @@
/* Text in the editor */ /* Text in the editor */
"vk" = "VK"; "vk" = "VK";
/* Text in the editor */
"line" = "Line";
/* Text in the editor */
"bluesky" = "Bluesky";
/* Text in menu */ /* Text in menu */
"rate_the_app" = "為我們評分"; "rate_the_app" = "為我們評分";

View File

@@ -669,7 +669,15 @@ void registerCellsForTableView(std::vector<MWMEditorCellID> const & cells, UITab
text:L(@"outdoor_seating") text:L(@"outdoor_seating")
value:feature::YesNoUnknownFromString(m_mapObject.GetMetadata(feature::Metadata::FMD_OUTDOOR_SEATING))]; value:feature::YesNoUnknownFromString(m_mapObject.GetMetadata(feature::Metadata::FMD_OUTDOOR_SEATING))];
break; break;
} }
case MetadataID::FMD_CONTACT_FEDIVERSE:
{
[self configTextViewCell:cell
cellID:cellID
icon:@"ic_placepage_fediverse"
placeholder:L(@"fediverse")];
break;
}
case MetadataID::FMD_CONTACT_FACEBOOK: case MetadataID::FMD_CONTACT_FACEBOOK:
{ {
[self configTextViewCell:cell [self configTextViewCell:cell
@@ -710,6 +718,14 @@ void registerCellsForTableView(std::vector<MWMEditorCellID> const & cells, UITab
placeholder:L(@"line")]; placeholder:L(@"line")];
break; break;
} }
case MetadataID::FMD_CONTACT_BLUESKY:
{
[self configTextViewCell:cell
cellID:cellID
icon:@"ic_placepage_bluesky"
placeholder:L(@"bluesky")];
break;
}
case MWMEditorCellTypeNote: case MWMEditorCellTypeNote:
{ {
MWMNoteCell * tCell = static_cast<MWMNoteCell *>(cell); MWMNoteCell * tCell = static_cast<MWMNoteCell *>(cell);

View File

@@ -79,11 +79,13 @@ protocol PlacePageInfoViewControllerDelegate: AnyObject {
func didPressWebsiteMenu() func didPressWebsiteMenu()
func didPressWikipedia() func didPressWikipedia()
func didPressWikimediaCommons() func didPressWikimediaCommons()
func didPressFediverse()
func didPressFacebook() func didPressFacebook()
func didPressInstagram() func didPressInstagram()
func didPressTwitter() func didPressTwitter()
func didPressVk() func didPressVk()
func didPressLine() func didPressLine()
func didPressBluesky()
func didPressEmail() func didPressEmail()
func didPressOpenInApp(from sourceView: UIView) func didPressOpenInApp(from sourceView: UIView)
func didCopy(_ content: String) func didCopy(_ content: String)
@@ -109,11 +111,13 @@ class PlacePageInfoViewController: UIViewController {
private var wikipediaView: InfoItemViewController? private var wikipediaView: InfoItemViewController?
private var wikimediaCommonsView: InfoItemViewController? private var wikimediaCommonsView: InfoItemViewController?
private var emailView: InfoItemViewController? private var emailView: InfoItemViewController?
private var fediverseView: InfoItemViewController?
private var facebookView: InfoItemViewController? private var facebookView: InfoItemViewController?
private var instagramView: InfoItemViewController? private var instagramView: InfoItemViewController?
private var twitterView: InfoItemViewController? private var twitterView: InfoItemViewController?
private var vkView: InfoItemViewController? private var vkView: InfoItemViewController?
private var lineView: InfoItemViewController? private var lineView: InfoItemViewController?
private var blueskyView: InfoItemViewController?
private var cuisineView: InfoItemViewController? private var cuisineView: InfoItemViewController?
private var operatorView: InfoItemViewController? private var operatorView: InfoItemViewController?
private var wifiView: InfoItemViewController? private var wifiView: InfoItemViewController?
@@ -274,6 +278,18 @@ class PlacePageInfoViewController: UIViewController {
}) })
} }
if let fediverse = placePageInfoData.fediverse {
fediverseView = createInfoItem(fediverse,
icon: UIImage(named: "ic_placepage_fediverse"),
style: .link,
tapHandler: { [weak self] in
self?.delegate?.didPressFediverse()
},
longPressHandler: { [weak self] in
self?.delegate?.didCopy(fediverse)
})
}
if let facebook = placePageInfoData.facebook { if let facebook = placePageInfoData.facebook {
facebookView = createInfoItem(facebook, facebookView = createInfoItem(facebook,
icon: UIImage(named: "ic_placepage_facebook"), icon: UIImage(named: "ic_placepage_facebook"),
@@ -333,6 +349,18 @@ class PlacePageInfoViewController: UIViewController {
self?.delegate?.didCopy(line) self?.delegate?.didCopy(line)
}) })
} }
if let bluesky = placePageInfoData.line {
blueskyView = createInfoItem(bluesky,
icon: UIImage(named: "ic_placepage_bluesky"),
style: .link,
tapHandler: { [weak self] in
self?.delegate?.didPressBluesky()
},
longPressHandler: { [weak self] in
self?.delegate?.didCopy(bluesky)
})
}
if let address = placePageInfoData.address { if let address = placePageInfoData.address {
addressView = createInfoItem(address, addressView = createInfoItem(address,

View File

@@ -100,6 +100,10 @@ extension PlacePageInteractor: PlacePageInfoViewControllerDelegate {
MWMPlacePageManagerHelper.openWikimediaCommons(placePageData) MWMPlacePageManagerHelper.openWikimediaCommons(placePageData)
} }
func didPressFediverse() {
MWMPlacePageManagerHelper.openFediverse(placePageData)
}
func didPressFacebook() { func didPressFacebook() {
MWMPlacePageManagerHelper.openFacebook(placePageData) MWMPlacePageManagerHelper.openFacebook(placePageData)
} }
@@ -120,6 +124,10 @@ extension PlacePageInteractor: PlacePageInfoViewControllerDelegate {
MWMPlacePageManagerHelper.openLine(placePageData) MWMPlacePageManagerHelper.openLine(placePageData)
} }
func didPressBluesky() {
MWMPlacePageManagerHelper.openBluesky(placePageData)
}
func didPressEmail() { func didPressEmail() {
MWMPlacePageManagerHelper.openEmail(placePageData) MWMPlacePageManagerHelper.openEmail(placePageData)
} }

View File

@@ -258,6 +258,11 @@ using namespace storage;
[self.ownerViewController openUrl:data.infoData.wikimediaCommons externally:YES]; [self.ownerViewController openUrl:data.infoData.wikimediaCommons externally:YES];
} }
- (void)openFediverse:(PlacePageData *)data {
std::string const fullUrl = osm::socialContactToURL(osm::MapObject::MetadataID::FMD_CONTACT_FEDIVERSE, [data.infoData.fediverse UTF8String]);
[self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES];
}
- (void)openFacebook:(PlacePageData *)data { - (void)openFacebook:(PlacePageData *)data {
std::string const fullUrl = osm::socialContactToURL(osm::MapObject::MetadataID::FMD_CONTACT_FACEBOOK, [data.infoData.facebook UTF8String]); std::string const fullUrl = osm::socialContactToURL(osm::MapObject::MetadataID::FMD_CONTACT_FACEBOOK, [data.infoData.facebook UTF8String]);
[self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES]; [self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES];
@@ -283,6 +288,11 @@ using namespace storage;
[self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES]; [self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES];
} }
- (void)openBluesky:(PlacePageData *)data {
std::string const fullUrl = osm::socialContactToURL(osm::MapObject::MetadataID::FMD_CONTACT_BLUESKY, [data.infoData.bluesky UTF8String]);
[self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES];
}
- (void)openEmail:(PlacePageData *)data { - (void)openEmail:(PlacePageData *)data {
[MailComposer sendEmailWithSubject:nil body:nil toRecipients:@[data.infoData.email] attachmentFileURL:nil]; [MailComposer sendEmailWithSubject:nil body:nil toRecipients:@[data.infoData.email] attachmentFileURL:nil];
} }

View File

@@ -13,11 +13,13 @@
+ (void)openWikipedia:(PlacePageData *)data; + (void)openWikipedia:(PlacePageData *)data;
+ (void)openWikimediaCommons:(PlacePageData *)data; + (void)openWikimediaCommons:(PlacePageData *)data;
+ (void)openEmail:(PlacePageData *)data; + (void)openEmail:(PlacePageData *)data;
+ (void)openFediverse:(PlacePageData *)data;
+ (void)openFacebook:(PlacePageData *)data; + (void)openFacebook:(PlacePageData *)data;
+ (void)openInstagram:(PlacePageData *)data; + (void)openInstagram:(PlacePageData *)data;
+ (void)openTwitter:(PlacePageData *)data; + (void)openTwitter:(PlacePageData *)data;
+ (void)openVk:(PlacePageData *)data; + (void)openVk:(PlacePageData *)data;
+ (void)openLine:(PlacePageData *)data; + (void)openLine:(PlacePageData *)data;
+ (void)openBluesky:(PlacePageData *)data;
+ (void)call:(PlacePagePhone *)phone; + (void)call:(PlacePagePhone *)phone;
+ (void)showAllFacilities:(PlacePageData *)data; + (void)showAllFacilities:(PlacePageData *)data;
+ (void)showPlaceDescription:(NSString *)htmlString; + (void)showPlaceDescription:(NSString *)htmlString;

View File

@@ -19,11 +19,13 @@
- (void)openWikipedia:(PlacePageData *)data; - (void)openWikipedia:(PlacePageData *)data;
- (void)openWikimediaCommons:(PlacePageData *)data; - (void)openWikimediaCommons:(PlacePageData *)data;
- (void)openEmail:(PlacePageData *)data; - (void)openEmail:(PlacePageData *)data;
- (void)openFediverse:(PlacePageData *)data;
- (void)openFacebook:(PlacePageData *)data; - (void)openFacebook:(PlacePageData *)data;
- (void)openInstagram:(PlacePageData *)data; - (void)openInstagram:(PlacePageData *)data;
- (void)openTwitter:(PlacePageData *)data; - (void)openTwitter:(PlacePageData *)data;
- (void)openVk:(PlacePageData *)data; - (void)openVk:(PlacePageData *)data;
- (void)openLine:(PlacePageData *)data; - (void)openLine:(PlacePageData *)data;
- (void)openBluesky:(PlacePageData *)data;
- (void)call:(PlacePagePhone *)phone; - (void)call:(PlacePagePhone *)phone;
- (void)showAllFacilities:(PlacePageData *)data; - (void)showAllFacilities:(PlacePageData *)data;
- (void)showPlaceDescription:(NSString *)htmlString; - (void)showPlaceDescription:(NSString *)htmlString;
@@ -89,6 +91,10 @@
[[MWMMapViewControlsManager manager].placePageManager openWikimediaCommons:data]; [[MWMMapViewControlsManager manager].placePageManager openWikimediaCommons:data];
} }
+ (void)openFediverse:(PlacePageData *)data {
[[MWMMapViewControlsManager manager].placePageManager openFediverse:data];
}
+ (void)openFacebook:(PlacePageData *)data { + (void)openFacebook:(PlacePageData *)data {
[[MWMMapViewControlsManager manager].placePageManager openFacebook:data]; [[MWMMapViewControlsManager manager].placePageManager openFacebook:data];
} }
@@ -109,6 +115,10 @@
[[MWMMapViewControlsManager manager].placePageManager openLine:data]; [[MWMMapViewControlsManager manager].placePageManager openLine:data];
} }
+ (void)openBluesky:(PlacePageData *)data {
[[MWMMapViewControlsManager manager].placePageManager openBluesky:data];
}
+ (void)call:(PlacePagePhone *)phone { + (void)call:(PlacePagePhone *)phone {
[[MWMMapViewControlsManager manager].placePageManager call:phone]; [[MWMMapViewControlsManager manager].placePageManager call:phone];
} }