Rename TelegramWatch to SwiftgramWatch
@@ -730,7 +730,7 @@ watchos_application(
|
|||||||
bundle_id = "{telegram_bundle_id}.watchkitapp".format(
|
bundle_id = "{telegram_bundle_id}.watchkitapp".format(
|
||||||
telegram_bundle_id = telegram_bundle_id,
|
telegram_bundle_id = telegram_bundle_id,
|
||||||
),
|
),
|
||||||
bundle_name = "TelegramWatch",
|
bundle_name = "SwiftgramWatch",
|
||||||
infoplists = [
|
infoplists = [
|
||||||
":WatchAppInfoPlist",
|
":WatchAppInfoPlist",
|
||||||
":VersionInfoPlist",
|
":VersionInfoPlist",
|
||||||
|
|||||||
@@ -1,92 +1,14 @@
|
|||||||
{
|
{
|
||||||
"images" : [
|
"images" : [
|
||||||
{
|
{
|
||||||
"size" : "24x24",
|
"filename" : "Swiftgram.png",
|
||||||
"idiom" : "watch",
|
"idiom" : "universal",
|
||||||
"filename" : "Watch48@2x.png",
|
"platform" : "watchos",
|
||||||
"scale" : "2x",
|
"size" : "1024x1024"
|
||||||
"role" : "notificationCenter",
|
|
||||||
"subtype" : "38mm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "27.5x27.5",
|
|
||||||
"idiom" : "watch",
|
|
||||||
"filename" : "Watch55@2x.png",
|
|
||||||
"scale" : "2x",
|
|
||||||
"role" : "notificationCenter",
|
|
||||||
"subtype" : "42mm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "29x29",
|
|
||||||
"idiom" : "watch",
|
|
||||||
"filename" : "Simple@58x58.png",
|
|
||||||
"role" : "companionSettings",
|
|
||||||
"scale" : "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "29x29",
|
|
||||||
"idiom" : "watch",
|
|
||||||
"filename" : "Simple@87x87.png",
|
|
||||||
"role" : "companionSettings",
|
|
||||||
"scale" : "3x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "40x40",
|
|
||||||
"idiom" : "watch",
|
|
||||||
"filename" : "Simple@80x80.png",
|
|
||||||
"scale" : "2x",
|
|
||||||
"role" : "appLauncher",
|
|
||||||
"subtype" : "38mm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "44x44",
|
|
||||||
"idiom" : "watch",
|
|
||||||
"filename" : "Watch88@2x.png",
|
|
||||||
"scale" : "2x",
|
|
||||||
"role" : "appLauncher",
|
|
||||||
"subtype" : "40mm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "50x50",
|
|
||||||
"idiom" : "watch",
|
|
||||||
"filename" : "Watch100@2x.png",
|
|
||||||
"scale" : "2x",
|
|
||||||
"role" : "appLauncher",
|
|
||||||
"subtype" : "44mm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "86x86",
|
|
||||||
"idiom" : "watch",
|
|
||||||
"filename" : "Watch172@2x.png",
|
|
||||||
"scale" : "2x",
|
|
||||||
"role" : "quickLook",
|
|
||||||
"subtype" : "38mm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "98x98",
|
|
||||||
"idiom" : "watch",
|
|
||||||
"filename" : "Watch196@2x.png",
|
|
||||||
"scale" : "2x",
|
|
||||||
"role" : "quickLook",
|
|
||||||
"subtype" : "42mm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "108x108",
|
|
||||||
"idiom" : "watch",
|
|
||||||
"filename" : "Watch216@2x.png",
|
|
||||||
"scale" : "2x",
|
|
||||||
"role" : "quickLook",
|
|
||||||
"subtype" : "44mm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"size" : "1024x1024",
|
|
||||||
"idiom" : "watch-marketing",
|
|
||||||
"filename" : "Simple-iTunesArtwork.png",
|
|
||||||
"scale" : "1x"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"info" : {
|
"info" : {
|
||||||
"version" : 1,
|
"author" : "xcode",
|
||||||
"author" : "xcode"
|
"version" : 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 574 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 9.4 KiB |
@@ -1094,10 +1094,10 @@ contacts found.</string>
|
|||||||
</objects>
|
</objects>
|
||||||
<point key="canvasLocation" x="1130" y="463"/>
|
<point key="canvasLocation" x="1130" y="463"/>
|
||||||
</scene>
|
</scene>
|
||||||
<!--Telegram-->
|
<!--Swiftgram-->
|
||||||
<scene sceneID="A9d-DL-l8r">
|
<scene sceneID="A9d-DL-l8r">
|
||||||
<objects>
|
<objects>
|
||||||
<controller identifier="TGNeoChatsController" title="Telegram" hidesWhenLoading="NO" id="umr-Wa-jBL" customClass="TGNeoChatsController">
|
<controller identifier="TGNeoChatsController" title="Swiftgram" hidesWhenLoading="NO" id="umr-Wa-jBL" customClass="TGNeoChatsController">
|
||||||
<items>
|
<items>
|
||||||
<group width="1" alignment="center" verticalAlignment="center" hidden="YES" layout="vertical" spacing="0.0" id="7GZ-1r-Kdn" userLabel="AuthAlertGroup">
|
<group width="1" alignment="center" verticalAlignment="center" hidden="YES" layout="vertical" spacing="0.0" id="7GZ-1r-Kdn" userLabel="AuthAlertGroup">
|
||||||
<items>
|
<items>
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ void TGResetLocalization()
|
|||||||
TGLocalizedStaticVersion++;
|
TGLocalizedStaticVersion++;
|
||||||
}
|
}
|
||||||
|
|
||||||
NSString *TGLocalized(NSString *s)
|
NSString *TGLocalizedInternal(NSString *s)
|
||||||
{
|
{
|
||||||
static NSString *untranslatedString = nil;
|
static NSString *untranslatedString = nil;
|
||||||
|
|
||||||
@@ -198,3 +198,9 @@ NSString *TGLocalized(NSString *s)
|
|||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// MARK: Swiftgram
|
||||||
|
NSString *TGLocalized(NSString *s) {
|
||||||
|
NSString *result = TGLocalizedInternal(s);
|
||||||
|
return [result stringByReplacingOccurrencesOfString:@"Telegram" withString:@"Swiftgram"];
|
||||||
|
}
|
||||||