Skip to content

Commit

Permalink
feat: add Romanian translation (#3332)
Browse files Browse the repository at this point in the history
* Create index.ts
* Add files via upload
* Update i18n-types.ts
* Update i18n-util.async.ts
* Update i18n-util.sync.ts
* Update i18n-util.ts
* Update mapping.ts
* chore: yarn update-translations
---------
Co-authored-by: openoms <[email protected]>
  • Loading branch information
i2dor authored Aug 12, 2024
1 parent 00e730f commit eec5e87
Show file tree
Hide file tree
Showing 8 changed files with 2,793 additions and 9 deletions.
1 change: 1 addition & 0 deletions app/i18n/i18n-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export type Locales =
| 'nl'
| 'pt'
| 'qu'
| 'ro'
| 'sr'
| 'sw'
| 'th'
Expand Down
1 change: 1 addition & 0 deletions app/i18n/i18n-util.async.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const localeTranslationLoaders = {
nl: () => import('./nl'),
pt: () => import('./pt'),
qu: () => import('./qu'),
ro: () => import('./ro'),
sr: () => import('./sr'),
sw: () => import('./sw'),
th: () => import('./th'),
Expand Down
2 changes: 2 additions & 0 deletions app/i18n/i18n-util.sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import ms from './ms'
import nl from './nl'
import pt from './pt'
import qu from './qu'
import ro from './ro'
import sr from './sr'
import sw from './sw'
import th from './th'
Expand Down Expand Up @@ -52,6 +53,7 @@ const localeTranslations = {
nl,
pt,
qu,
ro,
sr,
sw,
th,
Expand Down
1 change: 1 addition & 0 deletions app/i18n/i18n-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const locales: Locales[] = [
'nl',
'pt',
'qu',
'ro',
'sr',
'sw',
'th',
Expand Down
4 changes: 3 additions & 1 deletion app/i18n/mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import "@formatjs/intl-relativetimeformat/locale-data/nl"
import "@formatjs/intl-relativetimeformat/locale-data/ms"
import "@formatjs/intl-relativetimeformat/locale-data/pt"
import "@formatjs/intl-relativetimeformat/locale-data/qu"
import "@formatjs/intl-relativetimeformat/locale-data/ro"
import "@formatjs/intl-relativetimeformat/locale-data/sr"
import "@formatjs/intl-relativetimeformat/locale-data/sw"
import "@formatjs/intl-relativetimeformat/locale-data/th"
Expand Down Expand Up @@ -51,9 +52,10 @@ export const LocaleToTranslateLanguageSelector = {
ms: "Bahasa Melayu",
pt: "Português",
qu: "Quechua",
ro: "Română",
sr: "Српски",
sw: "KiSwahili",
th: "ไทย",
tr: "Türkçe",
vi: "Tiếng Việt",
} as const
} as const
16 changes: 8 additions & 8 deletions app/i18n/raw-i18n/source/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
"Not quite. Although the design of papers bills may change, this has nothing to do with their value."
],
"question": "What happens to the value of all fiat money over time?",
"text": "That is correct. \n\nIn the history of the world, there have been 775 fiat currencies created. Most no longer exist, and the average life for any fiat money is only 27 years.\n\nThe British Pound is the oldest currency which still exists today. It has lost more than 99% of its value since 1694. \n\nThere is no precedent for any fiat money maintaining its value over time. This is inflation. \nIt is effectively a form of theft of your own hard earned money !",
"text": "That is correct. \n\nIn the history of the world, there have been 775 fiat currencies created. Most no longer exist, and the average life for any fiat money is only 27 years.\n\nThe British Pound is the oldest fiat currency. It has lost more than 99% of its value since 1694. \n\nThere is no precedent for any fiat money maintaining its value over time. This is inflation. \nIt is effectively a form of theft of your own hard earned money !",
"title": "Does this mean that all fiat money loses value over time?"
},
"OtherIssues": {
Expand Down Expand Up @@ -403,7 +403,7 @@
"feedback": [
"Correct. In fact, the Bitcoin network has never once been hacked. Answer the next question to learn more!",
"Nice try, but wrong. The bitcoin network is safe and secure — 24 hours a day, 365 days a year.",
"Incorrect. Although bitcoin is indeed “open source” software — or available to the public for free — is still extremely secure."
"Icorrect. Although bitcoin is indeed “open source” software — or available to the public for free — is still extremely secure."
],
"question": "Is the Bitcoin network secure?",
"text": "The bitcoin network is worth well over $100 billion today. Accordingly, the network must be very secure — so that money is never stolen. \n\nBitcoin is known as the world’s first cryptocurrency. \n\nThe “crypto” part of the name comes from cryptography. Simply put, cryptography protects information through very complex math functions. \n\nMost people do not realize — but Bitcoin is actually the most secure computer network in the world ! \n\n(you may have heard about bitcoin “hacks” — which we will debunk in the next quiz)",
Expand Down Expand Up @@ -532,7 +532,7 @@
],
"feedback": [
"You got it right. The network that secures the currency is an important factor in determining its durability, especially for digital currencies like bitcoin. Did you know that bitcoin has displayed a high level of \"anti-fragility\" despite attempts to regulate it and attacks by hackers? That's quite impressive for a currency that's still in its early stages",
"Nope, sorry! The physical manifestation of the currency is actually not as important as the institution that issues it or the network that secures it.",
"Nope, sorry! The physical manifestation of the currency is actually not as important as the institution that issues it or the network that secures it. Don't worry though, you're not alone in making this mistake. Even the Ancient Greeks used to mint their coins out of perishable materials like bronze and copper",
"Close, but not quite! The institution that issues the currency is actually an important factor in determining its durability. But hey, at least you're not alone in this mistake. There have been many governments and currencies that have come and gone over the centuries."
],
"question": "Which of the following is an important factor in determining the durability of a good store of value",
Expand Down Expand Up @@ -751,7 +751,7 @@
"Sorry to break it to you, but Bitcoin is still in the process of becoming more widely accepted as money. Better luck next time!"
],
"question": "What is the current stage of Bitcoin's evolution",
"text": "Bitcoin is widely use as a store of value. It may take several years for Bitcoin to be used as a way to trade goods and services, like other currencies.\n\nThe process of Bitcoin becoming more widely accepted as money is uncertain, as the same process took a long time for gold and no one alive has seen a good become money in the same way that is happening with Bitcoin. There is not a lot of experience with this process, but developments around the world are very promising and happening faster in the interconnected digital age.\n",
"text": "Bitcoin is currently changing from the first stage of being used as money to the second stage. It may take several years for Bitcoin to be used as a way to trade goods and services, like other currencies.\n\nThe process of Bitcoin becoming more widely accepted as money is uncertain, as the same process took a long time for gold and no one alive has seen a good become money in the same way that is happening with Bitcoin. There is not a lot of experience with this process, but developments around the world are very promising and happening faster in the interconnected digital age.\n",
"title": "Bitcoin is in the stage of monetization"
}
}
Expand All @@ -778,7 +778,7 @@
"answers": [
"To improve the workings of small barter networks.",
"To facilitate large scale trade networks.",
"To eliminate credit."
"To reduce the need for credit."
],
"feedback": [
"Congratulations! It's interesting to think about how money has evolved over time, from its early use as a means of facilitating trade in small communities to its current role as a medium of exchange in modern economies",
Expand Down Expand Up @@ -896,7 +896,7 @@
"Gas prices might fluctuate for a variety of reasons, but this particular scenario doesn't have much to do with it. Try again!"
],
"question": "What is a potential outcome of banks issuing more paper notes than they held deposits",
"text": "Banks sometimes issued more paper notes than they had deposits, which could cause problems in the economy. If people started to doubt the solvency of a bank, they might rush to withdraw their money all at once before others do. This is called a bank run.\n\nThe sudden loss of deposits from the bank run could reveal that the bank was using too much leverage through Fractional Reserve Banking. In this case people wouldn't be able to take their hard earned money out of the bank.\n",
"text": "Banks sometimes issued more paper notes than they had deposits, which could cause problems in the economy. If people started to doubt the solvency of a bank, they might rush to withdraw their money all at once before others do. This is called a bank run.\n\nThe sudden loss of deposits from the bank run could reveal that the bank was using too much leverage through Fractional Reserve Banking. This could cause a lack of liquidity and bring the whole financial system to a stop.\n",
"title": "Problems of Fractional Reserve Banking"
},
"modernCentralBanking": {
Expand Down Expand Up @@ -956,7 +956,7 @@
"Surely this would benefit the WTO's funding immensely, but this is not how the global reserve currency is defined or chosen. Try again!"
],
"question": "What is a global reserve currency",
"text": "A global reserve currency is a type of money that is widely used in international trade and financial transactions. It is the preferred or most in-demand currency for settling transactions, as it is generally stable and widely accepted.\n\nChanges to the global reserve currency can have significant geopolitical implications, as it can affect the balance of power between countries.\n\nThe dominant global reserve currency has typically had a lifespan of several decades, with the US dollar serving as the dominant global reserve currency since the 20th century.\n",
"text": "A global reserve currency is a type of money that is widely used in international trade and financial transactions. It is the preferred or most in-demand currency for settling transactions, as it is generally stable and widely accepted.\n\nChanges to the global reserve currency can have significant geopolitical implications, as it can affect the balance of power between countries.\n\nThe dominant global reserve currency has typically had a lifespan of several decades, with the US dollar serving as the dominant global reserve currency for much of the 20th century.\n",
"title": "The Global Reserve Currency"
}
}
Expand Down Expand Up @@ -2728,7 +2728,7 @@
"drivingAdoption": "I'm driving Bitcoin adoption using Blink.",
"connectOnSocial": "Connect on social: ",
"fullDetails": "Full details at ",
"learnMore": "Learn more about Adopting Bitcoin at ",
"learnMore": "Learn more about Adopting Bitcoin at",
"mayChallenge": {
"title": "May Challenge!",
"description": "Grow your inner circle by 6 for a chance to win a set of Pizzas on your next Bitcoin Meetup.",
Expand Down
Loading

0 comments on commit eec5e87

Please sign in to comment.