Skip to content

Commit

Permalink
Update readme and fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ivictbor committed Apr 18, 2021
1 parent 487fd39 commit 1c87d23
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,14 +334,16 @@ Translated languages:
|-|-|
| `ca` | Catalan |
| `de` | German |
| `en` | English |
| `es` | Spanish |
| `fa` | Iran-Farsi (Persian (Ir-Fa) |
| `fr` | French |
| `ja` | Japanese |
| `en` | English |
| `es` | Spanish |
| `pl` | Polish |
| `pt-PT` | European Portuguese |
| `pt-BR` | Brazilian Portuguese |
| `ru` | Russian |


If you want to add another language, then fork. Create file in folder langs for your translation and copy [langs/en.lang.js] in it. Then translate all `'Strings'` and add reference in [js/translation.js]. After that create pull-request, or just open [issue](https://github.com/devforth/painterro/issues)
if you don't know how to create a PR.
Expand Down
2 changes: 1 addition & 1 deletion langs/ru.lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ export default {
over: 'Вставить',
how_to_paste: 'Как вставить?',
},
};
};
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "painterro",
"version": "1.2.39",
"version": "1.2.40",
"description": "HTML5 image editing widget (js paint plugin)",
"main": "build/painterro.commonjs2.js",
"repository": {
Expand Down

0 comments on commit 1c87d23

Please sign in to comment.