Skip to content

Commit

Permalink
Merge branch 'main' into add-default-lang
Browse files Browse the repository at this point in the history
  • Loading branch information
korvin89 authored Jan 24, 2024
2 parents 2410a72 + 70c7875 commit bb07ff1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @dgaponov
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Logger should have explicit `log` method with following signature:
const ru = require('./keysets/ru.json');
const en = require('./keysets/en.json');

const {I18N} = require('../src');
const {I18N} = require('@gravity-ui/i18n');

const i18n = new I18N();
i18n.registerKeysets('ru', ru);
Expand Down Expand Up @@ -107,7 +107,7 @@ The library supports templating. Templated variables are enclosed in double curl
#### `index.js`

```js
i18n('label_template', {inputValue: 'something', folderName: 'somewhere'}); // => No matches found for "something" "somewhere"
i18n('label_template', {inputValue: 'something', folderName: 'somewhere'}); // => No matches found for "something" in "somewhere"
```

### Pluralization
Expand Down

0 comments on commit bb07ff1

Please sign in to comment.