UNPKG

775 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const WarningAggregator_1 = require("../WarningAggregator");
4function getLocales(config) {
5 if (config.locales) {
6 return true;
7 }
8 else {
9 return false;
10 }
11}
12exports.getLocales = getLocales;
13function 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}
20exports.setLocalesAsync = setLocalesAsync;
21//# sourceMappingURL=Locales.js.map
\No newline at end of file