1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const WarningAggregator_1 = require("../WarningAggregator");
|
4 | function getLocales(config) {
|
5 | if (config.locales) {
|
6 | return true;
|
7 | }
|
8 | else {
|
9 | return false;
|
10 | }
|
11 | }
|
12 | exports.getLocales = getLocales;
|
13 | function setLocalesAsync(config, projectRoot) {
|
14 | let locales = getLocales(config);
|
15 | if (!locales) {
|
16 | return;
|
17 | }
|
18 | WarningAggregator_1.addWarningIOS('locales', 'You will need to customize the locales manually in InfoPlist.strings.', 'https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html');
|
19 | }
|
20 | exports.setLocalesAsync = setLocalesAsync;
|
21 |
|
\ | No newline at end of file |