Rename TelegramWatch to SwiftgramWatch

This commit is contained in:
Kylmakalle 2025-01-13 22:18:31 +02:00
parent dd2fced95f
commit 4a562c20a7
17 changed files with 17 additions and 89 deletions

View File

@ -730,7 +730,7 @@ watchos_application(
bundle_id = "{telegram_bundle_id}.watchkitapp".format(
telegram_bundle_id = telegram_bundle_id,
),
bundle_name = "TelegramWatch",
bundle_name = "SwiftgramWatch",
infoplists = [
":WatchAppInfoPlist",
":VersionInfoPlist",

View File

@ -1,92 +1,14 @@
{
"images" : [
{
"size" : "24x24",
"idiom" : "watch",
"filename" : "Watch48@2x.png",
"scale" : "2x",
"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"
"filename" : "Swiftgram.png",
"idiom" : "universal",
"platform" : "watchos",
"size" : "1024x1024"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -1094,10 +1094,10 @@ contacts found.</string>
</objects>
<point key="canvasLocation" x="1130" y="463"/>
</scene>
<!--Telegram-->
<!--Swiftgram-->
<scene sceneID="A9d-DL-l8r">
<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>
<group width="1" alignment="center" verticalAlignment="center" hidden="YES" layout="vertical" spacing="0.0" id="7GZ-1r-Kdn" userLabel="AuthAlertGroup">
<items>

View File

@ -130,7 +130,7 @@ void TGResetLocalization()
TGLocalizedStaticVersion++;
}
NSString *TGLocalized(NSString *s)
NSString *TGLocalizedInternal(NSString *s)
{
static NSString *untranslatedString = nil;
@ -198,3 +198,9 @@ NSString *TGLocalized(NSString *s)
return s;
}
// MARK: Swiftgram
NSString *TGLocalized(NSString *s) {
NSString *result = TGLocalizedInternal(s);
return [result stringByReplacingOccurrencesOfString:@"Telegram" withString:@"Swiftgram"];
}