File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -170,15 +170,15 @@ DeviceInfoProvider::SupportedLocalesIterator * DeviceInfoProviderImpl::IterateSu
170170size_t DeviceInfoProviderImpl::SupportedLocalesIteratorImpl::Count ()
171171{
172172 // Hardcoded list of locales
173- // {("en-US")}
173+ // {("en-US", "en-GB" )}
174174
175175 return kNumSupportedLocales ;
176176}
177177
178178bool DeviceInfoProviderImpl::SupportedLocalesIteratorImpl::Next (CharSpan & output)
179179{
180180 // Hardcoded list of locales
181- static const char * kAllSupportedLocales [kNumSupportedLocales ] = { " en-US" };
181+ static const char * kAllSupportedLocales [kNumSupportedLocales ] = { " en-US" , " en-GB " };
182182
183183 VerifyOrReturnError (mIndex < kNumSupportedLocales , false );
184184 output = CharSpan::fromCharString (kAllSupportedLocales [mIndex ]);
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class DeviceInfoProviderImpl : public DeviceInfoProvider
7777 void Release () override { chip::Platform::Delete (this ); }
7878
7979 private:
80- static constexpr size_t kNumSupportedLocales = 1 ;
80+ static constexpr size_t kNumSupportedLocales = 2 ;
8181 size_t mIndex = 0 ;
8282 };
8383
You can’t perform that action at this time.
0 commit comments