mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 21:47:56 +00:00
31a0f86382
Centralized common code into shared/ folder to eliminate duplication and improve maintainability across all three frontend projects (web, mobile, pezkuwi-sdk-ui). Changes: - Added token types and constants to shared/types/tokens.ts - TokenInfo, PoolInfo, SwapQuote, and other DEX types - KNOWN_TOKENS with HEZ, PEZ, wUSDT definitions - Token logos (🟡🟣💵) - Added Kurdistan color palette to shared/constants/ - Kesk, Sor, Zer, Spî, Reş color definitions - Added TOKEN_DISPLAY_SYMBOLS mapping (USDT vs wUSDT) - Updated blockchain configuration in shared/blockchain/polkadot.ts - Added beta testnet endpoint (wss://beta-rpc.pezkuwi.art) - Defined DEFAULT_ENDPOINT constant - Moved i18n to shared/i18n/ - Centralized translation files for 6 languages (EN, TR, KMR, CKB, AR, FA) - Added LANGUAGES configuration with RTL support - Created isRTL() helper function - Updated web and mobile to import from shared - web/src/types/dex.ts now re-exports from shared - web/src/contexts/PolkadotContext.tsx uses DEFAULT_ENDPOINT - mobile/src/i18n/index.ts uses shared translations - mobile/src/contexts/PolkadotContext.tsx uses DEFAULT_ENDPOINT - Updated shared/README.md with comprehensive documentation This architecture reduces code duplication and ensures consistency across all frontend projects.
65 lines
2.1 KiB
JSON
65 lines
2.1 KiB
JSON
{
|
|
"welcome": {
|
|
"title": "بەخێربێیت بۆ پێزکووی",
|
|
"subtitle": "دەرگای تۆ بۆ بەڕێوەبردنی نامەرکەزی",
|
|
"selectLanguage": "زمانەکەت هەڵبژێرە",
|
|
"continue": "بەردەوام بە"
|
|
},
|
|
"auth": {
|
|
"signIn": "چوونەژوورەوە",
|
|
"signUp": "تۆمارکردن",
|
|
"email": "ئیمەیڵ",
|
|
"password": "وشەی نهێنی",
|
|
"confirmPassword": "پشتڕاستکردنەوەی وشەی نهێنی",
|
|
"forgotPassword": "وشەی نهێنیت لەبیرکردووە؟",
|
|
"noAccount": "هەژمارت نییە؟",
|
|
"haveAccount": "هەژمارت هەیە؟",
|
|
"createAccount": "دروستکردنی هەژمار",
|
|
"welcomeBack": "بەخێربێیتەوە!",
|
|
"getStarted": "دەست پێبکە"
|
|
},
|
|
"dashboard": {
|
|
"title": "سەرەتا",
|
|
"wallet": "جزدان",
|
|
"staking": "ستەیکینگ",
|
|
"governance": "بەڕێوەبردن",
|
|
"dex": "ئاڵوگۆڕ",
|
|
"history": "مێژوو",
|
|
"settings": "ڕێکخستنەکان",
|
|
"balance": "باڵانس",
|
|
"totalStaked": "کۆی گشتی",
|
|
"rewards": "خەڵات",
|
|
"activeProposals": "پێشنیارە چالاکەکان"
|
|
},
|
|
"wallet": {
|
|
"title": "جزدان",
|
|
"connect": "گرێدانی جزدان",
|
|
"disconnect": "پچڕاندنی گرێدان",
|
|
"address": "ناونیشان",
|
|
"balance": "باڵانس",
|
|
"send": "ناردن",
|
|
"receive": "وەرگرتن",
|
|
"transaction": "مامەڵە",
|
|
"history": "مێژوو"
|
|
},
|
|
"settings": {
|
|
"title": "ڕێکخستنەکان",
|
|
"language": "زمان",
|
|
"theme": "ڕووکار",
|
|
"notifications": "ئاگادارییەکان",
|
|
"security": "پاراستن",
|
|
"about": "دەربارە",
|
|
"logout": "دەرچوون"
|
|
},
|
|
"common": {
|
|
"cancel": "هەڵوەشاندنەوە",
|
|
"confirm": "پشتڕاستکردنەوە",
|
|
"save": "پاشەکەوتکردن",
|
|
"loading": "بارکردن...",
|
|
"error": "هەڵە",
|
|
"success": "سەرکەوتوو",
|
|
"retry": "هەوڵ بدەرەوە",
|
|
"close": "داخستن"
|
|
}
|
|
}
|