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
{{ message }}
This repository was archived by the owner on May 4, 2019. It is now read-only.
Copy file name to clipboardexpand all lines: lang/translator.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
* after <script src='lang/translator.js' type='text/javascript'></script>.
8
8
* For example - <script src='lang/ru.js' type='text/javascript'></script>
9
9
*
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:
11
11
* 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.
12
12
* 2. Mark that text it templates this way <anyHtmlTag data-sw-translate>New Phrase</anyHtmlTag> or <anyHtmlTag data-sw-translate value='New Phrase'/>.
13
13
* The main thing here is attribute data-sw-translate. Only inner html, title-attribute and value-attribute are going to translate.
0 commit comments