Skip to content

Commit

Permalink
Include change from #18942
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Mar 27, 2020
1 parent aff0aef commit 4b7b107
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/i18n/src/create-i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ import Tannin from 'tannin';
*/
const DEFAULT_LOCALE_DATA = {
'': {
plural_forms: ( n ) => ( n === 1 ? 0 : 1 ),
/** @param {number} n */
plural_forms( n ) {
return n === 1 ? 0 : 1;
},
},
};

Expand Down

0 comments on commit 4b7b107

Please sign in to comment.