-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev/7.6.x' into jtw/deprecate-file-type-checking-setting
- Loading branch information
Showing
36 changed files
with
341 additions
and
253 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,43 +1,43 @@ | ||
|
||
module.exports = { | ||
input: { | ||
path: "./{{ project_name }}/src", // only files in this directory are considered for extraction | ||
include: ["**/*.vue", "**/*.ts"], // glob patterns to select files for extraction | ||
exclude: [], // glob patterns to exclude files from extraction | ||
jsExtractorOpts:[ // custom extractor keyword. default empty. | ||
{ | ||
keyword: "__", // only extractor default keyword such as $gettext,use keyword to custom | ||
options: { // see https://github.com/lukasgeiter/gettext-extractor | ||
content: { | ||
replaceNewLines: "\n", | ||
}, | ||
arguments: { | ||
text: 0, | ||
}, | ||
}, | ||
input: { | ||
path: "./{{ project_name }}/src", // only files in this directory are considered for extraction | ||
include: ["**/*.vue", "**/*.ts"], // glob patterns to select files for extraction | ||
exclude: [], // glob patterns to exclude files from extraction | ||
jsExtractorOpts: [ // custom extractor keyword. default empty. | ||
{ | ||
keyword: "__", // only extractor default keyword such as $gettext,use keyword to custom | ||
options: { // see https://github.com/lukasgeiter/gettext-extractor | ||
content: { | ||
replaceNewLines: "\n", | ||
}, | ||
{ | ||
keyword: "_n", // $ngettext | ||
options: { | ||
content: { | ||
replaceNewLines: "\n", | ||
}, | ||
arguments: { | ||
text: 0, | ||
textPlural: 1, | ||
}, | ||
}, | ||
arguments: { | ||
text: 0, | ||
}, | ||
], | ||
compileTemplate: false, // do not compile <template> tag when its lang is not html | ||
}, | ||
}, | ||
output: { | ||
path: "./{{ project_name }}/locale", // output path of all created files | ||
potPath: "./messages.pot", // relative to output.path, so by default "./src/language/messages.pot" | ||
jsonPath: "./", // relative to output.path, so by default "./src/language/translations.json" | ||
locales: ["en"], | ||
flat: false, // don't create subdirectories for locales | ||
linguas: false, // create a LINGUAS file | ||
splitJson: true, // create separate json files for each locale. If used, jsonPath must end with a directory, not a file | ||
{ | ||
keyword: "_n", // $ngettext | ||
options: { | ||
content: { | ||
replaceNewLines: "\n", | ||
}, | ||
arguments: { | ||
text: 0, | ||
textPlural: 1, | ||
}, | ||
}, | ||
}, | ||
], | ||
compileTemplate: false, // do not compile <template> tag when its lang is not html | ||
}, | ||
output: { | ||
path: "./{{ project_name }}/locale", // output path of all created files | ||
potPath: "./messages.pot", // relative to output.path, so by default "./src/language/messages.pot" | ||
jsonPath: "./", // relative to output.path, so by default "./src/language/translations.json" | ||
locales: ["en"], | ||
flat: false, // don't create subdirectories for locales | ||
linguas: false, // create a LINGUAS file | ||
splitJson: true, // create separate json files for each locale. If used, jsonPath must end with a directory, not a file | ||
}, | ||
}; |
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
2 changes: 1 addition & 1 deletion
2
arches/install/arches-templates/project_name/src/declarations.d.ts
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.