mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[ios] Added Mastodon & Bluesky
This commit is contained in:
committed by
Yannik Bloscheck
parent
fe92bf2359
commit
e500a9e5fa
@@ -13,11 +13,13 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property(nonatomic, readonly, nullable) NSString *website;
|
||||
@property(nonatomic, readonly, nullable) NSString *wikipedia;
|
||||
@property(nonatomic, readonly, nullable) NSString *wikimediaCommons;
|
||||
@property(nonatomic, readonly, nullable) NSString *fediverse;
|
||||
@property(nonatomic, readonly, nullable) NSString *facebook;
|
||||
@property(nonatomic, readonly, nullable) NSString *instagram;
|
||||
@property(nonatomic, readonly, nullable) NSString *twitter;
|
||||
@property(nonatomic, readonly, nullable) NSString *vk;
|
||||
@property(nonatomic, readonly, nullable) NSString *line;
|
||||
@property(nonatomic, readonly, nullable) NSString *bluesky;
|
||||
@property(nonatomic, readonly, nullable) NSString *email;
|
||||
@property(nonatomic, readonly, nullable) NSURL *emailUrl;
|
||||
@property(nonatomic, readonly, nullable) NSString *cuisine;
|
||||
|
||||
@@ -68,11 +68,13 @@ NSString * GetLocalizedMetadataValueString(MapObject::MetadataID metaID, std::st
|
||||
_email = ToNSString(value);
|
||||
_emailUrl = [NSURL URLWithString:[NSString stringWithFormat:@"mailto:%@", _email]];
|
||||
break;
|
||||
case MetadataID::FMD_CONTACT_FEDIVERSE: _fediverse = 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_TWITTER: _twitter = 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_BLUESKY: _bluesky = ToNSString(value); break;
|
||||
case MetadataID::FMD_OPERATOR: _ppOperator = [NSString stringWithFormat:NSLocalizedString(@"operator", nil), ToNSString(value)]; break;
|
||||
case MetadataID::FMD_INTERNET:
|
||||
_wifiAvailable = (rawData.GetInternet() == feature::Internet::No)
|
||||
|
||||
26
iphone/Maps/Images.xcassets/Place Page/ic_placepage_bluesky.imageset/Contents.json
vendored
Normal file
26
iphone/Maps/Images.xcassets/Place Page/ic_placepage_bluesky.imageset/Contents.json
vendored
Normal 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"
|
||||
}
|
||||
}
|
||||
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_bluesky.imageset/ic_placepage_bluesky.png
vendored
Normal file
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_bluesky.imageset/ic_placepage_bluesky.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 378 B |
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_bluesky.imageset/ic_placepage_bluesky@2x.png
vendored
Normal file
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_bluesky.imageset/ic_placepage_bluesky@2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 731 B |
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_bluesky.imageset/ic_placepage_bluesky@3x.png
vendored
Normal file
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_bluesky.imageset/ic_placepage_bluesky@3x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
26
iphone/Maps/Images.xcassets/Place Page/ic_placepage_fediverse.imageset/Contents.json
vendored
Normal file
26
iphone/Maps/Images.xcassets/Place Page/ic_placepage_fediverse.imageset/Contents.json
vendored
Normal 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"
|
||||
}
|
||||
}
|
||||
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_fediverse.imageset/ic_placepage_fediverse.png
vendored
Normal file
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_fediverse.imageset/ic_placepage_fediverse.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 502 B |
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_fediverse.imageset/ic_placepage_fediverse@2x.png
vendored
Normal file
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_fediverse.imageset/ic_placepage_fediverse@2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 870 B |
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_fediverse.imageset/ic_placepage_fediverse@3x.png
vendored
Normal file
BIN
iphone/Maps/Images.xcassets/Place Page/ic_placepage_fediverse.imageset/ic_placepage_fediverse@3x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Nuus";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Gradeer die toep";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "أخبار";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "فيسبوك";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "قيّم التطبيق";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Xəbərlər";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Proqramı qiymətləndirin";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Навіны";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Ацаніць праграму";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Новини";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Оцени приложение";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Notícies";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Puntua l'aplicació";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Novinky";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Ohodnotit aplikaci";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Nyheder";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Bedøm appen";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Neuigkeiten";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Bewerten Sie die App";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Νέα";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Βαθμολογήστε την εφαρμογή";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "News";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Rate the app";
|
||||
|
||||
|
||||
@@ -267,6 +267,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "News";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -279,6 +282,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Rate the app";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Noticias";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Valore la aplicación";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Noticias";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Valore la aplicación";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Uudised";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Hinda rakendust";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Albisteak";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Baloratu aplikazioa";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "اخبار";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "امتیاز به این اپلیکیشن";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Uutiset";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Arvioi sovellus";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Nouvelles";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Évaluer l'appli";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "חדשות";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "דרגו את האפליקציה";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "समाचार";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "फेसबुक";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "एप्लिकेशन की श्रेणी बताओ";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Hírek";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VKontakte";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Értékelje az alkalmazást";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Berita";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Beri nilai aplikasi";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Notizie";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Vota l'app";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "ニュース";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "アプリを評価";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "소식";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "앱 평가";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Naujienos";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Įvertinti šią programėlę";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Jaunumi";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Novērtējiet lietotni";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "बातम्या";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "ऍप मानांकित करा";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Aħbarijiet";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Għati rata lill-app";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Nyheter";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Ranger appen";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Nieuws";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Beoordeel de app";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Wiadomości";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Oceń aplikację";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Notícias";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Avaliar o aplicativo";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Notícias";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Avaliar a aplicação";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Știri";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Evaluează aplicația";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Новости";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Оценить приложение";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Správy";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Ohodnotiť aplikáciu";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Новости";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Оцена апликације";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Nyheter";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Betygsätt appen";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Habari";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Rate the app";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "ข่าว";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "ให้คะแนนแอป";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Haberler";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Uygulamayı değerlendir";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Новини";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Оцінити застосунок";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "Tin tức";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "Cho điểm ứng dụng";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "新闻";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "为我们评分";
|
||||
|
||||
|
||||
@@ -255,6 +255,9 @@
|
||||
/* Text in About menu, opens CoMaps news website */
|
||||
"news" = "新聞";
|
||||
|
||||
/* Text in the editor */
|
||||
"fediverse" = "Mastodon";
|
||||
|
||||
/* Text in menu */
|
||||
"facebook" = "Facebook";
|
||||
|
||||
@@ -267,6 +270,12 @@
|
||||
/* Text in the editor */
|
||||
"vk" = "VK";
|
||||
|
||||
/* Text in the editor */
|
||||
"line" = "Line";
|
||||
|
||||
/* Text in the editor */
|
||||
"bluesky" = "Bluesky";
|
||||
|
||||
/* Text in menu */
|
||||
"rate_the_app" = "為我們評分";
|
||||
|
||||
|
||||
@@ -670,6 +670,14 @@ void registerCellsForTableView(std::vector<MWMEditorCellID> const & cells, UITab
|
||||
value:feature::YesNoUnknownFromString(m_mapObject.GetMetadata(feature::Metadata::FMD_OUTDOOR_SEATING))];
|
||||
break;
|
||||
}
|
||||
case MetadataID::FMD_CONTACT_FEDIVERSE:
|
||||
{
|
||||
[self configTextViewCell:cell
|
||||
cellID:cellID
|
||||
icon:@"ic_placepage_fediverse"
|
||||
placeholder:L(@"fediverse")];
|
||||
break;
|
||||
}
|
||||
case MetadataID::FMD_CONTACT_FACEBOOK:
|
||||
{
|
||||
[self configTextViewCell:cell
|
||||
@@ -710,6 +718,14 @@ void registerCellsForTableView(std::vector<MWMEditorCellID> const & cells, UITab
|
||||
placeholder:L(@"line")];
|
||||
break;
|
||||
}
|
||||
case MetadataID::FMD_CONTACT_BLUESKY:
|
||||
{
|
||||
[self configTextViewCell:cell
|
||||
cellID:cellID
|
||||
icon:@"ic_placepage_bluesky"
|
||||
placeholder:L(@"bluesky")];
|
||||
break;
|
||||
}
|
||||
case MWMEditorCellTypeNote:
|
||||
{
|
||||
MWMNoteCell * tCell = static_cast<MWMNoteCell *>(cell);
|
||||
|
||||
@@ -79,11 +79,13 @@ protocol PlacePageInfoViewControllerDelegate: AnyObject {
|
||||
func didPressWebsiteMenu()
|
||||
func didPressWikipedia()
|
||||
func didPressWikimediaCommons()
|
||||
func didPressFediverse()
|
||||
func didPressFacebook()
|
||||
func didPressInstagram()
|
||||
func didPressTwitter()
|
||||
func didPressVk()
|
||||
func didPressLine()
|
||||
func didPressBluesky()
|
||||
func didPressEmail()
|
||||
func didPressOpenInApp(from sourceView: UIView)
|
||||
func didCopy(_ content: String)
|
||||
@@ -109,11 +111,13 @@ class PlacePageInfoViewController: UIViewController {
|
||||
private var wikipediaView: InfoItemViewController?
|
||||
private var wikimediaCommonsView: InfoItemViewController?
|
||||
private var emailView: InfoItemViewController?
|
||||
private var fediverseView: InfoItemViewController?
|
||||
private var facebookView: InfoItemViewController?
|
||||
private var instagramView: InfoItemViewController?
|
||||
private var twitterView: InfoItemViewController?
|
||||
private var vkView: InfoItemViewController?
|
||||
private var lineView: InfoItemViewController?
|
||||
private var blueskyView: InfoItemViewController?
|
||||
private var cuisineView: InfoItemViewController?
|
||||
private var operatorView: 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 {
|
||||
facebookView = createInfoItem(facebook,
|
||||
icon: UIImage(named: "ic_placepage_facebook"),
|
||||
@@ -334,6 +350,18 @@ class PlacePageInfoViewController: UIViewController {
|
||||
})
|
||||
}
|
||||
|
||||
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 {
|
||||
addressView = createInfoItem(address,
|
||||
icon: UIImage(named: "ic_placepage_address"),
|
||||
|
||||
@@ -100,6 +100,10 @@ extension PlacePageInteractor: PlacePageInfoViewControllerDelegate {
|
||||
MWMPlacePageManagerHelper.openWikimediaCommons(placePageData)
|
||||
}
|
||||
|
||||
func didPressFediverse() {
|
||||
MWMPlacePageManagerHelper.openFediverse(placePageData)
|
||||
}
|
||||
|
||||
func didPressFacebook() {
|
||||
MWMPlacePageManagerHelper.openFacebook(placePageData)
|
||||
}
|
||||
@@ -120,6 +124,10 @@ extension PlacePageInteractor: PlacePageInfoViewControllerDelegate {
|
||||
MWMPlacePageManagerHelper.openLine(placePageData)
|
||||
}
|
||||
|
||||
func didPressBluesky() {
|
||||
MWMPlacePageManagerHelper.openBluesky(placePageData)
|
||||
}
|
||||
|
||||
func didPressEmail() {
|
||||
MWMPlacePageManagerHelper.openEmail(placePageData)
|
||||
}
|
||||
|
||||
@@ -258,6 +258,11 @@ using namespace storage;
|
||||
[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 {
|
||||
std::string const fullUrl = osm::socialContactToURL(osm::MapObject::MetadataID::FMD_CONTACT_FACEBOOK, [data.infoData.facebook UTF8String]);
|
||||
[self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES];
|
||||
@@ -283,6 +288,11 @@ using namespace storage;
|
||||
[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 {
|
||||
[MailComposer sendEmailWithSubject:nil body:nil toRecipients:@[data.infoData.email] attachmentFileURL:nil];
|
||||
}
|
||||
|
||||
@@ -13,11 +13,13 @@
|
||||
+ (void)openWikipedia:(PlacePageData *)data;
|
||||
+ (void)openWikimediaCommons:(PlacePageData *)data;
|
||||
+ (void)openEmail:(PlacePageData *)data;
|
||||
+ (void)openFediverse:(PlacePageData *)data;
|
||||
+ (void)openFacebook:(PlacePageData *)data;
|
||||
+ (void)openInstagram:(PlacePageData *)data;
|
||||
+ (void)openTwitter:(PlacePageData *)data;
|
||||
+ (void)openVk:(PlacePageData *)data;
|
||||
+ (void)openLine:(PlacePageData *)data;
|
||||
+ (void)openBluesky:(PlacePageData *)data;
|
||||
+ (void)call:(PlacePagePhone *)phone;
|
||||
+ (void)showAllFacilities:(PlacePageData *)data;
|
||||
+ (void)showPlaceDescription:(NSString *)htmlString;
|
||||
|
||||
@@ -19,11 +19,13 @@
|
||||
- (void)openWikipedia:(PlacePageData *)data;
|
||||
- (void)openWikimediaCommons:(PlacePageData *)data;
|
||||
- (void)openEmail:(PlacePageData *)data;
|
||||
- (void)openFediverse:(PlacePageData *)data;
|
||||
- (void)openFacebook:(PlacePageData *)data;
|
||||
- (void)openInstagram:(PlacePageData *)data;
|
||||
- (void)openTwitter:(PlacePageData *)data;
|
||||
- (void)openVk:(PlacePageData *)data;
|
||||
- (void)openLine:(PlacePageData *)data;
|
||||
- (void)openBluesky:(PlacePageData *)data;
|
||||
- (void)call:(PlacePagePhone *)phone;
|
||||
- (void)showAllFacilities:(PlacePageData *)data;
|
||||
- (void)showPlaceDescription:(NSString *)htmlString;
|
||||
@@ -89,6 +91,10 @@
|
||||
[[MWMMapViewControlsManager manager].placePageManager openWikimediaCommons:data];
|
||||
}
|
||||
|
||||
+ (void)openFediverse:(PlacePageData *)data {
|
||||
[[MWMMapViewControlsManager manager].placePageManager openFediverse:data];
|
||||
}
|
||||
|
||||
+ (void)openFacebook:(PlacePageData *)data {
|
||||
[[MWMMapViewControlsManager manager].placePageManager openFacebook:data];
|
||||
}
|
||||
@@ -109,6 +115,10 @@
|
||||
[[MWMMapViewControlsManager manager].placePageManager openLine:data];
|
||||
}
|
||||
|
||||
+ (void)openBluesky:(PlacePageData *)data {
|
||||
[[MWMMapViewControlsManager manager].placePageManager openBluesky:data];
|
||||
}
|
||||
|
||||
+ (void)call:(PlacePagePhone *)phone {
|
||||
[[MWMMapViewControlsManager manager].placePageManager call:phone];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user