diff --git a/i18n/EN/html_translations.json b/i18n/EN/html_translations.json new file mode 100644 index 0000000000000000000000000000000000000000..e0d896bbb1636cf946ba454735c1a5eeca96aea5 --- /dev/null +++ b/i18n/EN/html_translations.json @@ -0,0 +1,56 @@ +{ + "common": { + "MAIN_TITLE": "ViĞnette", + "HOME": "Home", + "HELP": "Help", + "LICENSE": "License" + }, + "index.html": { + "MAIN_PAGE_PARAGRAPH_TITLE": "Create a poster for your ĞMarkets!", + "MAIN_PAGE_PARAGRAPH": "On the markets, finding a person's public key to transfer him often takes time and can lead to mistakes. To avoid these worries, a sign will allow your customers to find your account easily and without error, simply by flashing the QR-code! ", + "MAIN_PAGE_LIST_INTRO": "ViĞnette allows you to display:", + "MAIN_PAGE_LIST_PUBKEY": "Your complete public key and its QR-code,", + "MAIN_PAGE_LIST_TEXT": "A text describing your products,", + "MAIN_PAGE_LIST_IMAGE": "An image of your choice.", + "MAIN_PAGE_FORM_TITLE": "Generate your sign!", + "FORM_TITLE": "Title", + "PUBKEY": "Public key", + "INFORMATION": "Information", + "IMAGE": "Image", + "GENERATE": "Generate", + "MAIN_PAGE_FORM_RECOMMEND_IMAGE_SIZE": "Recommended size : 900x900 px", + "MAIN_PAGE_FORM_DISPLAY_G1_LOGO": "Display Ğ1 logo", + "MAIN_PAGE_FORM_BUSINESS_CARD": "Business card", + "MAIN_PAGE_FORM_CARD_NUMBER": "Number of signs on 1 page :", + "MAIN_PAGE_FORM_GENERATE": "Generate!", + "MAIN_PAGE_BTN_DOWNLOAD": "Download the vign", + "MAIN_PAGE_BTN_PRINT": "Print the sign", + "MAIN_PAGE_BTN_SEND_DONATION": "Donate to Viğnette", + "FORM_HELP_TRANSFORM_G1": "'_G_', '_g_', 'G1' and 'g1' will be replaced by 'Ğ', 'ğ', 'Ğ1 et 'ğ1'.", + "FORM_HELP_CHECKSUM": "With or without checksum" + }, + "licence.html": { + "LICENCE_SUMMARY": "This site is licensed under GNU Affero Public License. You have the right to copy, modify, distribute it from your own servers under two conditions:", + "LICENCE_SUMMARY_LIST_1": "You must cite the original author: Matograine - matograine (at) zaclys (point) net", + "LICENCE_SUMMARY_LIST_2": "If you modify the code distributed on your server, you must distribute it publicly. You can find our code on <a href=\"https://git.duniter.org/matograine/vignette\">our Git repository</a>.", + "PROJECTS_USED": "Used projects ", + "PROJECTS_USED_INTRO": "We used code coming from following projects :", + "PROJECTS_USED_LIST_1": "The paperwallet generator for Duniter/ğ1 from Tortue, licensed under GNU GPLv3. the site is inaccessible, but the sources are <a href=\"https://github.com/Tortue95/Duniter_Paper_Wallet\">here</a>.", + "PROJECTS_USED_LIST_2": "<a href=\"https://davidshimjs.github.io/qrcodejs/\">QRcode.js</a>, QR-code generator lib by David Shim, under MIT license.", + "PROJECTS_USED_LIST_3": "<a href=\"https://github.com/duniter/G1/pull/7\">the Ğ logo</a> created by Tuxmain, (undefined license)", + "PROJECTS_USED_LIST_4": "<a href=\"https://materializecss.com/\">Materialize</a>, framework for Material theme, under MIT license.", + "DISPLAY_ENGLISH_LICENSE": "Display GNU AGPL license" + }, + "questions.html": { + "WHO_SUMMARY": "About us", + "WHO_DETAILS": "This service has been created by Matograine. Many members of Ğ1 libre currency helped: <ul><li>llaq for the page layout</li><li>Attilax for the logo</li><li>Kapis for CAT, ES, EN translation, financer by the Spanish fund.</li></ul><br>If you appreciate our work, please make us a donation on this public key:", + "G1_SUMMARY": "What is Ğ1?", + "G1_DETAILS": "Ğ1 (pronounce \"Jüne\") is a <em>libre currency.</em> It means that it is created on a regular basis, equally for all members, and that the monatary issuance rate stays the same among human generations. More info on English threads from the <a href=\"https://monnaie-libre.fr\">monnaie-libre.fr</a>.", + "CHECKSUM_SUMMARY": "Why are there three characters at the end of my public key?", + "CHECKSUM_DETAILS": "These tree characters are called \"checksum\" or \"control sum\". They are separated from the public key by a colon (\":\"), allow the wallet software (i.e. Cesium) to verify that the public key is consistent. It is especially useful when a customer wants to copy your public key by hand, since manual errors can be detected.", + "IMAGE_SIZE_SUMMARY": " What is the best size for the image?", + "IMAGE_SIZE_DETAILS": "The best size for the image is 900x900 pixels. a square image will be resized. A non square image will be truncated by a square centred on the image before being resized at 900x900, then reduced to the size of the sign.", + "CONTRIBUTE_SUMMARY": "How can I contribute and where can I report issues?", + "CONTRIBUTE_DETAILS": "The Git repository for this project is <a href=\"https://git.duniter.org/matograine/vignette\">on the Duniter project Gitlab forge</a>." + } +} diff --git a/i18n/EN/logo-g.png b/i18n/EN/logo-g.png new file mode 100644 index 0000000000000000000000000000000000000000..3a14027ef180f9878a90c5b80a1c7d7adade94f5 Binary files /dev/null and b/i18n/EN/logo-g.png differ diff --git a/i18n/EN/strings.js b/i18n/EN/strings.js new file mode 100644 index 0000000000000000000000000000000000000000..3c9bc02d561a0185a0c46d3192ab272017ac17ee --- /dev/null +++ b/i18n/EN/strings.js @@ -0,0 +1,9 @@ + //---- Error and message strings for JS code + + const STRING_ERROR_TITLE_PUBKEY_NOT_PROVIDED = "ERROR: Title or public key are not given !"; + const Function_STRING_ERROR_WRONG_CHECKSUM = (checksum, pubkey) => `The checksum ${checksum} does not match the public key ${pubkey}. Please double-check the public key.` + const STRING_ERROR_BROWSER_NOT_SUPPORTED = "ERROR: Your browser is not supported." + const Function_STRING_ERROR_PUBKEY_TOO_SHORT = (min_length) => `ERROR: The public key is less than ${min_length} characters long.\n` + const Function_STRING_ERROR_PUBKEY_TOO_LONG = (max_length) => `ERROR: The public key is more than ${max_length} characters long.\n` + const Function_STRING_SEND_GIFT = (pubkey_ck) => `To make a donation to Viğnette, please send Ğ1 on public key : ${pubkey_ck}.` + const STRING_PUBKEY_COPIED_IN_CLIPBOARD = "\n\nThis public key has been copied in the clipboard. You can paste it directly in your wallet software."