{"version":3,"sources":["discourse/pre-initializers/theme-3-translations.js"],"names":["window","define","_exports","Object","defineProperty","value","default","_default","name","initialize","data","en","no_topics","confirm_change_tags","confirm_close","confirm_open","confirm_change_category","menu_label","modal","title","tags_placeholder","categories_placeholder","usernames_placeholder","apply","lang","cursor","I18n","translations","key"],"mappings":"AAAI,WAAYA,QAChBC,OAAO,0DAA2D,CAAC,YAAY,SAAUC,GACvF;AAEAC,OAAOC,eAAeF,EAAU,aAAc,CAC5CG,OAAO,IAETH,EAASI,aAAU;AACnB,IAAIC,EAAW,CACbC,KAAM,uBACNC,aAEE,MAAMC,EAAO,CACXC,GAAM,CACJC,UAAa,YACbC,oBAAuB,uDACvBC,cAAiB,0BACjBC,aAAgB,2BAChBC,wBAA2B,yBAC3BC,WAAc,QACdC,MAAS,CACPC,MAAS,uBACTC,iBAAoB,qBACpBC,uBAA0B,2BAC1BC,sBAAyB,sBACzBC,MAAS;AAIf,IAAK,IAAIC,KAAQd,EAAM,CACrB,IAAIe,EAASC,KAAKC;AAClB,IAAK,IAAIC,IAAO,CAACJ,EAAM,KAAM,sBAC3BC,EAASA,EAAOG,GAAOH,EAAOG,IAAQ,CAAC;AAEzCH,EAAO,GAAKf,EAAKc,EACnB,CACF;AAEFtB,EAASI,QAAUC,CACrB","sourceRoot":"theme-3/","sourcesContent":["if ('define' in window) {\ndefine(\"discourse/theme-3/pre-initializers/theme-3-translations\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    name: \"theme-3-translations\",\n    initialize() {\n      /* Translation data for theme 3 (en)*/\n      const data = {\n        \"en\": {\n          \"no_topics\": \"no topics\",\n          \"confirm_change_tags\": \"Remove '#%{remove}' and add '#%{add}' to '%{title}'?\",\n          \"confirm_close\": \"Close topic '%{title}'?\",\n          \"confirm_open\": \"Reopen topic '%{title}'?\",\n          \"confirm_change_category\": \"Move topic '%{title}'?\",\n          \"menu_label\": \"Board\",\n          \"modal\": {\n            \"title\": \"Kanban Board Options\",\n            \"tags_placeholder\": \"Tags to display...\",\n            \"categories_placeholder\": \"Categories to display...\",\n            \"usernames_placeholder\": \"Users to display...\",\n            \"apply\": \"Apply\"\n          }\n        }\n      };\n      for (let lang in data) {\n        let cursor = I18n.translations;\n        for (let key of [lang, \"js\", \"theme_translations\"]) {\n          cursor = cursor[key] = cursor[key] || {};\n        }\n        cursor[3] = data[lang];\n      }\n    }\n  };\n  _exports.default = _default;\n});\n}\n"]}