添加图片推送教程卡片

This commit is contained in:
Fin 2025-05-23 09:48:04 +08:00
parent efe2f82964
commit 625ef514fc
2 changed files with 63 additions and 0 deletions

View File

@ -2117,6 +2117,64 @@
}
}
},
"imageParameter" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "To show a picture in a push banner and message list"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "プッシュバナーやメッセージ一覧に画像を表示するには、画像のURLを渡す必要があります。"
}
},
"tr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Gönderim afişlerinde ve mesaj listelerinde görsel göstermek için görsel URLsi iletilmelidir."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "在推送横幅与消息列表中显示图片需传递图片url。"
}
}
}
},
"imagePushNotification" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Image Push Notification"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "画像プッシュ通知"
}
},
"tr" : {
"stringUnit" : {
"state" : "translated",
"value" : "Görsel Bildirim Uyarısı"
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "图片推送通知"
}
}
}
},
"import" : {
"extractionState" : "manual",
"localizations" : {

View File

@ -102,6 +102,11 @@ class HomeViewModel: ViewModel, ViewModelType {
notice: NSLocalizedString("urlParameter"),
queryParameter: "url=https://www.baidu.com"
),
PreviewModel(
body: NSLocalizedString("imagePushNotification"),
notice: NSLocalizedString("imageParameter"),
queryParameter: "image=https://day.app/assets/images/avatar.jpg"
),
PreviewModel(
body: "Copy Test",
notice: NSLocalizedString("copyParameter"),