Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelAdell committed Aug 30, 2024
2 parents e4d5ee1 + f1a9a97 commit e7e7748
Show file tree
Hide file tree
Showing 58 changed files with 3,069 additions and 1,064 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Application testing
on:
push:
workflow_dispatch:
jobs:
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install apt libraries
run: sudo apt install gettext -y

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "16.14.0"

- name: Install yarn
run: npm install -g yarn

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache yarn dependencies
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile --silent

- name: Install translations
run: yarn localize

- name: Run jest tests
run: yarn test

- name: Run typescript tests
run: npx tsc
222 changes: 147 additions & 75 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,77 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-05-10T09:58:18.688Z\n"
"PO-Revision-Date: 2024-05-10T09:58:18.688Z\n"
"POT-Creation-Date: 2024-07-08T18:07:48.975Z\n"
"PO-Revision-Date: 2024-07-08T18:07:48.975Z\n"

msgid "ID"
msgstr ""

msgid "Username"
msgstr ""

msgid "Password"
msgstr ""

msgid "Name"
msgstr ""

msgid "First name"
msgstr ""

msgid "Surname"
msgstr ""

msgid "Email"
msgstr ""

msgid "Phone number"
msgstr ""

msgid "Updated"
msgstr ""

msgid "Last login"
msgstr ""

msgid "API URL"
msgstr ""

msgid "Created"
msgstr ""

msgid "Roles"
msgstr ""

msgid "Groups"
msgstr ""

msgid "OUCapture"
msgstr ""

msgid "OUOutput"
msgstr ""

msgid "OUSearch"
msgstr ""

msgid "Disabled"
msgstr ""

msgid "Status"
msgstr ""

msgid "Open ID"
msgstr ""

msgid "Created by"
msgstr ""

msgid "Last modified by"
msgstr ""

msgid "Only admin user can edit logger settings"
msgstr ""

msgid "Copy to clipboard"
msgstr ""
Expand Down Expand Up @@ -35,7 +104,7 @@ msgstr ""
msgid "Replicate error"
msgstr ""

msgid "Settings"
msgid "Save"
msgstr ""

msgid "Columns to show in table"
Expand All @@ -44,13 +113,55 @@ msgstr ""
msgid "Column"
msgstr ""

msgid "Type"
msgid "Copy in user: {{user}}"
msgstr ""

msgid "Created"
msgid "Select one toggle"
msgstr ""

msgid "Updated"
msgid "Select at least one user"
msgstr ""

msgid "Bulk update strategy: "
msgstr ""

msgid "Merge"
msgstr ""

msgid "Replace"
msgstr ""

msgid "Search"
msgstr ""

msgid "User Groups"
msgstr ""

msgid "OU Outputs"
msgstr ""

msgid "User Roles"
msgstr ""

msgid "OU Capture"
msgstr ""

msgid "Import/Export"
msgstr ""

msgid "Import"
msgstr ""

msgid "Export to CSV"
msgstr ""

msgid "Export to JSON"
msgstr ""

msgid "Export empty template"
msgstr ""

msgid "Type"
msgstr ""

msgid "Deleted"
Expand All @@ -77,12 +188,6 @@ msgstr ""
msgid "Users"
msgstr ""

msgid "Import"
msgstr ""

msgid "Status"
msgstr ""

msgid "Summary"
msgstr ""

Expand All @@ -98,15 +203,6 @@ msgstr ""
msgid "Update strategy: "
msgstr ""

msgid "Merge"
msgstr ""

msgid "Replace"
msgstr ""

msgid "Search"
msgstr ""

msgid "Assign roles to {{usernames}}"
msgstr ""

Expand All @@ -122,6 +218,12 @@ msgstr ""
msgid "Help"
msgstr ""

msgid "Settings"
msgstr ""

msgid "Logger"
msgstr ""

msgid "General info"
msgstr ""

Expand All @@ -134,9 +236,6 @@ msgstr ""
msgid "Error saving user"
msgstr ""

msgid "Save"
msgstr ""

msgid "Cancel"
msgstr ""

Expand Down Expand Up @@ -167,24 +266,9 @@ msgstr ""
msgid "First Name"
msgstr ""

msgid "Name"
msgstr ""

msgid "Password"
msgstr ""

msgid "Account expiration date"
msgstr ""

msgid "Surname"
msgstr ""

msgid "Username"
msgstr ""

msgid "Email"
msgstr ""

msgid "Phone Number"
msgstr ""

Expand All @@ -203,18 +287,9 @@ msgstr ""
msgid "Twitter"
msgstr ""

msgid "Disabled"
msgstr ""

msgid "External authentication only (OpenID or LDAP)"
msgstr ""

msgid "User Roles"
msgstr ""

msgid "User Groups"
msgstr ""

msgid "Data Capture Organisation Units"
msgstr ""

Expand All @@ -224,9 +299,6 @@ msgstr ""
msgid "Search Organisation Units"
msgstr ""

msgid "Open ID"
msgstr ""

msgid "LDAP identifier"
msgstr ""

Expand All @@ -242,24 +314,6 @@ msgstr ""
msgid "Last updated"
msgstr ""

msgid "Last login"
msgstr ""

msgid "ID"
msgstr ""

msgid "API URL"
msgstr ""

msgid "Roles"
msgstr ""

msgid "Groups"
msgstr ""

msgid "OU Capture"
msgstr ""

msgid "OU Output"
msgstr ""

Expand Down Expand Up @@ -323,12 +377,6 @@ msgstr ""
msgid "User ID"
msgstr ""

msgid "First name"
msgstr ""

msgid "Phone number"
msgstr ""

msgid "Data capture organisation units"
msgstr ""

Expand Down Expand Up @@ -364,6 +412,9 @@ msgstr ""
msgid "Saving..."
msgstr ""

msgid "Table exported: {{filename}}"
msgstr ""

msgid "Distributed under GNU GLPv3"
msgstr ""

Expand Down Expand Up @@ -406,6 +457,27 @@ msgstr ""
msgid "MSF"
msgstr ""

msgid "Settings saved"
msgstr ""

msgid "Enable Logger"
msgstr ""

msgid "Tracker Program"
msgstr ""

msgid "Username Attribute"
msgstr ""

msgid "Program Stages"
msgstr ""

msgid "Data Element File ID"
msgstr ""

msgid "Data Element DateTime"
msgstr ""

msgid "Edit users"
msgstr ""

Expand Down
Loading

0 comments on commit e7e7748

Please sign in to comment.