Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2021-06-21 08:27:22 +02:00 committed by Viktor Govako
parent bdcefb2251
commit e3da09ba40
4 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@ public final class Constants
public static class Url
{
public static final String SHORT_SHARE_PREFIX = "om://";
public static final String HTTP_SHARE_PREFIX = "http://omaps.app/";
public static final String HTTP_SHARE_PREFIX = "https://omaps.app/";
public static final String MAILTO_SCHEME = "mailto:";
public static final String MAIL_SUBJECT = "?subject=";

View file

@ -3633,7 +3633,7 @@
fa = نه ,متشکرم
[bookmark_share_sms]
comment = Share one specific bookmark using SMS, %1$@ contains om:// and %2$@ http://omaps.app link. @NOTE non-ascii symbols in the link will result in max 70 characters SMS instead of 140.
comment = Share one specific bookmark using SMS, %1$@ contains om:// and %2$@ https://omaps.app link. @NOTE non-ascii symbols in the link will result in max 70 characters SMS instead of 140.
tags = ios,android
en = Hey, check out my pin at Organic Maps! %1$@ or %2$@ Don't have offline maps installed? Download here: https://omaps.app/get
ru = Моя метка на карте. Жми %1$@ или %2$@
@ -3666,7 +3666,7 @@
sk = Pozrite na moju značku na mape. Otvoriť odkaz: %1$@ alebo %2$@
[my_position_share_sms]
comment = Share my position using SMS, %1$@ contains om:// and %2$@ http://omaps.app link WITHOUT NAME. @NOTE non-ascii symbols in the link will result in max 70 characters SMS instead of 140.
comment = Share my position using SMS, %1$@ contains om:// and %2$@ https://omaps.app link WITHOUT NAME. @NOTE non-ascii symbols in the link will result in max 70 characters SMS instead of 140.
tags = ios,android
en = Hey, check out my current location in Organic Maps! %1$@ or %2$@ Don't have offline maps? Download here: https://omaps.app/get
ru = Смотри где я сейчас. Жми %1$@ или %2$@
@ -3768,7 +3768,7 @@
sk = Pozrite si moju aktuálnu polohu na mape Organic Maps
[my_position_share_email]
comment = Share my position using EMail, %1$@ is om:// and %2$@ is http://omaps.app link WITHOUT NAME
comment = Share my position using EMail, %1$@ is om:// and %2$@ is https://omaps.app link WITHOUT NAME
tags = ios,android
en = Hi,\n\nI'm here now: %1$@. Click this link %2$@ or this one %3$@ to see the place on the map.\n\nThanks.
ru = Привет!\n\nЯ сейчас здесь: %1$@. Чтобы увидеть это место на карте Organic Maps, открой эту ссылку %2$@ или эту %3$@\n\nСпасибо.

View file

@ -18,7 +18,7 @@
[activityType isEqualToString:@"com.facebook.Facebook.ShareExtension"] ||
[activityType.lowercaseString rangeOfString:@"facebook"].length)
{
NSString * url = [NSString stringWithFormat:@"http://omaps.app/fb-editor-v1?lang=%@",
NSString * url = [NSString stringWithFormat:@"https://omaps.app/fb-editor-v1?lang=%@",
@(languages::GetCurrentNorm().c_str())];
return [NSURL URLWithString:url];
}

View file

@ -8,8 +8,8 @@
NSString * httpGe0Url(NSString * shortUrl)
{
// Replace 'om://' with 'http://omaps.app/'
return [shortUrl stringByReplacingCharactersInRange:NSMakeRange(0, 5) withString:@"http://omaps.app/"];
// Replace 'om://' with 'https://omaps.app/'
return [shortUrl stringByReplacingCharactersInRange:NSMakeRange(0, 5) withString:@"https://omaps.app/"];
}
@interface MWMShareActivityItem ()