-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from Aerex/fix/ignore-regexp-checkup-variable
- Loading branch information
Showing
9 changed files
with
190 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package code | ||
|
||
import "fmt" | ||
|
||
func main() { | ||
locale := "Translated hello world!" | ||
fmt.Println(T(locale)) | ||
locale = "For you and for me" | ||
fmt.Println(T(locale)) | ||
locale = "I like bananas" | ||
fmt.Println(T(locale)) | ||
} |
14 changes: 14 additions & 0 deletions
14
test_fixtures/checkup/variable/translations/en_US.all.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"id": "Translated hello world!", | ||
"translation": "Translated hello world!" | ||
}, | ||
{ | ||
"id": "For you and for me", | ||
"translation": "For you and for me" | ||
}, | ||
{ | ||
"id": "I like bananas", | ||
"translation": "I like bananas" | ||
} | ||
] |
14 changes: 14 additions & 0 deletions
14
test_fixtures/checkup/variable/translations/zh_CN.all.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"id": "Translated hello world!", | ||
"translation": "你好世界!" | ||
}, | ||
{ | ||
"id": "For you and for me", | ||
"translation": "为你,为我" | ||
}, | ||
{ | ||
"id": "I like bananas", | ||
"translation": "我喜欢吃香蕉" | ||
} | ||
] |