Skip to content

Commit

Permalink
feat: add spanish language
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-1979 committed Nov 18, 2024
1 parent b32f418 commit b837bad
Show file tree
Hide file tree
Showing 6 changed files with 1,483 additions and 4 deletions.
9 changes: 8 additions & 1 deletion packages/extension-polkagate/src/popup/home/news.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ export interface News {

export const news: News[] = [
{
version: '0.23.0',
version: '0.32.1',
notes: [
'Support Spanish: Access PolkaGate in your preferred language.',
'Fix Czech Republic flag: It was incorrectly displayed as the China flag.'
]
},
{
version: '0.31.1',
notes: [
'Support for NFTs: View the details of your account’s NFTs.',
'View Portfolio Price Change: Display the portfolio’s price change over the last 24 hours with an engaging count-up effect.',
Expand Down
4 changes: 4 additions & 0 deletions packages/extension-polkagate/src/util/getLanguageOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export default function getLanguageOptions (): DropdownOption[] {
{
text: 'हिन्दी',
value: 'hi'
},
{
text: 'español',
value: 'es'
}
];
}
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"sideEffects": false,
"type": "module",
"version": "0.30.0",
"version": "0.31.1",
"dependencies": {
"@polkadot/api": "^11.2.1",
"@polkadot/extension-base": "^0.47.5",
Expand Down
1 change: 0 additions & 1 deletion packages/extension/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,6 @@
"Date of initiation": "",
"Releasing deposit": "",
"Initiation Deposit": "",
"Deposit they made": "",
"Initiation recovery deposit to be released": "",
"For those funds that are available to withdraw later, you need to come back to this page to complete the process.": "",
"Modify your account recoverability": "",
Expand Down
Loading

0 comments on commit b837bad

Please sign in to comment.