🌐 Add missing gift claimed localization
This commit is contained in:
@@ -212,5 +212,17 @@ namespace DysonNetwork.Sphere.Resources.Localization {
|
||||
return ResourceManager.GetString("TransactionNewBodyMinus", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
internal static string GiftClaimedTitle {
|
||||
get {
|
||||
return ResourceManager.GetString("GiftClaimedTitle", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
internal static string GiftClaimedBody {
|
||||
get {
|
||||
return ResourceManager.GetString("GiftClaimedBody", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,4 +107,10 @@
|
||||
<data name="TransactionNewBodyMinus" xml:space="preserve">
|
||||
<value>{0} {1} removed from your wallet</value>
|
||||
</data>
|
||||
<data name="GiftClaimedTitle" xml:space="preserve">
|
||||
<value>Someone claimed your gift</value>
|
||||
</data>
|
||||
<data name="GiftClaimedBody" xml:space="preserve">
|
||||
<value>Your gift {0} has been claimed by {1}</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -99,4 +99,10 @@
|
||||
<data name="TransactionNewBodyMinus" xml:space="preserve">
|
||||
<value>{0} {1} 从您的钱包移除</value>
|
||||
</data>
|
||||
<data name="GiftClaimedTitle" xml:space="preserve">
|
||||
<value>有人领取了你的礼物</value>
|
||||
</data>
|
||||
<data name="GiftClaimedBody" xml:space="preserve">
|
||||
<value>你的礼物 {0} 已被 {1} 领取</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -983,7 +983,7 @@ public class SubscriptionService(
|
||||
{
|
||||
Topic = "gifts.claimed",
|
||||
Title = localizer["GiftClaimedTitle"],
|
||||
Body = localizer["GiftClaimedBody", humanReadableName, redeemer.Name ?? redeemer.Id.ToString()],
|
||||
Body = localizer["GiftClaimedBody", humanReadableName, redeemer.Name],
|
||||
Meta = GrpcTypeHelper.ConvertObjectToByteString(new Dictionary<string, object>
|
||||
{
|
||||
["gift_id"] = gift.Id.ToString(),
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=DysonNetwork_002EPass_002FResources_002FLocalization_002FEmailResource/@EntryIndexedValue">False</s:Boolean>
|
||||
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=DysonNetwork_002EPass_002FResources_002FLocalization_002FNotificationResource/@EntryIndexedValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=DysonNetwork_002EPass_002FResources_002FLocalization_002FNotificationResource/@EntryIndexedValue">True</s:Boolean>
|
||||
|
||||
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=DysonNetwork_002EPass_002FResources_002FLocalization_002FSharedResource/@EntryIndexedValue">False</s:Boolean>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user