[web] qns/ui: fix UI questions metadata list generation script (#1440)
This commit is contained in:
parent
96c51aa673
commit
506394d1af
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -77,9 +77,6 @@ export function getQuestionOutPathUserInterfaceFrameworkSetup(
|
|||
);
|
||||
}
|
||||
|
||||
export function getQuestionsListOutFilenameUserInterface(_locale: string) {
|
||||
return path.join(
|
||||
QUESTIONS_OUT_DIR_USER_INTERFACE,
|
||||
'UserInterfaceQuestionsList.json',
|
||||
);
|
||||
export function getQuestionsListOutFilenameUserInterface(locale: string) {
|
||||
return path.join(QUESTIONS_OUT_DIR_USER_INTERFACE, `list.${locale}.json`);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,10 +95,12 @@ export async function generateAllMetadata() {
|
|||
locale,
|
||||
),
|
||||
),
|
||||
generateQuestionsMetadata(
|
||||
readQuestionListMetadataUserInterface,
|
||||
getQuestionsListOutFilenameUserInterface(sourceLocale),
|
||||
sourceLocale,
|
||||
...locales.map((locale) =>
|
||||
generateQuestionsMetadata(
|
||||
readQuestionListMetadataUserInterface,
|
||||
getQuestionsListOutFilenameUserInterface(locale),
|
||||
locale,
|
||||
),
|
||||
),
|
||||
...locales.map((locale) =>
|
||||
codingQuestionsMetadata(
|
||||
|
|
|
|||
Loading…
Reference in New Issue