-
Notifications
You must be signed in to change notification settings - Fork 16
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 #3084 from dhis2/dev
fix: merge to master
- Loading branch information
Showing
26 changed files
with
831 additions
and
728 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
const fs = require('fs') | ||
const path = require('path') | ||
|
||
const getAllFiles = (dirPath, arrayOfFiles = []) => { | ||
const files = fs.readdirSync(dirPath) | ||
|
||
files.forEach((file) => { | ||
if (fs.statSync(path.join(dirPath, file)).isDirectory()) { | ||
arrayOfFiles = getAllFiles(path.join(dirPath, file), arrayOfFiles) | ||
} else if (path.extname(file) === '.js') { | ||
arrayOfFiles.push(path.join(dirPath, file)) | ||
} | ||
}) | ||
|
||
return arrayOfFiles | ||
} | ||
|
||
const createGroups = (files, numberOfGroups = 5) => { | ||
const groups = [] | ||
for (let i = 0; i < numberOfGroups; i++) { | ||
groups.push([]) | ||
} | ||
|
||
files.forEach((file, index) => { | ||
groups[index % numberOfGroups].push(file) | ||
}) | ||
|
||
return groups.map((group, index) => ({ id: index + 1, tests: group })) | ||
} | ||
|
||
const cypressSpecsPath = './cypress/integration' | ||
const specs = getAllFiles(cypressSpecsPath) | ||
const groupedSpecs = createGroups(specs) | ||
|
||
console.log(JSON.stringify(groupedSpecs)) |
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,16 +1,16 @@ | ||
# | ||
# Translators: | ||
# KRG HIS <[email protected]>, 2020 | ||
# Philip Larsen Donnelly, 2020 | ||
# Hamza Assada <[email protected]>, 2022 | ||
# Viktor Varland <[email protected]>, 2022 | ||
# Philip Larsen Donnelly, 2024 | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: i18next-conv\n" | ||
"POT-Creation-Date: 2024-03-01T08:28:43.727Z\n" | ||
"PO-Revision-Date: 2019-06-25 18:46+0000\n" | ||
"Last-Translator: Viktor Varland <[email protected]>, 2022\n" | ||
"Last-Translator: Philip Larsen Donnelly, 2024\n" | ||
"Language-Team: Arabic (https://app.transifex.com/hisp-uio/teams/100509/ar/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
|
@@ -163,14 +163,8 @@ msgstr "تحميل" | |
msgid "Hide" | ||
msgstr "إخفاء" | ||
|
||
msgid "All" | ||
msgstr "الجميع" | ||
|
||
msgid "{{total}} of {{axisMaxNumberOfItems}} selected" | ||
msgstr "{{total}} من {{axisMaxNumberOfItems}} تم تحديدها" | ||
|
||
msgid "{{total}} selected" | ||
msgstr "{{total}} تم تحديدها" | ||
msgid "all" | ||
msgstr "" | ||
|
||
msgid "{{dimensionName}} is locked to {{axisName}} for {{visTypeName}}" | ||
msgstr "{{dimensionName}} مقفل على {{axisName}} لـ {{visTypeName}}" | ||
|
@@ -470,6 +464,9 @@ msgstr "بعد الأخير" | |
msgid "Before first and after last" | ||
msgstr "قبل الأول وبعد الأخير" | ||
|
||
msgid "All" | ||
msgstr "الجميع" | ||
|
||
msgid "Hide empty rows" | ||
msgstr "إخفاء الصفوف الفارغة" | ||
|
||
|
@@ -729,7 +726,7 @@ msgstr "" | |
"منفصلة." | ||
|
||
msgid "Category option combination" | ||
msgstr "" | ||
msgstr "مزيج خيارات الفئة" | ||
|
||
msgid "Absolute deviation" | ||
msgstr "" | ||
|
Oops, something went wrong.