Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit ccafce2

Browse files
Fixed typo in translator.js docs
1 parent ba0a396 commit ccafce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lang/translator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* after <script src='lang/translator.js' type='text/javascript'></script>.
88
* For example - <script src='lang/ru.js' type='text/javascript'></script>
99
*
10-
* If you wish to translate some new texsts you should do two things:
10+
* If you wish to translate some new texts you should do two things:
1111
* 1. Add a new phrase pair ("New Phrase": "New Translation") into your language file (for example lang/ru.js). It will be great if you add it in other language files too.
1212
* 2. Mark that text it templates this way <anyHtmlTag data-sw-translate>New Phrase</anyHtmlTag> or <anyHtmlTag data-sw-translate value='New Phrase'/>.
1313
* The main thing here is attribute data-sw-translate. Only inner html, title-attribute and value-attribute are going to translate.

0 commit comments

Comments
 (0)