-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ability to localize common characters (#208)
- Loading branch information
Showing
25 changed files
with
434 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,11 @@ | |
"rules": { | ||
"no-console": 0 | ||
} | ||
}, | ||
{ | ||
"files": "./lang/*.js", | ||
"rules": { | ||
"quotes": 0 | ||
} | ||
}] | ||
} |
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,9 @@ | ||
{ | ||
"name": "intl", | ||
"parser_plugin": { | ||
"plugin": "parse_js" | ||
}, | ||
"source_match": "en\\.js$", | ||
"source_dir": "lang", | ||
"output_file_path": "lang/%LANG%.js" | ||
} |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", // short name or description of the "'" character | ||
"intl-common:characters:ampersand": "ampersand", // short name or description of the "&" character | ||
"intl-common:characters:asterisk": "asterisk", // short name or description of the "*" character | ||
"intl-common:characters:backslash": "backslash", // short name or description of the "\" character | ||
"intl-common:characters:colon": "colon", // short name or description of the ":" character | ||
"intl-common:characters:comma": "comma", // short name or description of the "," character | ||
"intl-common:characters:greaterThan": "greater-than sign", // short name or description of the ">" character | ||
"intl-common:characters:lessThan": "less-than sign", // short name or description of the "<" character | ||
"intl-common:characters:numberSign": "number sign", // short name or description of the "#" character | ||
"intl-common:characters:percentSign": "percent sign", // short name or description of the "%" character | ||
"intl-common:characters:pipe": "pipe", // short name or description of the "|" character | ||
"intl-common:characters:questionMark": "question mark", // short name or description of the "?" character | ||
"intl-common:characters:quotationMark": "quotation mark", // short name or description of the '"' character | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
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,15 @@ | ||
export default { | ||
"intl-common:characters:apostrophe": "apostrophe", | ||
"intl-common:characters:ampersand": "ampersand", | ||
"intl-common:characters:asterisk": "asterisk", | ||
"intl-common:characters:backslash": "backslash", | ||
"intl-common:characters:colon": "colon", | ||
"intl-common:characters:comma": "comma", | ||
"intl-common:characters:greaterThan": "greater-than sign", | ||
"intl-common:characters:lessThan": "less-than sign", | ||
"intl-common:characters:numberSign": "number sign", | ||
"intl-common:characters:percentSign": "percent sign", | ||
"intl-common:characters:pipe": "pipe", | ||
"intl-common:characters:questionMark": "question mark", | ||
"intl-common:characters:quotationMark": "quotation mark", | ||
}; |
Oops, something went wrong.