fbt-inline-translations 0.1.0 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
package/.idea/misc.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="WebPackConfiguration">
4
+ <option name="mode" value="DISABLED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/inline-translations.iml" filepath="$PROJECT_DIR$/.idea/inline-translations.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # 👽 Inline translations for FBT
2
2
 
3
- ![Demo of FBT inline translating](images/demo.gif)
3
+ ![Demo of FBT inline translating](https://raw.githubusercontent.com/swiftyper-sk/fbt-inline-translations/main/images/demo.gif)
4
4
 
5
5
 
6
6
  ## ℹ️ Usage notes
@@ -22,7 +22,7 @@ Register your FBT project on [Swiftyper Translations](https://translations.swift
22
22
 
23
23
  ### Non-React usage
24
24
 
25
- Add this code to page your page:
25
+ Add this code to your page:
26
26
 
27
27
  ```html
28
28
  <div id="inline-translator"></div>
@@ -33,7 +33,7 @@ Add this code to page your page:
33
33
  token: 'YOUR_API_KEY_HERE',
34
34
  locale: 'sk_SK', // translation locale
35
35
  contributor: 'contributor@email.com', // contributor must be invited
36
- darkMode: false, // dark mode also depends on html class 'dark'
36
+ darkMode: false, // dark mode also depends on html class 'tw-dark'
37
37
  })
38
38
  </script>
39
39
  ```