[agent/codex:gpt-5.4-mini] Read ~/spec/code/core/go/i18n/RFC.md fully. Find features de... #203
2 changed files with 6 additions and 0 deletions
|
|
@ -322,3 +322,8 @@ func (s *CoreService) IsRTL() bool {
|
|||
func (s *CoreService) PluralCategory(n int) PluralCategory {
|
||||
return s.svc.PluralCategory(n)
|
||||
}
|
||||
|
||||
// CurrentPluralCategory returns the plural category for the wrapped service language.
|
||||
func (s *CoreService) CurrentPluralCategory(n int) PluralCategory {
|
||||
return s.PluralCategory(n)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -355,6 +355,7 @@ func TestCoreService_DelegatesToWrappedService(t *testing.T) {
|
|||
assert.Equal(t, svc.Direction(), coreSvc.CurrentDirection())
|
||||
assert.Equal(t, svc.IsRTL(), coreSvc.IsRTL())
|
||||
assert.Equal(t, svc.PluralCategory(2), coreSvc.PluralCategory(2))
|
||||
assert.Equal(t, svc.PluralCategory(2), coreSvc.CurrentPluralCategory(2))
|
||||
assert.Equal(t, svc.Mode(), coreSvc.CurrentMode())
|
||||
assert.Equal(t, svc.Language(), coreSvc.CurrentLanguage())
|
||||
assert.Equal(t, svc.Fallback(), coreSvc.CurrentFallback())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue