dotnet / dotnet/msbuild

Improve pluralization of terms for summaries in the product

Open
#9,921 1 comment 0 reactions 0 assignees View on GitHub
Area: Terminal Logger Priority:3 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

> In every case when we say `warning(s)` or `error(s)` we _know_ if the quantity is plural or not, so we should just pluralize the noun correctly - both on this final-build summary and on the per-project summaries.

See [discussion](https://github.com/dotnet/msbuild/pull/9920#issuecomment-2018237391) in the PR.

In short, the current RESX-based localization method makes it _very_ hard to report pluralized and singular terms for values without a large amount of developer overhead. This desired error report summary is one example, and in https://github.com/dotnet/msbuild/pull/9929 @nohwnd and I were discussing the same problem - reporting singular and plural forms of successes, failures, and skipped tests leads to an _explosion_ of terms in order to support different language grammars and layout.

We need a system that doesn't impose so much burden on developers.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.