File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ const messages = squeeze('/path/to/src', files)
76
76
fs .writeFileSync (' /path/to/src/messages.json' )
77
77
78
78
// after update locale messages with translation service or your code, it read locale messsages
79
- const translatedMessages = require' /path/to/src/translated' )
79
+ const translatedMessages = require ( ' /path/to/src/translated' )
80
80
81
81
// infuse locale message to single-file components
82
82
const updatedFiles = infuse (' /path/to/src' , files, translatedMessages)
@@ -106,7 +106,7 @@ The big motivation is as follows.
106
106
107
107
- :tired_face : Hard to integrate locale messages for localization services
108
108
- :tired_face : Hard to maintain consistency of locale message keys (` eslint-plugin-vue-i18n ` need it!)
109
- - :tired_face : Requested by third bender tools (` vue-i18n-ally ` and etc ...)
109
+ - :pray : Requested by third bender tools (` vue-i18n-ally ` and etc ...)
110
110
111
111
## :notebook : Locale message squeezing rules
112
112
You can’t perform that action at this time.
0 commit comments