i18n.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. const { a, em, strong } = require("hyperaxe");
  2. const i18n = {
  3. en: {
  4. // navbar items
  5. extended: "Extended",
  6. extendedDescription: [
  7. "When you support someone you may download posts from the inhabitants they support, and those posts show up here, sorted by recency.",
  8. ],
  9. popular: "Highlights",
  10. popularDescription: [
  11. "Posts from inhabitants in your network, ",
  12. strong("sorted by spreads"),
  13. ". Select the period of time, to get a list.",
  14. ],
  15. day: "Day",
  16. week: "Week",
  17. month: "Month",
  18. year: "Year",
  19. latest: "Latest",
  20. latestDescription: [
  21. strong("Posts"),
  22. " from yourself and inhabitants you support, sorted by recency.",
  23. ],
  24. topics: "Themes",
  25. topicsDescription: [
  26. strong("Themes"),
  27. " from yourself and inhabitants you support, sorted by recency. Select the timestamp of any post to see the rest of the thread.",
  28. ],
  29. summaries: "Summaries",
  30. summariesDescription: [
  31. strong("Themes and some comments"),
  32. " from yourself and inhabitants you support, sorted by recency. Select the timestamp of any post to see the rest of the thread.",
  33. ],
  34. threads: "Threads",
  35. threadsDescription: [
  36. strong("Posts that have comments"),
  37. " from inhabitants you support and your extended network, sorted by recency. Select the timestamp of any post to see the rest of the thread.",
  38. ],
  39. profile: "Avatar",
  40. inhabitants: "Inhabitants",
  41. manualMode: "Manual Mode",
  42. mentions: "Mentions",
  43. mentionsDescription: [
  44. strong("Posts that @mention you"),
  45. ", sorted by recency.",
  46. ],
  47. private: "Inbox",
  48. peers: "Peers",
  49. privateDescription: [
  50. "The latest comment from ",
  51. strong("private threads that include you"),
  52. ", sorted by recency. Private posts are encrypted for your public key, and have a maximum of 7 recipients. Recipients cannot be added after the thread has started. Select the timestamp to view the full thread.",
  53. ],
  54. search: "Search",
  55. imageSearch: "Image Search",
  56. settings: "Settings",
  57. // post actions
  58. comment: "Comment",
  59. subtopic: "Subtopic",
  60. json: "JSON",
  61. // relationships
  62. unfollow: "Unsupport",
  63. follow: "Support",
  64. block: "Block",
  65. unblock: "Unblock",
  66. newerPosts: "Newer posts",
  67. olderPosts: "Older posts",
  68. feedRangeEmpty: "The given range is empty for this feed. Try viewing the ",
  69. seeFullFeed: "full feed",
  70. feedEmpty: "The local client has never seen posts from this account.",
  71. beginningOfFeed: "This is the beginning of the feed",
  72. noNewerPosts: "No newer posts have been received yet.",
  73. relationshipNotFollowing: "",
  74. relationshipTheyFollow: "",
  75. relationshipMutuals: "",
  76. relationshipFollowing: "You are supporting",
  77. relationshipYou: "You",
  78. relationshipBlocking: "You are blocking",
  79. relationshipNone: "",
  80. relationshipConflict: "",
  81. relationshipBlockingPost: "Blocked post",
  82. // spreads view
  83. viewLikes: "View spreads",
  84. spreadedDescription: "List of posts spread by the inhabitant.",
  85. likedBy: " -> Spreads",
  86. // composer
  87. attachFiles: "Attach files",
  88. mentionsMatching: "Matching mentions",
  89. preview: "Preview",
  90. publish: "Publish",
  91. contentWarningPlaceholder: "Add a subject to the post (optional)",
  92. publishWarningPlaceholder: "...",
  93. publishCustomDescription: [
  94. "REMEMBER: Due to blockchain technology, once a post is published it cannot be edited or deleted.",
  95. ],
  96. commentWarning: [
  97. "REMEMBER: Due to blockchain technology, once a post is published it cannot be edited or deleted.",
  98. ],
  99. commentPublic: "public",
  100. commentPrivate: "private",
  101. commentLabel: ({ publicOrPrivate, markdownUrl }) => [
  102. ],
  103. publishLabel: ({ markdownUrl, linkTarget }) => [
  104. "REMEMBER: Due to blockchain technology, once a post is published it cannot be edited or deleted.",
  105. ],
  106. replyLabel: ({ markdownUrl }) => [
  107. "REMEMBER: Due to blockchain technology, once a post is published it cannot be edited or deleted.",
  108. ],
  109. publishCustomInfo: ({ href }) => [
  110. "If you have experience, you can also ",
  111. a({ href }, "publish an advanced post"),
  112. ".",
  113. ],
  114. publishBasicInfo: ({ href }) => [
  115. "If you have not experience, you should ",
  116. a({ href }, "publish a post"),
  117. ".",
  118. ],
  119. publishCustom: "Publish advanced post",
  120. subtopicLabel: ({ markdownUrl }) => [
  121. "Create a ",
  122. strong("public subtopic"),
  123. " of this post with ",
  124. a({ href: markdownUrl }, "Markdown"),
  125. ". Posts cannot be edited or deleted. To respond to an entire thread, select ",
  126. strong("comment"),
  127. " instead. Preview shows attached media.",
  128. ],
  129. // settings
  130. versionIntro: "Version",
  131. info: "Info",
  132. settingsIntro: ({ version }) => [
  133. `SNH-Oasis: ${version}...`,
  134. ],
  135. // SNH
  136. docsUrls: ({ snhUrl, projectUrl, roleUrl }) => [
  137. a({ href: snhUrl }, "Website"),
  138. " | ",
  139. a({ href: projectUrl }, "The Project Network"),
  140. " | ",
  141. a({ href: roleUrl }, "Role-playing"),
  142. ],
  143. theme: "Theme",
  144. themeIntro:
  145. "Choose a theme.",
  146. setTheme: "Set theme",
  147. language: "Language",
  148. languageDescription:
  149. "If you'd like to use another language, select it here.",
  150. setLanguage: "Set language",
  151. status: "Status",
  152. peerConnections: "Peers",
  153. connectionsIntro:
  154. "Your device is syncing data with these other devices:",
  155. noConnections: "No peers connected.",
  156. connectionActionIntro:
  157. "",
  158. startNetworking: "Start networking",
  159. stopNetworking: "Stop networking",
  160. restartNetworking: "Restart networking",
  161. sync: "Sync",
  162. indexes: "Indexes",
  163. indexesDescription:
  164. "Rebuilding your indexes is safe, and may fix some types of bugs.",
  165. invites: "Invites",
  166. invitesDescription:
  167. "Use the PUB's invite codes here.",
  168. acceptInvite: "Accept invite",
  169. // search page
  170. searchLabel: "Seek inhabitants and keywords, among the posts you have downloaded.",
  171. // image search page
  172. imageSearchLabel: "Enter words to search for images labelled with them.",
  173. // posts and comments
  174. commentDescription: ({ parentUrl }) => [
  175. " commented on ",
  176. a({ href: parentUrl }, " thread"),
  177. ],
  178. commentTitle: ({ authorName }) => [`Comment on @${authorName}'s post`],
  179. subtopicDescription: ({ parentUrl }) => [
  180. " created a subtopic from ",
  181. a({ href: parentUrl }, " a post"),
  182. ],
  183. subtopicTitle: ({ authorName }) => [`Subtopic on @${authorName}'s post`],
  184. mysteryDescription: "posted a mysterious post",
  185. // misc
  186. oasisDescription: "SNH Project Network",
  187. submit: "Submit",
  188. editProfile: "Edit Avatar",
  189. editProfileDescription:
  190. "",
  191. profileName: "Avatar name (plain text)",
  192. profileImage: "Avatar image",
  193. profileDescription: "Avatar description (Markdown)",
  194. hashtagDescription:
  195. "Posts from inhabitants in your network that reference this #hashtag, sorted by recency.",
  196. rebuildName: "Rebuild database",
  197. },
  198. /* spell-checker: disable */
  199. es: {
  200. latest: "Novedades",
  201. profile: "Avatar",
  202. inhabitants: "Habitantes",
  203. search: "Buscar",
  204. imageSearch: "Buscar Imágenes",
  205. settings: "Configuración",
  206. // navbar items
  207. extended: "Extendida",
  208. extendedDescription: [
  209. "Cuando apoyes a alguien, podrás descargar publicaciones de habitantes que apoye, y esas publicaciones aparecerán aquí, ordenadas por las más recientes.",
  210. ],
  211. popular: "Destacadas",
  212. day: "Día",
  213. week: "Semana",
  214. month: "Mes",
  215. year: "Año",
  216. popularDescription: [
  217. "Posts de habitantes de tu red, ",
  218. strong("ordenados por difusiones"),
  219. ". Selecciona el periodo de tiempo, para obtener una lista.",
  220. ],
  221. latestDescription: [
  222. strong("Posts"),
  223. " tuyos y de habitantes que apoyas, ordenados por los más recientes.",
  224. ],
  225. topics: "Temáticas",
  226. topicsDescription: [
  227. strong("Temáticas"),
  228. " tuyas y de habitantes que apoyas, ordenadas por las más recientes. Selecciona la hora de una publicación para leer el hilo completo.",
  229. ],
  230. summaries: "Resumen",
  231. summariesDescription: [
  232. strong("Temáticas y algunos comentarios"),
  233. " tuyos y de habitantes que apoyas, ordenado por lo más reciente. Selecciona la hora de una publicación para leer el hilo completo.",
  234. ],
  235. threads: "Hilos",
  236. threadsDescription: [
  237. strong("Posts que tienen comentarios"),
  238. " de habitantes que apoyas y de tu red extendida, ordenados por los más recientes. Selecciona la hora de una publicación para leer el hilo completo.",
  239. ],
  240. manualMode: "Modo manual",
  241. mentions: "Menciones",
  242. mentionsDescription: [
  243. strong("Posts que te @mencionan"),
  244. ", ordenados por los más recientes.",
  245. ],
  246. private: "Buzón",
  247. peers: "Enlaces",
  248. privateDescription: [
  249. "Los comentarios más recientes de ",
  250. strong("hilos privados que te incluyen"),
  251. ". Las publicaciones privadas están cifradas para ti, y contienen un máximo de 7 destinatarios. No se podrán añadir nuevos destinarios después de que empieze el hilo. Selecciona la hora de una publicación para leer el hilo completo.",
  252. ],
  253. // post actions
  254. comment: "Comentar",
  255. reply: "Responder",
  256. subtopic: "Subhilo",
  257. json: "JSON",
  258. // relationships
  259. relationshipNotFollowing: "",
  260. relationshipTheyFollow: "",
  261. relationshipMutuals: "",
  262. relationshipFollowing: "Apoyando",
  263. relationshipYou: "Tú",
  264. relationshipBlocking: "Bloqueado",
  265. relationshipNone: "",
  266. relationshipConflict: "",
  267. relationshipBlockingPost: "Post bloqueado",
  268. unfollow: "Dejar de apoyar",
  269. follow: "Apoyar",
  270. block: "Bloquear",
  271. unblock: "Desbloquear",
  272. newerPosts: "Nuevos posts",
  273. olderPosts: "Anteriores posts",
  274. feedRangeEmpty: "El rango requerido está vacío para éste hilo. Prueba a ver el ",
  275. seeFullFeed: "hilo completo",
  276. feedEmpty: "No tienes posts de ésta cuenta.",
  277. beginningOfFeed: "Éste es el comienzo del hilo",
  278. noNewerPosts: "No se han recibido nuevos posts aún.",
  279. // spreads view
  280. viewLikes: "Ver difusiones",
  281. spreadedDescription: "Listado de posts difundidos del habitante.",
  282. likedBy: " -> Difusiones",
  283. // composer
  284. attachFiles: "Agregar archivos",
  285. mentionsMatching: "Menciones coincidentes",
  286. preview: "Vista previa",
  287. publish: "Publicar",
  288. contentWarningPlaceholder: "Añade un asunto al post (opcional)",
  289. publishWarningPlaceholder: "...",
  290. publishCustomDescription: [
  291. "RECUERDA: Debido a la tecnología blockchain, una vez publicado un post, no podrá ser editado o borrado.",
  292. ],
  293. commentWarning: [
  294. " RECUERDA: Debido a la tecnología blockchain, una vez publicado un post, no podrá ser editado o borrado.",
  295. ],
  296. commentPublic: "público",
  297. commentPrivate: "privado",
  298. commentLabel: ({ publicOrPrivate, markdownUrl }) => [
  299. ],
  300. publishLabel: ({ markdownUrl, linkTarget }) => [
  301. "RECUERDA: Debido a la tecnología blockchain, una vez publicado un post, no podrá ser editado o borrado.",
  302. ],
  303. publishCustomInfo: ({ href }) => [
  304. "Si tienes experiencia, también puedes ",
  305. a({ href }, "publicar un post avanzado"),
  306. ".",
  307. ],
  308. publishBasicInfo: ({ href }) => [
  309. "Si no tienes experiencia, lo mejor es ",
  310. a({ href }, "publicar un post normal"),
  311. ".",
  312. ],
  313. publishCustom: "Publicar post avanzado",
  314. replyLabel: ({ markdownUrl }) => [
  315. "RECUERDA: Debido a la tecnología blockchain, una vez publicados los posts, no podrán ser editados o borrados.",
  316. ],
  317. // settings-es
  318. versionIntro: "Versión",
  319. info: "Info",
  320. settingsIntro: ({ version }) => [
  321. `SNH-Oasis: ${version}...`,
  322. ],
  323. // SNH
  324. docsUrls: ({ snhUrl, projectUrl, roleUrl }) => [
  325. a({ href: snhUrl }, "Website"),
  326. " | ",
  327. a({ href: projectUrl }, "The Project Network"),
  328. " | ",
  329. a({ href: roleUrl }, "Role-playing"),
  330. ],
  331. theme: "Tema",
  332. themeIntro:
  333. "Elige un tema.",
  334. setTheme: "Seleccionar tema",
  335. language: "Idioma",
  336. languageDescription:
  337. "Si quieres usar otro idioma, seleccionalo aquí.",
  338. setLanguage: "Seleccionar idioma",
  339. status: "Estado",
  340. peerConnections: "Enlaces",
  341. connectionsIntro:
  342. "Tu dispositivo está sincronizando datos con los siguientes dispositivos:",
  343. noConnections: "Sin enlaces conectados.",
  344. connectionActionIntro:
  345. "",
  346. startNetworking: "Iniciar red",
  347. stopNetworking: "Detener red",
  348. restartNetworking: "Reiniciar red",
  349. sync: "Sincronizar",
  350. indexes: "Índices",
  351. indexesDescription:
  352. "Reconstruir la caché de forma segura, puede solucionar algunos errores si se presentan.",
  353. invites: "Invitaciones",
  354. invitesDescription:
  355. "Utiliza los códigos de invitación de los PUBs aquí.",
  356. acceptInvite: "Aceptar la invitación",
  357. // search page
  358. searchLabel:
  359. "Busca habitantes y palabras clave, entre los posts que tienes descargados.",
  360. // posts and comments
  361. commentDescription: ({ parentUrl }) => [
  362. " comentó en el hilo ",
  363. a({ href: parentUrl }, ""),
  364. ],
  365. replyDescription: ({ parentUrl }) => [
  366. " respondido al ",
  367. a({ href: parentUrl }, "post "),
  368. ],
  369. // image search page
  370. imageSearchLabel:
  371. "Busca entre los títulos de las imágenes que tienes descargadas.",
  372. // posts and comments
  373. commentTitle: ({ authorName }) => [
  374. `Comentó en el post de @${authorName}`,
  375. ],
  376. subtopicDescription: ({ parentUrl }) => [
  377. " creó un nuevo hilo para ",
  378. a({ href: parentUrl }, "este post"),
  379. ],
  380. subtopicTitle: ({ authorName }) => [
  381. `Nuevo hilo en el post de @${authorName}`,
  382. ],
  383. mysteryDescription: "publicó un post misterioso",
  384. // misc
  385. oasisDescription:
  386. "Red de Proyectos de SNH",
  387. submit: "Aceptar",
  388. editProfile: "Editar avatar",
  389. editProfileDescription:
  390. "",
  391. profileName: "Nombre del avatar (texto)",
  392. profileImage: "Imagen del avatar",
  393. profileDescription: "Descripción del avatar (Markdown)",
  394. hashtagDescription:
  395. "Posts de habitantes en tu red que referencian a ésta #etiqueta, ordenados por los más recientes.",
  396. rebuildName: "Reconstruir base de datos",
  397. },
  398. };
  399. module.exports = i18n;