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

justin-millman / Kvasir / 19000805943
99%
master: 98%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 01 Nov 2025 06:22PM UTC
Jobs 2
Files 176
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

01 Nov 2025 06:21PM UTC coverage: 98.338% (-0.2%) from 98.512%
19000805943

push

github

justin-millman
Translation of Localizations

This commit introduces Localizations, a new first-class property type that Kvasir can handle. A Localization
is any type derived from the Localization<K, L, V> generic, which in turn implements the brand new
ILocalization interface. Localizations are designed to support different values under different circumstances
for a single semantic, such as different languages' translations of text or different systems' units of
measurement.

The "key" of a Localization shows up in the Principal or Relation Table that "owns" the Localization, while
the locale-value pairs are aggregated into a Localization Table. All instances of a Localization Type share
a single Localization Table, so the keys must be unique-per-type, while the locales are necessarily unique
per-key. Derived Localization types cannot have their own properties included in the data model.

Annotations may be applied to a Localization's key in the Principal or Relation Table, but those constraints
do not propagate to the Localization Table. Data Converters are not supported, however. Localizations may
appear nested in Relations, but not in other Localizations; Relations cannot be nested in Localizations.

At this time, only the Schema-layer translation of Localizations is supported. Extraction and Reconstitution
will be implemented in future commits.

4250 of 4390 branches covered (96.81%)

Branch coverage included in aggregate %.

335 of 359 new or added lines in 20 files covered. (93.31%)

6994 of 7044 relevant lines covered (99.29%)

5666.52 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.35
0.06% src/Kvasir/Translation/TranslateEntity.cs
1
98.8
-0.71% src/Kvasir/Translation/TranslateType.cs
9
35.71
src/Kvasir/Localization/Localization.cs
13
91.16
src/Kvasir/Translation/FieldGroups/LocalizationKeyFieldGroup.cs
Jobs
ID Job ID Ran Files Coverage
1 Debug - 19000805943.1 01 Nov 2025 06:22PM UTC 176
97.97
GitHub Action Run
2 Release - 19000805943.2 01 Nov 2025 06:22PM UTC 176
98.83
GitHub Action Run
Source Files on build 19000805943
  • Tree
  • List 176
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f3d1b821 on github
  • Prev Build on main (#16401577818)
  • Next Build on main (#20612121300)
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

© 2026 Coveralls, Inc