Skip to content

Commit d41b9f7

Browse files
committed
Updated docs
1 parent 339dc91 commit d41b9f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ If you have [golang](https://go.dev/doc/install) installed, you can clone this r
4545
# Features
4646
- Finds your HTML visible strings and replaces with affixed one
4747
- Prefix and Suffix are customizable
48+
- By default set as "{{ __('" and "') }}"
4849
- If string contains one of the warning characters, it not replaces, but prints out location:
4950
- So it will not replace string with variable like "Price: {{$price}}", if you have '{' in warning character, it will give you exact location(file:line) to make it translatable manually
5051
- If string contains one of the ignoring characters, it just ignores string
@@ -66,7 +67,7 @@ You need to create "affixer.json" file in directory, from where you will run htm
6667
6768
// Parse
6869
(array) "ignore" - ignores strings which contains given character
69-
(array) "warnings" - Warns about strings which contains given characters (not replaces)
70+
(array) "warnings" - Warns about strings which contains given characters (not replaces)
7071
(array) "methods" - Uses only given parse methods. Available: text, placeholder, alt, title, hashtag
7172
7273
// Replace

0 commit comments

Comments
 (0)