• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / frontend / 8755942569
40%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2024 03:29PM UTC
Jobs 1
Files 551
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Apr 2024 03:22PM UTC coverage: 33.107% (+0.02%) from 33.084%
8755942569

push

github

web-flow
i18n framework (#2946)

* install i18n

* implement react-i18n basic setup

* Apply translate at the correct level

* Add locale selector in settings

* fix lint

* Update translation files

* rename the translation files to commons

* fix lint

* Update test snapshots

* fix lint

* Enable typechecking for keys and change default NS

Now, we are only able to use keys that are defined in the default
language (EN).

Also, changed the default NS to commons

* Add i18n files for Login page to demo namespaces

* Fix lint

* Update test snapshots

* Update tests for Login page

* Avoid dots in translation keys

* Use string as normal attribute in component

* Use typecast instead of  ts-expect-error

Also clean up how we declare the typedefs for the default language.

* Include pseudo resources only in dev environment

* Consistent formatting for i18n test instance file

* remove redundant guard

* Fix lint issues

* Refactor i18n resources

* Fix lint

* Use default value if key not found

* Use default export for LocaleSelector component

Done for consistency with the rest of the codebase.

---------

Co-authored-by: Richard Dominick <34370238+RichDom2185@users.noreply.github.com>

1931 of 6944 branches covered (27.81%)

Branch coverage included in aggregate %.

11 of 19 new or added lines in 7 files covered. (57.89%)

5288 of 14861 relevant lines covered (35.58%)

21.19 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
67.37
-1.45% src/commons/navigationBar/NavigationBar.tsx
6
25.0
src/commons/dropdown/LocaleSelector.tsx
Jobs
ID Job ID Ran Files Coverage
1 8755942569.1 19 Apr 2024 03:29PM UTC 551
33.11
GitHub Action Run
Source Files on build 8755942569
  • Tree
  • List 551
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 0dc574f7 on github
  • Prev Build on master (#8738989806)
  • Next Build on master (#8771791469)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc