MCPcopy Create free account
hub / github.com/JohnWeisz/TypedJSON / localization

Function localization

spec/array.spec.ts:177–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 }
176
177 function localization() {
178 return [
179 {
180 language_tag: 'en_us',
181 '/actions/main': 'My Game Actions',
182 '/actions/driving': 'Driving',
183 },
184 {
185 language_tag: 'fr',
186 '/actions/main': 'Mes actions de jeux',
187 '/actions/driving': 'Conduire',
188 },
189 ];
190 }
191
192 it('should deserialize as is', () => {
193 const translations = TypedJSON.parse({localization: localization()}, Translations);

Callers 1

array.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected