INNER CODE UNIT · JavaScript
_setAppTypeText
nisrulz/app-privacy-policy-generator · src/js/main.js:203
function _setAppTypeText() {
state.typeOfAppTxt = ["Open Source", "Ad Supported"].includes(state.typeOfApp)
? "an " + state.typeOfApp
: "a " + state.typeOfApp;
}
function platformWord(key) {
var locale = window.__locale || {};
return locale[key] || key;
}
function _joinList(items, sepTwo, sepLast) {
if (items.length === 1) return items[0];
if (items.length === 2) return items[0] + " " + sepTwo + " " + items[1];
return items.slice(0, -1).join(", ") + sepLast + items[items.length - 1];
}
function _setPlatformText() {