You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parsing this file will result on the following error on your end :
panic: expected value for key "zero" be a string but got <nil> [recovered]
panic: expected value for key "zero" be a string but got <nil>
Is it possible to instead of throwing an error use the default specified in DefaultMessage ?
DefaultMessage: &Message{
ID: "unknownTranslationMulti",
Zero: "You have no messages",
One: "You have {{.Count}} message",
Other: "You have {{.Count}} messages",
},
so basically merge them ?
And only for values that are null , if it is an actual empty string it hase been set deliberately to an empty value.
The text was updated successfully, but these errors were encountered:
i'm using phraseApp for translations. and if I leave one of the pluralized values untranslated they will end up as
null
:parsing this file will result on the following error on your end :
Is it possible to instead of throwing an error use the default specified in DefaultMessage ?
so basically merge them ?
And only for values that are
null
, if it is an actual empty string it hase been set deliberately to an empty value.The text was updated successfully, but these errors were encountered: