Repository navigation
Belarusian: a space between a number and its hour/minute unit - #1192
Merged
Merged
Conversation
Belarusian sets an abbreviated unit off from its number with a space. The
owner, a Belarusian speaker, confirmed it, and the usage is attested: the
journal "Роднае слова" 2020/6 writes "140 км", "207,6 тыс. км²" and "1943 г.",
and Belarusian Wikipedia's hour article writes "3 г. 5 хв.". Our Belarusian
catalog wrote the hour and minute units flush against the number ("2г 14хв").
Keep the abbreviations "г" and "хв" as they are and add only the space, so the
Library rail's hour bands (library_rail.hours, hours_or_more), the duration
captions (core.duration_*), the time-left captions (core.time_left_*) and the
Under posters example (under_posters.details_copy) agree with the usual
Belarusian spacing and with each other.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P6ZnFcEf1mdNNPRWAbfSaU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Belarusian sets an abbreviated unit off from its number with a space; our catalog wrote the hour and minute units flush against it ("2г 14хв"). Seven Belarusian strings get a plain space; the abbreviations "г" and "хв" are unchanged.
core.duration_hours{hours}г {minutes}хв{hours} г {minutes} хвcore.duration_minutes{minutes}хв{minutes} хвcore.time_left_hoursЗасталося {hours}г {minutes}хвЗасталося {hours} г {minutes} хвcore.time_left_minutesЗасталося {minutes}хвЗасталося {minutes} хвlibrary_rail.hours{hours}г{hours} гlibrary_rail.hours_or_more{hours}г+{hours} г+under_posters.details_copy(the example)2019 · 2г 14хв2019 · 2 г 14 хвWhy: a Belarusian reviewer (the owner) asked why Russian had the space and Belarusian did not, and confirmed the space. The usage is attested: the journal "Роднае слова" 2020/6 writes "140 км", "207,6 тыс. км²" and "1943 г." (the issue text was extracted and searched; it never abbreviates an hour or a minute), and Belarusian Wikipedia's hour article writes "3 г. 5 хв.". The rail's hour was documented as "spaced as
core.duration_hoursspaces it", which was false for Belarusian and is true again; the fourcorestrings and the Under posters example move with it so the catalog agrees with itself (the rail testa_duration_band_wears_the_languages_own_short_hour_unitties the rail tocore.duration_hours).Language-review result for the other two keys checked in the same pass: the Belarusian decade label "{decade}-я" stands (the same issue writes "1960-я гг.", "1900–1920-я гады"); the hour abbreviation "г" is kept because no authoritative source for another one was found (not determined: "гадз." was a guess and found no support).
Gates
Crate-level, on the worker's tree (one commit, locale files only):
plx_screens1879 pass (includes the rail fit test over every shipped language, the Under posters copy-height and string-fit tests, the sort-value and Also available fit tests),plx_ui1487 pass,plx_platform354 pass;ci/check-localization.py,ci/check-language-lists.pyand their unit tests green. Onepr-reviewerpass: no findings (it listed every renderer of the changed keys and which ones an every-language test covers; the others elide, marquee or drop a chip).Limits
details_copyparagraph (the sort-value line already makes its spaces non-breaking in code).No issue to close.
🤖 Generated with Claude Code
https://claude.ai/code/session_01P6ZnFcEf1mdNNPRWAbfSaU