sanctuary_l10n_core 0.4.0
sanctuary_l10n_core: ^0.4.0 copied to clipboard
A pure Dart localization toolkit for queer communities, providing a glossary and tools for handling grammatical gender to make inclusive language the default.
0.1.0 #
-
Initial release of the sanctuary_l10n_core package.
-
Added GrammaticalGender enum (masculine, feminine, neutral).
-
Included proof-of-concept community glossary .arb files for English and Spanish.
0.2.0 #
-
Major Feature: Added the first version of the SanctuaryL10n grammar engine.
-
Implemented the getAdjective function with initial rules for Spanish.
0.3.0 #
-
Major Feature: Added the SanctuaryVocabulary class to provide access to curated lists of terminology.
-
Added the PronounSet model for structured handling of pronouns.
-
The grammar engine now supports nouns and articles in addition to adjectives.
-
Added
getNoun(),getDefiniteArticle(), andgetIndefiniteArticle()functions. -
Expanded the Spanish rule set to include nouns and articles.
0.3.1 #
- Major Feature: Intelligent String Formatter
- Added the
SanctuaryL10n.format()function to generate grammatically correct sentences from a template string. - Introduced a simple placeholder syntax (e.g.,
{noun:friend},{adj:happy}).
- Added the
- Major Feature: Pluralization Support
- The grammar engine now supports singular and plural forms.
- Added
GrammaticalNumberenum (singular,plural). - The
format()function now accepts anumberparameter. - Updated all internal rule sets to include plural inflections.
0.4.0 #
- Major Feature: Verb Conjugation Engine
- The
SanctuaryL10n.format()function can now conjugate verbs based on pronoun context. - Added a new
{verb:base_verb:tense}placeholder to the template syntax. - The
PronounSetmodel was upgraded with aconjugationKeyto handle irregular verbs and special cases like the singular "they".
- The
- Vertical Expansion (English):
- Added a new rule set for irregular English verbs, starting with "to be" and "to have".
- API Improvement:
- The
format()function can now inferGrammaticalGenderfrom a providedPronounSet, simplifying its use. - Added
defaultGenderto thePronounSetmodel.
- The