mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-23 00:07:55 +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
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
||
"welcome": {
|
||
"title": "Pezkuwi'ye Hoş Geldiniz",
|
||
"subtitle": "Merkezi olmayan yönetim kapınız",
|
||
"selectLanguage": "Dilinizi Seçin",
|
||
"continue": "Devam Et"
|
||
},
|
||
"auth": {
|
||
"signIn": "Giriş Yap",
|
||
"signUp": "Kayıt Ol",
|
||
"email": "E-posta",
|
||
"password": "Şifre",
|
||
"confirmPassword": "Şifreyi Onayla",
|
||
"forgotPassword": "Şifremi Unuttum",
|
||
"noAccount": "Hesabınız yok mu?",
|
||
"haveAccount": "Zaten hesabınız var mı?",
|
||
"createAccount": "Hesap Oluştur",
|
||
"welcomeBack": "Tekrar Hoş Geldiniz!",
|
||
"getStarted": "Başlayın"
|
||
},
|
||
"dashboard": {
|
||
"title": "Ana Sayfa",
|
||
"wallet": "Cüzdan",
|
||
"staking": "Stake Etme",
|
||
"governance": "Yönetişim",
|
||
"dex": "Borsa",
|
||
"history": "Geçmiş",
|
||
"settings": "Ayarlar",
|
||
"balance": "Bakiye",
|
||
"totalStaked": "Toplam Stake",
|
||
"rewards": "Ödüller",
|
||
"activeProposals": "Aktif Teklifler"
|
||
},
|
||
"wallet": {
|
||
"title": "Cüzdan",
|
||
"connect": "Cüzdan Bağla",
|
||
"disconnect": "Bağlantıyı Kes",
|
||
"address": "Adres",
|
||
"balance": "Bakiye",
|
||
"send": "Gönder",
|
||
"receive": "Al",
|
||
"transaction": "İşlem",
|
||
"history": "Geçmiş"
|
||
},
|
||
"settings": {
|
||
"title": "Ayarlar",
|
||
"language": "Dil",
|
||
"theme": "Tema",
|
||
"notifications": "Bildirimler",
|
||
"security": "Güvenlik",
|
||
"about": "Hakkında",
|
||
"logout": "Çıkış Yap"
|
||
},
|
||
"common": {
|
||
"cancel": "İptal",
|
||
"confirm": "Onayla",
|
||
"save": "Kaydet",
|
||
"loading": "Yükleniyor...",
|
||
"error": "Hata",
|
||
"success": "Başarılı",
|
||
"retry": "Tekrar Dene",
|
||
"close": "Kapat"
|
||
}
|
||
}
|