@logto/phrases 1.0.0-beta.16 → 1.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (399) hide show
  1. package/lib/index.d.ts +15 -15
  2. package/lib/index.js +35 -32
  3. package/lib/locales/de/errors.d.ts +46 -18
  4. package/lib/locales/de/errors.js +57 -31
  5. package/lib/locales/de/index.d.ts +1 -1
  6. package/lib/locales/de/index.js +5 -10
  7. package/lib/locales/de/translation/admin-console/api-resource-details.d.ts +18 -0
  8. package/lib/locales/de/translation/admin-console/api-resource-details.js +19 -3
  9. package/lib/locales/de/translation/admin-console/api-resources.js +2 -4
  10. package/lib/locales/de/translation/admin-console/application-details.d.ts +4 -1
  11. package/lib/locales/de/translation/admin-console/application-details.js +8 -7
  12. package/lib/locales/de/translation/admin-console/applications.js +1 -3
  13. package/lib/locales/de/translation/admin-console/connector-details.d.ts +2 -0
  14. package/lib/locales/de/translation/admin-console/connector-details.js +3 -3
  15. package/lib/locales/de/translation/admin-console/connectors.d.ts +20 -0
  16. package/lib/locales/de/translation/admin-console/connectors.js +21 -3
  17. package/lib/locales/de/translation/admin-console/contact.js +1 -3
  18. package/lib/locales/de/translation/admin-console/dashboard.js +1 -3
  19. package/lib/locales/de/translation/admin-console/errors.js +1 -3
  20. package/lib/locales/de/translation/admin-console/general.d.ts +6 -0
  21. package/lib/locales/de/translation/admin-console/general.js +9 -5
  22. package/lib/locales/de/translation/admin-console/get-started.js +1 -3
  23. package/lib/locales/de/translation/admin-console/index.d.ts +145 -11
  24. package/lib/locales/de/translation/admin-console/index.js +49 -48
  25. package/lib/locales/de/translation/admin-console/log-details.d.ts +1 -1
  26. package/lib/locales/de/translation/admin-console/log-details.js +2 -4
  27. package/lib/locales/de/translation/admin-console/logs.js +1 -3
  28. package/lib/locales/de/translation/admin-console/permissions.d.ts +8 -0
  29. package/lib/locales/de/translation/admin-console/permissions.js +8 -0
  30. package/lib/locales/de/translation/admin-console/role-details.d.ts +43 -0
  31. package/lib/locales/de/translation/admin-console/role-details.js +43 -0
  32. package/lib/locales/de/translation/admin-console/roles.d.ts +17 -0
  33. package/lib/locales/de/translation/admin-console/roles.js +17 -0
  34. package/lib/locales/de/translation/admin-console/session-expired.js +1 -3
  35. package/lib/locales/de/translation/admin-console/settings.d.ts +1 -3
  36. package/lib/locales/de/translation/admin-console/settings.js +2 -6
  37. package/lib/locales/de/translation/admin-console/sign-in-exp.d.ts +4 -6
  38. package/lib/locales/de/translation/admin-console/sign-in-exp.js +10 -14
  39. package/lib/locales/de/translation/admin-console/tab-sections.d.ts +1 -0
  40. package/lib/locales/de/translation/admin-console/tab-sections.js +2 -3
  41. package/lib/locales/de/translation/admin-console/tabs.d.ts +1 -0
  42. package/lib/locales/de/translation/admin-console/tabs.js +2 -3
  43. package/lib/locales/de/translation/admin-console/user-details.d.ts +21 -0
  44. package/lib/locales/de/translation/admin-console/user-details.js +23 -4
  45. package/lib/locales/de/translation/admin-console/users.d.ts +1 -0
  46. package/lib/locales/de/translation/admin-console/users.js +2 -3
  47. package/lib/locales/de/translation/admin-console/welcome.js +1 -3
  48. package/lib/locales/de/translation/demo-app.js +1 -3
  49. package/lib/locales/de/translation/index.d.ts +145 -11
  50. package/lib/locales/de/translation/index.js +5 -10
  51. package/lib/locales/en/errors.d.ts +46 -18
  52. package/lib/locales/en/errors.js +56 -30
  53. package/lib/locales/en/index.d.ts +191 -29
  54. package/lib/locales/en/index.js +5 -10
  55. package/lib/locales/en/translation/admin-console/api-resource-details.d.ts +18 -0
  56. package/lib/locales/en/translation/admin-console/api-resource-details.js +19 -3
  57. package/lib/locales/en/translation/admin-console/api-resources.js +2 -4
  58. package/lib/locales/en/translation/admin-console/application-details.d.ts +4 -1
  59. package/lib/locales/en/translation/admin-console/application-details.js +8 -7
  60. package/lib/locales/en/translation/admin-console/applications.js +1 -3
  61. package/lib/locales/en/translation/admin-console/connector-details.d.ts +2 -0
  62. package/lib/locales/en/translation/admin-console/connector-details.js +3 -3
  63. package/lib/locales/en/translation/admin-console/connectors.d.ts +20 -0
  64. package/lib/locales/en/translation/admin-console/connectors.js +21 -3
  65. package/lib/locales/en/translation/admin-console/contact.js +1 -3
  66. package/lib/locales/en/translation/admin-console/dashboard.js +1 -3
  67. package/lib/locales/en/translation/admin-console/errors.js +1 -3
  68. package/lib/locales/en/translation/admin-console/general.d.ts +6 -0
  69. package/lib/locales/en/translation/admin-console/general.js +8 -4
  70. package/lib/locales/en/translation/admin-console/get-started.js +2 -4
  71. package/lib/locales/en/translation/admin-console/index.d.ts +145 -11
  72. package/lib/locales/en/translation/admin-console/index.js +49 -48
  73. package/lib/locales/en/translation/admin-console/log-details.d.ts +1 -1
  74. package/lib/locales/en/translation/admin-console/log-details.js +2 -4
  75. package/lib/locales/en/translation/admin-console/logs.js +1 -3
  76. package/lib/locales/en/translation/admin-console/permissions.d.ts +8 -0
  77. package/lib/locales/en/translation/admin-console/permissions.js +8 -0
  78. package/lib/locales/en/translation/admin-console/role-details.d.ts +43 -0
  79. package/lib/locales/en/translation/admin-console/role-details.js +43 -0
  80. package/lib/locales/en/translation/admin-console/roles.d.ts +17 -0
  81. package/lib/locales/en/translation/admin-console/roles.js +17 -0
  82. package/lib/locales/en/translation/admin-console/session-expired.js +1 -3
  83. package/lib/locales/en/translation/admin-console/settings.d.ts +1 -3
  84. package/lib/locales/en/translation/admin-console/settings.js +2 -6
  85. package/lib/locales/en/translation/admin-console/sign-in-exp.d.ts +4 -6
  86. package/lib/locales/en/translation/admin-console/sign-in-exp.js +9 -13
  87. package/lib/locales/en/translation/admin-console/tab-sections.d.ts +1 -0
  88. package/lib/locales/en/translation/admin-console/tab-sections.js +2 -3
  89. package/lib/locales/en/translation/admin-console/tabs.d.ts +1 -0
  90. package/lib/locales/en/translation/admin-console/tabs.js +2 -3
  91. package/lib/locales/en/translation/admin-console/user-details.d.ts +21 -0
  92. package/lib/locales/en/translation/admin-console/user-details.js +22 -3
  93. package/lib/locales/en/translation/admin-console/users.d.ts +1 -0
  94. package/lib/locales/en/translation/admin-console/users.js +2 -3
  95. package/lib/locales/en/translation/admin-console/welcome.js +1 -3
  96. package/lib/locales/en/translation/demo-app.js +1 -3
  97. package/lib/locales/en/translation/index.d.ts +145 -11
  98. package/lib/locales/en/translation/index.js +5 -10
  99. package/lib/locales/fr/errors.d.ts +46 -18
  100. package/lib/locales/fr/errors.js +58 -32
  101. package/lib/locales/fr/index.d.ts +1 -1
  102. package/lib/locales/fr/index.js +5 -10
  103. package/lib/locales/fr/translation/admin-console/api-resource-details.d.ts +18 -0
  104. package/lib/locales/fr/translation/admin-console/api-resource-details.js +19 -3
  105. package/lib/locales/fr/translation/admin-console/api-resources.js +2 -4
  106. package/lib/locales/fr/translation/admin-console/application-details.d.ts +4 -1
  107. package/lib/locales/fr/translation/admin-console/application-details.js +8 -7
  108. package/lib/locales/fr/translation/admin-console/applications.js +1 -3
  109. package/lib/locales/fr/translation/admin-console/connector-details.d.ts +2 -0
  110. package/lib/locales/fr/translation/admin-console/connector-details.js +3 -3
  111. package/lib/locales/fr/translation/admin-console/connectors.d.ts +20 -0
  112. package/lib/locales/fr/translation/admin-console/connectors.js +21 -3
  113. package/lib/locales/fr/translation/admin-console/contact.js +1 -3
  114. package/lib/locales/fr/translation/admin-console/dashboard.js +1 -3
  115. package/lib/locales/fr/translation/admin-console/errors.js +1 -3
  116. package/lib/locales/fr/translation/admin-console/general.d.ts +6 -0
  117. package/lib/locales/fr/translation/admin-console/general.js +9 -5
  118. package/lib/locales/fr/translation/admin-console/get-started.js +1 -3
  119. package/lib/locales/fr/translation/admin-console/index.d.ts +145 -11
  120. package/lib/locales/fr/translation/admin-console/index.js +49 -48
  121. package/lib/locales/fr/translation/admin-console/log-details.d.ts +1 -1
  122. package/lib/locales/fr/translation/admin-console/log-details.js +2 -4
  123. package/lib/locales/fr/translation/admin-console/logs.js +1 -3
  124. package/lib/locales/fr/translation/admin-console/permissions.d.ts +8 -0
  125. package/lib/locales/fr/translation/admin-console/permissions.js +8 -0
  126. package/lib/locales/fr/translation/admin-console/role-details.d.ts +43 -0
  127. package/lib/locales/fr/translation/admin-console/role-details.js +43 -0
  128. package/lib/locales/fr/translation/admin-console/roles.d.ts +17 -0
  129. package/lib/locales/fr/translation/admin-console/roles.js +17 -0
  130. package/lib/locales/fr/translation/admin-console/session-expired.js +1 -3
  131. package/lib/locales/fr/translation/admin-console/settings.d.ts +1 -3
  132. package/lib/locales/fr/translation/admin-console/settings.js +2 -6
  133. package/lib/locales/fr/translation/admin-console/sign-in-exp.d.ts +4 -6
  134. package/lib/locales/fr/translation/admin-console/sign-in-exp.js +11 -15
  135. package/lib/locales/fr/translation/admin-console/tab-sections.d.ts +1 -0
  136. package/lib/locales/fr/translation/admin-console/tab-sections.js +2 -3
  137. package/lib/locales/fr/translation/admin-console/tabs.d.ts +1 -0
  138. package/lib/locales/fr/translation/admin-console/tabs.js +2 -3
  139. package/lib/locales/fr/translation/admin-console/user-details.d.ts +21 -0
  140. package/lib/locales/fr/translation/admin-console/user-details.js +23 -4
  141. package/lib/locales/fr/translation/admin-console/users.d.ts +1 -0
  142. package/lib/locales/fr/translation/admin-console/users.js +2 -3
  143. package/lib/locales/fr/translation/admin-console/welcome.js +1 -3
  144. package/lib/locales/fr/translation/demo-app.js +1 -3
  145. package/lib/locales/fr/translation/index.d.ts +145 -11
  146. package/lib/locales/fr/translation/index.js +5 -10
  147. package/lib/locales/ko/errors.d.ts +46 -18
  148. package/lib/locales/ko/errors.js +78 -52
  149. package/lib/locales/ko/index.d.ts +1 -1
  150. package/lib/locales/ko/index.js +5 -10
  151. package/lib/locales/ko/translation/admin-console/api-resource-details.d.ts +18 -0
  152. package/lib/locales/ko/translation/admin-console/api-resource-details.js +19 -3
  153. package/lib/locales/ko/translation/admin-console/api-resources.js +2 -4
  154. package/lib/locales/ko/translation/admin-console/application-details.d.ts +4 -1
  155. package/lib/locales/ko/translation/admin-console/application-details.js +12 -11
  156. package/lib/locales/ko/translation/admin-console/applications.js +6 -9
  157. package/lib/locales/ko/translation/admin-console/connector-details.d.ts +2 -0
  158. package/lib/locales/ko/translation/admin-console/connector-details.js +4 -4
  159. package/lib/locales/ko/translation/admin-console/connectors.d.ts +20 -0
  160. package/lib/locales/ko/translation/admin-console/connectors.js +25 -7
  161. package/lib/locales/ko/translation/admin-console/contact.js +1 -3
  162. package/lib/locales/ko/translation/admin-console/dashboard.js +1 -3
  163. package/lib/locales/ko/translation/admin-console/errors.js +1 -3
  164. package/lib/locales/ko/translation/admin-console/general.d.ts +6 -0
  165. package/lib/locales/ko/translation/admin-console/general.js +10 -6
  166. package/lib/locales/ko/translation/admin-console/get-started.js +1 -3
  167. package/lib/locales/ko/translation/admin-console/index.d.ts +145 -11
  168. package/lib/locales/ko/translation/admin-console/index.js +49 -48
  169. package/lib/locales/ko/translation/admin-console/log-details.d.ts +1 -1
  170. package/lib/locales/ko/translation/admin-console/log-details.js +2 -4
  171. package/lib/locales/ko/translation/admin-console/logs.js +1 -3
  172. package/lib/locales/ko/translation/admin-console/permissions.d.ts +8 -0
  173. package/lib/locales/ko/translation/admin-console/permissions.js +8 -0
  174. package/lib/locales/ko/translation/admin-console/role-details.d.ts +43 -0
  175. package/lib/locales/ko/translation/admin-console/role-details.js +43 -0
  176. package/lib/locales/ko/translation/admin-console/roles.d.ts +17 -0
  177. package/lib/locales/ko/translation/admin-console/roles.js +17 -0
  178. package/lib/locales/ko/translation/admin-console/session-expired.js +1 -3
  179. package/lib/locales/ko/translation/admin-console/settings.d.ts +1 -3
  180. package/lib/locales/ko/translation/admin-console/settings.js +2 -6
  181. package/lib/locales/ko/translation/admin-console/sign-in-exp.d.ts +4 -6
  182. package/lib/locales/ko/translation/admin-console/sign-in-exp.js +70 -74
  183. package/lib/locales/ko/translation/admin-console/tab-sections.d.ts +1 -0
  184. package/lib/locales/ko/translation/admin-console/tab-sections.js +3 -4
  185. package/lib/locales/ko/translation/admin-console/tabs.d.ts +1 -0
  186. package/lib/locales/ko/translation/admin-console/tabs.js +2 -3
  187. package/lib/locales/ko/translation/admin-console/user-details.d.ts +21 -0
  188. package/lib/locales/ko/translation/admin-console/user-details.js +23 -4
  189. package/lib/locales/ko/translation/admin-console/users.d.ts +1 -0
  190. package/lib/locales/ko/translation/admin-console/users.js +2 -3
  191. package/lib/locales/ko/translation/admin-console/welcome.js +1 -3
  192. package/lib/locales/ko/translation/demo-app.js +2 -4
  193. package/lib/locales/ko/translation/index.d.ts +145 -11
  194. package/lib/locales/ko/translation/index.js +5 -10
  195. package/lib/locales/pt-br/errors.d.ts +168 -0
  196. package/lib/locales/pt-br/errors.js +168 -0
  197. package/lib/locales/pt-br/index.d.ts +3 -0
  198. package/lib/locales/pt-br/index.js +7 -0
  199. package/lib/locales/pt-br/translation/admin-console/api-resource-details.d.ts +27 -0
  200. package/lib/locales/pt-br/translation/admin-console/api-resource-details.js +27 -0
  201. package/lib/locales/pt-br/translation/admin-console/api-resources.d.ts +12 -0
  202. package/lib/locales/pt-br/translation/admin-console/api-resources.js +12 -0
  203. package/lib/locales/pt-br/translation/admin-console/application-details.d.ts +40 -0
  204. package/lib/locales/pt-br/translation/admin-console/application-details.js +40 -0
  205. package/lib/locales/pt-br/translation/admin-console/applications.d.ts +43 -0
  206. package/lib/locales/pt-br/translation/admin-console/applications.js +43 -0
  207. package/lib/locales/pt-br/translation/admin-console/connector-details.d.ts +24 -0
  208. package/lib/locales/pt-br/translation/admin-console/connector-details.js +24 -0
  209. package/lib/locales/pt-br/translation/admin-console/connectors.d.ts +62 -0
  210. package/lib/locales/pt-br/translation/admin-console/connectors.js +62 -0
  211. package/lib/locales/pt-br/translation/admin-console/contact.d.ts +20 -0
  212. package/lib/locales/pt-br/translation/admin-console/contact.js +20 -0
  213. package/lib/locales/pt-br/translation/admin-console/dashboard.d.ts +17 -0
  214. package/lib/locales/pt-br/translation/admin-console/dashboard.js +17 -0
  215. package/lib/locales/pt-br/translation/admin-console/errors.d.ts +19 -0
  216. package/lib/locales/pt-br/translation/admin-console/errors.js +19 -0
  217. package/lib/locales/pt-br/translation/admin-console/general.d.ts +47 -0
  218. package/lib/locales/pt-br/translation/admin-console/general.js +47 -0
  219. package/lib/locales/pt-br/translation/admin-console/get-started.d.ts +22 -0
  220. package/lib/locales/pt-br/translation/admin-console/get-started.js +22 -0
  221. package/lib/locales/pt-br/translation/admin-console/index.d.ts +688 -0
  222. package/lib/locales/pt-br/translation/admin-console/index.js +56 -0
  223. package/lib/locales/pt-br/translation/admin-console/log-details.d.ts +16 -0
  224. package/lib/locales/pt-br/translation/admin-console/log-details.js +16 -0
  225. package/lib/locales/pt-br/translation/admin-console/logs.d.ts +10 -0
  226. package/lib/locales/pt-br/translation/admin-console/logs.js +10 -0
  227. package/lib/locales/pt-br/translation/admin-console/permissions.d.ts +8 -0
  228. package/lib/locales/pt-br/translation/admin-console/permissions.js +8 -0
  229. package/lib/locales/pt-br/translation/admin-console/role-details.d.ts +43 -0
  230. package/lib/locales/pt-br/translation/admin-console/role-details.js +43 -0
  231. package/lib/locales/pt-br/translation/admin-console/roles.d.ts +17 -0
  232. package/lib/locales/pt-br/translation/admin-console/roles.js +17 -0
  233. package/lib/locales/pt-br/translation/admin-console/session-expired.d.ts +6 -0
  234. package/lib/locales/pt-br/translation/admin-console/session-expired.js +6 -0
  235. package/lib/locales/pt-br/translation/admin-console/settings.d.ts +22 -0
  236. package/lib/locales/pt-br/translation/admin-console/settings.js +22 -0
  237. package/lib/locales/pt-br/translation/admin-console/sign-in-exp.d.ts +148 -0
  238. package/lib/locales/pt-br/translation/admin-console/sign-in-exp.js +148 -0
  239. package/lib/locales/pt-br/translation/admin-console/tab-sections.d.ts +8 -0
  240. package/lib/locales/pt-br/translation/admin-console/tab-sections.js +8 -0
  241. package/lib/locales/pt-br/translation/admin-console/tabs.d.ts +15 -0
  242. package/lib/locales/pt-br/translation/admin-console/tabs.js +15 -0
  243. package/lib/locales/pt-br/translation/admin-console/user-details.d.ts +58 -0
  244. package/lib/locales/pt-br/translation/admin-console/user-details.js +58 -0
  245. package/lib/locales/pt-br/translation/admin-console/users.d.ts +14 -0
  246. package/lib/locales/pt-br/translation/admin-console/users.js +14 -0
  247. package/lib/locales/pt-br/translation/admin-console/welcome.d.ts +6 -0
  248. package/lib/locales/pt-br/translation/admin-console/welcome.js +6 -0
  249. package/lib/locales/pt-br/translation/demo-app.d.ts +13 -0
  250. package/lib/locales/pt-br/translation/demo-app.js +13 -0
  251. package/lib/locales/pt-br/translation/index.d.ts +702 -0
  252. package/lib/locales/pt-br/translation/index.js +7 -0
  253. package/lib/locales/pt-pt/errors.d.ts +46 -18
  254. package/lib/locales/pt-pt/errors.js +58 -32
  255. package/lib/locales/pt-pt/index.d.ts +1 -1
  256. package/lib/locales/pt-pt/index.js +5 -10
  257. package/lib/locales/pt-pt/translation/admin-console/api-resource-details.d.ts +18 -0
  258. package/lib/locales/pt-pt/translation/admin-console/api-resource-details.js +19 -3
  259. package/lib/locales/pt-pt/translation/admin-console/api-resources.js +2 -4
  260. package/lib/locales/pt-pt/translation/admin-console/application-details.d.ts +4 -1
  261. package/lib/locales/pt-pt/translation/admin-console/application-details.js +8 -7
  262. package/lib/locales/pt-pt/translation/admin-console/applications.js +1 -3
  263. package/lib/locales/pt-pt/translation/admin-console/connector-details.d.ts +2 -0
  264. package/lib/locales/pt-pt/translation/admin-console/connector-details.js +3 -3
  265. package/lib/locales/pt-pt/translation/admin-console/connectors.d.ts +20 -0
  266. package/lib/locales/pt-pt/translation/admin-console/connectors.js +21 -3
  267. package/lib/locales/pt-pt/translation/admin-console/contact.js +1 -3
  268. package/lib/locales/pt-pt/translation/admin-console/dashboard.js +1 -3
  269. package/lib/locales/pt-pt/translation/admin-console/errors.js +1 -3
  270. package/lib/locales/pt-pt/translation/admin-console/general.d.ts +6 -0
  271. package/lib/locales/pt-pt/translation/admin-console/general.js +9 -5
  272. package/lib/locales/pt-pt/translation/admin-console/get-started.js +1 -3
  273. package/lib/locales/pt-pt/translation/admin-console/index.d.ts +145 -11
  274. package/lib/locales/pt-pt/translation/admin-console/index.js +49 -48
  275. package/lib/locales/pt-pt/translation/admin-console/log-details.d.ts +1 -1
  276. package/lib/locales/pt-pt/translation/admin-console/log-details.js +2 -4
  277. package/lib/locales/pt-pt/translation/admin-console/logs.js +1 -3
  278. package/lib/locales/pt-pt/translation/admin-console/permissions.d.ts +8 -0
  279. package/lib/locales/pt-pt/translation/admin-console/permissions.js +8 -0
  280. package/lib/locales/pt-pt/translation/admin-console/role-details.d.ts +43 -0
  281. package/lib/locales/pt-pt/translation/admin-console/role-details.js +43 -0
  282. package/lib/locales/pt-pt/translation/admin-console/roles.d.ts +17 -0
  283. package/lib/locales/pt-pt/translation/admin-console/roles.js +17 -0
  284. package/lib/locales/pt-pt/translation/admin-console/session-expired.js +1 -3
  285. package/lib/locales/pt-pt/translation/admin-console/settings.d.ts +1 -3
  286. package/lib/locales/pt-pt/translation/admin-console/settings.js +2 -6
  287. package/lib/locales/pt-pt/translation/admin-console/sign-in-exp.d.ts +4 -6
  288. package/lib/locales/pt-pt/translation/admin-console/sign-in-exp.js +11 -15
  289. package/lib/locales/pt-pt/translation/admin-console/tab-sections.d.ts +1 -0
  290. package/lib/locales/pt-pt/translation/admin-console/tab-sections.js +2 -3
  291. package/lib/locales/pt-pt/translation/admin-console/tabs.d.ts +1 -0
  292. package/lib/locales/pt-pt/translation/admin-console/tabs.js +2 -3
  293. package/lib/locales/pt-pt/translation/admin-console/user-details.d.ts +21 -0
  294. package/lib/locales/pt-pt/translation/admin-console/user-details.js +23 -4
  295. package/lib/locales/pt-pt/translation/admin-console/users.d.ts +1 -0
  296. package/lib/locales/pt-pt/translation/admin-console/users.js +2 -3
  297. package/lib/locales/pt-pt/translation/admin-console/welcome.js +1 -3
  298. package/lib/locales/pt-pt/translation/demo-app.js +1 -3
  299. package/lib/locales/pt-pt/translation/index.d.ts +145 -11
  300. package/lib/locales/pt-pt/translation/index.js +5 -10
  301. package/lib/locales/tr-tr/errors.d.ts +46 -18
  302. package/lib/locales/tr-tr/errors.js +58 -32
  303. package/lib/locales/tr-tr/index.d.ts +1 -1
  304. package/lib/locales/tr-tr/index.js +5 -10
  305. package/lib/locales/tr-tr/translation/admin-console/api-resource-details.d.ts +18 -0
  306. package/lib/locales/tr-tr/translation/admin-console/api-resource-details.js +19 -3
  307. package/lib/locales/tr-tr/translation/admin-console/api-resources.js +2 -4
  308. package/lib/locales/tr-tr/translation/admin-console/application-details.d.ts +4 -1
  309. package/lib/locales/tr-tr/translation/admin-console/application-details.js +8 -7
  310. package/lib/locales/tr-tr/translation/admin-console/applications.js +1 -3
  311. package/lib/locales/tr-tr/translation/admin-console/connector-details.d.ts +2 -0
  312. package/lib/locales/tr-tr/translation/admin-console/connector-details.js +3 -3
  313. package/lib/locales/tr-tr/translation/admin-console/connectors.d.ts +20 -0
  314. package/lib/locales/tr-tr/translation/admin-console/connectors.js +21 -3
  315. package/lib/locales/tr-tr/translation/admin-console/contact.js +1 -3
  316. package/lib/locales/tr-tr/translation/admin-console/dashboard.js +1 -3
  317. package/lib/locales/tr-tr/translation/admin-console/errors.js +1 -3
  318. package/lib/locales/tr-tr/translation/admin-console/general.d.ts +6 -0
  319. package/lib/locales/tr-tr/translation/admin-console/general.js +9 -5
  320. package/lib/locales/tr-tr/translation/admin-console/get-started.js +1 -3
  321. package/lib/locales/tr-tr/translation/admin-console/index.d.ts +145 -11
  322. package/lib/locales/tr-tr/translation/admin-console/index.js +49 -48
  323. package/lib/locales/tr-tr/translation/admin-console/log-details.d.ts +1 -1
  324. package/lib/locales/tr-tr/translation/admin-console/log-details.js +2 -4
  325. package/lib/locales/tr-tr/translation/admin-console/logs.js +1 -3
  326. package/lib/locales/tr-tr/translation/admin-console/permissions.d.ts +8 -0
  327. package/lib/locales/tr-tr/translation/admin-console/permissions.js +8 -0
  328. package/lib/locales/tr-tr/translation/admin-console/role-details.d.ts +43 -0
  329. package/lib/locales/tr-tr/translation/admin-console/role-details.js +43 -0
  330. package/lib/locales/tr-tr/translation/admin-console/roles.d.ts +17 -0
  331. package/lib/locales/tr-tr/translation/admin-console/roles.js +17 -0
  332. package/lib/locales/tr-tr/translation/admin-console/session-expired.js +1 -3
  333. package/lib/locales/tr-tr/translation/admin-console/settings.d.ts +1 -3
  334. package/lib/locales/tr-tr/translation/admin-console/settings.js +2 -6
  335. package/lib/locales/tr-tr/translation/admin-console/sign-in-exp.d.ts +4 -6
  336. package/lib/locales/tr-tr/translation/admin-console/sign-in-exp.js +11 -15
  337. package/lib/locales/tr-tr/translation/admin-console/tab-sections.d.ts +1 -0
  338. package/lib/locales/tr-tr/translation/admin-console/tab-sections.js +2 -3
  339. package/lib/locales/tr-tr/translation/admin-console/tabs.d.ts +1 -0
  340. package/lib/locales/tr-tr/translation/admin-console/tabs.js +2 -3
  341. package/lib/locales/tr-tr/translation/admin-console/user-details.d.ts +21 -0
  342. package/lib/locales/tr-tr/translation/admin-console/user-details.js +23 -4
  343. package/lib/locales/tr-tr/translation/admin-console/users.d.ts +1 -0
  344. package/lib/locales/tr-tr/translation/admin-console/users.js +2 -3
  345. package/lib/locales/tr-tr/translation/admin-console/welcome.js +1 -3
  346. package/lib/locales/tr-tr/translation/demo-app.js +1 -3
  347. package/lib/locales/tr-tr/translation/index.d.ts +145 -11
  348. package/lib/locales/tr-tr/translation/index.js +5 -10
  349. package/lib/locales/zh-cn/errors.d.ts +46 -19
  350. package/lib/locales/zh-cn/errors.js +57 -32
  351. package/lib/locales/zh-cn/index.d.ts +1 -1
  352. package/lib/locales/zh-cn/index.js +5 -10
  353. package/lib/locales/zh-cn/translation/admin-console/api-resource-details.d.ts +18 -0
  354. package/lib/locales/zh-cn/translation/admin-console/api-resource-details.js +19 -3
  355. package/lib/locales/zh-cn/translation/admin-console/api-resources.js +2 -4
  356. package/lib/locales/zh-cn/translation/admin-console/application-details.d.ts +4 -1
  357. package/lib/locales/zh-cn/translation/admin-console/application-details.js +9 -8
  358. package/lib/locales/zh-cn/translation/admin-console/applications.js +1 -3
  359. package/lib/locales/zh-cn/translation/admin-console/connector-details.d.ts +2 -0
  360. package/lib/locales/zh-cn/translation/admin-console/connector-details.js +3 -3
  361. package/lib/locales/zh-cn/translation/admin-console/connectors.d.ts +20 -0
  362. package/lib/locales/zh-cn/translation/admin-console/connectors.js +21 -3
  363. package/lib/locales/zh-cn/translation/admin-console/contact.js +1 -3
  364. package/lib/locales/zh-cn/translation/admin-console/dashboard.js +1 -3
  365. package/lib/locales/zh-cn/translation/admin-console/errors.js +1 -3
  366. package/lib/locales/zh-cn/translation/admin-console/general.d.ts +6 -0
  367. package/lib/locales/zh-cn/translation/admin-console/general.js +9 -5
  368. package/lib/locales/zh-cn/translation/admin-console/get-started.js +1 -3
  369. package/lib/locales/zh-cn/translation/admin-console/index.d.ts +145 -11
  370. package/lib/locales/zh-cn/translation/admin-console/index.js +49 -48
  371. package/lib/locales/zh-cn/translation/admin-console/log-details.d.ts +1 -1
  372. package/lib/locales/zh-cn/translation/admin-console/log-details.js +2 -4
  373. package/lib/locales/zh-cn/translation/admin-console/logs.js +1 -3
  374. package/lib/locales/zh-cn/translation/admin-console/permissions.d.ts +8 -0
  375. package/lib/locales/zh-cn/translation/admin-console/permissions.js +8 -0
  376. package/lib/locales/zh-cn/translation/admin-console/role-details.d.ts +43 -0
  377. package/lib/locales/zh-cn/translation/admin-console/role-details.js +43 -0
  378. package/lib/locales/zh-cn/translation/admin-console/roles.d.ts +17 -0
  379. package/lib/locales/zh-cn/translation/admin-console/roles.js +17 -0
  380. package/lib/locales/zh-cn/translation/admin-console/session-expired.js +1 -3
  381. package/lib/locales/zh-cn/translation/admin-console/settings.d.ts +1 -3
  382. package/lib/locales/zh-cn/translation/admin-console/settings.js +2 -6
  383. package/lib/locales/zh-cn/translation/admin-console/sign-in-exp.d.ts +4 -6
  384. package/lib/locales/zh-cn/translation/admin-console/sign-in-exp.js +11 -15
  385. package/lib/locales/zh-cn/translation/admin-console/tab-sections.d.ts +1 -0
  386. package/lib/locales/zh-cn/translation/admin-console/tab-sections.js +2 -3
  387. package/lib/locales/zh-cn/translation/admin-console/tabs.d.ts +1 -0
  388. package/lib/locales/zh-cn/translation/admin-console/tabs.js +2 -3
  389. package/lib/locales/zh-cn/translation/admin-console/user-details.d.ts +21 -0
  390. package/lib/locales/zh-cn/translation/admin-console/user-details.js +22 -3
  391. package/lib/locales/zh-cn/translation/admin-console/users.d.ts +1 -0
  392. package/lib/locales/zh-cn/translation/admin-console/users.js +2 -3
  393. package/lib/locales/zh-cn/translation/admin-console/welcome.js +1 -3
  394. package/lib/locales/zh-cn/translation/demo-app.js +1 -3
  395. package/lib/locales/zh-cn/translation/index.d.ts +145 -11
  396. package/lib/locales/zh-cn/translation/index.js +5 -10
  397. package/lib/types.d.ts +2 -2
  398. package/lib/types.js +1 -2
  399. package/package.json +10 -8
@@ -17,6 +17,7 @@ declare const translation: {
17
17
  save: string;
18
18
  save_changes: string;
19
19
  saved: string;
20
+ discard: string;
20
21
  loading: string;
21
22
  redirecting: string;
22
23
  add: string;
@@ -44,6 +45,11 @@ declare const translation: {
44
45
  stay_on_page: string;
45
46
  type_to_search: string;
46
47
  got_it: string;
48
+ page_info: string;
49
+ learn_more: string;
50
+ tab_errors: string;
51
+ skip_for_now: string;
52
+ remove: string;
47
53
  };
48
54
  errors: {
49
55
  something_went_wrong: string;
@@ -67,6 +73,7 @@ declare const translation: {
67
73
  overview: string;
68
74
  resource_management: string;
69
75
  user_management: string;
76
+ access_control: string;
70
77
  help_and_support: string;
71
78
  };
72
79
  tabs: {
@@ -78,6 +85,7 @@ declare const translation: {
78
85
  connectors: string;
79
86
  users: string;
80
87
  audit_logs: string;
88
+ roles: string;
81
89
  docs: string;
82
90
  contact_us: string;
83
91
  settings: string;
@@ -127,7 +135,10 @@ declare const translation: {
127
135
  application_details: {
128
136
  back_to_applications: string;
129
137
  check_guide: string;
138
+ settings: string;
139
+ settings_description: string;
130
140
  advanced_settings: string;
141
+ advanced_settings_description: string;
131
142
  application_name: string;
132
143
  application_name_placeholder: string;
133
144
  description: string;
@@ -135,6 +146,7 @@ declare const translation: {
135
146
  authorization_endpoint: string;
136
147
  authorization_endpoint_tip: string;
137
148
  application_id: string;
149
+ application_id_tip: string;
138
150
  application_secret: string;
139
151
  redirect_uri: string;
140
152
  redirect_uris: string;
@@ -148,7 +160,6 @@ declare const translation: {
148
160
  cors_allowed_origins: string;
149
161
  cors_allowed_origins_placeholder: string;
150
162
  cors_allowed_origins_tip: string;
151
- add_another: string;
152
163
  id_token_expiration: string;
153
164
  refresh_token_expiration: string;
154
165
  token_endpoint: string;
@@ -173,11 +184,29 @@ declare const translation: {
173
184
  };
174
185
  api_resource_details: {
175
186
  back_to_api_resources: string;
187
+ settings_tab: string;
188
+ permissions_tab: string;
189
+ settings: string;
190
+ settings_description: string;
176
191
  token_expiration_time_in_seconds: string;
177
192
  token_expiration_time_in_seconds_placeholder: string;
178
193
  delete_description: string;
179
194
  enter_your_api_resource_name: string;
180
195
  api_resource_deleted: string;
196
+ permission: {
197
+ create_button: string;
198
+ create_title: string;
199
+ create_subtitle: string;
200
+ confirm_create: string;
201
+ name: string;
202
+ name_placeholder: string;
203
+ forbidden_space_in_name: string;
204
+ description: string;
205
+ description_placeholder: string;
206
+ permission_created: string;
207
+ delete_description: string;
208
+ deleted: string;
209
+ };
181
210
  };
182
211
  connectors: {
183
212
  title: string;
@@ -210,6 +239,25 @@ declare const translation: {
210
239
  };
211
240
  guide: {
212
241
  subtitle: string;
242
+ connector_setting: string;
243
+ name: string;
244
+ name_tip: string;
245
+ logo: string;
246
+ logo_placeholder: string;
247
+ logo_tip: string;
248
+ logo_dark: string;
249
+ logo_dark_placeholder: string;
250
+ logo_dark_tip: string;
251
+ logo_dark_collapse: string;
252
+ logo_dark_show: string;
253
+ target: string;
254
+ target_tip: string;
255
+ target_tooltip: string;
256
+ config: string;
257
+ sync_profile: string;
258
+ sync_profile_only_at_sign_up: string;
259
+ sync_profile_each_sign_in: string;
260
+ sync_profile_tip: string;
213
261
  };
214
262
  platform: {
215
263
  universal: string;
@@ -219,10 +267,13 @@ declare const translation: {
219
267
  add_multi_platform: string;
220
268
  drawer_title: string;
221
269
  drawer_subtitle: string;
270
+ unknown: string;
222
271
  };
223
272
  connector_details: {
224
273
  back_to_connectors: string;
225
274
  check_readme: string;
275
+ settings: string;
276
+ settings_description: string;
226
277
  save_error_empty_config: string;
227
278
  send: string;
228
279
  send_error_invalid_format: string;
@@ -273,6 +324,7 @@ declare const translation: {
273
324
  create_form_password: string;
274
325
  create_form_name: string;
275
326
  unnamed: string;
327
+ search: string;
276
328
  };
277
329
  user_details: {
278
330
  back_to_users: string;
@@ -290,7 +342,11 @@ declare const translation: {
290
342
  congratulations: string;
291
343
  new_password: string;
292
344
  };
345
+ tab_settings: string;
346
+ tab_roles: string;
293
347
  tab_logs: string;
348
+ settings: string;
349
+ settings_description: string;
294
350
  field_email: string;
295
351
  field_phone: string;
296
352
  field_username: string;
@@ -309,6 +365,23 @@ declare const translation: {
309
365
  deletion_confirmation: string;
310
366
  };
311
367
  suspended: string;
368
+ roles: {
369
+ name_column: string;
370
+ description_column: string;
371
+ assign_button: string;
372
+ delete_description: string;
373
+ deleted: string;
374
+ assign_title: string;
375
+ assign_subtitle: string;
376
+ assign_role_field: string;
377
+ role_search_placeholder: string;
378
+ added_text: string;
379
+ assigned_user_count: string;
380
+ confirm_assign: string;
381
+ role_assigned: string;
382
+ search: string;
383
+ empty: string;
384
+ };
312
385
  };
313
386
  contact: {
314
387
  title: string;
@@ -342,12 +415,11 @@ declare const translation: {
342
415
  title: string;
343
416
  get_started: string;
344
417
  apply_remind: string;
345
- got_it: string;
346
418
  };
347
419
  sign_up_and_sign_in: {
348
420
  identifiers: string;
349
421
  identifiers_email: string;
350
- identifiers_sms: string;
422
+ identifiers_phone: string;
351
423
  identifiers_username: string;
352
424
  identifiers_email_or_sms: string;
353
425
  identifiers_none: string;
@@ -371,6 +443,7 @@ declare const translation: {
371
443
  password_auth: string;
372
444
  verification_code_auth: string;
373
445
  auth_swap_tip: string;
446
+ require_auth_factor: string;
374
447
  };
375
448
  social_sign_in: {
376
449
  title: string;
@@ -417,8 +490,6 @@ declare const translation: {
417
490
  others: {
418
491
  terms_of_use: {
419
492
  title: string;
420
- enable: string;
421
- description: string;
422
493
  terms_of_use: string;
423
494
  terms_of_use_placeholder: string;
424
495
  terms_of_use_tip: string;
@@ -447,9 +518,8 @@ declare const translation: {
447
518
  deletion_description: string;
448
519
  default_language_deletion_title: string;
449
520
  default_language_deletion_description: string;
450
- got_it: string;
451
521
  };
452
- authentication: {
522
+ advanced_options: {
453
523
  title: string;
454
524
  enable_create_account: string;
455
525
  enable_create_account_description: string;
@@ -463,6 +533,7 @@ declare const translation: {
463
533
  no_connector_email: string;
464
534
  no_connector_social: string;
465
535
  no_added_social_connector: string;
536
+ setup_link: string;
466
537
  };
467
538
  save_alert: {
468
539
  description: string;
@@ -484,9 +555,7 @@ declare const translation: {
484
555
  settings: {
485
556
  title: string;
486
557
  description: string;
487
- tabs: {
488
- general: string;
489
- };
558
+ settings: string;
490
559
  custom_domain: string;
491
560
  language: string;
492
561
  appearance: string;
@@ -534,7 +603,7 @@ declare const translation: {
534
603
  back_to_user: string;
535
604
  success: string;
536
605
  failed: string;
537
- event_type: string;
606
+ event_key: string;
538
607
  application: string;
539
608
  ip_address: string;
540
609
  user: string;
@@ -554,6 +623,71 @@ declare const translation: {
554
623
  description: string;
555
624
  create_account: string;
556
625
  };
626
+ roles: {
627
+ title: string;
628
+ subtitle: string;
629
+ create: string;
630
+ role_name: string;
631
+ role_description: string;
632
+ role_name_placeholder: string;
633
+ role_description_placeholder: string;
634
+ assigned_users: string;
635
+ assign_permissions: string;
636
+ create_role_title: string;
637
+ create_role_description: string;
638
+ create_role_button: string;
639
+ role_created: string;
640
+ search: string;
641
+ };
642
+ role_details: {
643
+ back_to_roles: string;
644
+ identifier: string;
645
+ delete_description: string;
646
+ role_deleted: string;
647
+ settings_tab: string;
648
+ users_tab: string;
649
+ permissions_tab: string;
650
+ settings: string;
651
+ settings_description: string;
652
+ field_name: string;
653
+ field_description: string;
654
+ permission: {
655
+ assign_button: string;
656
+ assign_title: string;
657
+ assign_subtitle: string;
658
+ assign_form_field: string;
659
+ added_text_one: string;
660
+ added_text_other: string;
661
+ api_permission_count_one: string;
662
+ api_permission_count_other: string;
663
+ confirm_assign: string;
664
+ permission_assigned: string;
665
+ deletion_description: string;
666
+ permission_deleted: string;
667
+ empty: string;
668
+ };
669
+ users: {
670
+ assign_button: string;
671
+ name_column: string;
672
+ app_column: string;
673
+ latest_sign_in_column: string;
674
+ delete_description: string;
675
+ deleted: string;
676
+ assign_title: string;
677
+ assign_subtitle: string;
678
+ assign_users_field: string;
679
+ confirm_assign: string;
680
+ users_assigned: string;
681
+ empty: string;
682
+ };
683
+ };
684
+ permissions: {
685
+ search_placeholder: string;
686
+ search_placeholder_without_api: string;
687
+ name_column: string;
688
+ description_column: string;
689
+ api_column: string;
690
+ };
557
691
  };
558
692
  demo_app: {
559
693
  notification: string;
@@ -1,12 +1,7 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const admin_console_1 = __importDefault(require("./admin-console"));
7
- const demo_app_1 = __importDefault(require("./demo-app"));
1
+ import admin_console from './admin-console/index.js';
2
+ import demo_app from './demo-app.js';
8
3
  const translation = {
9
- admin_console: admin_console_1.default,
10
- demo_app: demo_app_1.default,
4
+ admin_console,
5
+ demo_app,
11
6
  };
12
- exports.default = translation;
7
+ export default translation;
@@ -1,4 +1,8 @@
1
1
  declare const errors: {
2
+ request: {
3
+ invalid_input: string;
4
+ general: string;
5
+ };
2
6
  auth: {
3
7
  authorization_header_missing: string;
4
8
  authorization_token_type_not_supported: string;
@@ -30,30 +34,33 @@ declare const errors: {
30
34
  provider_error: string;
31
35
  };
32
36
  user: {
33
- username_exists_register: string;
34
- email_exists_register: string;
35
- phone_exists_register: string;
37
+ username_already_in_use: string;
38
+ email_already_in_use: string;
39
+ phone_already_in_use: string;
36
40
  invalid_email: string;
37
41
  invalid_phone: string;
38
- email_not_exists: string;
39
- phone_not_exists: string;
40
- identity_not_exists: string;
41
- identity_exists: string;
42
- invalid_role_names: string;
42
+ email_not_exist: string;
43
+ phone_not_exist: string;
44
+ identity_not_exist: string;
45
+ identity_already_in_use: string;
43
46
  cannot_delete_self: string;
44
47
  sign_up_method_not_enabled: string;
45
48
  sign_in_method_not_enabled: string;
46
49
  same_password: string;
47
- require_password: string;
48
- password_exists: string;
49
- require_username: string;
50
- username_exists: string;
51
- require_email: string;
52
- email_exists: string;
53
- require_sms: string;
54
- sms_exists: string;
55
- require_email_or_sms: string;
50
+ password_required_in_profile: string;
51
+ new_password_required_in_profile: string;
52
+ password_exists_in_profile: string;
53
+ username_required_in_profile: string;
54
+ username_exists_in_profile: string;
55
+ email_required_in_profile: string;
56
+ email_exists_in_profile: string;
57
+ phone_required_in_profile: string;
58
+ phone_exists_in_profile: string;
59
+ email_or_phone_required_in_profile: string;
56
60
  suspended: string;
61
+ user_not_exist: string;
62
+ missing_profile: string;
63
+ role_exists: string;
57
64
  };
58
65
  password: {
59
66
  unsupported_encryption_method: string;
@@ -72,6 +79,10 @@ declare const errors: {
72
79
  unauthorized: string;
73
80
  unsupported_prompt_name: string;
74
81
  forgot_password_not_enabled: string;
82
+ verification_failed: string;
83
+ connector_validation_session_not_found: string;
84
+ identifier_not_found: string;
85
+ interaction_not_found: string;
75
86
  };
76
87
  connector: {
77
88
  general: string;
@@ -94,8 +105,15 @@ declare const errors: {
94
105
  more_than_one_sms: string;
95
106
  more_than_one_email: string;
96
107
  db_connector_type_mismatch: string;
108
+ not_found_with_connector_id: string;
109
+ multiple_instances_not_supported: string;
110
+ invalid_type_for_syncing_profile: string;
111
+ can_not_modify_target: string;
112
+ should_specify_target: string;
113
+ multiple_target_with_same_platform: string;
114
+ cannot_overwrite_metadata_for_non_standard_connector: string;
97
115
  };
98
- passcode: {
116
+ verification_code: {
99
117
  phone_email_empty: string;
100
118
  not_found: string;
101
119
  phone_mismatch: string;
@@ -136,5 +154,15 @@ declare const errors: {
136
154
  log: {
137
155
  invalid_type: string;
138
156
  };
157
+ role: {
158
+ name_in_use: string;
159
+ scope_exists: string;
160
+ user_exists: string;
161
+ default_role_missing: string;
162
+ };
163
+ scope: {
164
+ name_exists: string;
165
+ name_with_space: string;
166
+ };
139
167
  };
140
168
  export default errors;
@@ -1,6 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const errors = {
2
+ request: {
3
+ invalid_input: 'Input is invalid. {{details}}',
4
+ general: 'Request error occurred.',
5
+ },
4
6
  auth: {
5
7
  authorization_header_missing: 'Authorization header is missing.',
6
8
  authorization_token_type_not_supported: 'Authorization type is not supported.',
@@ -32,30 +34,33 @@ const errors = {
32
34
  provider_error: 'OIDC Internal Error: {{message}}.',
33
35
  },
34
36
  user: {
35
- username_exists_register: 'The username has been registered.',
36
- email_exists_register: 'The email address has been registered.',
37
- phone_exists_register: 'The phone number has been registered.',
37
+ username_already_in_use: 'This username is already in use.',
38
+ email_already_in_use: 'This email is associated with an existing account.',
39
+ phone_already_in_use: 'This phone number is associated with an existing account.',
38
40
  invalid_email: 'Invalid email address.',
39
41
  invalid_phone: 'Invalid phone number.',
40
- email_not_exists: 'The email address has not been registered yet.',
41
- phone_not_exists: 'The phone number has not been registered yet.',
42
- identity_not_exists: 'The social account has not been registered yet.',
43
- identity_exists: 'The social account has been registered.',
44
- invalid_role_names: 'role names ({{roleNames}}) are not valid',
42
+ email_not_exist: 'The email address has not been registered yet.',
43
+ phone_not_exist: 'The phone number has not been registered yet.',
44
+ identity_not_exist: 'The social account has not been registered yet.',
45
+ identity_already_in_use: 'The social account has been associated with an existing account.',
45
46
  cannot_delete_self: 'You cannot delete yourself.',
46
- sign_up_method_not_enabled: 'This sign up method is not enabled.',
47
- sign_in_method_not_enabled: 'This sign in method is not enabled.',
47
+ sign_up_method_not_enabled: 'This sign-up method is not enabled.',
48
+ sign_in_method_not_enabled: 'This sign-in method is not enabled.',
48
49
  same_password: 'New password cannot be the same as your old password.',
49
- require_password: 'You need to set a password before signing-in.',
50
- password_exists: 'Your password has been set.',
51
- require_username: 'You need to set a username before signing-in.',
52
- username_exists: 'This username is already in use.',
53
- require_email: 'You need to add an email address before signing-in.',
54
- email_exists: 'This email is associated with an existing account.',
55
- require_sms: 'You need to add a phone number before signing-in.',
56
- sms_exists: 'This phone number is associated with an existing account.',
57
- require_email_or_sms: 'You need to add an email address or phone number before signing-in.',
50
+ password_required_in_profile: 'You need to set a password before signing-in.',
51
+ new_password_required_in_profile: 'You need to set a new password.',
52
+ password_exists_in_profile: 'Password already exists in your profile.',
53
+ username_required_in_profile: 'You need to set a username before signing-in.',
54
+ username_exists_in_profile: 'Username already exists in your profile.',
55
+ email_required_in_profile: 'You need to add an email address before signing-in.',
56
+ email_exists_in_profile: 'Your profile has already associated with an email address.',
57
+ phone_required_in_profile: 'You need to add a phone number before signing-in.',
58
+ phone_exists_in_profile: 'Your profile has already associated with a phone number.',
59
+ email_or_phone_required_in_profile: 'You need to add an email address or phone number before signing-in.',
58
60
  suspended: 'This account is suspended.',
61
+ user_not_exist: 'User with {{ identifier }} does not exist.',
62
+ missing_profile: 'You need to provide additional info before signing-in.',
63
+ role_exists: 'The role id {{roleId}} is already been added to this user',
59
64
  },
60
65
  password: {
61
66
  unsupported_encryption_method: 'The encryption method {{name}} is not supported.',
@@ -63,7 +68,7 @@ const errors = {
63
68
  },
64
69
  session: {
65
70
  not_found: 'Session not found. Please go back and sign in again.',
66
- invalid_credentials: 'Invalid credentials. Please check your input.',
71
+ invalid_credentials: 'Account and password do not match. Please check your input.',
67
72
  invalid_sign_in_method: 'Current sign-in method is not available.',
68
73
  invalid_connector_id: 'Unable to find available connector with id {{connectorId}}.',
69
74
  insufficient_info: 'Insufficient sign-in info.',
@@ -74,6 +79,10 @@ const errors = {
74
79
  unauthorized: 'Please sign in first.',
75
80
  unsupported_prompt_name: 'Unsupported prompt name.',
76
81
  forgot_password_not_enabled: 'Forgot password is not enabled.',
82
+ verification_failed: 'The verification was not successful. Restart the verification flow and try again.',
83
+ connector_validation_session_not_found: 'The connector session for token validation is not found.',
84
+ identifier_not_found: 'User identifier not found. Please go back and sign in again.',
85
+ interaction_not_found: 'Interaction session not found. Please go back and start the session again.',
77
86
  },
78
87
  connector: {
79
88
  general: 'An unexpected error occurred in connector.{{errorDescription}}',
@@ -96,15 +105,22 @@ const errors = {
96
105
  more_than_one_sms: 'The number of SMS connectors is larger then 1.',
97
106
  more_than_one_email: 'The number of Email connectors is larger then 1.',
98
107
  db_connector_type_mismatch: 'There is a connector in the DB that does not match the type.',
108
+ not_found_with_connector_id: 'Can not find connector with given standard connector id.',
109
+ multiple_instances_not_supported: 'Can not create multiple instance with picked standard connector.',
110
+ invalid_type_for_syncing_profile: 'You can only sync user profile with social connectors.',
111
+ can_not_modify_target: "The connector 'target' can not be modified.",
112
+ should_specify_target: "You should specify 'target'.",
113
+ multiple_target_with_same_platform: 'You can not have multiple social connectors that have same target and platform.',
114
+ cannot_overwrite_metadata_for_non_standard_connector: "This connector's 'metadata' cannot be overwritten.",
99
115
  },
100
- passcode: {
116
+ verification_code: {
101
117
  phone_email_empty: 'Both phone and email are empty.',
102
- not_found: 'Passcode not found. Please send passcode first.',
103
- phone_mismatch: 'Phone mismatch. Please request a new passcode.',
104
- email_mismatch: 'Email mismatch. Please request a new passcode.',
105
- code_mismatch: 'Invalid passcode.',
106
- expired: 'Passcode has expired. Please request a new passcode.',
107
- exceed_max_try: 'Passcode verification limitation exceeded. Please request a new passcode.',
118
+ not_found: 'Verification code not found. Please send verification code first.',
119
+ phone_mismatch: 'Phone mismatch. Please request a new verification code.',
120
+ email_mismatch: 'Email mismatch. Please request a new verification code.',
121
+ code_mismatch: 'Invalid verification code.',
122
+ expired: 'Verification code has expired. Please request a new verification code.',
123
+ exceed_max_try: 'Verification code retries limitation exceeded. Please request a new verification code.',
108
124
  },
109
125
  sign_in_experiences: {
110
126
  empty_content_url_of_terms_of_use: 'Empty "Terms of use" content URL. Please add the content URL if "Terms of use" is enabled.',
@@ -138,5 +154,15 @@ const errors = {
138
154
  log: {
139
155
  invalid_type: 'The log type is invalid.',
140
156
  },
157
+ role: {
158
+ name_in_use: 'This role name {{name}} is already in use',
159
+ scope_exists: 'The scope id {{scopeId}} has already been added to this role',
160
+ user_exists: 'The user id {{userId}} is already been added to this role',
161
+ default_role_missing: 'Some of the default roleNames does not exist in database, please ensure to create roles first',
162
+ },
163
+ scope: {
164
+ name_exists: 'The scope name {{name}} is already in use',
165
+ name_with_space: 'The name of the scope cannot contain any spaces.',
166
+ },
141
167
  };
142
- exports.default = errors;
168
+ export default errors;