daw_i18n/v1: one resource_id per site, also within a file #22
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type
bug
type
config
type
deployment
type/design
type
docs
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/daw-contracts#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
daw_i18n/v1(section 4) says that independent construction sites MUSTNOT share a
resource_idonly because their text is identical. It doesnot say whether two sites in one file are independent. In practice
resource_ids are used at several sites: a count over the sources found13 ids used more than once in DAW/daw-module-manager and 2 in
DAW/daw-modul-berhtjan-core, copy-pasted boilerplate for the most part.
The
resource_idalso marks the place where a message arises. That onlyworks if it is unique per site; translating a text twice is a one-time
cost.
Scope
specification.md,validation_rulesincontract.json:every site that produces a message (an error construction, an event
sent) has its own
resource_id, also within one filerationale.md: why, and that it can be checked by countingAcceptance criteria
fragjan code .(DAW/fragjan#152, done)Related
DAW/fragjan#152, DAW/daw-module-manager and DAW/daw-modul-berhtjan-core
(duplicates to fix, separate issues)
Implemented on main
Commits:
f1fbbd9Pushed. Follow-up points, if any, are tracked in their own issues.