From 4db5a4cc4effb2818809469e92859798a756919a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 8 Aug 2024 01:33:04 +0200 Subject: Add an about page --- i18n/catalog.go | 93 +++++++++++++++++-------- i18n/locales/en-GB/messages.gotext.json | 119 ++++++++++++++++++++++++++++++++ i18n/locales/nl-NL/messages.gotext.json | 93 +++++++++++++++++++++++++ 3 files changed, 277 insertions(+), 28 deletions(-) (limited to 'i18n') diff --git a/i18n/catalog.go b/i18n/catalog.go index f01b375..ccf4068 100644 --- a/i18n/catalog.go +++ b/i18n/catalog.go @@ -39,41 +39,78 @@ func init() { } var messageKeyToIndex = map[string]int{ - "Banknotes": 4, - "Coin Collecting": 2, - "Coins": 3, - "Discord": 6, - "Eurozone Languages": 11, - "Feel free to contact us!": 8, - "Found a mistake or want to contribute missing information?": 7, - "Home": 0, - "Jargon": 5, - "News": 1, - "Other Languages": 12, - "Select Your Language": 9, - "Select your preferred language to use on the site.": 10, + "About": 13, + "About Us": 1, + "Banknotes": 10, + "Coin Collecting": 8, + "Coins": 9, + "Contact Us": 4, + "Discord": 12, + "Eurozone Languages": 24, + "Feel free to contact us!": 16, + "Found a mistake or want to contribute missing information?": 15, + "Home": 6, + "Jargon": 11, + "Language": 14, + "News": 7, + "Open Source": 2, + "Other Languages": 25, + "Page not found": 0, + "Select Your Language": 22, + "Select your preferred language to use on the site.": 23, + "The Euro Cash Compendium": 17, + "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found %shere%s. This site is licensed under the BSD 0-Clause license giving you the full freedom to do whatever you would like with any of the content on this site.": 3, + "United in": 18, + "Welcome to the Euro Cash Compendium. This sites aims to be a resource for you to discover everything there is to know about the coins and banknotes of the Euro, a currency that spans 26 countries and 350 million people. We also have dedicated sections of the site for collectors.": 21, + "While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. In such a case don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically included, but if not you can always send an email to %s or contact ‘@onetruemangoman’ on Discord.": 5, + "cash": 20, + "diversity": 19, } -var en_GBIndex = []uint32{ // 14 elements - 0x00000000, 0x00000005, 0x0000000a, 0x0000001a, - 0x00000020, 0x0000002a, 0x00000031, 0x00000039, - 0x00000074, 0x0000008d, 0x000000a2, 0x000000d5, - 0x000000e8, 0x000000f8, -} // Size: 80 bytes +var en_GBIndex = []uint32{ // 27 elements + 0x00000000, 0x0000000f, 0x00000018, 0x00000024, + 0x00000189, 0x00000194, 0x00000385, 0x0000038a, + 0x0000038f, 0x0000039f, 0x000003a5, 0x000003af, + 0x000003b6, 0x000003be, 0x000003c4, 0x000003cd, + 0x00000408, 0x00000421, 0x0000043a, 0x00000444, + 0x0000044e, 0x00000453, 0x0000056b, 0x00000580, + 0x000005b3, 0x000005c6, 0x000005d6, +} // Size: 132 bytes -const en_GBData string = "" + // Size: 248 bytes - "\x02Home\x02News\x02Coin Collecting\x02Coins\x02Banknotes\x02Jargon\x02D" + - "iscord\x02Found a mistake or want to contribute missing information?\x02" + - "Feel free to contact us!\x02Select Your Language\x02Select your preferre" + - "d language to use on the site.\x02Eurozone Languages\x02Other Languages" +const en_GBData string = "" + // Size: 1494 bytes + "\x02Page not found\x02About Us\x02Open Source\x02This website is an open" + + " project, and a collaboration between developers, translators, and resea" + + "rchers. All source code, data, images, and more for the website are open" + + " source and can be found %[1]shere%[2]s. This site is licensed under the" + + " BSD 0-Clause license giving you the full freedom to do whatever you wou" + + "ld like with any of the content on this site.\x02Contact Us\x02While we " + + "try to stay as up-to-date as possible and to fact check our information," + + " it is always possible that we get something wrong, lack a translation, " + + "or are missing some piece of data you may have. In such a case don’t hes" + + "itate to contact us; we’ll try to get the site updated or fixed as soon " + + "as possible. You are always free to contribute via a git patch if you ar" + + "e more technically included, but if not you can always send an email to " + + "%[1]s or contact ‘@onetruemangoman’ on Discord.\x02Home\x02News\x02Coin " + + "Collecting\x02Coins\x02Banknotes\x02Jargon\x02Discord\x02About\x02Langua" + + "ge\x02Found a mistake or want to contribute missing information?\x02Feel" + + " free to contact us!\x02The Euro Cash Compendium\x02United in\x02diversi" + + "ty\x02cash\x02Welcome to the Euro Cash Compendium. This sites aims to be" + + " a resource for you to discover everything there is to know about the co" + + "ins and banknotes of the Euro, a currency that spans 26 countries and 35" + + "0 million people. We also have dedicated sections of the site for collec" + + "tors.\x02Select Your Language\x02Select your preferred language to use o" + + "n the site.\x02Eurozone Languages\x02Other Languages" -var nl_NLIndex = []uint32{ // 14 elements +var nl_NLIndex = []uint32{ // 27 elements 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x00000000, 0x00000000, -} // Size: 80 bytes + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, +} // Size: 132 bytes const nl_NLData string = "" -// Total table size 408 bytes (0KiB); checksum: E5CA15 +// Total table size 1758 bytes (1KiB); checksum: 8485E573 diff --git a/i18n/locales/en-GB/messages.gotext.json b/i18n/locales/en-GB/messages.gotext.json index 64c1a2a..4b0b247 100644 --- a/i18n/locales/en-GB/messages.gotext.json +++ b/i18n/locales/en-GB/messages.gotext.json @@ -1,6 +1,76 @@ { "language": "en-GB", "messages": [ + { + "id": "Page not found", + "message": "Page not found", + "translation": "Page not found", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "About Us", + "message": "About Us", + "translation": "About Us", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "Open Source", + "message": "Open Source", + "translation": "Open Source", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found {LinkStart}here{LinkEnd}. This site is licensed under the BSD 0-Clause license giving you the full freedom to do whatever you would like with any of the content on this site.", + "message": "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found {LinkStart}here{LinkEnd}. This site is licensed under the BSD 0-Clause license giving you the full freedom to do whatever you would like with any of the content on this site.", + "translation": "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found {LinkStart}here{LinkEnd}. This site is licensed under the BSD 0-Clause license giving you the full freedom to do whatever you would like with any of the content on this site.", + "translatorComment": "Copied from source.", + "placeholders": [ + { + "id": "LinkStart", + "string": "%[1]s", + "type": "string", + "underlyingType": "string", + "argNum": 1, + "expr": "linkStart" + }, + { + "id": "LinkEnd", + "string": "%[2]s", + "type": "string", + "underlyingType": "string", + "argNum": 2, + "expr": "linkEnd" + } + ], + "fuzzy": true + }, + { + "id": "Contact Us", + "message": "Contact Us", + "translation": "Contact Us", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. In such a case don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically included, but if not you can always send an email to {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "message": "While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. In such a case don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically included, but if not you can always send an email to {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "translation": "While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. In such a case don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically included, but if not you can always send an email to {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "translatorComment": "Copied from source.", + "placeholders": [ + { + "id": "ContactEmail", + "string": "%[1]s", + "type": "string", + "underlyingType": "string", + "argNum": 1, + "expr": "contactEmail" + } + ], + "fuzzy": true + }, { "id": "Home", "message": "Home", @@ -50,6 +120,20 @@ "translatorComment": "Copied from source.", "fuzzy": true }, + { + "id": "About", + "message": "About", + "translation": "About", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "Language", + "message": "Language", + "translation": "Language", + "translatorComment": "Copied from source.", + "fuzzy": true + }, { "id": "Found a mistake or want to contribute missing information?", "message": "Found a mistake or want to contribute missing information?", @@ -64,6 +148,41 @@ "translatorComment": "Copied from source.", "fuzzy": true }, + { + "id": "The Euro Cash Compendium", + "message": "The Euro Cash Compendium", + "translation": "The Euro Cash Compendium", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "United in", + "message": "United in", + "translation": "United in", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "diversity", + "message": "diversity", + "translation": "diversity", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "cash", + "message": "cash", + "translation": "cash", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "Welcome to the Euro Cash Compendium. This sites aims to be a resource for you to discover everything there is to know about the coins and banknotes of the Euro, a currency that spans 26 countries and 350 million people. We also have dedicated sections of the site for collectors.", + "message": "Welcome to the Euro Cash Compendium. This sites aims to be a resource for you to discover everything there is to know about the coins and banknotes of the Euro, a currency that spans 26 countries and 350 million people. We also have dedicated sections of the site for collectors.", + "translation": "Welcome to the Euro Cash Compendium. This sites aims to be a resource for you to discover everything there is to know about the coins and banknotes of the Euro, a currency that spans 26 countries and 350 million people. We also have dedicated sections of the site for collectors.", + "translatorComment": "Copied from source.", + "fuzzy": true + }, { "id": "Select Your Language", "message": "Select Your Language", diff --git a/i18n/locales/nl-NL/messages.gotext.json b/i18n/locales/nl-NL/messages.gotext.json index d1cd455..fb18cfb 100644 --- a/i18n/locales/nl-NL/messages.gotext.json +++ b/i18n/locales/nl-NL/messages.gotext.json @@ -1,6 +1,64 @@ { "language": "nl-NL", "messages": [ + { + "id": "Page not found", + "message": "Page not found", + "translation": "" + }, + { + "id": "About Us", + "message": "About Us", + "translation": "" + }, + { + "id": "Open Source", + "message": "Open Source", + "translation": "" + }, + { + "id": "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found {LinkStart}here{LinkEnd}. This site is licensed under the BSD 0-Clause license giving you the full freedom to do whatever you would like with any of the content on this site.", + "message": "This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found {LinkStart}here{LinkEnd}. This site is licensed under the BSD 0-Clause license giving you the full freedom to do whatever you would like with any of the content on this site.", + "translation": "", + "placeholders": [ + { + "id": "LinkStart", + "string": "%[1]s", + "type": "string", + "underlyingType": "string", + "argNum": 1, + "expr": "linkStart" + }, + { + "id": "LinkEnd", + "string": "%[2]s", + "type": "string", + "underlyingType": "string", + "argNum": 2, + "expr": "linkEnd" + } + ] + }, + { + "id": "Contact Us", + "message": "Contact Us", + "translation": "" + }, + { + "id": "While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. In such a case don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically included, but if not you can always send an email to {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "message": "While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. In such a case don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically included, but if not you can always send an email to {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "translation": "", + "placeholders": [ + { + "id": "ContactEmail", + "string": "%[1]s", + "type": "string", + "underlyingType": "string", + "argNum": 1, + "expr": "contactEmail" + } + ] + }, { "id": "Home", "message": "Home", @@ -36,6 +94,16 @@ "message": "Discord", "translation": "" }, + { + "id": "About", + "message": "About", + "translation": "" + }, + { + "id": "Language", + "message": "Language", + "translation": "" + }, { "id": "Found a mistake or want to contribute missing information?", "message": "Found a mistake or want to contribute missing information?", @@ -46,6 +114,31 @@ "message": "Feel free to contact us!", "translation": "" }, + { + "id": "The Euro Cash Compendium", + "message": "The Euro Cash Compendium", + "translation": "" + }, + { + "id": "United in", + "message": "United in", + "translation": "" + }, + { + "id": "diversity", + "message": "diversity", + "translation": "" + }, + { + "id": "cash", + "message": "cash", + "translation": "" + }, + { + "id": "Welcome to the Euro Cash Compendium. This sites aims to be a resource for you to discover everything there is to know about the coins and banknotes of the Euro, a currency that spans 26 countries and 350 million people. We also have dedicated sections of the site for collectors.", + "message": "Welcome to the Euro Cash Compendium. This sites aims to be a resource for you to discover everything there is to know about the coins and banknotes of the Euro, a currency that spans 26 countries and 350 million people. We also have dedicated sections of the site for collectors.", + "translation": "" + }, { "id": "Select Your Language", "message": "Select Your Language", -- cgit v1.2.3