-
Notifications
You must be signed in to change notification settings - Fork 36
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' into DHIS2-16777/rtl-support
- Loading branch information
Showing
32 changed files
with
546 additions
and
355 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
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) === '.feature') { | ||
arrayOfFiles.push(path.join(dirPath, file)) | ||
} | ||
}) | ||
|
||
return arrayOfFiles | ||
} | ||
|
||
const createGroups = (files, numberOfGroups = 8) => { | ||
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: i18next-conv\n" | ||
"POT-Creation-Date: 2024-02-26T14:42:02.563Z\n" | ||
"POT-Creation-Date: 2024-03-19T12:31:03.302Z\n" | ||
"PO-Revision-Date: 2019-06-25 12:37+0000\n" | ||
"Last-Translator: Hamza Assada <[email protected]>, 2024\n" | ||
"Language-Team: Arabic (https://app.transifex.com/hisp-uio/teams/100509/ar/)\n" | ||
|
@@ -66,8 +66,8 @@ msgid "" | |
"Use a spacer to create empty vertical space between other dashboard items." | ||
msgstr "استخدم فاصل لإنشاء مساحة رأسية فارغة بين عناصر لوحة المعلومات الأخرى" | ||
|
||
msgid "Text item" | ||
msgstr "عنصر نصي" | ||
msgid "Text box" | ||
msgstr "مربع نص" | ||
|
||
msgid "Add text here" | ||
msgstr "اضف نص هنا" | ||
|
@@ -81,6 +81,12 @@ msgstr "" | |
msgid "Filters not applied" | ||
msgstr "" | ||
|
||
msgid "Only Period and Organisation unit filters can be applied to this item" | ||
msgstr "" | ||
|
||
msgid "Some filters not applied" | ||
msgstr "" | ||
|
||
msgid "There was a problem loading this dashboard item" | ||
msgstr "حدثت مشكلة أثناء تحميل عنصر لوحة المعلومات هذا" | ||
|
||
|
@@ -332,9 +338,6 @@ msgstr "لا يمكن البحث عن عناصر لوحة معلومات بلا | |
msgid "Additional items" | ||
msgstr "عناصر إضافية" | ||
|
||
msgid "Text box" | ||
msgstr "مربع نص" | ||
|
||
msgid "Dashboard layout" | ||
msgstr "تخطيط لوحة المعلومات" | ||
|
||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: i18next-conv\n" | ||
"POT-Creation-Date: 2024-02-26T14:42:02.563Z\n" | ||
"POT-Creation-Date: 2024-03-19T12:31:03.302Z\n" | ||
"PO-Revision-Date: 2019-06-25 12:37+0000\n" | ||
"Last-Translator: Gabriela Rodriguez <[email protected]>, 2024\n" | ||
"Language-Team: Spanish (https://app.transifex.com/hisp-uio/teams/100509/es/)\n" | ||
|
@@ -76,8 +76,8 @@ msgstr "" | |
"Use el tabulador para crear un espacio vertical vacío con otro objeto del " | ||
"tablero." | ||
|
||
msgid "Text item" | ||
msgstr "Elemento de texto" | ||
msgid "Text box" | ||
msgstr "Caja de texto" | ||
|
||
msgid "Add text here" | ||
msgstr "Añada texto aquí" | ||
|
@@ -91,6 +91,12 @@ msgstr "Los filtros no se aplican a los elementos del tablero de listados" | |
msgid "Filters not applied" | ||
msgstr "Filtros no aplicados" | ||
|
||
msgid "Only Period and Organisation unit filters can be applied to this item" | ||
msgstr "" | ||
|
||
msgid "Some filters not applied" | ||
msgstr "" | ||
|
||
msgid "There was a problem loading this dashboard item" | ||
msgstr "Ha habido un problema al cargar este elemento del tablero" | ||
|
||
|
@@ -348,9 +354,6 @@ msgstr "No se pueden buscar elementos de tableros sin conexión a internet" | |
msgid "Additional items" | ||
msgstr "Objetos adicionales" | ||
|
||
msgid "Text box" | ||
msgstr "Caja de texto" | ||
|
||
msgid "Dashboard layout" | ||
msgstr "Diseño del tablero" | ||
|
||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: i18next-conv\n" | ||
"POT-Creation-Date: 2024-02-26T14:42:02.563Z\n" | ||
"POT-Creation-Date: 2024-03-19T12:31:03.302Z\n" | ||
"PO-Revision-Date: 2019-06-25 12:37+0000\n" | ||
"Last-Translator: Edem Kossi <[email protected]>, 2024\n" | ||
"Language-Team: French (https://app.transifex.com/hisp-uio/teams/100509/fr/)\n" | ||
|
@@ -75,8 +75,8 @@ msgstr "" | |
"Utilisez une entretoise pour créer un espace vertical vide entre les autres " | ||
"éléments du tableau de bord." | ||
|
||
msgid "Text item" | ||
msgstr "Élément de texte" | ||
msgid "Text box" | ||
msgstr "Zone de texte" | ||
|
||
msgid "Add text here" | ||
msgstr "Ajouter du texte ici" | ||
|
@@ -90,6 +90,12 @@ msgstr "" | |
msgid "Filters not applied" | ||
msgstr "" | ||
|
||
msgid "Only Period and Organisation unit filters can be applied to this item" | ||
msgstr "" | ||
|
||
msgid "Some filters not applied" | ||
msgstr "" | ||
|
||
msgid "There was a problem loading this dashboard item" | ||
msgstr "" | ||
"Un problème est survenu lors du chargement de cet objet du tableau de bord" | ||
|
@@ -350,9 +356,6 @@ msgstr "" | |
msgid "Additional items" | ||
msgstr "Objets additionnels" | ||
|
||
msgid "Text box" | ||
msgstr "Zone de texte" | ||
|
||
msgid "Dashboard layout" | ||
msgstr "Mise en page du tableau de bord" | ||
|
||
|
Oops, something went wrong.