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
I would like to declare singular and plural strings outside gettextCatalog.getPlural. Case :
// js file where gettext cannot be injectedconstobjects=[{key: OBJECT1,singular: '',plural: '', ... },{key: OBJECT2,singular: '',plural: '', ... },]// usage :gettextCatalog.getPlural(n,object.singular,object.plural);
If I declare a gettext() function to tag the strings, getPlural never links with the plural string because the strings needs to be linked together as :
Hi @rubenv ,
I would like to declare singular and plural strings outside
gettextCatalog.getPlural
. Case :If I declare a
gettext()
function to tag the strings,getPlural
never links with the plural string because the strings needs to be linked together as :How can I do that without
getPlural
?(when
objects
is created the code does not known
)The text was updated successfully, but these errors were encountered: